OSDN Git Service

android-x86/frameworks-base.git
14 years agoam b37bca9e: Merge "COMMENT ONLY change to fix some formatting glitches and (more...
Dan Egnor [Sat, 7 Aug 2010 01:55:05 +0000 (18:55 -0700)]
am b37bca9e: Merge "COMMENT ONLY change to fix some formatting glitches and (more importantly) clarify issues surrounding removed accounts." into froyo

Merge commit 'b37bca9e79489a1abd848ce762bb7d87203b3414' into gingerbread

* commit 'b37bca9e79489a1abd848ce762bb7d87203b3414':
  COMMENT ONLY change to fix some formatting glitches and

14 years agoMerge "COMMENT ONLY change to fix some formatting glitches and (more importantly...
Dan Egnor [Fri, 6 Aug 2010 23:39:02 +0000 (16:39 -0700)]
Merge "COMMENT ONLY change to fix some formatting glitches and (more importantly) clarify issues surrounding removed accounts." into froyo

14 years agoSupport for communicating if a buffer read from the _extractor_ is a sync sample...
Andreas Huber [Fri, 6 Aug 2010 21:13:10 +0000 (14:13 -0700)]
Support for communicating if a buffer read from the _extractor_ is a sync sample or not.

Change-Id: Ie71506224d937cfff1fa1273bfac31c47db8845f
related-to-bug: 2900534

14 years agoMerge "Properly skip the 'skip' chunk in mpeg4 files." into gingerbread
Andreas Huber [Fri, 6 Aug 2010 22:21:47 +0000 (15:21 -0700)]
Merge "Properly skip the 'skip' chunk in mpeg4 files." into gingerbread

14 years agoProperly skip the 'skip' chunk in mpeg4 files.
Andreas Huber [Fri, 6 Aug 2010 22:02:54 +0000 (15:02 -0700)]
Properly skip the 'skip' chunk in mpeg4 files.

Change-Id: I6795347f91f24d5379e8dc80a24ae016a9629c9c
related-to-bug: 2901311

14 years agoMerge "Slight improvement (hopefully) to orientation sensing." into gingerbread
Steve Howard [Fri, 6 Aug 2010 21:28:37 +0000 (14:28 -0700)]
Merge "Slight improvement (hopefully) to orientation sensing." into gingerbread

14 years agoMerge "Adding a way for Hierarchy Viewer to get the focused window." into gingerbread
Konstantin Lopyrev [Fri, 6 Aug 2010 21:10:29 +0000 (14:10 -0700)]
Merge "Adding a way for Hierarchy Viewer to get the focused window." into gingerbread

14 years agoAdding a way for Hierarchy Viewer to get the focused window.
Konstantin Lopyrev [Thu, 15 Jul 2010 00:02:37 +0000 (17:02 -0700)]
Adding a way for Hierarchy Viewer to get the focused window.

Change-Id: I01e6ab4aa24d632fba586cb9e112d8d9df1a681a

14 years agoNew drawables for the update to the maps API (DO NOT MERGE)
Steve Howard [Fri, 6 Aug 2010 20:10:25 +0000 (13:10 -0700)]
New drawables for the update to the maps API (DO NOT MERGE)

Manual merge from master.

Change-Id: I97ad9daff6036e5c7b9e946b53191574c8b0b6ed

14 years agoMake downloads visible by default.
Steve Howard [Thu, 29 Jul 2010 00:12:40 +0000 (17:12 -0700)]
Make downloads visible by default.

Change-Id: I8f8b325658d8afc964bddd3f1c03ed20e6bd10aa

14 years agoFix String8::operator+
Kenny Root [Thu, 5 Aug 2010 23:21:23 +0000 (16:21 -0700)]
Fix String8::operator+

The LHS was ignored when using:
  String8 + String8
  String8 + (const char*)

Add unit tests for above.

Bug: 2898473
Change-Id: Ic8fe7be668b665c36aaaa3fc3c3ffdfff0fbba25

14 years agoGPS: Don't set XTRA download pending flag at boot time.
Mike Lockwood [Fri, 6 Aug 2010 14:06:26 +0000 (10:06 -0400)]
GPS: Don't set XTRA download pending flag at boot time.

XTRA data downloads are now strictly on demand from the GPS engine.
Also fix typo in handleDownloadXtraData()

Change-Id: Ied1a6e2e62134add4d965326aae909c86f834682
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRTP: move into frameworks.
Chia-chi Yeh [Fri, 6 Aug 2010 06:12:05 +0000 (14:12 +0800)]
RTP: move into frameworks.

Change-Id: Ic9c17b460448c746b21526ac10b647f281ae48e9

14 years agoFix the build
Chung-yih Wang [Fri, 6 Aug 2010 03:32:24 +0000 (11:32 +0800)]
Fix the build

Change-Id: I410e2fd057b68e1b5b5b33ee10178a01d3c9b2fa

14 years agoMerge "Revert "Revert "Move SIP telephony related codes to framework.""" into gingerbread
Chung-yih Wang [Fri, 6 Aug 2010 02:35:54 +0000 (19:35 -0700)]
Merge "Revert "Revert "Move SIP telephony related codes to framework.""" into gingerbread

14 years agoMerge "Add SIP service into system server." into gingerbread
Chung-yih Wang [Fri, 6 Aug 2010 02:35:45 +0000 (19:35 -0700)]
Merge "Add SIP service into system server." into gingerbread

14 years agoam 90937179: (-s ours) Merge "DO NOT MERGE Fix a bug that could cause flings to last...
Adam Powell [Fri, 6 Aug 2010 01:39:37 +0000 (18:39 -0700)]
am 90937179: (-s ours) Merge "DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller" into froyo

Merge commit '9093717985095913934c079abfa879049bd33ba5' into gingerbread

* commit '9093717985095913934c079abfa879049bd33ba5':
  DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller

14 years agoMerge "DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroll...
Adam Powell [Fri, 6 Aug 2010 01:33:31 +0000 (18:33 -0700)]
Merge "DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller" into froyo

14 years agoSlight improvement (hopefully) to orientation sensing.
Steve Howard [Fri, 6 Aug 2010 00:14:53 +0000 (17:14 -0700)]
Slight improvement (hopefully) to orientation sensing.

Since orientation sensing has been an issue for numerous users, I
decided a spend a little time experimenting with some possible
improvements.  I've settled on a couple major changes:

* Perform all lowpass filtering in spherical coordinates, not
  cartesian.  Since the rotations are what we're really concerned
  with, this makes more sense and gives more consistent results.

* Introduce a system of tracking "distrust" in the current data, based
  on external acceleration and on tilt.  The basic idea is after a
  signal of unreliable data -- repeated acceleration or
  nearly-horizontal tilt -- we wait for things to "stabilize" for some
  number of ticks before we start trusting the data again.  This is an
  extension of the basic lowpass filtering.  One simple example is
  after the phone is picked up off a table, we ignore the first few
  readings.  Another example is while the phone is under external
  acceleration for a while (i.e. in a car mount on a rough road), if a
  single "good" reading comes in, we distrust it, under the assumption
  that it was probably just a lucky reading (i.e. the magnitude
  happened to be close to that of gravity by chance).

These changes have allowed me to relax other constraints, such as the
filtering time constants, the maximum deviation from gravity, and the
max tilt before we start distrusting data.

The net effect is that orientation changes happen more quickly and can
happen under a wider variety of conditions, but false changes due to
tilt and acceleration are still avoided well.  I think the improvement
is subtle, but it's the best I've come up with in my limited time.

I've also included some refactoring and additonal comments to try and
further clarify the (somewhat twisted) logic.

Change-Id: I34c7297bd2061fae8317ffefd32a85c7538a3efb

14 years agoam cdf16787: Merge "Changed SyncOperation.toKey() to not rely on the implementation...
Fred Quintana [Fri, 6 Aug 2010 00:42:05 +0000 (17:42 -0700)]
am cdf16787: Merge "Changed SyncOperation.toKey() to not rely on the implementation of Account.toString()" into froyo

Merge commit 'cdf16787fc1234b7f21a9cddc6f8a27b4056bc39' into gingerbread

* commit 'cdf16787fc1234b7f21a9cddc6f8a27b4056bc39':
  Changed SyncOperation.toKey() to not rely on the implementation of

14 years agoAdd SIP service into system server.
Chung-yih Wang [Thu, 5 Aug 2010 04:17:37 +0000 (12:17 +0800)]
Add SIP service into system server.

Change-Id: Icc39e4e54768cfdcc1b20a3efe6206009b9a8d10

14 years agoMerge "Changed SyncOperation.toKey() to not rely on the implementation of Account...
Fred Quintana [Fri, 6 Aug 2010 00:36:27 +0000 (17:36 -0700)]
Merge "Changed SyncOperation.toKey() to not rely on the implementation of Account.toString()" into froyo

14 years agoChanged SyncOperation.toKey() to not rely on the implementation of
Fred Quintana [Thu, 5 Aug 2010 21:14:49 +0000 (14:14 -0700)]
Changed SyncOperation.toKey() to not rely on the implementation of
Account.toString()

bug: 2898033
Change-Id: I6bfac976127190d2d667312df7aa9c7d57b21555

14 years agoMerge "(gingerbread) remove unused tests. bug:2898376" into gingerbread
Vasu Nori [Fri, 6 Aug 2010 00:11:53 +0000 (17:11 -0700)]
Merge "(gingerbread) remove unused tests. bug:2898376" into gingerbread

14 years ago(gingerbread) remove unused tests. bug:2898376
Vasu Nori [Thu, 5 Aug 2010 23:46:19 +0000 (16:46 -0700)]
(gingerbread) remove unused tests. bug:2898376

Change-Id: Icc4c8ed20c9e910784bf202415d58e4af2366bee

14 years agoam 005e2400: Merge "fix xml sample error" into froyo
Scott Main [Thu, 5 Aug 2010 22:53:04 +0000 (15:53 -0700)]
am 005e2400: Merge "fix xml sample error" into froyo

Merge commit '005e2400b573b4b5e8ba3d2b3221ec958f9b0f2c' into gingerbread

* commit '005e2400b573b4b5e8ba3d2b3221ec958f9b0f2c':
  fix xml sample error

14 years agoDO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller
Adam Powell [Fri, 23 Jul 2010 22:49:03 +0000 (15:49 -0700)]
DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller

Change-Id: Ia176cdb029201dbad193d2d213d3cf6e16fbee63

14 years agoMerge "fix xml sample error" into froyo
Scott Main [Thu, 5 Aug 2010 22:49:08 +0000 (15:49 -0700)]
Merge "fix xml sample error" into froyo

14 years agofix xml sample error
Scott Main [Thu, 5 Aug 2010 22:44:26 +0000 (15:44 -0700)]
fix xml sample error

Change-Id: Ifd188a5866382a79c2c9de94c0682b707baffdcf

14 years agoam 982f1521: Merge "Checkin initial bluetooth stress tests." into froyo
Eric Rowe [Thu, 5 Aug 2010 22:10:15 +0000 (15:10 -0700)]
am 982f1521: Merge "Checkin initial bluetooth stress tests." into froyo

Merge commit '982f1521a662d274eca1216707d874f148396ac6' into gingerbread

* commit '982f1521a662d274eca1216707d874f148396ac6':
  Checkin initial bluetooth stress tests.

14 years agoMerge "Use the target color format from the camera source if possible" into gingerbread
James Dong [Thu, 5 Aug 2010 22:10:03 +0000 (15:10 -0700)]
Merge "Use the target color format from the camera source if possible" into gingerbread

14 years agoMerge "Checkin initial bluetooth stress tests." into froyo
Eric Rowe [Thu, 5 Aug 2010 21:49:22 +0000 (14:49 -0700)]
Merge "Checkin initial bluetooth stress tests." into froyo

14 years agoCheckin initial bluetooth stress tests.
Eric Rowe [Thu, 29 Jul 2010 19:11:29 +0000 (12:11 -0700)]
Checkin initial bluetooth stress tests.

Bluetooth stress tests include stress tests for enabling/disabling bluetooth,
making the device discoverable/undiscoverable, and starting and stopping scans.

Change-Id: Ic8ba09475ffe5551717438673e0ed3f4bd17cf2f

14 years agoUse the target color format from the camera source if possible
James Dong [Wed, 4 Aug 2010 00:19:23 +0000 (17:19 -0700)]
Use the target color format from the camera source if possible

- If the target color format is unavailable, the default
  platform-dependent color format will be used.

- Also add some logic to prevent looping forever if the
  omx component is buggy supporting color format enumeration.

Change-Id: I119a78f0d6201b4c3621235cca2f523ec14e24e3

14 years agoMerge "Fix an issue where the track duration does not include the last sample duratio...
James Dong [Thu, 5 Aug 2010 18:04:14 +0000 (11:04 -0700)]
Merge "Fix an issue where the track duration does not include the last sample duration" into gingerbread

14 years agoFix an issue where the track duration does not include the last sample duration
James Dong [Thu, 5 Aug 2010 17:46:13 +0000 (10:46 -0700)]
Fix an issue where the track duration does not include the last sample duration

Change-Id: Ib6e01c1c84ad9b7404536f9c40bf90a13340ae53

14 years agoMerge "Tracking merge of dalvik-dev to gingerbread" into gingerbread
Brian Carlstrom [Thu, 5 Aug 2010 17:35:53 +0000 (10:35 -0700)]
Merge "Tracking merge of dalvik-dev to gingerbread" into gingerbread

14 years agoMerge "Better support for fake timestamps in RTP, H.263 video now also requests FIR...
Andreas Huber [Thu, 5 Aug 2010 17:11:28 +0000 (10:11 -0700)]
Merge "Better support for fake timestamps in RTP, H.263 video now also requests FIR." into gingerbread

14 years agoMerge "A better fix for the OggExtractor referring to the sample rate while it hasn...
Andreas Huber [Thu, 5 Aug 2010 17:11:18 +0000 (10:11 -0700)]
Merge "A better fix for the OggExtractor referring to the sample rate while it hasn't been initialized yet." into gingerbread

14 years agoMerge "Fix up PackageManager tests" into gingerbread
Kenny Root [Thu, 5 Aug 2010 17:02:30 +0000 (10:02 -0700)]
Merge "Fix up PackageManager tests" into gingerbread

14 years agoA better fix for the OggExtractor referring to the sample rate while it hasn't been...
Andreas Huber [Thu, 5 Aug 2010 17:00:10 +0000 (10:00 -0700)]
A better fix for the OggExtractor referring to the sample rate while it hasn't been initialized yet.

Change-Id: I001fa36d3f5bf385b9f9d086c802673071c65db9
related-to-bug: 2896814

14 years agoBetter support for fake timestamps in RTP, H.263 video now also requests FIR.
Andreas Huber [Thu, 5 Aug 2010 16:22:25 +0000 (09:22 -0700)]
Better support for fake timestamps in RTP, H.263 video now also requests FIR.

Change-Id: I2385461887197fe4062d329086e0204f6d6620fc

14 years agoMerge "Specification of codec specific data as part of the session description is...
Andreas Huber [Thu, 5 Aug 2010 16:18:38 +0000 (09:18 -0700)]
Merge "Specification of codec specific data as part of the session description is now optional." into gingerbread

14 years agoFix up PackageManager tests
Kenny Root [Thu, 5 Aug 2010 15:40:00 +0000 (08:40 -0700)]
Fix up PackageManager tests

PackageManagerTests was trying to mount and unmount the media without
waiting for the correct state to arrive. It was proceeding with any
state transition.

Some tests had their own volume mounting and unmounting code that was
flawed, so switch it to the more robust mountMedia() and unmountMedia()
implementations.

Change-Id: If464927bb09dd15cb040c6cce195a6ad8452de95

14 years agoTracking merge of dalvik-dev to gingerbread
Brian Carlstrom [Wed, 4 Aug 2010 22:44:39 +0000 (15:44 -0700)]
Tracking merge of dalvik-dev to gingerbread

git cherry-pick --no-commit f77cf7f0
git cherry-pick --no-commit c8f503b5285e30c1a881d0ba860ba9021f57d113
git cherry-pick --no-commit 570bb561
git cherry-pick --no-commit e2417541
git cherry-pick --no-commit e4d81f25bd4dc1a5c909b56ab56a56406290da30
git cherry-pick --no-commit 5e8a587d

Change-Id: I101a385d43f3e0f4ce5352217f92ef67a3908c88

14 years agoRevert "Revert "Move SIP telephony related codes to framework.""
Chung-yih Wang [Thu, 5 Aug 2010 06:19:30 +0000 (14:19 +0800)]
Revert "Revert "Move SIP telephony related codes to framework.""

This reverts commit cde66df44240cfe5a7bec12ac52464c3bf26c14f.

Change-Id: I87da883b45350ec8f7da71e9bd392b075ea30ca7

14 years agoRevert "Move SIP telephony related codes to framework."
Chung-yih Wang [Thu, 5 Aug 2010 05:25:38 +0000 (13:25 +0800)]
Revert "Move SIP telephony related codes to framework."

This reverts commit b631dcf3eb449ddec756bea330f4e70b996ffb9e.

14 years agoMerge "Move SIP telephony related codes to framework." into gingerbread
Chung-yih Wang [Thu, 5 Aug 2010 04:16:48 +0000 (21:16 -0700)]
Merge "Move SIP telephony related codes to framework." into gingerbread

14 years agoMerge "Fix crash when startForeground posts a broken Notification." into gingerbread
Daniel Sandler [Thu, 5 Aug 2010 03:33:32 +0000 (20:33 -0700)]
Merge "Fix crash when startForeground posts a broken Notification." into gingerbread

14 years agoMove SIP telephony related codes to framework.
Chung-yih Wang [Thu, 5 Aug 2010 03:09:54 +0000 (11:09 +0800)]
Move SIP telephony related codes to framework.

+ hardcode the sip service for build dependency.

Change-Id: Ib0e9717c9b87eb6e06ffa3a7b01ae31184de61bb

14 years agoMerge "Move the sip related codes to framework." into gingerbread
Chung-yih Wang [Thu, 5 Aug 2010 02:28:23 +0000 (19:28 -0700)]
Merge "Move the sip related codes to framework." into gingerbread

14 years agoMove the sip related codes to framework.
Chung-yih Wang [Thu, 5 Aug 2010 02:21:20 +0000 (10:21 +0800)]
Move the sip related codes to framework.

Change-Id: Ib81dadc39b73325c8438f078c7251857a83834fe

14 years agoMerge "Add register methods in CallManager "do not merge"" into gingerbread
John Wang [Thu, 5 Aug 2010 01:54:55 +0000 (18:54 -0700)]
Merge "Add register methods in CallManager "do not merge"" into gingerbread

14 years agoam 8dd87ad9: fix some doc errors in the resources; add link to resource docs for...
Scott Main [Thu, 5 Aug 2010 01:02:25 +0000 (18:02 -0700)]
am 8dd87ad9: fix some doc errors in the resources; add link to resource docs for ColorStateList class

Merge commit '8dd87ad9440bc63bc312b06f292adcd2642b1c41' into gingerbread

* commit '8dd87ad9440bc63bc312b06f292adcd2642b1c41':
  fix some doc errors in the resources;

14 years agoam 5b86de94: fix doc bugs
Scott Main [Thu, 5 Aug 2010 01:02:18 +0000 (18:02 -0700)]
am 5b86de94: fix doc bugs

Merge commit '5b86de94a163ce4c52ab08a9820f9d78414e1767' into gingerbread

* commit '5b86de94a163ce4c52ab08a9820f9d78414e1767':
  fix doc bugs

14 years agofix some doc errors in the resources;
Scott Main [Thu, 5 Aug 2010 00:33:33 +0000 (17:33 -0700)]
fix some doc errors in the resources;
add link to resource docs for ColorStateList class

Change-Id: I7f59bfd136d5bd3c2ea066b6123ee13ccd57f502

14 years agofix doc bugs
Scott Main [Mon, 2 Aug 2010 18:50:36 +0000 (11:50 -0700)]
fix doc bugs

Change-Id: Ic0cec3818fdc7692ea7aa3152ecb444203097157

14 years agoFree scanBuf in ZipFileRO
Kenny Root [Wed, 4 Aug 2010 23:30:40 +0000 (16:30 -0700)]
Free scanBuf in ZipFileRO

In the success case, the 65kB scanBuf was not freed!

Also, get rid of annoying complaints about ssize_t from printf in error
cases.

Change-Id: If154ac19bf47637f898b4ec8c8e27c9a073a7b81

14 years agoMerge "Fix divide by zero." into gingerbread
Marco Nelissen [Wed, 4 Aug 2010 22:37:37 +0000 (15:37 -0700)]
Merge "Fix divide by zero." into gingerbread

14 years agoFix divide by zero.
Marco Nelissen [Wed, 4 Aug 2010 22:29:26 +0000 (15:29 -0700)]
Fix divide by zero.

Change-Id: I3113234aa5936965424dde5b24e448df1be0b603

14 years agoMerge "Failure to move .dex in eng builds is not fatal" into gingerbread
Kenny Root [Wed, 4 Aug 2010 22:01:56 +0000 (15:01 -0700)]
Merge "Failure to move .dex in eng builds is not fatal" into gingerbread

14 years agoMerge "Add support for PSC of serving cell." into gingerbread
jsh [Wed, 4 Aug 2010 21:32:19 +0000 (14:32 -0700)]
Merge "Add support for PSC of serving cell." into gingerbread

14 years agoMerge "Don't return a decoder error if the encoded stream does not start with SPS...
Andreas Huber [Wed, 4 Aug 2010 21:16:20 +0000 (14:16 -0700)]
Merge "Don't return a decoder error if the encoded stream does not start with SPS/PPS." into gingerbread

14 years agoDon't return a decoder error if the encoded stream does not start with SPS/PPS.
Andreas Huber [Wed, 4 Aug 2010 20:04:46 +0000 (13:04 -0700)]
Don't return a decoder error if the encoded stream does not start with SPS/PPS.

Change-Id: I960ada0c53f8ffe413ecd07c2c754a996841f592

14 years agoMerge "Support for Gtalk video, includes AMR/H.263 assembler and packetization suppor...
Andreas Huber [Wed, 4 Aug 2010 21:06:12 +0000 (14:06 -0700)]
Merge "Support for Gtalk video, includes AMR/H.263 assembler and packetization support, extensions to MediaRecorder to stream via RTP over a pair of UDP sockets as well as various fixes to the RTP implementation." into gingerbread

14 years agoSpecification of codec specific data as part of the session description is now optional.
Andreas Huber [Wed, 4 Aug 2010 21:04:31 +0000 (14:04 -0700)]
Specification of codec specific data as part of the session description is now optional.

Change-Id: Ie1953909e1d241381add3cc82a7a1f7d7d1540f2

14 years agoFailure to move .dex in eng builds is not fatal
Kenny Root [Wed, 4 Aug 2010 20:35:33 +0000 (13:35 -0700)]
Failure to move .dex in eng builds is not fatal

When moving between program locations or application names, the .dex
file is moved by installd. However, in engineering builds, the
applications are run through dexopt on-demand. If the .dex file fails to
move, we can ignore it because it's most likely because the .dex file
does not exist yet.

Change-Id: Id5c4dbfa33f19c976acd9f184ccd637752326629

14 years agoAdd more debugging to installd
Kenny Root [Wed, 4 Aug 2010 16:14:01 +0000 (09:14 -0700)]
Add more debugging to installd

If a command to installd fails, it would be nice to know exactly why.
Log failures and the errno associated with the failures.

Change-Id: Ia3122675f243037c556d3a49d06da7e03b8c59f6

14 years agoSupport for Gtalk video, includes AMR/H.263 assembler and packetization support,...
Andreas Huber [Wed, 4 Aug 2010 17:14:30 +0000 (10:14 -0700)]
Support for Gtalk video, includes AMR/H.263 assembler and packetization support, extensions to MediaRecorder to stream via RTP over a pair of UDP sockets as well as various fixes to the RTP implementation.

Change-Id: I95b8dd487061add9bade15749e563b01cd99d9a6

14 years agoMerge "Add Blocked Device property." into gingerbread
Jaikumar Ganesh [Wed, 4 Aug 2010 18:28:55 +0000 (11:28 -0700)]
Merge "Add Blocked Device property." into gingerbread

14 years agoAdd Blocked Device property.
Jaikumar Ganesh [Wed, 4 Aug 2010 18:26:38 +0000 (11:26 -0700)]
Add Blocked Device property.

Change-Id: I76b3c361af95ac9d5fb43178965763f873c0fbf9

14 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Wed, 4 Aug 2010 17:40:36 +0000 (10:40 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 4 Aug 2010 17:37:25 +0000 (10:37 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Ibc3e9f1f83159835c2e6c3bcdaa8ff6a7e7fa384

14 years agoMerge "Fix issue 2876124." into gingerbread
Eric Laurent [Wed, 4 Aug 2010 17:03:36 +0000 (10:03 -0700)]
Merge "Fix issue 2876124." into gingerbread

14 years agoMerge "Fix the build." into gingerbread
Marco Nelissen [Wed, 4 Aug 2010 16:22:31 +0000 (09:22 -0700)]
Merge "Fix the build." into gingerbread

14 years agoFix the build.
Eric Laurent [Wed, 4 Aug 2010 16:18:46 +0000 (09:18 -0700)]
Fix the build.

Forgot to update current.xml in last patch set for change
I541ee4ad0232312ec720545737cbcdb8c9a82597

Change-Id: I528a43fd01ca2478145fe54d90747f489ab7a2b3

14 years agoMerge "Only allow one movePackage operation in-flight" into gingerbread
Kenny Root [Wed, 4 Aug 2010 16:15:48 +0000 (09:15 -0700)]
Merge "Only allow one movePackage operation in-flight" into gingerbread

14 years agoOnly allow one movePackage operation in-flight
Kenny Root [Mon, 2 Aug 2010 18:36:21 +0000 (11:36 -0700)]
Only allow one movePackage operation in-flight

When a movePackage operation is requested, don't allow multiple requests
to pile up for one package. Once a move is completed, an observer will
receive the message and be allowed to call movePackage again.

Change-Id: Ie3842b6d96446febc0037bf9b8f1ca250735edc2

14 years agoMerge "NEW_API: Unhide audio effect APIs." into gingerbread
Eric Laurent [Wed, 4 Aug 2010 15:42:37 +0000 (08:42 -0700)]
Merge "NEW_API: Unhide audio effect APIs." into gingerbread

14 years agoNEW_API: Unhide audio effect APIs.
Eric Laurent [Tue, 3 Aug 2010 10:50:02 +0000 (03:50 -0700)]
NEW_API: Unhide audio effect APIs.

This change unhides all public APIs for controling audio effects exposed
by the following classes:
- AudioEffect
- BassBoost
- EnvironmentalReverb
- Equalizer
- PresetReverb
- Virtualizer
- Visualizer

Also fixes several problems in javadoc.

Change-Id: I541ee4ad0232312ec720545737cbcdb8c9a82597

14 years agoFix crash when startForeground posts a broken Notification.
Daniel Sandler [Tue, 3 Aug 2010 19:29:31 +0000 (15:29 -0400)]
Fix crash when startForeground posts a broken Notification.

The NotificationManager tries to crash the calling app, but
in the case of a service calling startForeground, the caller
is the ActivityManager, so system_server goes down.

NotificationManagerService#enqueueNotificationInternal is a
new internal-only method that accepts a UID/PID to use when
punishing bogus notifications (such as the one in
http://b/2869787).

Change-Id: I84a9854bae630bc90288cebb94f174809d5dac8c

14 years agoFix issue 2876124.
Eric Laurent [Tue, 3 Aug 2010 14:49:49 +0000 (07:49 -0700)]
Fix issue 2876124.

Allow calls to MediaPlayer::notify() in idle state to signal errors from JNI.

Change-Id: I1515fe69766f0a926b76e15c4971317da2acd6a0

14 years agoMerge "Usage Stats: don't block writing stats to disk." into gingerbread
Brad Fitzpatrick [Tue, 3 Aug 2010 23:57:47 +0000 (16:57 -0700)]
Merge "Usage Stats: don't block writing stats to disk." into gingerbread

14 years agoMerge "Frameworks core tests size cleanup." into gingerbread
Brett Chabot [Tue, 3 Aug 2010 23:02:09 +0000 (16:02 -0700)]
Merge "Frameworks core tests size cleanup." into gingerbread

14 years agoMerge "Replace CHECK with a failure return value when mCamera->setParameters() fails...
James Dong [Tue, 3 Aug 2010 22:54:32 +0000 (15:54 -0700)]
Merge "Replace CHECK with a failure return value when mCamera->setParameters() fails if the camera is locked by someone else." into gingerbread

14 years agoUsage Stats: don't block writing stats to disk.
Brad Fitzpatrick [Tue, 3 Aug 2010 22:41:05 +0000 (15:41 -0700)]
Usage Stats: don't block writing stats to disk.

I was seeing lots of stack traces of people hung for noticeable
amounts of time when switching between activities.

e.g. On of the common gmail stacks showing this pause was:

android.os.StrictMode$StrictModeDiskWriteViolation: policy=391 violation=1
  at android.os.StrictMode$AndroidBlockGuardPolicy.startHandlingViolationException(StrictMode.java:272)
  at android.os.StrictMode$AndroidBlockGuardPolicy.onWriteToDisk(StrictMode.java:243)
  at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:238)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:97)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:69)
  at com.android.server.am.UsageStatsService.writeStatsFLOCK(UsageStatsService.java:424)
  at com.android.server.am.UsageStatsService.writeStatsToFile(UsageStatsService.java:398)
  at com.android.server.am.UsageStatsService.notePauseComponent(UsageStatsService.java:539)
  at com.android.server.am.ActivityManagerService.updateUsageStats(ActivityManagerService.java:1856)
  at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:667)
  at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2925)
  at com.android.server.am.ActivityStack.requestFinishActivityLocked(ActivityStack.java:2836)
  at com.android.server.am.ActivityManagerService.finishActivity(ActivityManagerService.java:2276)
  at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:237)
  at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1415)
  at android.os.Binder.execTransact(Binder.java:320)
  at dalvik.system.NativeStart.run(Native Method)

  at android.app.ActivityManagerProxy.finishActivity(ActivityManagerNative.java:1454)
  at android.app.Activity.finish(Activity.java:3260)
  at android.app.Activity.onBackPressed(Activity.java:1929)
  at android.app.Activity.onKeyUp(Activity.java:1907)
  at android.view.KeyEvent.dispatch(KeyEvent.java:1088)
  at android.app.Activity.dispatchKeyEvent(Activity.java:2087)
  at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1661)
  at android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2543)
  at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2516)
  at android.view.ViewRoot.handleMessage(ViewRoot.java:1866)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:123)
  at android.app.ActivityThread.main(ActivityThread.java:3609)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:521)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
  at dalvik.system.NativeStart.main(Native Method)

Change-Id: Id49157bc635017292eaefddc5e22d73f5f4ab05e

14 years agoReplace CHECK with a failure return value when mCamera->setParameters() fails
James Dong [Tue, 3 Aug 2010 22:29:20 +0000 (15:29 -0700)]
Replace CHECK with a failure return value when mCamera->setParameters() fails
if the camera is locked by someone else.

bug - 2827892

Change-Id: I217d4a00f04ebd57b557d3faef28787c14f23ea0

14 years agoAdd support for PSC of serving cell.
jsh [Thu, 24 Jun 2010 04:46:52 +0000 (21:46 -0700)]
Add support for PSC of serving cell.

Bug: 2465036

14 years agoMerge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread
Chris Tate [Tue, 3 Aug 2010 19:22:50 +0000 (12:22 -0700)]
Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread

14 years agoMerge "fix [2421247] implement eglGetProcAddress(), needed in the ndk" into gingerbread
Mathias Agopian [Tue, 3 Aug 2010 18:29:15 +0000 (11:29 -0700)]
Merge "fix [2421247] implement eglGetProcAddress(), needed in the ndk" into gingerbread

14 years agoMerge "Improving profiling of views." into gingerbread
Konstantin Lopyrev [Tue, 3 Aug 2010 18:24:23 +0000 (11:24 -0700)]
Merge "Improving profiling of views." into gingerbread

14 years agoMaking sure that there is no notification when focus changes from something to nothing.
Konstantin Lopyrev [Tue, 3 Aug 2010 03:01:01 +0000 (20:01 -0700)]
Making sure that there is no notification when focus changes from something to nothing.

Change-Id: Ib8b3bdd7f5dd999c933a017fe1b34263afe38e4a

14 years agoMerge "File writer has a designated writer thread now" into gingerbread
James Dong [Tue, 3 Aug 2010 17:35:55 +0000 (10:35 -0700)]
Merge "File writer has a designated writer thread now" into gingerbread

14 years agoMerge "Fixed a typo in a method name of MediaPlayerPerformance.java class" into ginge...
James Dong [Tue, 3 Aug 2010 16:59:11 +0000 (09:59 -0700)]
Merge "Fixed a typo in a method name of MediaPlayerPerformance.java class" into gingerbread

14 years agoImproving profiling of views.
Konstantin Lopyrev [Tue, 3 Aug 2010 02:08:56 +0000 (19:08 -0700)]
Improving profiling of views.

Change-Id: I1abb8c21f1769ad55416f37e7bfa1458b80ace63

14 years agofix [2421247] implement eglGetProcAddress(), needed in the ndk
Mathias Agopian [Tue, 3 Aug 2010 00:34:32 +0000 (17:34 -0700)]
fix [2421247] implement eglGetProcAddress(), needed in the ndk

Change-Id: I5027a27b43c0dd449a404024087853ca05bb8e4e

14 years agoCOMMENT ONLY change to fix some formatting glitches and
Dan Egnor [Tue, 3 Aug 2010 01:22:09 +0000 (18:22 -0700)]
COMMENT ONLY change to fix some formatting glitches and
(more importantly) clarify issues surrounding removed accounts.

Change-Id: I19e6c0e536e46b6d219c808bb86e88edd7e6f378

14 years agoMerge "Add lost frame handling in AudioSource" into gingerbread
James Dong [Tue, 3 Aug 2010 01:13:54 +0000 (18:13 -0700)]
Merge "Add lost frame handling in AudioSource" into gingerbread

14 years agoFile writer has a designated writer thread now
James Dong [Sat, 31 Jul 2010 00:41:22 +0000 (17:41 -0700)]
File writer has a designated writer thread now

+ This reduces the file I/O block time for audio/video track processing
- Since the file writer is buffering some output samples, the memory
  usage would go up, depending on how many output samples are buffered.

Change-Id: I780cc5b26f4b53a5efbd643fcf9505dfc19cd4cd

14 years agoam 5aa4680e: update device dashboard
Scott Main [Tue, 3 Aug 2010 00:42:11 +0000 (17:42 -0700)]
am 5aa4680e: update device dashboard

Merge commit '5aa4680eb07fd4ca9212ee29c4fc0659e00c958d' into gingerbread

* commit '5aa4680eb07fd4ca9212ee29c4fc0659e00c958d':
  update device dashboard