OSDN Git Service
Chih-Wei Huang [Tue, 12 Jul 2011 06:58:56 +0000 (14:58 +0800)]
add powerbtnd to simulate long press of power button.
On x86 PC, power button usually generates key press and release events
simultaneously. However, the android framework expects a long press
of power button to invoke the power off dialog.
The daemon simulates a long press of power button in 2 seconds.
A target needs to add excluded-input-devices.xml to exclude
'Power Button' from processing by EventHub.
Chih-Wei Huang [Fri, 3 Sep 2010 03:14:37 +0000 (11:14 +0800)]
wifi: auto-detect the module name and path
Chih-Wei Huang [Fri, 3 Sep 2010 03:11:32 +0000 (11:11 +0800)]
wifi: do not hardcode module name and path
The module name and path can be obtained by the properties
wlan.modname and wlan.modpath.
Chih-Wei Huang [Thu, 2 Sep 2010 08:11:14 +0000 (16:11 +0800)]
wifi: pass interface to wpa_supplicant
Change-Id: I577d0e7a0c6cbf7c1ddb025c01519a30bb7997b3
Jean-Michel Trivi [Tue, 16 Nov 2010 00:02:06 +0000 (16:02 -0800)]
do not merge bug
3370834 Cherrypick from master CL 79894
Support new audio mode for audio communication other than telephony.
Change-Id: I4fa2c277517111e8490f6bdfb97ce3788dc8f549
Eric Laurent [Wed, 1 Dec 2010 22:15:21 +0000 (14:15 -0800)]
Fix issue
2641884: Bluetooth volume is dependent on in call volume.
The problem is that the code in AudioPolicyManagerBase::checkAndSetVolume() that forces
voice volume to max when setting bluetooth SCO volume is not called if the bluetooth stream
volume did not actually change. So even if we re apply volumes when switching to bluetooth
device, the voice volume is not changed in audio HAL and remains what it was when routed to earpiece.
What makes things worse on Passion is that stream volumes are limited when connected to bluetooth
and their actual value does not change as soon as they exceed the limit threshold.
Change-Id: Ieb72a71e06e9b3079cc8bc76c78ce83e060a2ea2
Eric Laurent [Tue, 2 Nov 2010 19:03:04 +0000 (12:03 -0700)]
Fix issue
3142808.
There is a bug in the way audio policy manager handles A2DP interface suspend/restore
when SCO is used. This bug is not new but has been triggered by a change in the timing
of the events received by audio policy manager when a call is setup and torn down
introduced by commit
164a8f86c7e48992691368c4895709c3bdb835a4.
The fix consists in grouping the control of A2DP suspended state in a single function
that is called systematically when conditions affecting this state are changed:
- call state change
- device connection/disconnection
- change in forced usage.
Change-Id: Ib76a999513b5afbfd59ba945f8650d2a48d6f480
Eric Laurent [Sat, 28 Aug 2010 00:16:29 +0000 (17:16 -0700)]
Fix issue
2952766.
The fix for issue
2952766 showed some unused code in
AudioPolicyManagerBase::checkOutputForStrategy(): since commit
eb8f850d0b7e53956e917fd9645f808c1a09bc88: there is no need
to update the hardware output device as it will be updated when the
new tracks are created by audioflinger.
Change-Id: I2f46fab58a5db3b4cd03fdaeebd7d6603c8dbbdd
Eric Laurent [Tue, 13 Jul 2010 12:01:51 +0000 (05:01 -0700)]
Audio policy manager changes for audio effects
Added methods for audio effects management by audio policy manager.
- control of total CPU load and memory used by effect engines
- selection of output stream for global effects
- added audio session id in parameter list for startOutput() and stopOutput().
this is not used in default audio policy manager implementation.
Change-Id: I3467e64035387cc5272266b1318a5ed788958374
Mike Lockwood [Thu, 1 Jul 2010 13:37:08 +0000 (09:37 -0400)]
Remove obsolete gpstest app.
Change-Id: If4456b47aa4af6d50110773c87fb67efa985ece9
Signed-off-by: Mike Lockwood <lockwood@android.com>
Nick Kralevich [Thu, 13 May 2010 23:24:26 +0000 (16:24 -0700)]
Get rid of warnings when compiled with -Wformat-security
Change-Id: Ib0a56e508734b1eca8b6cf125fd07efefee854aa
The Android Open Source Project [Thu, 8 Apr 2010 17:54:22 +0000 (10:54 -0700)]
am
28739a81: merge from open-source master
Merge commit '
28739a81dbdeb046adc9e31ffadbe65cb45563b3' into kraken
* commit '
28739a81dbdeb046adc9e31ffadbe65cb45563b3':
Add a static library containing power.c for use by the librpc library.
The Android Open Source Project [Thu, 8 Apr 2010 17:47:43 +0000 (10:47 -0700)]
merge from open-source master
Change-Id: I33605ebb36f1978e1c4715f6688074c808981c8d
Mike Lockwood [Tue, 9 Mar 2010 15:43:16 +0000 (10:43 -0500)]
Add a static library containing power.c for use by the librpc library.
Change-Id: I0c20d1214f4cb7f21712d4ba46d26ea8308fc45d
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Mon, 5 Apr 2010 16:14:52 +0000 (12:14 -0400)]
Remove obsolete GPS support.
We now use the libhardware HAL interface instead.
Change-Id: I0e52ff1da13109b509f166a6437d0a24cdd389b3
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Wed, 31 Mar 2010 00:35:12 +0000 (17:35 -0700)]
am
b678f3bb: (-s ours) Add support for GPS privacy lock. DO NOT MERGE
Merge commit '
b678f3bb6c3fa3cc88cda872909ace5791a6304c' into kraken
* commit '
b678f3bb6c3fa3cc88cda872909ace5791a6304c':
Add support for GPS privacy lock. DO NOT MERGE
Mike Lockwood [Fri, 26 Mar 2010 19:13:34 +0000 (15:13 -0400)]
Add support for GPS privacy lock. DO NOT MERGE
Change-Id: Iea57de70503d9008cc6be1a7101370948c15bc29
Signed-off-by: Mike Lockwood <lockwood@android.com>
Eric Laurent [Thu, 4 Feb 2010 08:54:23 +0000 (00:54 -0800)]
Fix issue
2416481: Support Voice Dialer over BT SCO.
Make the choice of opening a direct output stream platform specific.
Change-Id: I63e5464a18aaa3600e9fed6cec0518ff1fad4dbd
Mike Lockwood [Tue, 9 Mar 2010 15:43:16 +0000 (10:43 -0500)]
Add a static library containing power.c for use by the librpc library.
Change-Id: I0c20d1214f4cb7f21712d4ba46d26ea8308fc45d
Signed-off-by: Mike Lockwood <lockwood@android.com>
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:52 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk
Change-Id: I8f0b127fa51a59cc5831b70f7afc47ba0ec4d9ac
Mike Lockwood [Mon, 8 Mar 2010 15:54:42 +0000 (10:54 -0500)]
Fix sim build by including <stdlib.h>
Change-Id: I4df46fff44846b770a00d5f055ec483e9caf2516
Signed-off-by: Mike Lockwood <lockwood@android.com>
Fred Fettinger [Tue, 5 Jan 2010 22:54:03 +0000 (16:54 -0600)]
libhardware_legacy: add gps debug extension
The gps debug extension provides a single function that allows the native
gps implementation to include an arbitrary string in bugreports.
Change-Id: I1bd8e403e421847784804c47d83e3600340b3fea
Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
Eric Laurent [Fri, 19 Feb 2010 15:39:21 +0000 (07:39 -0800)]
Issue
2071329: audio track is shorter than video track for video capture on sholes
Add API to retrieve number of frames dropped by audio input kernel driver.
Submitted on behalf of Masaki Sato <masaki.sato@motorola.com>
Dmitry Shmidt [Thu, 25 Feb 2010 23:28:09 +0000 (15:28 -0800)]
Merge "Increase delay after driver loading if FW loader is not used"
Dmitry Shmidt [Thu, 25 Feb 2010 20:34:42 +0000 (12:34 -0800)]
Increase delay after driver loading if FW loader is not used
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Eric Laurent [Tue, 23 Feb 2010 18:56:00 +0000 (10:56 -0800)]
Fix issue
2305382: Pick up original call makes a noisy beep when wired headset connected.
The noise is the residual ring tone that is still playing while the call is answered and the
audio route changed to headset or earpiece.
The fix consists in muting the ringing tone when changing mode from ringtone to in call
and delaying the route change until the audio buffers are emptied.
San Mehat [Sat, 20 Feb 2010 16:07:27 +0000 (08:07 -0800)]
libhardware_legacy: Get rid of IMountService c++ bindings
Signed-off-by: San Mehat <san@google.com>
Eric Laurent [Tue, 16 Feb 2010 14:06:46 +0000 (06:06 -0800)]
Fix issue
2440226: Car dock volume synchronization.
Make computeVolume() method virtual so that its implementation can be platform specific.
Dmitry Shmidt [Mon, 8 Feb 2010 17:29:48 +0000 (09:29 -0800)]
Add additional logging
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
The Android Open Source Project [Fri, 5 Feb 2010 22:10:49 +0000 (14:10 -0800)]
am
51ca2892: am
8dd38d6b: reconcile main tree with open-source eclair
Merge commit '
51ca2892bba945142be57171d4e81e836418fb56'
* commit '
51ca2892bba945142be57171d4e81e836418fb56':
android-2.1_r1 snapshot
The Android Open Source Project [Fri, 5 Feb 2010 16:41:15 +0000 (08:41 -0800)]
am
8dd38d6b: reconcile main tree with open-source eclair
Merge commit '
8dd38d6bc8918f2153580111fbd8aef6b9f90cc4' into eclair-plus-aosp
* commit '
8dd38d6bc8918f2153580111fbd8aef6b9f90cc4':
android-2.1_r1 snapshot
The Android Open Source Project [Fri, 5 Feb 2010 16:09:38 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 29 Jan 2010 22:09:19 +0000 (14:09 -0800)]
reconcile android-2.1_r1 snapshot
San Mehat [Fri, 29 Jan 2010 13:33:00 +0000 (05:33 -0800)]
libhardware_legacy: Refactor C++ bindings for new API
Signed-off-by: San Mehat <san@google.com>
Irfan Sheriff [Wed, 27 Jan 2010 23:35:28 +0000 (15:35 -0800)]
Return failures as strings to monitor
Bug:
2399119
Change-Id: I17bcb86e002cd520f4275f3786cf54c82aaf59b7
Eric Laurent [Wed, 20 Jan 2010 01:34:55 +0000 (17:34 -0800)]
Fix issue
2285561: New AudioFlinger and audio driver API needed for A/V sync
Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames
written by DSP to DAC.
San Mehat [Sat, 23 Jan 2010 16:13:08 +0000 (08:13 -0800)]
libhardware_legacy: Add support for renaming secure containers
Signed-off-by: San Mehat <san@google.com>
Eric Laurent [Wed, 20 Jan 2010 18:03:45 +0000 (10:03 -0800)]
Merge "Create base class for audio policy manager."
San Mehat [Mon, 18 Jan 2010 14:24:01 +0000 (06:24 -0800)]
libhardware_legacy: Add new unmount asec api call
Signed-off-by: San Mehat <san@google.com>
San Mehat [Fri, 15 Jan 2010 18:03:24 +0000 (10:03 -0800)]
libhardware_legacy: Rename MountService method names
Signed-off-by: San Mehat <san@google.com>
Eric Laurent [Mon, 14 Dec 2009 13:18:18 +0000 (05:18 -0800)]
Create base class for audio policy manager.
First implementations of audio policy manager in Eclair branch have shown that most code is common to all platforms.
Creating AudioPolicyManagerBase base class will improve code maintainability and readability.
The Android Open Source Project [Tue, 12 Jan 2010 23:19:05 +0000 (15:19 -0800)]
android-2.1_r1 snapshot
San Mehat [Mon, 11 Jan 2010 18:16:07 +0000 (10:16 -0800)]
libhardware_legacy: asec: Rename 'Cache' -> 'Container'
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 9 Jan 2010 18:08:50 +0000 (10:08 -0800)]
Legacy MountService: Update binder interface to match MountService
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 6 Jan 2010 22:43:06 +0000 (14:43 -0800)]
legacy: Add asec binder transaction support to c++ wrappers
Signed-off-by: San Mehat <san@google.com>
Mike Lockwood [Wed, 25 Nov 2009 19:58:23 +0000 (11:58 -0800)]
am
d2156a02: am
deb1c961: Remove obsolete flashlight support.
Merge commit '
d2156a025774b13dce50d4e8739661cd58c5ad2e'
* commit '
d2156a025774b13dce50d4e8739661cd58c5ad2e':
Remove obsolete flashlight support.
Mike Lockwood [Wed, 25 Nov 2009 19:53:25 +0000 (11:53 -0800)]
am
deb1c961: Remove obsolete flashlight support.
Merge commit '
deb1c961a595a98917d4cf370ff85af0e1349192' into eclair-mr2-plus-aosp
* commit '
deb1c961a595a98917d4cf370ff85af0e1349192':
Remove obsolete flashlight support.
Mike Lockwood [Wed, 25 Nov 2009 17:55:44 +0000 (12:55 -0500)]
Remove obsolete flashlight support.
Change-Id: I7d366449301ee685bb3202c738ade06c3102229e
Signed-off-by: Mike Lockwood <lockwood@android.com>
Jean-Baptiste Queru [Sun, 15 Nov 2009 23:02:51 +0000 (15:02 -0800)]
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:55:21 +0000 (14:55 -0800)]
merge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:06:34 +0000 (14:06 -0800)]
merge from open-source master
Merge commit 'goog/stage-korg-master' into HEAD
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:06:40 +0000 (12:06 -0800)]
merge from eclair
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:46:07 +0000 (18:46 -0800)]
eclair snapshot
Eric Laurent [Tue, 3 Nov 2009 18:43:27 +0000 (10:43 -0800)]
Eric Laurent [Tue, 3 Nov 2009 18:37:40 +0000 (10:37 -0800)]
Eric Laurent [Tue, 3 Nov 2009 18:32:41 +0000 (10:32 -0800)]
Eric Laurent [Tue, 3 Nov 2009 17:28:27 +0000 (09:28 -0800)]
Log for issue
2203561.
Added dump() method to AudioPolicyInterface.
Eric Laurent [Sat, 24 Oct 2009 08:53:41 +0000 (01:53 -0700)]
am
368a9ea2: am
f163f3d6: Fix issue
2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Merge commit '
368a9ea290ceea2cbeeac1ac20aebc5ff5ea92eb'
* commit '
368a9ea290ceea2cbeeac1ac20aebc5ff5ea92eb':
Fix issue
2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Eric Laurent [Sat, 24 Oct 2009 08:47:45 +0000 (01:47 -0700)]
am
f163f3d6: Fix issue
2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Merge commit '
f163f3d600c056de0bdca6d12555a0225f76ec9a' into eclair-mr2-plus-aosp
* commit '
f163f3d600c056de0bdca6d12555a0225f76ec9a':
Fix issue
2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Eric Laurent [Sat, 24 Oct 2009 08:38:26 +0000 (01:38 -0700)]
am
f163f3d6: Fix issue
2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Merge commit '
f163f3d600c056de0bdca6d12555a0225f76ec9a' into eclair-plus-aosp
* commit '
f163f3d600c056de0bdca6d12555a0225f76ec9a':
Fix issue
2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Eric Laurent [Wed, 21 Oct 2009 15:08:44 +0000 (08:08 -0700)]
Fix issue
2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Added setVoiceVolume() method to AudioPolicyClientInterface.
Mike Lockwood [Wed, 14 Oct 2009 23:13:05 +0000 (16:13 -0700)]
Mike Lockwood [Mon, 12 Oct 2009 18:31:16 +0000 (11:31 -0700)]
am
f566139d: Add some logging to help diagnose b/
2164183
Merge commit '
f566139de7e3c21e82e1736b62910cc89c9194fe'
* commit '
f566139de7e3c21e82e1736b62910cc89c9194fe':
Add some logging to help diagnose b/
2164183
Mike Lockwood [Wed, 7 Oct 2009 18:47:31 +0000 (11:47 -0700)]
am
f566139d: Add some logging to help diagnose b/
2164183
Merge commit '
f566139de7e3c21e82e1736b62910cc89c9194fe' into eclair-plus-aosp
* commit '
f566139de7e3c21e82e1736b62910cc89c9194fe':
Add some logging to help diagnose b/
2164183
Mike Lockwood [Mon, 5 Oct 2009 20:12:58 +0000 (16:12 -0400)]
Add some logging to help diagnose b/
2164183
Change-Id: I88a7aa147b44429ad7204eba328f3f1e1b80a36a
Signed-off-by: Mike Lockwood <lockwood@android.com>
Jean-Baptiste Queru [Fri, 4 Sep 2009 14:51:13 +0000 (07:51 -0700)]
merge from open-source master
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:11 +0000 (14:13 -0700)]
merge from donut
Jean-Baptiste Queru [Tue, 1 Sep 2009 15:28:15 +0000 (08:28 -0700)]
merge from open-source master
Android (Google) Code Review [Thu, 27 Aug 2009 21:00:45 +0000 (14:00 -0700)]
Merge change 21760 into eclair
* changes:
gps: Network initiated SUPL
Danke Xie [Mon, 17 Aug 2009 15:12:27 +0000 (11:12 -0400)]
gps: Network initiated SUPL
Initial contribution from Qualcomm.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Eric Laurent [Thu, 27 Aug 2009 07:49:14 +0000 (00:49 -0700)]
Fix issue
2045911: Camera Shutter tone does not play correctly while listening to music.
Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
David Turner [Sat, 22 Aug 2009 16:04:28 +0000 (09:04 -0700)]
am
613d25b8: Fix a hideous bug in the GPS emulation.
Merge commit '
613d25b8c0fd1ab92c566d965e3cd7da85c31ee0' into eclair
* commit '
613d25b8c0fd1ab92c566d965e3cd7da85c31ee0':
Fix a hideous bug in the GPS emulation.
David Turner [Sat, 22 Aug 2009 06:47:50 +0000 (23:47 -0700)]
Fix a hideous bug in the GPS emulation.
This fixes a long-standing bug in the GPS emulation, and comes
from an open-source contributor (Rene de Groot)
See https://review.source.android.com/#change,10251
Rene de Groot [Wed, 3 Jun 2009 09:57:30 +0000 (11:57 +0200)]
gps: gps_qemu: Added daylightsaving information is unavailble to broken-down time struct
This fixes a problem where mktime() after a first call always returns -1. This
results in an mTime=-1000 on android.location.Location objects and thus fails to trigger
onLocationChanged().
Mike Lockwood [Thu, 6 Aug 2009 18:47:02 +0000 (14:47 -0400)]
gps: Add callback for reporting NMEA data.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Dmitry Shmidt [Tue, 28 Jul 2009 18:03:31 +0000 (11:03 -0700)]
Fix possible race condition in wlan driver loading
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)]
reconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:02 +0000 (17:48 -0700)]
Merge korg/donut into korg/master
Eric Laurent [Fri, 17 Jul 2009 19:18:40 +0000 (12:18 -0700)]
Fix issue
1795088 Improve audio routing code
Initial commit for review.
Marco Nelissen [Tue, 7 Jul 2009 19:13:57 +0000 (12:13 -0700)]
Marco Nelissen [Tue, 7 Jul 2009 18:04:11 +0000 (11:04 -0700)]
Add virtual destructor.
Mike Lockwood [Fri, 19 Jun 2009 19:12:03 +0000 (12:12 -0700)]
am
205021cd: gps: Set SUPL server via hostname rather than IP address.
Merge commit '
205021cd79eb84b4931ed79fd6d995aa8ca8c29e'
* commit '
205021cd79eb84b4931ed79fd6d995aa8ca8c29e':
gps: Set SUPL server via hostname rather than IP address.
Mike Lockwood [Fri, 19 Jun 2009 18:57:20 +0000 (14:57 -0400)]
gps: Set SUPL server via hostname rather than IP address.
The GPS engine needs the hostname for the secure SUPL case
and deferring the DNS lookup to the HAL might be helpful in the future
if the SUPL server is on a carrier's private network.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Thu, 11 Jun 2009 18:41:27 +0000 (11:41 -0700)]
am
4403519a: gps: Add hooks for GPS location injection.
Merge commit '
4403519ac60f99bf0100a7d6eed79b09bd9e5be7'
* commit '
4403519ac60f99bf0100a7d6eed79b09bd9e5be7':
gps: Add hooks for GPS location injection.
Mike Lockwood [Thu, 11 Jun 2009 16:27:28 +0000 (12:27 -0400)]
gps: Add hooks for GPS location injection.
This will allow injecting cell ID location to the GPS
(not implemented yet).
Signed-off-by: Mike Lockwood <lockwood@android.com>
David Turner [Tue, 2 Jun 2009 21:37:40 +0000 (14:37 -0700)]
am
d223b72d: am
c69847d6: AI 149496: Backport emulator-related donut fixes into cupcake. This includes the following fixes: - remove potential qemud crash at system boot - fix GPS fix emulation - fix inter-emulator networking (DNS resolution helper now behaves correctly on all IPv6-capable systems) - add -prop <name>=<value> option to add system properties on boot - allow F5 keybinding for SEARCH on keyboard-less hardware configurations - allow skins to provide a "search" button - fixed bad QADD/QSUB/QDADD/QDSUB ARM CPU instructions emulation
Merge commit '
d223b72d503dd8f7a87b11daf4871aba10405804'
* commit '
d223b72d503dd8f7a87b11daf4871aba10405804':
AI 149496: Backport emulator-related donut fixes into cupcake.
David Turner [Tue, 2 Jun 2009 20:15:19 +0000 (13:15 -0700)]
am
c69847d6: AI 149496: Backport emulator-related donut fixes into cupcake. This includes the following fixes: - remove potential qemud crash at system boot - fix GPS fix emulation - fix inter-emulator networking (DNS resolution helper now behaves correctly on all IPv6-capable systems) - add -prop <name>=<value> option to add system properties on boot - allow F5 keybinding for SEARCH on keyboard-less hardware configurations - allow skins to provide a "search" button - fixed bad QADD/QSUB/QDADD/QDSUB ARM CPU instructions emulation
Merge commit '
c69847d6e5b418ef8e77893de73925aac5c64b5f' into donut
* commit '
c69847d6e5b418ef8e77893de73925aac5c64b5f':
AI 149496: Backport emulator-related donut fixes into cupcake.
David Turner [Tue, 2 Jun 2009 19:30:48 +0000 (12:30 -0700)]
AI 149496: Backport emulator-related donut fixes into cupcake.
This includes the following fixes:
- remove potential qemud crash at system boot
- fix GPS fix emulation
- fix inter-emulator networking (DNS resolution helper now behaves correctly on all IPv6-capable systems)
- add -prop <name>=<value> option to add system properties on boot
- allow F5 keybinding for SEARCH on keyboard-less hardware configurations
- allow skins to provide a "search" button
- fixed bad QADD/QSUB/QDADD/QDSUB ARM CPU instructions emulation
Automated import of CL 149496
Android (Google) Code Review [Wed, 20 May 2009 20:04:58 +0000 (13:04 -0700)]
Merge changes 2103,2104
* changes:
move libbinder's header files under includes/binder
add libbinder to makefile
Mathias Agopian [Wed, 20 May 2009 02:08:31 +0000 (19:08 -0700)]
move libbinder's header files under includes/binder
Mathias Agopian [Tue, 19 May 2009 21:05:32 +0000 (14:05 -0700)]
add libbinder to makefile
Android (Google) Code Review [Wed, 20 May 2009 15:54:48 +0000 (08:54 -0700)]
am
d5aa1991: Merge change 2038 into donut
Merge commit '
d5aa199102d893251c2934128494d09f60e44a6a'
* commit '
d5aa199102d893251c2934128494d09f60e44a6a':
Remove deprecated version of openInputStream.
Android (Google) Code Review [Wed, 20 May 2009 15:54:48 +0000 (08:54 -0700)]
am
3ce68eb3: Merge change 1976 into donut
Merge commit '
3ce68eb398b41509fce10819af59a4887a08099f'
* commit '
3ce68eb398b41509fce10819af59a4887a08099f':
Add input source parameter to openInputStream factory function.
David 'Digit' Turner [Wed, 20 May 2009 15:54:48 +0000 (08:54 -0700)]
Android (Google) Code Review [Wed, 20 May 2009 14:15:45 +0000 (07:15 -0700)]
Merge change 2038 into donut
* changes:
Remove deprecated version of openInputStream. Continuation of bug
1846343
Android (Google) Code Review [Wed, 20 May 2009 14:14:09 +0000 (07:14 -0700)]
Merge change 1976 into donut
* changes:
Add input source parameter to openInputStream factory function. This change lays the foundation for recording from different sources. A series of changes will follow that implement the factory function for the various hardware configurations. Finally, the deprecated function will be removed. Bug
1846343
David 'Digit' Turner [Wed, 20 May 2009 12:18:45 +0000 (14:18 +0200)]
Fix GPS emulation.
The problem was that qemu_gps_set_position_mode() was called with the value
GPS_POSITION_MODE_MS_BASED, which corresponds to AGPS (Assisted GPS), and
returned an error (which was not properly filtered by the JNI caller, but this
is the subject of another change).
This explains why GPS emulation doesn't work in the 1.5_r1 SDK. Unfortunately,
this fix requires generating a new system image for 1.5_r2 :-(
By the way, Mike, I don't understand why this position mode is being passed.
Looking at the code in GpsLocationProvider.java, I believe that this can only
happen if a SUPL host is given by the network, and I don't think this is the
case in the emulator, is it?
Dave Sparks [Wed, 20 May 2009 01:36:08 +0000 (18:36 -0700)]
Remove deprecated version of openInputStream.
Continuation of bug
1846343
Dave Sparks [Tue, 19 May 2009 20:51:40 +0000 (13:51 -0700)]
Add input source parameter to openInputStream factory function.
This change lays the foundation for recording from different sources.
A series of changes will follow that implement the factory function
for the various hardware configurations. Finally, the deprecated
function will be removed.
Bug
1846343
Mike Lockwood [Mon, 11 May 2009 17:37:28 +0000 (10:37 -0700)]
am
049ae36: GPS: Generalize SUPL support to include AGPS for CDMA
Merge commit '
049ae36fcb9e9af8ee5e42284b9320e64b576ebd'
* commit '
049ae36fcb9e9af8ee5e42284b9320e64b576ebd':
GPS: Generalize SUPL support to include AGPS for CDMA