Eric Laurent
0e49d35fa4
Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
...
This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms).
- The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions.
- AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing.
- AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time.
2009-11-11 12:13:27 -08:00
Android (Google) Code Review
a2c27de457
Merge change Ia629e0f8 into eclair
...
* changes:
Make multipart message follow 3GPP TS 23.040 V9.0.0 (2009-06), section 9.2.3.24.1 : all the parts should have the same encoding.
2009-11-11 11:53:06 -08:00
Android (Google) Code Review
0b79b3cf22
Merge change Idf7fafd3 into eclair
...
* changes:
Fix issue #2248951 : Need to turn off touch filtering outside of sholes
2009-11-11 10:54:58 -08:00
Android (Google) Code Review
d7c1513bda
Merge change I5d30aa18 into eclair
...
* changes:
Make vCard parser invalid lines in vCard file which look like some comment. Do not merge.
2009-11-10 23:03:57 -08:00
Android (Google) Code Review
123e7e712a
Merge change I05fd0df0 into eclair
...
* changes:
Fix potential deadlock in stopPreview/stopRecord.
2009-11-10 22:29:59 -08:00
Android (Google) Code Review
ea3ba43a3e
Merge change I4db11d50 into eclair
...
* changes:
Backport the change I30b141a2 from MR2 to MR1. Do not merge.
2009-11-10 22:03:20 -08:00
Dave Sparks
ff0f38e6fe
Fix potential deadlock in stopPreview/stopRecord.
...
Some camera HALs spin up a preview thread and need to wait for
the thread to exit. This can create a potential deadlock. In
stopPreview, we take the main lock. If a preview callback occurs
while the lock is held, the preview thread will block. If the
camera HAL is waiting for the preview thread to exit, this will
cause a deadlock.
This patch breaks out the preview buffer heap into a separate
mutex. This mutex is never held when the main lock is held, thus
preventing the deadlock from occuring.
2009-11-10 17:08:08 -08:00
Android (Google) Code Review
3bde289d23
Merge change I50986dd4 into eclair
...
* changes:
Make the RegisteredSErvices Cache not allow the registered service for a type to change without first uninstalling the previous service for that type, unless the newly installed service is in the system image.
2009-11-10 16:53:43 -08:00
Android (Google) Code Review
f5aab38201
Merge change I65208317 into eclair
...
* changes:
Update OBEX to fix missing several contact entries issue.
2009-11-10 16:36:40 -08:00
Android (Google) Code Review
9851e52fb4
Merge change I0de7979b into eclair
...
* changes:
Fix issue #2170897 : wallpaper touch-up event not seen when exiting lock screen
2009-11-10 15:27:36 -08:00
Android (Google) Code Review
ec63c280ea
Merge change Ie806ae6f into eclair
...
* changes:
Fix multi-lock ordering issues in GLSurfaceView
2009-11-10 15:21:28 -08:00
Android (Google) Code Review
7e8135a28c
Merge change I96c4d4b3 into eclair
...
* changes:
Fix for random audio output failures, properly dup() the file descriptor in IMediaPlayer::setDataSource to assume ownership as the caller will otherwise close it.
2009-11-10 12:27:53 -08:00
Android (Google) Code Review
e47f670e55
Merge change I83ba96fe into eclair
...
* changes:
Fix issue #2246723 : Only one Application object gets onCreate called
2009-11-10 10:27:05 -08:00
Android (Google) Code Review
4df9b8c64c
Merge change Ic060d86f into eclair
...
* changes:
Check whether test server is up before running tests which use streaming files.
2009-11-10 10:04:40 -08:00
Scott Main
c26745b147
am 88427cff: Merge change Ibcfb7d10 into eclair-sdk
...
Merge commit '88427cff609e668185010af2244500be5823595e' into eclair
* commit '88427cff609e668185010af2244500be5823595e':
docs: add more documentation for the bluetooth apis.
2009-11-10 09:26:24 -08:00
Android (Google) Code Review
1fdecc95b4
Merge change Ibcfb7d10 into eclair-sdk
...
* changes:
docs: add more documentation for the bluetooth apis.
2009-11-10 09:21:00 -08:00
Dirk Dougherty
9d70551394
am 3a103a87: Merge change I15536f3c into eclair-sdk
...
Merge commit '3a103a87b0b3b0e9055f32e1c7f0ec3a58456bad' into eclair
* commit '3a103a87b0b3b0e9055f32e1c7f0ec3a58456bad':
doc change: Add instruction to disable antivirus before installing SDK components. Add download page link to installing doc.
2009-11-10 09:20:55 -08:00
Android (Google) Code Review
3506c61ca4
Merge change I15536f3c into eclair-sdk
...
* changes:
doc change: Add instruction to disable antivirus before installing SDK components. Add download page link to installing doc.
2009-11-10 09:13:29 -08:00
Android (Google) Code Review
01a62c32a6
Merge change Idcd98310 into eclair
...
* changes:
PowerManagerService: enable logging for when mPowerState changes.
2009-11-10 04:34:48 -08:00
Android (Google) Code Review
4611a1b876
Merge change Id09376d1 into eclair
...
* changes:
fix [2071412] work around mdp 32-bits fade limitation
2009-11-09 19:32:47 -08:00
Android (Google) Code Review
8e624e80d4
Merge change Ie211adae into eclair
...
* changes:
Add a way for wallpapers to know the delta between virtual screens.
2009-11-09 19:31:02 -08:00
Android (Google) Code Review
98b43e2c70
Merge change I2a4b120c into eclair
...
* changes:
Add more ringtones. Bug 2219950.
2009-11-09 19:02:17 -08:00
Mathias Agopian
198340395d
fix [2071412] work around mdp 32-bits fade limitation
...
make sure to always specify blits *inside* the source bitmap.
2009-11-09 17:55:59 -08:00
Android (Google) Code Review
d17c0ffca3
Merge change Ib12bcb7f into eclair
...
* changes:
Support for fallback fonts in layoutlib.
2009-11-09 16:52:54 -08:00
Android (Google) Code Review
37dea29988
Merge change I47aa76bf into eclair
...
* changes:
Add new notifications and ringtones.
2009-11-09 13:46:17 -08:00
Android (Google) Code Review
bd162e3e89
Merge change I70e1f7a6 into eclair
...
* changes:
Fix the selection of locale from SIM mcc.
2009-11-09 12:37:22 -08:00
Android (Google) Code Review
78c0b4af6a
Merge change I73b60354 into eclair
...
* changes:
AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.
2009-11-09 08:53:11 -08:00
Android (Google) Code Review
b898b196e9
Merge change Icaf932d0 into eclair
...
* changes:
Fix code example in Parcelable javadoc
2009-11-09 08:09:35 -08:00
Eric Laurent
7b57085a73
AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.
...
This problem was encountered as a side effect of issue 2245298.
2009-11-09 04:45:39 -08:00
Android (Google) Code Review
5dc4fb0849
Merge change Ifb9d6df3 into eclair
...
* changes:
More log for issue 2242381.
2009-11-08 22:58:34 -08:00
Android (Google) Code Review
f50a4a3836
Merge change Ic42763b1 into eclair
...
* changes:
Fix issue #2242440 : Window screen brightness attribute is broken
2009-11-08 18:07:14 -08:00
Android (Google) Code Review
fab47869b3
Merge change I1bc566a1 into eclair
...
* changes:
Ignore the light sensor if the screen is turning off.
2009-11-08 15:51:02 -08:00
Christopher Tate
07d69893e1
Reset binder service threads' cgroup/priority after command completion
...
To prevent buggy command implementations from poisoning binder threads'
scheduling class & priority for future command execution, we now reset the
cgroup and thread priority to foreground/normal when a binder service thread
finishes executing the designated command.
Change-Id: Ibc0ab2485751453f6dc96fdb4eb877fd02796e3f
2009-11-08 14:29:02 -08:00
Android (Google) Code Review
f84570e7af
Merge change I32d41651 into eclair
...
* changes:
Allow a GLThread to release and reacquire the EGL Surface as needed.
2009-11-08 10:19:59 -08:00
Android (Google) Code Review
c670a9cc3b
Merge change I62704736 into eclair
...
* changes:
Do not apply light sensor debounce logic while the light sensor is still warming up.
2009-11-07 18:11:06 -08:00
Eric Laurent
ee47d43ed3
More log for issue 2242381.
...
Added more log in system dump for AudioFlinger and AudioPolicyService to help debug issue 2242381 and other issues where the audio driver hangs.
2009-11-07 01:18:20 -08:00
Android (Google) Code Review
982b02c442
Merge change I47ef4266 into eclair
...
* changes:
Expose WallpaperSettingsActivity in the public API.
2009-11-07 01:05:34 -05:00
Android (Google) Code Review
dbc95f6560
Merge change I32ce8591 into eclair
...
* changes:
Stop scrolling ListView when tapping a clickable item.
2009-11-06 21:29:56 -05:00
Android (Google) Code Review
80482a8254
Merge change I9f3020db into eclair
...
* changes:
fix [2243164] live wallpaper screen artifacts at end of boot
2009-11-06 20:08:35 -05:00
Android (Google) Code Review
c322be4d66
Merge change Ia4424950 into eclair
...
* changes:
Fix stupid bug in GLThreadManager implementation.
2009-11-06 19:00:54 -05:00
Scott Main
67dc76a446
am 0e08055a: Merge change I14a9acd3 into eclair-sdk
...
Merge commit '0e08055aa31c752732005fc48b09ee470a2c4822' into eclair
* commit '0e08055aa31c752732005fc48b09ee470a2c4822':
docs: add new document for the win usb driver;
2009-11-06 15:41:28 -08:00
Android (Google) Code Review
ead5bb7e70
Merge change Ic8093c11 into eclair
...
* changes:
Hold a lock while we access the preview heap.
2009-11-06 17:03:52 -05:00
Android (Google) Code Review
236ffad0f2
Merge change I14a9acd3 into eclair-sdk
...
* changes:
docs: add new document for the win usb driver; remove usb guide from the device document.
2009-11-06 16:57:12 -05:00
Android (Google) Code Review
d086c1cd50
Merge change Idc1396c8 into eclair
...
* changes:
Only use FLAG_ACTIVITY_CLEAR_TOP on the search intent when from global search.
2009-11-06 16:56:51 -05:00
Android (Google) Code Review
83d64f3eb9
Merge change Icdd2864e into eclair
...
* changes:
b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth
2009-11-06 16:23:42 -05:00
Android (Google) Code Review
717d0873e7
Merge change Ie994c0e8 into eclair
...
* changes:
Update CdmaSmsTest unit test.
2009-11-06 15:58:20 -05:00
Android (Google) Code Review
029474aa86
Merge change I3f0ded49 into eclair
...
* changes:
Increase light sensor delay from one to two seconds.
2009-11-06 15:55:52 -05:00
Android (Google) Code Review
046c4120a5
Merge change Ibf6e51b7 into eclair
...
* changes:
Set argv[0] from the main thread of an app, not a random binder thread
2009-11-06 15:00:31 -05:00
Android (Google) Code Review
af5c80227f
Merge change I97b30e2f into eclair
...
* changes:
Revert jparks code from IPCThreadState.
2009-11-06 14:49:39 -05:00
Dave Sparks
23c21baf27
Hold a lock while we access the preview heap.
...
copyFrameAndPostCopiedFrame was not holding a lock while it accessed
the preview heap. If the client process is torn down while the heap
is accessed, the memcpy could access memory that was deallocated.
This patch creates a local sp reference to the preview heap while
holding the lock, then releases the lock. This should prevent the
heap from being pulled out from underneath us.
2009-11-06 11:47:13 -08:00