29955 Commits

Author SHA1 Message Date
Jake Hamby
2c24516e58 am 04bc8070: am 6659284d: Allow Bluetooth radio to be toggled in Airplane mode.
Merge commit '04bc807057d1c336a5d1340595b790eee4c5b372'

* commit '04bc807057d1c336a5d1340595b790eee4c5b372':
  Allow Bluetooth radio to be toggled in Airplane mode.
2010-08-31 14:45:30 -07:00
Andreas Huber
e1a3cddd94 am 99fa510e: Merge "Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)" into gingerbread
Merge commit '99fa510e67cb973b45fc216c75bdc817421e14ae' into gingerbread-plus-aosp

* commit '99fa510e67cb973b45fc216c75bdc817421e14ae':
  Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)
2010-08-31 14:45:07 -07:00
Jake Hamby
04bc807057 am 6659284d: Allow Bluetooth radio to be toggled in Airplane mode.
Merge commit '6659284d68bb04539891456700c8da2d0bae7d09' into gingerbread-plus-aosp

* commit '6659284d68bb04539891456700c8da2d0bae7d09':
  Allow Bluetooth radio to be toggled in Airplane mode.
2010-08-31 14:42:22 -07:00
Andreas Huber
99fa510e67 Merge "Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)" into gingerbread 2010-08-31 14:41:51 -07:00
Andrew Stadler
eb91e78ff9 Merge "Fix crash when proxy exclusion list is null." 2010-08-31 14:38:49 -07:00
Jake Hamby
6659284d68 Allow Bluetooth radio to be toggled in Airplane mode.
Add "bluetooth" to the list of toggleable radios. Because this string
is in the Settings DB, I had to bump the version number. Why is this in
the settings DB anyway, rather than a carrier config option?

I also discovered that the SystemUI package copied the entire contents of
res/values/defaults.xml from SettingsProvider, when I originally tried
to update the unreferenced SystemUI version of the setting. To prevent
future confusion, I removed all of the values from the SystemUI version
of res/values/defaults.xml.

Change-Id: Ib8a75c85b9db5c1963b65538ee2765d5087e67d2
2010-08-31 14:37:30 -07:00
Xavier Ducrohet
d092f38002 am b4649ec7: am 23827557: Merge "Add a --debug-mode option to aapt." into gingerbread
Merge commit 'b4649ec720fa959b700a7a03c089bfdc61321d16'

* commit 'b4649ec720fa959b700a7a03c089bfdc61321d16':
  Add a --debug-mode option to aapt.
2010-08-31 14:35:28 -07:00
Xavier Ducrohet
b4649ec720 am 23827557: Merge "Add a --debug-mode option to aapt." into gingerbread
Merge commit '2382755730206da52b64bf7bd2fad421f9a6fd0d' into gingerbread-plus-aosp

* commit '2382755730206da52b64bf7bd2fad421f9a6fd0d':
  Add a --debug-mode option to aapt.
2010-08-31 14:32:53 -07:00
Mike Lockwood
f06a449951 Merge "MTP: Send an Intent after an MTP session that resulted in media database modifications" 2010-08-31 14:32:39 -07:00
Xavier Ducrohet
2382755730 Merge "Add a --debug-mode option to aapt." into gingerbread 2010-08-31 14:30:03 -07:00
Andrew Stadler
ac19f24cc1 Fix crash when proxy exclusion list is null.
Also cleaned up source a little bit and eliminated a warning.

Bug: 2964821
Change-Id: I35825bb345742ea1a1854e8998aa67e353deaa17
2010-08-31 14:28:58 -07:00
Andreas Huber
e536f800c6 Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr.
Change-Id: Ied92ea8c2448a2cb1a732c72c21c69da1913dbc8
related-to-bug: 2556656
2010-08-31 14:25:36 -07:00
Jean-Baptiste Queru
f9806d4872 am b7ab3420: Ignore changes from open-source master that are already here
Merge commit 'b7ab342016bd622b30e1945b16b24413ae82ac54'

* commit 'b7ab342016bd622b30e1945b16b24413ae82ac54':
  GPS: Initialize XTRA support when GPS is enabled
  GPS: Don't set XTRA download pending flag at boot time.
2010-08-31 14:25:25 -07:00
Jean-Baptiste Queru
b7ab342016 Ignore changes from open-source master that are already here
Change-Id: I5b560ab81c5188e6a28aa6feb0be13f970e0add4
2010-08-31 14:19:20 -07:00
Eric Fischer
1e26f30463 Update API to fix the build.
Change-Id: I241d94b2615e71eb3633955438dcaffa854d2836
2010-08-31 14:15:57 -07:00
Mike Lockwood
75a2ae937f Merge "GPS: Initialize XTRA support when GPS is enabled" 2010-08-31 13:56:00 -07:00
Mike Lockwood
9e64fcb5b5 Merge "GPS: Don't set XTRA download pending flag at boot time." 2010-08-31 13:55:39 -07:00
Mike Lockwood
d20e802512 Merge "Add settings option for running MTP server in PTP mode." 2010-08-31 13:47:13 -07:00
Mike Lockwood
6ed727e39e Merge "USB: Add functions for querying if a USB function is supported and enabled." 2010-08-31 13:46:35 -07:00
James Dong
f827a0cf1d am aa40b834: am 6aacad66: Merge "Add some encoding parameters for the "record" utility" into gingerbread
Merge commit 'aa40b834985023642b30fa2e0563c414a994bd3a'

* commit 'aa40b834985023642b30fa2e0563c414a994bd3a':
  Add some encoding parameters for the "record" utility
2010-08-31 13:29:39 -07:00
Joe Onorato
e0801bd0d1 am b1824cfc: am 54901c9e: fix the build. will revisit this change in a minute
Merge commit 'b1824cfca7dde367197662953b7478a9dbceab27'

* commit 'b1824cfca7dde367197662953b7478a9dbceab27':
  fix the build.  will revisit this change in a minute
2010-08-31 13:29:30 -07:00
Joe Onorato
77d312facf am 5238c5f9: fix the build. will revisit this change in a minute
Merge commit '5238c5f9a55ae1fff3548c028003e47ab8ffe09c'

* commit '5238c5f9a55ae1fff3548c028003e47ab8ffe09c':
  fix the build.  will revisit this change in a minute
2010-08-31 13:29:10 -07:00
James Dong
aa40b83498 am 6aacad66: Merge "Add some encoding parameters for the "record" utility" into gingerbread
Merge commit '6aacad66eba2b51251f7e2dfb8c005b5242326ca' into gingerbread-plus-aosp

* commit '6aacad66eba2b51251f7e2dfb8c005b5242326ca':
  Add some encoding parameters for the "record" utility
2010-08-31 13:25:42 -07:00
Joe Onorato
b1824cfca7 am 54901c9e: fix the build. will revisit this change in a minute
Merge commit '54901c9e8497b33bab1462245864e9dd119bb64c' into gingerbread-plus-aosp

* commit '54901c9e8497b33bab1462245864e9dd119bb64c':
  fix the build.  will revisit this change in a minute
2010-08-31 13:25:27 -07:00
Mike Lockwood
2837eefc54 MTP: Send an Intent after an MTP session that resulted in media database modifications
Change-Id: Ib2796e9155350c67769502935a73cf98d6ae9c08
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-08-31 16:25:12 -04:00
Brad Fitzpatrick
0234376503 Don't propagate StrictMode over one-way Binder calls.
This was causing stack stitching problems where a one-way call with
violations followed by a two-way call without violations was getting
the previous one-way call's violation stack stitched on to the second
caller's stack.

The solution is a little more indirect than I would've liked
(preserving the binder's onTransact flags until enforceInterface) but
was seemingly necessary to work without changing the AIDL compiler.
It should also be sufficiently cheap, since no new calls to
thread-local IPCThreadState lookups were required.  The additional
work is just same-thread getter/setters on the existing
IPCThreadState.

Change-Id: I4b6db1d445c56e868e6d0d7be3ba6849f4ef23ae
2010-08-31 13:16:49 -07:00
James Dong
6aacad66eb Merge "Add some encoding parameters for the "record" utility" into gingerbread 2010-08-31 13:13:18 -07:00
Joe Onorato
5238c5f9a5 fix the build. will revisit this change in a minute
Change-Id: Ibac9e777ea7332d63ddaf2e3b8935e56a663ebbe
2010-08-31 13:00:51 -07:00
Joe Onorato
54901c9e84 fix the build. will revisit this change in a minute
Change-Id: Ibac9e777ea7332d63ddaf2e3b8935e56a663ebbe
2010-08-31 12:53:18 -07:00
Nipun Kwatra
46733267cd Merge "Added VideoSourceDownSampler" 2010-08-31 12:52:06 -07:00
Nipun Kwatra
46fc7d65df Merge "Added setAuxiliaryOutputFile to MediaRecorder and JNI" 2010-08-31 12:51:01 -07:00
Nipun Kwatra
dc5f5bd2cc Merge "Adding support for parallel recording sessions." 2010-08-31 12:49:51 -07:00
Jean-Baptiste Queru
43c926da08 am d6a5f2df: am d3e803ae: Revert "Shutdown when capacity is 0% and no charging or when battery is dead"
Merge commit 'd6a5f2dff9c9db3e154a461127a7cfcea05c1f90'

* commit 'd6a5f2dff9c9db3e154a461127a7cfcea05c1f90':
  Revert "Shutdown when capacity is 0% and no charging or when battery is dead"
2010-08-31 12:47:35 -07:00
Jean-Baptiste Queru
d6a5f2dff9 am d3e803ae: Revert "Shutdown when capacity is 0% and no charging or when battery is dead"
Merge commit 'd3e803ae28c369996f9acf6036ea99af5561949c' into gingerbread-plus-aosp

* commit 'd3e803ae28c369996f9acf6036ea99af5561949c':
  Revert "Shutdown when capacity is 0% and no charging or when battery is dead"
2010-08-31 12:45:02 -07:00
Jean-Baptiste Queru
d3e803ae28 Revert "Shutdown when capacity is 0% and no charging or when battery is dead"
This reverts commit fd04143a47770256dabcfa4d8447127b3ec8b2bf.

This break most automated tests because with this change, if the
device is fully charged, it will simply turn off the screen, regardless
if USB is connected to hsot PC or not; so for our tests, most of them
are always connected to host PC, and fully charged 99% of the time,
as soon as the screen turns off, the front-end test Activity will be
suspended.

Change-Id: I1e6590611af43812f1bac223dd31570d1d90cfc5
2010-08-31 12:32:55 -07:00
Joe Onorato
990ac52944 am 18551815: (-s ours) am 77881293: DO NOT MERGE - Back port change from master that enforces correctness in the javadoc comments.
Merge commit '18551815e5a45f236f9898ce4abc9b99f5fc6ae4'

* commit '18551815e5a45f236f9898ce4abc9b99f5fc6ae4':
  DO NOT MERGE - Back port change from master that enforces correctness in the javadoc comments.
2010-08-31 12:19:00 -07:00
Joe Onorato
18551815e5 am 77881293: DO NOT MERGE - Back port change from master that enforces correctness in the javadoc comments.
Merge commit '77881293ad9a68dfa1c1da4b466f7b2b6465b342' into gingerbread-plus-aosp

* commit '77881293ad9a68dfa1c1da4b466f7b2b6465b342':
  DO NOT MERGE - Back port change from master that enforces correctness in the javadoc comments.
2010-08-31 12:12:27 -07:00
Alex Sakhartchouk
8442e0bffe Fixing uniform binding for fragment shader.
Updating the glsl fragment shader to color the lights.

Change-Id: I6f850d1aa22059a2974e379f652f7e99d6a799fb
2010-08-31 12:02:01 -07:00
Joe Onorato
77881293ad DO NOT MERGE - Back port change from master that enforces correctness in the javadoc comments.
Change-Id: I42956ccb3a32b3bd7c573bb2175e4ec230613dbf
2010-08-31 12:00:03 -07:00
James Dong
d31c89f45c Add some encoding parameters for the "record" utility
- TODO: remove some of the hard coded values

Change-Id: Ib58bbb8af45fd102176ac49da0a71613a12fa5fc
2010-08-31 11:53:54 -07:00
Romain Guy
2cbe236138 Merge "Add hooks for hardware accelerated WebView." 2010-08-31 11:51:08 -07:00
Romain Guy
da8532c6f4 Add hooks for hardware accelerated WebView.
Change-Id: I907cdec8a67594f87749ac46bda85f04af5a2003
2010-08-31 11:50:35 -07:00
Mike Lockwood
eabe8bfaf8 Add settings option for running MTP server in PTP mode.
This can be used as a compatibility workaround for host operating systems
without MTP support.

Change-Id: If4f1856206056ca8e40c3ffbfa382f185c413598
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-08-31 14:35:23 -04:00
Andreas Huber
3a48d4d726 Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)
Change-Id: I3c1ae79bb9342770e959ebdcdc6b748549b76330
related-to-bug: 2556656
2010-08-31 11:13:51 -07:00
Xavier Ducrohet
6487b09923 Add a --debug-mode option to aapt.
When passed (with no needed parameters) to the aapt command line,
aapt will insert debuggable=true in the application node of the manifest
automatically.

This is to be used by the SDK tools to make true "debug" builds
that require no code/file change.

Change-Id: I6f0a7af7b7d51f26bb0ec012e6f142a6060b8618
2010-08-31 11:07:56 -07:00
Nipun Kwatra
06a1d619aa Added VideoSourceDownSampler
VideoSourceDownSampler takes in a real video source. The MediaSource
interface is then implemented by shortcircuiting calls to this real source,
except for the read() function. For read we first call read of the real
source, then downsample the frame to the desired size and return that.

Change-Id: I6e1b377e043e136a70a7b03792eb9165bbe26398
2010-08-31 10:38:49 -07:00
Nipun Kwatra
b33a5aea13 Added setAuxiliaryOutputFile to MediaRecorder and JNI
added setAuxiliaryOutputFile to allow setting of an auxiliary output file.
Also added the JNI support.

Change-Id: I8c3335192bd6f7fcbfdfc8552cfd0848f2ad2a5d
2010-08-31 10:38:49 -07:00
Nipun Kwatra
d7e7a3f98f Adding support for parallel recording sessions.
- Added setOutputFileAuxiliary to pass the auxiliary file descriptor. The java
interface through JNI will be checked in next.

- renamed setupCameraSource to setupCamera as the function just sets the camera.
- Added setupCameraSource which sets up the camera source. This functionality
  was in setupVideoEncoder before.
- setupVideoEncoder now takes in a cameraSource instead of creating it on it
  own.

- Refactored startMPEG4Recording() to use setupMPEG4Recording,
  setupMPEG4MetaData.
    - setupMPEG4Recording() takes in file descriptor, bitrates to setup a mpeg4
      writer. This function can be called multiple times to setup multiple
      writers.
    - Added setupMPEG4MetaData() for setting up the meta data for mpeg4 writer.
  startMPEG4Recording() now calls setupMPEG4Recording, setupMPEG4MetaData for
  each recording session.

Change-Id: I07f5334a1ff8e12a36f58e94129fcfa6add2208b
2010-08-31 10:38:49 -07:00
Mike Lockwood
08bff3b9d4 USB: Add functions for querying if a USB function is supported and enabled.
Change-Id: I5fc24960e1e01c27e892acc2e76c12ddf8c654cb
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-08-31 13:27:05 -04:00
Jeff Brown
6b2a75751d am be990e97: am 6eb5ac9c: Fix doc link in InputDevice.
Merge commit 'be990e97a93f029c0ecc77a1bba66ea92057e5e4'

* commit 'be990e97a93f029c0ecc77a1bba66ea92057e5e4':
  Fix doc link in InputDevice.
2010-08-31 10:10:41 -07:00