Commit graph

321 commits

Author SHA1 Message Date
Jean-Baptiste Queru
445591dded Undo previous merge
Change-Id: I74fd5ae2634b0c7909b7ab332d174f98a9c8aee5
2010-06-21 13:15:01 -07:00
The Android Open Source Project
b33a811e81 am 44c99ec7: merge from froyo-plus-aosp
Merge commit '44c99ec7cf4c78731d129d5657560dc555b24d50'

* commit '44c99ec7cf4c78731d129d5657560dc555b24d50':
  remove libnetutils dependency
2010-06-21 11:17:34 -07:00
The Android Open Source Project
44c99ec7cf merge from froyo-plus-aosp
Change-Id: I5fa7394d50dcc53441de332ba778902a08230882
2010-06-21 11:15:22 -07:00
The Android Open Source Project
edfaa7eca9 merge from open-source master
Change-Id: Iff5f59c3bf645911730bfa7defee848e5b54a4a1
2010-06-15 11:38:05 -07:00
Szymon Jakubczak
7c6051a499 remove libnetutils dependency
Change-Id: I2b10ec7b9c8392bf9e64153406264a56b0ecbe30
2010-06-09 16:08:42 -04:00
Eric Laurent
564c303237 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: Ic6c54b4a7fd54983f445de9a9b5cd2ea0025155c
2010-05-25 09:30:03 -07:00
Nick Kralevich
eacdfdb897 am c6cf19a6: Get rid of warnings when compiled with -Wformat-security 2010-05-14 09:03:29 -07:00
Nick Kralevich
c6cf19a688 Get rid of warnings when compiled with -Wformat-security
Change-Id: Ib0a56e508734b1eca8b6cf125fd07efefee854aa
2010-05-13 17:38:54 -07:00
The Android Open Source Project
6d91052d0d am bf871a3e: am 28739a81: merge from open-source master 2010-04-08 11:01:03 -07:00
The Android Open Source Project
bf871a3efb 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.
2010-04-08 10:54:22 -07:00
The Android Open Source Project
28739a81db merge from open-source master
Change-Id: I33605ebb36f1978e1c4715f6688074c808981c8d
2010-04-08 10:47:43 -07:00
Mike Lockwood
818e4bcaa6 Add a static library containing power.c for use by the librpc library.
Change-Id: I0c20d1214f4cb7f21712d4ba46d26ea8308fc45d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-06 10:56:28 -04:00
Mike Lockwood
de3ebff26f resolved conflicts for merge of df61573b to master
Change-Id: I483a850ac59c4cc90d5d48edd7164ea29673cb6d
2010-04-05 15:55:40 -04:00
Mike Lockwood
df61573ba8 Remove obsolete GPS support.
We now use the libhardware HAL interface instead.

Change-Id: I0e52ff1da13109b509f166a6437d0a24cdd389b3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-05 15:25:49 -04:00
Mike Lockwood
30219ff6be Add support for GPS privacy lock.
Change-Id: I06dbd4b332926dde836eedb95e15791a7ebe0294
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-31 07:41:34 -07:00
Mike Lockwood
8b82f8b9b1 am 584c5997: (-s ours) am b678f3bb: (-s ours) Add support for GPS privacy lock. DO NOT MERGE 2010-03-30 17:41:17 -07:00
Mike Lockwood
584c59973e 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
2010-03-30 17:35:12 -07:00
Mike Lockwood
b678f3bb6c Add support for GPS privacy lock. DO NOT MERGE
Change-Id: Iea57de70503d9008cc6be1a7101370948c15bc29
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-28 10:02:57 -04:00
Eric Laurent
68f279fa86 Fix issue 2416481: Support Voice Dialer over BT SCO.
Make the choice of opening a direct output stream platform specific.

Change-Id: I63e5464a18aaa3600e9fed6cec0518ff1fad4dbd
2010-03-15 18:36:58 -07:00
Mike Lockwood
62c2f857ec Add a static library containing power.c for use by the librpc library.
Change-Id: I0c20d1214f4cb7f21712d4ba46d26ea8308fc45d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-09 10:43:16 -05:00
Jean-Baptiste Queru
b1a389a808 Add an empty CleanSpec.mk
Change-Id: I8f0b127fa51a59cc5831b70f7afc47ba0ec4d9ac
2010-03-08 18:04:52 -08:00
Mike Lockwood
4ac28c4482 Fix sim build by including <stdlib.h>
Change-Id: I4df46fff44846b770a00d5f055ec483e9caf2516
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-08 10:56:52 -05:00
Fred Fettinger
7d675d8ea8 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>
2010-03-07 09:30:00 -05:00
Eric Laurent
4eeca24727 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>
2010-02-26 03:04:31 -08:00
Dmitry Shmidt
cabb0103bd Merge "Increase delay after driver loading if FW loader is not used" 2010-02-25 15:28:09 -08:00
Dmitry Shmidt
ed8487244b Increase delay after driver loading if FW loader is not used
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-02-25 12:34:42 -08:00
Eric Laurent
1953686263 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.
2010-02-23 10:56:00 -08:00
San Mehat
2209b6f905 libhardware_legacy: Get rid of IMountService c++ bindings
Signed-off-by: San Mehat <san@google.com>
2010-02-20 08:07:27 -08:00
Eric Laurent
e6c221466f Fix issue 2440226: Car dock volume synchronization.
Make computeVolume() method virtual so that its implementation can be platform specific.
2010-02-16 06:06:46 -08:00
Dmitry Shmidt
007404c68f Add additional logging
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-02-08 09:30:59 -08:00
The Android Open Source Project
b74877b93c am 51ca2892: am 8dd38d6b: reconcile main tree with open-source eclair
Merge commit '51ca2892bba945142be57171d4e81e836418fb56'

* commit '51ca2892bba945142be57171d4e81e836418fb56':
  android-2.1_r1 snapshot
2010-02-05 14:10:49 -08:00
The Android Open Source Project
51ca2892bb am 8dd38d6b: reconcile main tree with open-source eclair
Merge commit '8dd38d6bc8918f2153580111fbd8aef6b9f90cc4' into eclair-plus-aosp

* commit '8dd38d6bc8918f2153580111fbd8aef6b9f90cc4':
  android-2.1_r1 snapshot
2010-02-05 08:41:15 -08:00
The Android Open Source Project
8dd38d6bc8 reconcile main tree with open-source eclair 2010-02-05 08:09:38 -08:00
The Android Open Source Project
845d037226 reconcile android-2.1_r1 snapshot 2010-01-29 14:09:19 -08:00
San Mehat
f29ed1a8e3 libhardware_legacy: Refactor C++ bindings for new API
Signed-off-by: San Mehat <san@google.com>
2010-01-29 06:14:10 -08:00
Irfan Sheriff
2631f99375 Return failures as strings to monitor
Bug: 2399119
Change-Id: I17bcb86e002cd520f4275f3786cf54c82aaf59b7
2010-01-28 09:39:50 -08:00
Eric Laurent
392290d659 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.
2010-01-26 10:36:42 -08:00
San Mehat
d0a89fa6e1 libhardware_legacy: Add support for renaming secure containers
Signed-off-by: San Mehat <san@google.com>
2010-01-23 08:13:08 -08:00
Eric Laurent
f1eb9491a1 Merge "Create base class for audio policy manager." 2010-01-20 10:03:45 -08:00
San Mehat
91a6335923 libhardware_legacy: Add new unmount asec api call
Signed-off-by: San Mehat <san@google.com>
2010-01-18 06:24:01 -08:00
San Mehat
ac41dfc975 libhardware_legacy: Rename MountService method names
Signed-off-by: San Mehat <san@google.com>
2010-01-15 10:04:04 -08:00
Eric Laurent
de55cfb02d 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.
2010-01-13 09:29:49 -08:00
The Android Open Source Project
72a5203bfd android-2.1_r1 snapshot 2010-01-12 15:19:05 -08:00
San Mehat
b811469fcd libhardware_legacy: asec: Rename 'Cache' -> 'Container'
Signed-off-by: San Mehat <san@google.com>
2010-01-11 10:16:07 -08:00
San Mehat
073396d20c Legacy MountService: Update binder interface to match MountService
Signed-off-by: San Mehat <san@google.com>
2010-01-09 10:08:50 -08:00
San Mehat
4a57c55ce8 legacy: Add asec binder transaction support to c++ wrappers
Signed-off-by: San Mehat <san@google.com>
2010-01-06 14:51:15 -08:00
Mike Lockwood
035181b8fc am d2156a02: am deb1c961: Remove obsolete flashlight support.
Merge commit 'd2156a025774b13dce50d4e8739661cd58c5ad2e'

* commit 'd2156a025774b13dce50d4e8739661cd58c5ad2e':
  Remove obsolete flashlight support.
2009-11-25 11:58:23 -08:00
Mike Lockwood
d2156a0257 am deb1c961: Remove obsolete flashlight support.
Merge commit 'deb1c961a595a98917d4cf370ff85af0e1349192' into eclair-mr2-plus-aosp

* commit 'deb1c961a595a98917d4cf370ff85af0e1349192':
  Remove obsolete flashlight support.
2009-11-25 11:53:25 -08:00
Mike Lockwood
deb1c961a5 Remove obsolete flashlight support.
Change-Id: I7d366449301ee685bb3202c738ade06c3102229e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-25 12:55:44 -05:00
Jean-Baptiste Queru
b4f3504654 am 5e87a522: merge from open-source master
Merge commit '5e87a522ae8f18b3741481e0069f738ad3f6f1b0'

* commit '5e87a522ae8f18b3741481e0069f738ad3f6f1b0':
  eclair snapshot
2009-11-15 15:02:51 -08:00