Commit graph

1394 commits

Author SHA1 Message Date
Jean-Michel Trivi
20324efa14 Fix bug 4319552 Use commonly defined channel mask values
Use channel mask values that match OpenSL ES and other common APIs.

Change-Id: Ie7e62bf8e3565f4e4b1f17b6e525c490989c8d6c
2011-07-25 17:00:17 -07:00
Jean-Michel Trivi
77e130e18c Merge "Fix bug 4211099 channel constants and 7.1 mask" 2011-07-25 16:59:36 -07:00
Jean-Michel Trivi
9b1b6064c1 Fix bug 4211099 channel constants and 7.1 mask
Add definitions for the side and elevated channels.

Correct definition of 7.1 mask which uses
 the side channels rather than the front half-pan channels.

Change-Id: I8b75c6fb380fddc2db09fab53799850218940c93
2011-07-25 15:55:27 -07:00
Dmitry Shmidt
ea8ec41edf Merge "wifi: Add entropy file support" 2011-07-25 14:45:28 -07:00
Dmitry Shmidt
3ab3e66967 wifi: Add entropy file support
Change-Id: Iee92ee9fee15037cffde86b9cd2c9407afb8d2ca
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-07-25 10:48:45 -07:00
Dmitry Shmidt
ebcaf07421 Merge "Fix incremental builds by adding Cleanspec step" 2011-07-24 16:52:26 -07:00
Dmitry Shmidt
9582057b29 Fix incremental builds by adding Cleanspec step
Change-Id: Ifb18c40c43668e985c56492956ceeff2e49e4c38
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-07-22 16:23:43 -07:00
Eric Laurent
8581dee749 Merge "Audio effects: support for audio pre processing" 2011-07-20 17:45:18 -07:00
Dmitry Shmidt
29a4d4d74b wifi: Add wifi_change_fw_path()
Change-Id: I1c4afe43457a295c0ffe0a865c6c331109dce614
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-07-19 15:59:13 -07:00
Eric Laurent
1c65a49da0 Audio effects: support for audio pre processing
Audio policy manager: allow registration of audio effects on
inputs too.

Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f
2011-07-12 17:19:08 -07:00
Jeff Brown
437fee8c60 Merge "Remove the simulator target from all makefiles. Bug: 5010576" 2011-07-12 12:15:49 -07:00
Jeff Brown
5c3560571b Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I77e0620f7543926b5def7666c02d99565f6487ed
2011-07-11 22:12:24 -07:00
Eric Laurent
2d97c20601 Audio HAL: added interface for audio preprocessing
Change-Id: I0a84ddbff53f13662873f69d9be4dfa13ebcb8fe
2011-07-11 12:01:13 -07:00
Dmitry Shmidt
bdd1ef0af8 Fix incremental builds by adding Cleanspec step
Change-Id: Ia51da716a6d5ede2ea802881e77cb69d3e6a3ed6
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-07-08 16:51:48 -07:00
Dmitry Shmidt
4b7ffa08be wifi: Add wifi_get_fw_path() call
Change-Id: Ib9dc8ce84febb2fba045ee527838653d0d1ad11b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-07-01 11:03:43 -07:00
Dmitry Shmidt
d301cb7a5e wifi: Assume built-in wlan driver if WIFI_DRIVER_MODULE_PATH is not set
Change-Id: Ic63381fe037cd5aa1f3d419d7c253c2b17961a24
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-06-29 16:22:28 -07:00
Dima Zavin
d17f66f332 audio: update for audio/audio_policy header names/locations
Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0
Signed-off-by: Dima Zavin <dima@android.com>
2011-06-13 18:18:55 -07:00
Dmitry Shmidt
4c1a1fedd6 wifi: Allow to finish interface down
Change-Id: I249646845f0837c7cbf6c118d08aecb5b3ccaba5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-06-13 10:32:08 -07:00
Dima Zavin
4a0748be28 update for new audio.h header location
Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4
Signed-off-by: Dima Zavin <dima@android.com>
2011-05-11 14:16:14 -07:00
Dima Zavin
d8d8c60a3a hardware_legacy/audio: provide a default audio policy implementation
This uses the legacy policy code to build a default implementation that
can be used while we figure out what the new policy inheritance should
look like.

Change-Id: I3e4154abc7152b4f560b28e391a268bf508767e3
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-27 10:48:25 -07:00
Dima Zavin
b7e1f72899 legacy: build legacy audio wrapper libs
Note that the legacy audio helper libs are not part of the
main libhardware_legacy lib itself.

Change-Id: Ie08343ab8de2d298db0041c711d7e02a284bc4c3
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-27 10:48:25 -07:00
Dima Zavin
e81531e91e hardware_legacy: provide HAL helpers for legacy audio users
This doesn't actually create a HAL, but rather a set of helper static
libraries that device specific libraries (i.e. the old libaudio pieces)
can link against to create a proper audio HAL module.

We provide an audio_policy static wrapper and audio hardware interface
static wrapper.

Change-Id: Ie56195447ad24b83888f752dca24674b0afd8a76
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-27 10:48:25 -07:00
Dima Zavin
f01215993d legacy: move legacy audio code from frameworks/base here
Change-Id: Ic5da0130af44354dffdf85c30cd99f57c6ee163c
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-27 10:48:20 -07:00
Dima Zavin
2dad3e45a0 legacy: explicitly enumerate subdirs to include
Change-Id: I308d26d5f018eb4fb62a06eef6e6320b0d5aa7dc
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-20 14:42:47 -07:00
Dima Zavin
329eccd47f legacy: also build a shared version of libpower
Change-Id: Ied33d3d8cdb17444d5ea367422b060490985e2b8
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-20 14:42:47 -07:00
Dima Zavin
1d10e7d480 legacy: don't link against libutils or libbinder
Change-Id: Ia8cd74ad9d7c6170fb0525b77e1443b7a8d39377
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-20 14:42:38 -07:00
Dmitry Shmidt
eea19f1d85 Move wpa_ctrl_cleanup() function to wifi_wpa_ctrl_cleanup()
Change-Id: I557a2ac10ebb226508ffccfbfeca7f326912ed04
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-03-25 13:37:18 -07:00
Eric Laurent
770062f225 am 37757062: Improvement for issue 3489986: BT SCO volume
* commit '3775706211178bf0d252fd30b9ff1c00926c8535':
  Improvement for issue 3489986: BT SCO volume
2011-03-15 23:54:38 -07:00
Eric Laurent
3775706211 Improvement for issue 3489986: BT SCO volume
Add a parameter to applyStreamVolumes() to force stream volume update.

Change-Id: I3cc82e516bb7c76c28c2470b06711c44f4789ce5
2011-03-15 14:33:07 -07:00
Dmitry Shmidt
89ae703cd6 wifi: Ensure RW for wpa_supplicant.conf
Change-Id: Icaeac0ee2239333be5f3be10024824ada6da18d5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-03-07 15:30:53 -08:00
Glenn Kasten
fafb18fb31 Bug 3352047 Wrong message when adjusting volume
Add hidden AudioManager.getDevicesForStream and output device codes.

Change-Id: I45be59a2774196a135d013e45f38033036f74257
2011-02-10 13:31:26 -08:00
Eric Laurent
793dd9f2be am 01056fcf: am 36291a74: Fix issue 3371080.
* commit '01056fcfbbbb577f7d70324a4d6a3a211a519951':
  Fix issue 3371080.
2011-02-03 17:18:49 -08:00
Eric Laurent
01056fcfbb am 36291a74: Fix issue 3371080.
* commit '36291a74cd212c4172ac054ad0eec686b7e15c96':
  Fix issue 3371080.
2011-02-03 10:28:26 -08:00
Eric Laurent
36291a74cd Fix issue 3371080.
Move isStreamActive() method from AudioFlinger to AudioPolicyManager.
iStreamActive() now specifies a time window during which the stream is considered
active after it actually stopped.

Change-Id: Ib0d7d8f061b9f809d307ecfac40960ef582e5f0f
2011-02-02 15:33:42 -08:00
The Android Open Source Project
b6bb4031b5 am 5fc112b6: Reconcile gingerbread-plus-aosp and honeycomb
* commit '5fc112b62e2cebc22c473ef33641457bada72545':
2011-01-30 12:54:43 -08:00
The Android Open Source Project
5fc112b62e Reconcile gingerbread-plus-aosp and honeycomb
Change-Id: I96877f8a87a34abdd40914563726e25ea4edfe8e
2011-01-30 12:40:56 -08:00
The Android Open Source Project
c3045e4626 Mass merge from gingerbread - do not merge
Change-Id: I25c47b6206b96cad0eea664ad766e4be29bcf539
2011-01-30 12:40:56 -08:00
Jean-Michel Trivi
691f9e583e am 17f1ff8c: (-s ours) do not merge bug 3370834 Cherrypick from master CL 79894
* commit '17f1ff8c99dada2cca93f68d434cf64a6dc692c2':
  do not merge bug 3370834 Cherrypick from master CL 79894
2011-01-29 09:54:43 -08:00
Jean-Michel Trivi
986cd9a001 am c6ba82b5: (-s ours) am ef6b8ea3: (-s ours) am 17f1ff8c: do not merge bug 3370834 Cherrypick from master CL 79894
* commit 'c6ba82b58e7a7207f19190a8b814ce8a131c109e':
  do not merge bug 3370834 Cherrypick from master CL 79894
2011-01-26 14:17:33 -08:00
Jean-Michel Trivi
c6ba82b58e am ef6b8ea3: (-s ours) am 17f1ff8c: do not merge bug 3370834 Cherrypick from master CL 79894
* commit 'ef6b8ea3f664254958491f48fbe38c502d1129df':
  do not merge bug 3370834 Cherrypick from master CL 79894
2011-01-26 14:15:05 -08:00
Jean-Michel Trivi
ef6b8ea3f6 am 17f1ff8c: do not merge bug 3370834 Cherrypick from master CL 79894
* commit '17f1ff8c99dada2cca93f68d434cf64a6dc692c2':
  do not merge bug 3370834 Cherrypick from master CL 79894
2011-01-26 14:05:25 -08:00
Jean-Michel Trivi
f2faac71fd Bug 3376700 Update APM header for volume initialization and computation
Change-Id: I7cb31c9ecd3c347bfa72cad5a331500a20fdcfbe
2011-01-25 09:35:39 -08:00
Jean-Michel Trivi
17f1ff8c99 do not merge bug 3370834 Cherrypick from master CL 79894
Support new audio mode for audio communication other than telephony.

Change-Id: I4fa2c277517111e8490f6bdfb97ce3788dc8f549
2011-01-20 12:01:22 -08:00
Eric Laurent
61f3579486 Tentative fix for issue 3362362.
Added an initCheck() method to AudioPolicyInterface to verify
successful initialization of AudioPolicyManager.

Change-Id: I4c892282dbeb3246ee6c006bd206a3e723bcb71f
2011-01-19 08:49:30 -08:00
Dmitry Shmidt
0e9f488e67 wifi: Update wpa_supplicant.conf interface in case of mismatch
Change-Id: Iea7432bd96df2c1474e5af1788225322c9b78307
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-01-05 11:32:03 -08:00
Irfan Sheriff
8a5b197b3d rewrite wpa_supplicant.conf when it is too small
Bug: 2850497
Change-Id: Ifce2055212f78519f2cac8f73ee86b0b7a9ee0ee
2010-12-17 09:39:05 -08:00
Brian Swetland
e686393f88 do not actually error out when there's no kernel power interface
This allows the system to work on hardware that doesn't have PM
support (board bringup, etc) but has no ill effects on production
hardware.

Change-Id: I4e40ac92c6b4d08f2044224f80382934061ccc06
2010-12-03 20:51:49 -08:00
Eric Laurent
6b42202515 am 14e36261: am 831ad524: Fix issue 2641884: Bluetooth volume is dependent on in call volume.
* commit '14e362617ceb67f1ae3dd09e0f7744860b5ee066':
  Fix issue 2641884: Bluetooth volume is dependent on in call volume.
2010-12-01 16:30:46 -08:00
Eric Laurent
14e362617c am 831ad524: Fix issue 2641884: Bluetooth volume is dependent on in call volume.
* commit '831ad5246fcfcd3c91e02c079a0aee997c895ddf':
  Fix issue 2641884: Bluetooth volume is dependent on in call volume.
2010-12-01 16:06:35 -08:00
Eric Laurent
831ad5246f 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
2010-12-01 14:17:05 -08:00