OSDN Git Service
The Android Open Source Project [Thu, 29 Jul 2010 22:46:48 +0000 (15:46 -0700)]
am
392edec1: Merge from open-source froyo
Merge commit '
392edec1162e9d00bcb66b271f43908f75d42ace' into gingerbread
* commit '
392edec1162e9d00bcb66b271f43908f75d42ace':
Fix a bug where we cleaned an apps external data when upgrading it. :(
The Android Open Source Project [Thu, 29 Jul 2010 22:38:41 +0000 (15:38 -0700)]
Merge from open-source froyo
Change-Id: Ifa75fce9bd362b06ecb622219ef501e61e89fd76
Dianne Hackborn [Thu, 29 Jul 2010 20:57:56 +0000 (13:57 -0700)]
Fix a bug where we cleaned an apps external data when upgrading it. :(
Change-Id: I0eee1e7062d334c66d6daa3c43e11a292263aada
Dianne Hackborn [Thu, 29 Jul 2010 21:07:14 +0000 (14:07 -0700)]
Merge "Fix a bug where we cleaned an apps external data when upgrading it. :(" into gingerbread
Dianne Hackborn [Thu, 29 Jul 2010 20:57:56 +0000 (13:57 -0700)]
Fix a bug where we cleaned an apps external data when upgrading it. :(
Change-Id: I0eee1e7062d334c66d6daa3c43e11a292263aada
Christopher Tate [Thu, 29 Jul 2010 20:53:37 +0000 (13:53 -0700)]
Merge "Attempt to fix the SDK build" into gingerbread
Christopher Tate [Thu, 29 Jul 2010 20:16:38 +0000 (13:16 -0700)]
Attempt to fix the SDK build
On the assumption that the local min() function declaration is in
conflict with some 'min' #define floating around, rename the local
function to min_of().
Change-Id: I62aa27f213c6093cc78805de611cf4aa75f0eef2
Jeff Brown [Thu, 29 Jul 2010 20:05:52 +0000 (13:05 -0700)]
Fix touch input in landscape mode.
Change-Id: I7d47e9b02e6443ed604a6bf842028a5db934d90d
Jeff Brown [Wed, 28 Jul 2010 22:48:59 +0000 (15:48 -0700)]
DO NOT MERGE: Fix input event injection ANRs on UI thread.
Added a new asynchronous injection mode and made the existing
synchronization mechanism more robust.
Change-Id: Ia4aa04fd9b75ea2461a844c5b7933c831c1027e6
Andreas Huber [Thu, 29 Jul 2010 18:07:49 +0000 (11:07 -0700)]
am
16263d9f: Squashed commit of the following:
Merge commit '
16263d9f8cc01392c2f3678b381ce897647c8c81' into gingerbread
* commit '
16263d9f8cc01392c2f3678b381ce897647c8c81':
Squashed commit of the following:
Andreas Huber [Tue, 20 Jul 2010 16:44:34 +0000 (09:44 -0700)]
Squashed commit of the following:
commit
4abf16bb04dc9695fedf4007a84f903074312ccd
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 20 09:21:17 2010 -0700
Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly.
Change-Id: Icc790122744745e9a88099788d4818ca1e265a82
related-to-bug:
2826841
commit
09c74da63e6ad5cb5dafb70f62696d75d2978967
Author: James Dong <jdong@google.com>
Date: Sun Jul 18 17:57:01 2010 -0700
Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled.
Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8
commit
f672bf2a782dc7d5fb6325d611a7fe17045dfe9a
Author: James Dong <jdong@google.com>
Date: Thu Jul 8 20:56:13 2010 -0700
Enable the support for decoding audio with AAC+ and eAAC+ features
bug - 282684
Change-Id: I73c8377af3cc4edd3ee7cea86dc3b1c369fbd78b
Change-Id: I012f1179e933b6d1345d2368f357576c722485f7
Mike Lockwood [Thu, 29 Jul 2010 15:39:55 +0000 (11:39 -0400)]
Fix typo in GPS mode logic.
MS-Assisted support should not be required for using MS-Based mode.
Change-Id: Ia6ee219674de3e9cc13190b753f8776305a4fa90
Signed-off-by: Mike Lockwood <lockwood@android.com>
Eric Laurent [Thu, 29 Jul 2010 13:50:24 +0000 (06:50 -0700)]
Fixed underrun in audioflinger mixer.
When all audio tracks have been disabled and the mixer is running idle before the output stream is placed in standby,
the mixer sometimes fails to write to the output stream on time to avoid underrun.
This is because the sleep period used to wait before the next write to output stream is too close to the actual buffer duration.
In fact this sleep time is not critical as if we write too early to the output stream, the kernel driver will wait for free buffers
from the audio DSP DMA and we will sleep anyways.
The fix consists in dividing the calculated wait period by 2 to increase the margin.
Change-Id: I5730887dc2ccce2a511bc858494a6f7da6b392a0
Eric Laurent [Wed, 28 Jul 2010 08:32:47 +0000 (01:32 -0700)]
Allow creation of an audio effect on a session with no audio tracks.
This is necessary to allow creating and enabling an effect attached to a particular player
session before the playback is started. As a matter of fact, the implementation of the mediaplayer
does not create the AudioTrack before playback starts.
Change-Id: I1266e8885f9d756acc949303321aaac0fbf83e34
Chris Tate [Thu, 29 Jul 2010 01:14:51 +0000 (18:14 -0700)]
Merge "Change unistd.h to stddef.h to be correct" into gingerbread
Adam Powell [Wed, 28 Jul 2010 23:56:13 +0000 (16:56 -0700)]
Merge "Fix a bug that could cause flings to last too long using a Scroller" into gingerbread
Kenny Root [Wed, 28 Jul 2010 23:46:12 +0000 (16:46 -0700)]
Change unistd.h to stddef.h to be correct
size_t should be defined through inclusion of stddef.h instead of unistd.h
Change-Id: Ieaadacfca1e1c44c2533ea95f73fc060c1519b52
Adam Powell [Fri, 23 Jul 2010 22:49:03 +0000 (15:49 -0700)]
Fix a bug that could cause flings to last too long using a Scroller
Bug
2866552
Change-Id: I6979b3da54ca2aeaf4583629e28ee81fa5bd70da
Kenny Root [Wed, 28 Jul 2010 23:41:49 +0000 (16:41 -0700)]
Merge "Add stdint.h to fix sim-eng" into gingerbread
Kenny Root [Wed, 28 Jul 2010 23:41:02 +0000 (16:41 -0700)]
Add stdint.h to fix sim-eng
Change-Id: I82cebe3e769aa4db99bd758bd2f182b0d462de6f
Kenny Root [Wed, 28 Jul 2010 23:37:20 +0000 (16:37 -0700)]
Merge "Add unistd.h for size_t typedef to fix sim-eng" into gingerbread
Kenny Root [Wed, 28 Jul 2010 23:31:24 +0000 (16:31 -0700)]
Add unistd.h for size_t typedef to fix sim-eng
Change-Id: Ida4f1742547f39539b601f13182c722aa7cf863e
Mathias Agopian [Wed, 28 Jul 2010 23:30:56 +0000 (16:30 -0700)]
Merge "fix [
2873058] Surface::dequeueBuffer blocks on last buffer, i.e. cannot dequeue all allocated buffers at once." into gingerbread
Christopher Tate [Wed, 28 Jul 2010 22:36:48 +0000 (15:36 -0700)]
Merge "Support streaming of compressed assets > 1 megabyte" into gingerbread
Christopher Tate [Mon, 26 Jul 2010 18:24:18 +0000 (11:24 -0700)]
Support streaming of compressed assets > 1 megabyte
Compressed assets larger than one megabyte are now decompressed on demand
rather than being decompressed in their entirety and held in memory. Reading
the data in order is relatively efficient, as is seeking forward in the stream.
Seeking backwards is supported, but requires reprocessing the compressed data
from the beginning, so is very inefficient.
In addition, the size limit on compressed assets has been eliminated.
Change-Id: I6e68247957e6c53e7e8ba70d12764695f1723bad
James Dong [Wed, 28 Jul 2010 22:28:54 +0000 (15:28 -0700)]
Merge "Eliminate the linear cost associated with mSampleSizes.size()" into gingerbread
James Dong [Wed, 28 Jul 2010 20:18:14 +0000 (13:18 -0700)]
Eliminate the linear cost associated with mSampleSizes.size()
- The linear cost associated with mSampleSizes.size() call causes the
CPU load to increase overtime as more and more audio/video samples
are recorded.
- Other Lists used in the MP4 file writer may have similar issues, but
the size() call is not made for each output audio/video output sample,
or the size of the list is bounded (not linear to the total number
of audio/video output samples). As for now, we can live with the small
cost (tested with 30 minutes long recording).
Change-Id: I23bd93ea4256cb0be0c1649760e39e6809eb4946
Kenny Root [Wed, 28 Jul 2010 21:47:01 +0000 (14:47 -0700)]
Remove stale temporary ASEC containers
When a temporary container is created, its existence should be
ephemeral. However, if there is an error that causes system_server to be
killed during the process of creating a finalized ASEC, delete the stale
containers on the next start-up of system_server.
Change-Id: I7be8f94638a824295474c9a95960594848cb726b
Kenny Root [Wed, 28 Jul 2010 21:48:40 +0000 (14:48 -0700)]
Merge "Fix getTempContainerId()" into gingerbread
Kenny Root [Tue, 27 Jul 2010 22:18:38 +0000 (15:18 -0700)]
Fix getTempContainerId()
getTempContainerId() would always return "smdl2tmp1" unless you had
MAX_CONTAINERS number of SD card SDKs, because of an array sort that put
all the zeros at the beginning.
Switch from trying to find a hole in the series of numbers to just
getting a number that's one larger than the previous. This reduces the
algorithmic complexity and the memory requirements.
Bug:
2832580
Change-Id: I32dc75ef5a6645f594ea47b032d7402e8860ebcd
Scott Main [Wed, 28 Jul 2010 21:23:16 +0000 (14:23 -0700)]
am
3bf5c4cd: Merge "fix markup error bug:
2871538" into froyo
Merge commit '
3bf5c4cd30f8bd598842d8ded5f1655406b5c27a' into gingerbread
* commit '
3bf5c4cd30f8bd598842d8ded5f1655406b5c27a':
fix markup error
Scott Main [Wed, 28 Jul 2010 21:20:18 +0000 (14:20 -0700)]
Merge "fix markup error bug:
2871538" into froyo
Jeff Brown [Sat, 24 Jul 2010 04:28:06 +0000 (21:28 -0700)]
Refactor input reader to support new device types more easily.
Refactored the input reader so that each raw input protocol is handled
by a separate subclass of the new InputMapper type. This way, behaviors
pertaining to keyboard, trackballs, touchscreens, switches and other
devices are clearly distinguished for improved maintainability.
Added partial support for describing capabilities of input devices
(incomplete and untested for now, will be fleshed out in later commits).
Simplified EventHub interface somewhat since InputReader is taking over
more of the work.
Cleaned up some of the interactions between InputManager and
WindowManagerService related to reading input state.
Fixed swiping finger from screen edge into display area.
Added logging of device information to 'dumpsys window'.
Change-Id: I17faffc33e3aec3a0f33f0b37e81a70609378612
Scott Main [Wed, 28 Jul 2010 21:14:40 +0000 (14:14 -0700)]
fix markup error
bug:
2871538
Change-Id: I7ab4a9bb722ee8b3e5d740f79143776be8b56a6f
Dan Egnor [Wed, 28 Jul 2010 19:40:16 +0000 (12:40 -0700)]
am
17876aa5: Minor changes to ContentProvider javadoc to improve consistency.
Merge commit '
17876aa586cc9acfb3e5b909c14b9e73537a1a8d' into gingerbread
* commit '
17876aa586cc9acfb3e5b909c14b9e73537a1a8d':
Minor changes to ContentProvider javadoc to improve consistency.
Dan Egnor [Wed, 28 Jul 2010 19:28:04 +0000 (12:28 -0700)]
Minor changes to ContentProvider javadoc to improve consistency.
Change-Id: I710f618c94ffd5d6368ef04a39ac08f675bec11b
James Dong [Wed, 28 Jul 2010 17:24:39 +0000 (10:24 -0700)]
Reduce memory usage by the MP4 file writer
- Don't store timestamp for each output sample
- Don't store timestamp for statistical data collection if the collection of statistical data is not requested
TODO:
1. Reduce CPU load by elimnating the list cost associated with List.size() call.
Change-Id: I590bc17176596a65952c982574b82ee3b15b7d1c
James Dong [Wed, 28 Jul 2010 18:58:12 +0000 (11:58 -0700)]
Merge "Interleave the audio and video by default - default interleave duration is set to 1 second" into gingerbread
James Dong [Wed, 28 Jul 2010 17:08:03 +0000 (10:08 -0700)]
Interleave the audio and video by default
- default interleave duration is set to 1 second
This can dramatically reduce the memory usage
by the MP4 file writer.
Change-Id: Ia3ff202cabfcd2d3f183065d31e4596617c2dded
Joe Onorato [Wed, 28 Jul 2010 16:53:12 +0000 (09:53 -0700)]
Merge "Add a missing break; to restore old functionality and not turn off the screen after 30secs regardless of system preference." into gingerbread
Eric Laurent [Wed, 28 Jul 2010 14:48:49 +0000 (07:48 -0700)]
Merge "Audio effects: modified command() parameter types." into gingerbread
Eric Laurent [Wed, 28 Jul 2010 12:40:18 +0000 (05:40 -0700)]
Audio effects: modified command() parameter types.
The type of the cmd, cmdSize and *pReplySize parameters of the effect control interface command()
function have been modified from int to uint32_t. This is more consistent with their role.
Change-Id: I84d289fc262d6753747910f06f485597dfee6591
Mike Lockwood [Wed, 28 Jul 2010 11:04:18 +0000 (04:04 -0700)]
Merge "Tethering: Use new ACTION_USB_STATE broadcast to monitor USB connected state" into gingerbread
Mathias Agopian [Wed, 28 Jul 2010 03:11:35 +0000 (20:11 -0700)]
fix [
2873058] Surface::dequeueBuffer blocks on last buffer, i.e. cannot dequeue all allocated buffers at once.
this situation happened when the last buffer needed to be resized
(or allocated, the first time). the assumption was that the buffer
was in use by SF itself as the current buffer (obviously, this
assumption made no sense when the buffer had never been allocated, btw).
the system would wait until some other buffer became the "front" buffer.
we fix this problem by entirely removing the requirement that the
buffer being resized cannot be the front buffer. instead, we just
allocate a new buffer and replace the front buffer by the new one.
the downside is that this uses more memory (an extra buffer) for a
brief amount of time while the old buffer is being reallocated and
before it has actually been replaced.
Change-Id: I022e4621209474ceb1c671b23deb4188eaaa7285
Brad Fitzpatrick [Wed, 28 Jul 2010 01:34:08 +0000 (18:34 -0700)]
Merge "Cap the size of StrictMode buffering we do before calling DropBox." into gingerbread
Steve Howard [Tue, 27 Jul 2010 23:55:14 +0000 (16:55 -0700)]
Merge "One last change to current.xml for new download manager API" into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 23:54:39 +0000 (16:54 -0700)]
Cap the size of StrictMode buffering we do before calling DropBox.
Change-Id: I46ea767bd0153c745e9b7eff945dacf5130f8807
Brad Fitzpatrick [Tue, 27 Jul 2010 23:52:12 +0000 (16:52 -0700)]
am
86c035f0: Merge "COMMENT ONLY change to clarify ContentProvider documentation." into froyo
Merge commit '
86c035f0d176be9cb06b1e4f2390c25701417586' into gingerbread
* commit '
86c035f0d176be9cb06b1e4f2390c25701417586':
COMMENT ONLY change to clarify ContentProvider documentation.
Steve Howard [Tue, 27 Jul 2010 23:50:07 +0000 (16:50 -0700)]
One last change to current.xml for new download manager API
Change-Id: If88984ad64880a81e4dbb4ef9f8118cc52bb891f
Andreas Huber [Tue, 27 Jul 2010 23:49:10 +0000 (16:49 -0700)]
Add a missing break; to restore old functionality and not turn off the screen after 30secs regardless of system preference.
Change-Id: I6d160a1851e1f73bac3775d24cf70d46da59aa47
Brad Fitzpatrick [Tue, 27 Jul 2010 23:44:53 +0000 (16:44 -0700)]
Merge "COMMENT ONLY change to clarify ContentProvider documentation." into froyo
Dan Egnor [Tue, 27 Jul 2010 23:32:17 +0000 (16:32 -0700)]
COMMENT ONLY change to clarify ContentProvider documentation.
Gets a little more specific about thread behavior, and makes
pointed comments about not doing too much work in onCreate().
Change-Id: I682f0eb7d7559babee901ed26642751a6ba0a1ea
Steve Howard [Tue, 27 Jul 2010 23:29:37 +0000 (16:29 -0700)]
Merge "Un-@hide new download manager public API." into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 22:19:08 +0000 (15:19 -0700)]
Merge "Explicitly mention again that startCommand() runs on the main thread." into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 21:37:02 +0000 (14:37 -0700)]
Explicitly mention again that startCommand() runs on the main thread.
This is already mentioned at the top of Service.java's javadoc, but
I'm seeing people get confused (myself included the other day) after
getting used to incoming service stub binder calls being on their own
threads and forgetting that startCommand() didn't work that way.
Change-Id: Ib79f48d9368ac0ba2d37b7e4dc98d53804bcd59e
Brad Fitzpatrick [Tue, 27 Jul 2010 20:59:47 +0000 (13:59 -0700)]
Merge "Replace several IPCThreadState::get() lookups with one." into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 16:49:11 +0000 (09:49 -0700)]
Replace several IPCThreadState::get() lookups with one.
Also, make StrictMode's ThreadLocal final.
Change-Id: I08d400ed254fa67bb7a3dae1227f205a54c00df0
Dan Egnor [Tue, 27 Jul 2010 17:22:58 +0000 (10:22 -0700)]
Merge "Remove a log message Jason doesn't like" into gingerbread
Joe Onorato [Tue, 27 Jul 2010 16:14:42 +0000 (09:14 -0700)]
am
8c65ee2d: Merge "Add a method to let a properly permissioned app directly manipulate the user activity timeout. We should come up with a better API for this, but this is for a last minute power manager hack to turn off the screen sooner after a phone call ends." i
Merge commit '
8c65ee2d509db7dcb50ce4530d52eb5bdca3f917' into gingerbread
* commit '
8c65ee2d509db7dcb50ce4530d52eb5bdca3f917':
Add a method to let a properly permissioned app directly
Joe Onorato [Tue, 27 Jul 2010 16:05:05 +0000 (09:05 -0700)]
Merge "Add a method to let a properly permissioned app directly manipulate the user activity timeout. We should come up with a better API for this, but this is for a last minute power manager hack to turn off the screen sooner after a phone call ends." into froyo
Eric Laurent [Fri, 23 Jul 2010 07:19:11 +0000 (00:19 -0700)]
Audio Effects: added methods to effects java classes to store and load current effect settings in
a single call.
Addional changes:
- Fixed simulator build
- Use effect interface UUIDs from OpenSL ES includes when available
- Added cleanspec rules to remove now obsolete test effect libraries
- Fixed bug in AudioEffect JNI setParameter function.
Change-Id: Ic25ddb135e2cec5a68c181d727321f5ac7a1ab6b
Steve Howard [Tue, 27 Jul 2010 03:44:35 +0000 (20:44 -0700)]
Un-@hide new download manager public API.
Change-Id: Ia8433160ef40e25fb9408f05f97c7bbfa10a807e
Dirk Dougherty [Tue, 27 Jul 2010 03:01:12 +0000 (20:01 -0700)]
am
0ac8ac30: Doc change: Add docs for licensing service.
Merge commit '
0ac8ac301d056604485aeca9ffe5ce8d1e63ef19' into gingerbread
* commit '
0ac8ac301d056604485aeca9ffe5ce8d1e63ef19':
Doc change: Add docs for licensing service.
Brad Fitzpatrick [Tue, 27 Jul 2010 02:44:50 +0000 (19:44 -0700)]
Merge "Fix StrictMode for Binder.dump()" into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 00:47:45 +0000 (17:47 -0700)]
Fix StrictMode for Binder.dump()
Change-Id: I378f5e3d6512d06b46248b9bb6d9c727e3f6bf1d
Jean-Michel Trivi [Mon, 26 Jul 2010 23:11:58 +0000 (16:11 -0700)]
Fix NPE in TextToSpeech with setLanguage(null)
getLanguage() can return null, and pass it to setLanguage()
in TextToSpeech.initTts()
Change-Id: I8046e94959404bd63b0a90bcc2dbf4018f77c110
Dan Egnor [Mon, 26 Jul 2010 22:32:00 +0000 (15:32 -0700)]
Remove a log message Jason doesn't like
Bug:
2856942
Change-Id: Ifc5cfc076bfed0918bb203ed9c82a42092ac3939
Dirk Dougherty [Wed, 21 Jul 2010 01:38:53 +0000 (18:38 -0700)]
Doc change: Add docs for licensing service.
Change-Id: Ia78467b8857cb8e83ab3920f4126bc7985a9d93d
Eric Laurent [Mon, 26 Jul 2010 17:09:54 +0000 (10:09 -0700)]
Merge "Fixed bug in vlm effect bunde wrapper effect init function." into gingerbread
Mike Lockwood [Mon, 26 Jul 2010 15:11:54 +0000 (08:11 -0700)]
Merge "Avoid starting multiple threads in ShutdownThread" into gingerbread
Mike Lockwood [Mon, 26 Jul 2010 11:18:21 +0000 (07:18 -0400)]
Avoid starting multiple threads in ShutdownThread
The previous code allowed this to happen if a second call to shutdown
happened while the dialog was being displayed.
BUG:
2563243
Change-Id: I93adc4ef316917a79002d580b17eda0dc354704c
Signed-off-by: Mike Lockwood <lockwood@android.com>
Eric Laurent [Mon, 26 Jul 2010 09:17:52 +0000 (02:17 -0700)]
Merge "LVM release 1.04." into gingerbread
Eric Laurent [Fri, 23 Jul 2010 16:01:44 +0000 (09:01 -0700)]
LVM release 1.04.
Remaining warnings in the code have been removed
Core components support seamless insertion in the audio stream at playtime (Enabling / Disabling the effect).
Change-Id: Icae7085305fad663faeb5a94cb673b41cec5a9f1
Eric Laurent [Mon, 26 Jul 2010 08:03:37 +0000 (01:03 -0700)]
Fixed bug in vlm effect bunde wrapper effect init function.
The status in the command reply field was not initialized by Effect_command() for
EFFECT_CMD_INIT causing unpredictable failures when initializing an effect.
Change-Id: I7dccb094c9244fad4ed9aea3062a395db295e082
Dianne Hackborn [Sun, 25 Jul 2010 02:58:06 +0000 (19:58 -0700)]
Infrastructure to report running services to developer.
Change-Id: Id1aae61323e7b8357c5fcc4bc641aaa57f3b6fde
Dianne Hackborn [Sun, 25 Jul 2010 01:21:07 +0000 (18:21 -0700)]
Update app label.
Change-Id: I6c688fd9292aeaa58435eec6273b3a19cad5eff9
Dianne Hackborn [Sat, 24 Jul 2010 23:32:42 +0000 (16:32 -0700)]
Fix handling of application disabled state.
Change-Id: I617b76e89eeb75437b384b92f1205bb00b15bb70
Dianne Hackborn [Fri, 23 Jul 2010 07:22:04 +0000 (00:22 -0700)]
Battery stats: start removing last stats, keep total discharge.
Change-Id: I59c4bcbb9893adb237017add76b83c22153f94ef
Joe Onorato [Sat, 24 Jul 2010 15:50:05 +0000 (11:50 -0400)]
Add a method to let a properly permissioned app directly
manipulate the user activity timeout. We should come up
with a better API for this, but this is for a last minute
power manager hack to turn off the screen sooner after a
phone call ends.
Change-Id: I76422f952e3e894c90b3311e7d889899c79cbbaa
Mathias Agopian [Sat, 24 Jul 2010 00:03:43 +0000 (17:03 -0700)]
Merge "Report sensor events to BatteryStats service" into gingerbread
Mathias Agopian [Fri, 23 Jul 2010 05:19:43 +0000 (22:19 -0700)]
Report sensor events to BatteryStats service
Change-Id: I9b83aa709887aa658bc474391573f2d45b6c4eb2
Mathias Agopian [Fri, 23 Jul 2010 23:39:34 +0000 (16:39 -0700)]
Merge "SensorService handles last known state properly" into gingerbread
Steve Howard [Fri, 23 Jul 2010 21:58:15 +0000 (14:58 -0700)]
New permission for non-purgeable cache downloads.
This permission allows an app to use the public download manager API
to download files to the cache partition that won't be automatically
deleted when the download manager needs space.
Change-Id: Id9a5cd61c940df22765b358290b8ad8ceeff493e
Gilles Debunne [Fri, 16 Jul 2010 01:06:36 +0000 (18:06 -0700)]
Fixed bug in BitmapFactory.decodeStream
Downloading images over a slow connection could result in errors and
null images.
The JavaInputStreamAdaptor::do_skip method was correctly called in a
loop (to handle the EOF case using read()), but the amount that was
skipped at each time was not decreased by the amount already skipped.
Bug http://code.google.com/p/android/issues/detail?id=6066
Cherry picked from master CL57808
Change-Id: Ie6856898b21ba31de1209e1f995b4ae784c919b9
Eric Laurent [Fri, 23 Jul 2010 07:54:58 +0000 (00:54 -0700)]
Audio effects: lvm bundle wrapper update after first integration tests.
Change-Id: I20cb55282833bd6e3a160e0dae1cc1fcb6b1ca30
Mathias Agopian [Fri, 23 Jul 2010 04:24:39 +0000 (21:24 -0700)]
SensorService handles last known state properly
SensorService now correctly sends the last known
state of a sensor as soon as a new connection is made.
This fixes the issue where, for instance, an application
could wait a long time before getting the light or proximity
sensor initial state.
Change-Id: Ic41392f3626e26c4f15746c7e17c7ecd44bbb10b
Mathias Agopian [Fri, 23 Jul 2010 03:07:01 +0000 (20:07 -0700)]
Merge "Fix a memory corruption when writting Sensor into a parcel" into gingerbread
Mathias Agopian [Fri, 23 Jul 2010 01:57:41 +0000 (18:57 -0700)]
Fix a memory corruption when writting Sensor into a parcel
Change-Id: I03f703ae2224f43924031bfea4c68aa979bb9f05
Mathias Agopian [Fri, 23 Jul 2010 00:23:17 +0000 (17:23 -0700)]
Merge "filter sensor event by connection" into gingerbread
Mathias Agopian [Thu, 22 Jul 2010 23:18:10 +0000 (16:18 -0700)]
filter sensor event by connection
we now don't send events down to a connection that has not
registered for this event.
Change-Id: I3fe507974d3e99293749bfec2ef871e8a0ee9600
James Dong [Wed, 21 Jul 2010 21:51:35 +0000 (14:51 -0700)]
Allows the authoring engine to skip frame.
This is 1st part of the work to allow audio and video resync if
we found out that audio and video are out of sync during authoring
- also fixed a problem in AACEncoder::read() where the buffer acquired
from the buffer group does not release when error out at
reading from source.
Change-Id: I8a2740097fcfdf85e6178869afeb9f3687a99118
Mathias Agopian [Thu, 22 Jul 2010 21:38:49 +0000 (14:38 -0700)]
Merge "propagate sensor event rate properly to the sensor HAL" into gingerbread
Andreas Huber [Thu, 22 Jul 2010 20:47:41 +0000 (13:47 -0700)]
Merge "Various changes to improve rtsp networking, reduce packet loss and adapt to ALooper API changes." into gingerbread
Andreas Huber [Thu, 22 Jul 2010 16:20:13 +0000 (09:20 -0700)]
Various changes to improve rtsp networking, reduce packet loss and adapt to ALooper API changes.
Change-Id: I110e19d5ce33e597add3ffbd3e3ff3815862396d
Mathias Agopian [Wed, 21 Jul 2010 22:59:50 +0000 (15:59 -0700)]
propagate sensor event rate properly to the sensor HAL
Change-Id: I1abe4c0fcce423caab79208353fded4d57398227
Steve Howard [Thu, 22 Jul 2010 02:49:45 +0000 (19:49 -0700)]
Remove SEE_ALL_EXTERNAL permission from Download Manager.
I'm removing this currently unused functionality from the Download
Manager implementation, so the constant might as well go.
Change-Id: I4f0970211201881a8426b83b5275408cd14c3377
Steve Howard [Wed, 21 Jul 2010 21:53:21 +0000 (14:53 -0700)]
DL manager support for broadcasts + connectivity control
* Additions to DownloadManager to support control of broadcast intents, allowed network types, and roaming control. This includes new constants and added implementation.
* New DB columns to hold connectivity flags and one to indicate whether the download was initiated through the public API; this is used to change behavior related to broadcast intents and connectivity controls.
Change-Id: I2e8e4ce92cde7889a0f24dc43b86c596c73c0eaa
Mathias Agopian [Wed, 21 Jul 2010 22:59:50 +0000 (15:59 -0700)]
propagate sensor event rate properly
Change-Id: I32e67d30e4295285a6827956cc8161b2025d70bc
Mathias Agopian [Tue, 20 Jul 2010 02:09:10 +0000 (19:09 -0700)]
SensorService doesn't crash if correct HAL is not present
Change-Id: I83700b1a1b43390f5830e1056572bfb16e58e8e4
Mathias Agopian [Wed, 21 Jul 2010 23:07:32 +0000 (16:07 -0700)]
Merge "Better dumpsys logs" into gingerbread