OSDN Git Service

android-x86/hardware-libhardware_legacy.git
12 years agoUse audio_source_t consistently
Glenn Kasten [Fri, 27 Jan 2012 00:46:31 +0000 (16:46 -0800)]
Use audio_source_t consistently

Change-Id: I11de4e92254e128643d8f158c74dcfee97e51005

12 years agoMerge "Use audio_format_t consistently"
Glenn Kasten [Fri, 20 Jan 2012 22:50:30 +0000 (14:50 -0800)]
Merge "Use audio_format_t consistently"

12 years agoMerge "Audio policy HAL set_ringer_mode is deprecated"
Glenn Kasten [Fri, 20 Jan 2012 18:07:13 +0000 (10:07 -0800)]
Merge "Audio policy HAL set_ringer_mode is deprecated"

12 years agoFix typos
Glenn Kasten [Thu, 19 Jan 2012 00:27:02 +0000 (16:27 -0800)]
Fix typos

Change-Id: Ie0acd07861604e66f571e0c1f43cfdccf12ea691

12 years agoAudio policy HAL set_ringer_mode is deprecated
Glenn Kasten [Wed, 18 Jan 2012 23:24:50 +0000 (15:24 -0800)]
Audio policy HAL set_ringer_mode is deprecated

Change-Id: I66ef40ed381151ba61debe20edaa53bece0cc139

12 years agoMerge "audio policy manager: stream volume per device"
Eric Laurent [Wed, 18 Jan 2012 01:34:58 +0000 (17:34 -0800)]
Merge "audio policy manager: stream volume per device"

12 years agoaudio policy manager: stream volume per device
Eric Laurent [Thu, 15 Dec 2011 02:18:36 +0000 (18:18 -0800)]
audio policy manager: stream volume per device

Improve volume management by keeping track of volume for each type
of device independently.

AudioPolicyManagerBase now keeps track of stream volumes for each device
and apply volume according to current device selection.
Methods to set and get stream volume now specify the device class.
A value for "default" device is always present for each stream and is used
if a device is selected and no specific volume was ever set for this device.

Change-Id: I06d8f43aa151a09014f7e47e81304c73ff82e9f8

12 years agoMerge "Use audio_mode_t consistently"
Glenn Kasten [Tue, 17 Jan 2012 19:33:14 +0000 (11:33 -0800)]
Merge "Use audio_mode_t consistently"

12 years agoUse audio_stream_type_t consistently
Glenn Kasten [Thu, 12 Jan 2012 19:12:59 +0000 (11:12 -0800)]
Use audio_stream_type_t consistently

Change-Id: Ibeb4071cedb930c76dd62222b29844733bdc1548

12 years agoUse audio_format_t consistently
Glenn Kasten [Thu, 12 Jan 2012 23:01:42 +0000 (15:01 -0800)]
Use audio_format_t consistently

Was int

Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e

12 years agoUse audio_mode_t consistently
Glenn Kasten [Mon, 9 Jan 2012 18:41:59 +0000 (10:41 -0800)]
Use audio_mode_t consistently

Change-Id: I62e23b81e3a411a0d9f012b363373d938827a2e4

12 years agoFix monitor socket poll
Irfan Sheriff [Thu, 12 Jan 2012 00:48:39 +0000 (16:48 -0800)]
Fix monitor socket poll

Bug: 5534039

Change-Id: I28c41f896347963b0ded8415d1a51ff95cbf4b2d

12 years agoRename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
Steve Block [Sun, 8 Jan 2012 10:18:02 +0000 (10:18 +0000)]
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Idfcd2f2269080d92a621dc432c65f7cf244588af

12 years agoRename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
Steve Block [Thu, 5 Jan 2012 23:27:53 +0000 (23:27 +0000)]
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I86e4ce26d8fba68584d0a7fc17111b53c56d2932

12 years agoRename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
Steve Block [Wed, 4 Jan 2012 20:07:20 +0000 (20:07 +0000)]
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I21aea046270c8700d349a4181c559d1b05333a1b

12 years agoRename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
Steve Block [Tue, 20 Dec 2011 16:25:34 +0000 (16:25 +0000)]
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I9dfdc3f00a5f4f5b6ef4c75280ce2594ab018577

12 years agoAdd support for p2p socket communication
Irfan Sheriff [Tue, 27 Dec 2011 21:50:07 +0000 (13:50 -0800)]
Add support for p2p socket communication

Right now, everything goes over the primary interface socket connection.
Add support for a seperate connection over the p2p interface.

Change-Id: I09118f88cfaa201b2d62d27add410cfd441d4454

12 years agoam af9565aa: Reconcile with ics-mr1-release
The Android Open Source Project [Fri, 9 Dec 2011 22:58:00 +0000 (14:58 -0800)]
am af9565aa: Reconcile with ics-mr1-release

* commit 'af9565aa8be0136463ec549d9d3abdd906d2c390':

12 years agoaudio policy manager: remove ringer mode dump
Eric Laurent [Thu, 8 Dec 2011 19:42:52 +0000 (11:42 -0800)]
audio policy manager: remove ringer mode dump

The ringer mode is at the moment not passed down from AudioService to
AudioPolicyManager as it is currently not used in any routig decision.

So the value store in audio policy manager is wrong and the dump is miss leading.

Change-Id: I3c21c168393470fd64c1b73e3c511576a9acdd7e

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Thu, 8 Dec 2011 18:22:08 +0000 (10:22 -0800)]
Reconcile with ics-mr1-release

Change-Id: Ifb9dad264079f0a566dd978dd56414fbaf59b9e0

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Fri, 4 Nov 2011 15:31:25 +0000 (08:31 -0700)]
Reconcile with ics-mr1-release

Change-Id: I2b1dcb119df18200eebaef2f888df7aaaa150b34

12 years agoam c16ac09f: Force camera shutter sound to speaker in Japan.
Eric Laurent [Wed, 2 Nov 2011 17:31:48 +0000 (17:31 +0000)]
am c16ac09f: Force camera shutter sound to speaker in Japan.

* commit 'c16ac09f510437e8340be691720177a490ae78f0':
  Force camera shutter sound to speaker in Japan.

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 2 Nov 2011 13:46:14 +0000 (06:46 -0700)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoForce camera shutter sound to speaker in Japan.
Eric Laurent [Tue, 1 Nov 2011 20:54:26 +0000 (13:54 -0700)]
Force camera shutter sound to speaker in Japan.

Make sure that camera shutter sound is output to device speaker also while
in call.
Added a new strategy for enforced audible stream to address this case as
the routing policy is now different from sonification strategy.

Issue 5548406.

Change-Id: I2de39dfaef7d90e3804b238b1379f0f59b75e985

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Mon, 31 Oct 2011 20:19:23 +0000 (13:19 -0700)]
Reconcile with ics-mr1-release

Change-Id: Iadb285a24b3129b0dc2bd7089598a51d4af2eb6b

12 years agoRename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
Steve Block [Thu, 20 Oct 2011 10:56:19 +0000 (11:56 +0100)]
Rename LOGV(_IF) to ALOGV(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I953e5eabaf5023a4dcd76339c336d9132f257f8c

12 years agomerge in ics-release history after reset to master
The Android Automerger [Sun, 23 Oct 2011 14:01:23 +0000 (07:01 -0700)]
merge in ics-release history after reset to master

12 years agoFix music heard in speaker before notifications.
Eric Laurent [Thu, 20 Oct 2011 16:17:04 +0000 (09:17 -0700)]
Fix music heard in speaker before notifications.

Increase the delay after muting music when switching audio path
to both speaker and headset for notifications and ringtones.
This is required to avoid a residual of music to be output to speaker
now that the max latency has been increased in low power playback mode.

This is a temporary workaround that will be removed when low power mode
is controlled policy manager.

Change-Id: If08e7f46e499be362badb2a24a79d1723ebfc00a

12 years agomerge in ics-release history after reset to master
The Android Automerger [Wed, 19 Oct 2011 14:44:52 +0000 (07:44 -0700)]
merge in ics-release history after reset to master

12 years agoFix issue 5440852: Youtube volume is too small ...
Eric Laurent [Tue, 18 Oct 2011 21:03:28 +0000 (14:03 -0700)]
Fix issue 5440852: Youtube volume is too small ...

When no DRC is applied by the platform when playing
over the device speaker, faint audio signals are not boosted and
barely audible until the media volume is raised to about one fourth
of the range.

Compensate this by applying a different volume curve for music stream
when the speaker is selected.

Change-Id: I03f316fb28150eda50b05dfa12310701e2674648

12 years agomerge in ics-release history after reset to master
The Android Automerger [Sun, 9 Oct 2011 14:00:41 +0000 (07:00 -0700)]
merge in ics-release history after reset to master

12 years agoMerge "wifi: Fix entropy file size"
Dmitry Shmidt [Thu, 6 Oct 2011 20:39:31 +0000 (13:39 -0700)]
Merge "wifi: Fix entropy file size"

12 years agowifi: Fix entropy file size
Dmitry Shmidt [Thu, 6 Oct 2011 20:28:32 +0000 (13:28 -0700)]
wifi: Fix entropy file size

BUG: b/5321709

Change-Id: Iff4692f1f35b63136297261d1565bc16c854ede3
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agomerge in ics-release history after reset to master
The Android Automerger [Thu, 6 Oct 2011 14:00:45 +0000 (07:00 -0700)]
merge in ics-release history after reset to master

12 years agofix build: method needs to be pure virtual, otherwise needs to be defined.
Olivier Bailly [Thu, 6 Oct 2011 00:38:14 +0000 (17:38 -0700)]
fix build: method needs to be pure virtual, otherwise needs to be defined.

Change-Id: I9dbdd29dc430fbf19a1d9cb8d44a1f9c6f624dbb

12 years agomerge in ics-release history after reset to master
The Android Automerger [Thu, 29 Sep 2011 00:57:56 +0000 (17:57 -0700)]
merge in ics-release history after reset to master

12 years agowifi: Change pipe to socket pair in termination of monitor thread code
Dmitry Shmidt [Wed, 28 Sep 2011 00:20:11 +0000 (17:20 -0700)]
wifi: Change pipe to socket pair in termination of monitor thread code

Change-Id: Id08c211102dabccff3e7d5a1373507f8d63ec70d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Thu, 22 Sep 2011 17:57:37 +0000 (10:57 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: Ia48e10b311967e6df2d8619b973cab57a6933428

12 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Wed, 21 Sep 2011 13:29:31 +0000 (06:29 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Wed, 21 Sep 2011 13:19:30 +0000 (06:19 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: Ie3d828b77b539c41d89b2a7e4057fea9e527dac8

12 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Wed, 21 Sep 2011 03:43:04 +0000 (20:43 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

12 years agomerge in ics-release history after reset to master
The Android Automerger [Tue, 20 Sep 2011 14:00:24 +0000 (07:00 -0700)]
merge in ics-release history after reset to master

12 years agoAdd support to terminate monitor thread
Irfan Sheriff [Mon, 19 Sep 2011 22:03:45 +0000 (15:03 -0700)]
Add support to terminate monitor thread

Create a local pipe to track when socket connection times out
and send a terminate on the monitor thread

Bug: 5337272
Change-Id: I80ed3f8450b4d54d1b9e2bbc3cc84f10d0ae7a04

12 years agomerge in ics-release history after reset to master
The Android Automerger [Tue, 13 Sep 2011 13:34:14 +0000 (06:34 -0700)]
merge in ics-release history after reset to master

12 years agoIssue 5256795: Phone ringtone volume is too low
Eric Laurent [Mon, 12 Sep 2011 18:38:12 +0000 (11:38 -0700)]
Issue 5256795: Phone ringtone volume is too low

Modified the volume curve for ringtones and notifications
in audio policy manager. The first volume step now corresponds to
-30dB instead of -50dB thus making ringtone much more
audible for low volume settings.

Also made a generic implementation of volume curves according to
audio policy strategies.

Change-Id: Ieb7916ba2e53c2a10a47efec82814cabed21c48b

12 years agoMerge "audio policy manager: invert SPDIF/HDMI priority"
Eric Laurent [Mon, 12 Sep 2011 20:42:00 +0000 (13:42 -0700)]
Merge "audio policy manager: invert SPDIF/HDMI priority"

12 years agoaudio policy manager: invert SPDIF/HDMI priority
Eric Laurent [Fri, 9 Sep 2011 23:04:01 +0000 (16:04 -0700)]
audio policy manager: invert SPDIF/HDMI priority

Route media audio in priority to S/PDIF output when available
even if HDMI is connected. This allows users to chose to output audio
to a different system than the display.

Also force media volume to max when playing over S/PDIF.

Change-Id: I03b82a7235cb60f2b5d6cf7923570554b07ac400

12 years agomerge in ics-release history after reset to master
The Android Automerger [Sun, 11 Sep 2011 13:41:55 +0000 (06:41 -0700)]
merge in ics-release history after reset to master

12 years agouevent: add helper to get uevent FD
Erik Gilling [Thu, 8 Sep 2011 23:30:33 +0000 (16:30 -0700)]
uevent: add helper to get uevent FD

This allows users of the library to handle thier own poll loop.

Change-Id: Id3fe2be442c0ca29c74253f9f36e9377278780e4
Signed-off-by: Erik Gilling <konkers@android.com>
12 years agomerge in ics-release history after reset to master
The Android Automerger [Tue, 30 Aug 2011 20:42:49 +0000 (13:42 -0700)]
merge in ics-release history after reset to master

12 years agomerge in ics-release history after reset to master
The Android Automerger [Tue, 30 Aug 2011 19:45:42 +0000 (12:45 -0700)]
merge in ics-release history after reset to master

12 years agoAdd support seperate p2p config file
Irfan Sheriff [Fri, 26 Aug 2011 21:39:38 +0000 (14:39 -0700)]
Add support seperate p2p config file

Also, fixed a bug with config overwrite with ctrl_interface update

Bug: 5002384
Change-Id: I870c12ee58d60f696512c27deb4b9d35b4dc3b2a

12 years agowifi: Increase wait for card removal
Dmitry Shmidt [Tue, 23 Aug 2011 22:44:23 +0000 (15:44 -0700)]
wifi: Increase wait for card removal

Change-Id: Ia9f5bf2a905c89126535a6c01c3af67189df6c32
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoFix system property race at supplicant stop
Irfan Sheriff [Mon, 22 Aug 2011 20:27:56 +0000 (13:27 -0700)]
Fix system property race at supplicant stop

We stop supplicant by sending a "terminate" control command. init then
updates the system property init.svc.wpa_supplicant when the supplicant has stopped. The
framework gets notified of a successful supplicant stop through a supplicant event.

It can happen that the framework has been notified of a supplicant stop, but the init
process has not set the system property and thus when the framework tries to connect
to the supplicant again, it can immediately return saying the supplicant is already running.

Avoid this race, by ensuring the call from framework to close supplicant connection polls
for the update by init process that the system property indicates supplicant has stopped.

Bug: 5166494
Change-Id: Ie74a8cf39fa56ae557ea6bbbcba7865301620c42

12 years agoMerge "wifi: Wait for sdio card removal"
Dmitry Shmidt [Fri, 12 Aug 2011 21:05:23 +0000 (14:05 -0700)]
Merge "wifi: Wait for sdio card removal"

12 years agowifi: Wait for sdio card removal
Dmitry Shmidt [Fri, 12 Aug 2011 19:14:15 +0000 (12:14 -0700)]
wifi: Wait for sdio card removal

Change-Id: I3fdbd27e45536b9142e0ca88692270bac543177a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoAudioPolicyManager: register effect CPU on enable
Eric Laurent [Thu, 11 Aug 2011 03:16:23 +0000 (20:16 -0700)]
AudioPolicyManager: register effect CPU on enable

Audio effect CPU usage is now registered on enable and
unregistered on disable instead of when the effect is
created or destroyed.

Change-Id: Icffcede9558d8d41887278f0efef2df430927381

12 years agoam f5498f29: am 058c940a: Merge "Enable QEMUD pipe connection for all legacy hw-contr...
Vladimir Chtchetkine [Wed, 10 Aug 2011 19:25:01 +0000 (12:25 -0700)]
am f5498f29: am 058c940a: Merge "Enable QEMUD pipe connection for all legacy hw-control clients"

* commit 'f5498f29d81f638e4d833d0399f80f379e721fbe':
  Enable QEMUD pipe connection for all legacy hw-control clients

12 years agoam 058c940a: Merge "Enable QEMUD pipe connection for all legacy hw-control clients"
Vladimir Chtchetkine [Tue, 9 Aug 2011 17:05:30 +0000 (10:05 -0700)]
am 058c940a: Merge "Enable QEMUD pipe connection for all legacy hw-control clients"

* commit '058c940a88c1a28818daaed32fe86dfdc61929b6':
  Enable QEMUD pipe connection for all legacy hw-control clients

12 years agoMerge "Enable QEMUD pipe connection for all legacy hw-control clients"
Vladimir Chtchetkine [Mon, 8 Aug 2011 19:59:34 +0000 (12:59 -0700)]
Merge "Enable QEMUD pipe connection for all legacy hw-control clients"

12 years agoEnable QEMUD pipe connection for all legacy hw-control clients
Vladimir Chtchetkine [Thu, 4 Aug 2011 20:57:57 +0000 (13:57 -0700)]
Enable QEMUD pipe connection for all legacy hw-control clients

Change-Id: Ic713d4cdcddb724958fc8c1c8a82a1dc2733da32

12 years agoMerge "Fix bug 4319552 Use commonly defined channel mask values"
Jean-Michel Trivi [Tue, 26 Jul 2011 16:27:24 +0000 (09:27 -0700)]
Merge "Fix bug 4319552 Use commonly defined channel mask values"

12 years agoFix bug 4319552 Use commonly defined channel mask values
Jean-Michel Trivi [Tue, 26 Jul 2011 00:00:17 +0000 (17:00 -0700)]
Fix bug 4319552 Use commonly defined channel mask values

Use channel mask values that match OpenSL ES and other common APIs.

Change-Id: Ie7e62bf8e3565f4e4b1f17b6e525c490989c8d6c

12 years agoMerge "Fix bug 4211099 channel constants and 7.1 mask"
Jean-Michel Trivi [Mon, 25 Jul 2011 23:59:36 +0000 (16:59 -0700)]
Merge "Fix bug 4211099 channel constants and 7.1 mask"

12 years agoFix bug 4211099 channel constants and 7.1 mask
Jean-Michel Trivi [Mon, 25 Jul 2011 18:22:44 +0000 (11:22 -0700)]
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

12 years agoMerge "wifi: Add entropy file support"
Dmitry Shmidt [Mon, 25 Jul 2011 21:45:28 +0000 (14:45 -0700)]
Merge "wifi: Add entropy file support"

12 years agowifi: Add entropy file support
Dmitry Shmidt [Mon, 25 Jul 2011 17:46:00 +0000 (10:46 -0700)]
wifi: Add entropy file support

Change-Id: Iee92ee9fee15037cffde86b9cd2c9407afb8d2ca
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "Fix incremental builds by adding Cleanspec step"
Dmitry Shmidt [Sun, 24 Jul 2011 23:52:26 +0000 (16:52 -0700)]
Merge "Fix incremental builds by adding Cleanspec step"

12 years agoFix incremental builds by adding Cleanspec step
Dmitry Shmidt [Fri, 22 Jul 2011 23:23:43 +0000 (16:23 -0700)]
Fix incremental builds by adding Cleanspec step

Change-Id: Ifb18c40c43668e985c56492956ceeff2e49e4c38
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "Audio effects: support for audio pre processing"
Eric Laurent [Thu, 21 Jul 2011 00:45:18 +0000 (17:45 -0700)]
Merge "Audio effects: support for audio pre processing"

12 years agowifi: Add wifi_change_fw_path()
Dmitry Shmidt [Tue, 19 Jul 2011 22:59:13 +0000 (15:59 -0700)]
wifi: Add wifi_change_fw_path()

Change-Id: I1c4afe43457a295c0ffe0a865c6c331109dce614
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoAudio effects: support for audio pre processing
Eric Laurent [Sat, 18 Jun 2011 04:51:11 +0000 (21:51 -0700)]
Audio effects: support for audio pre processing

Audio policy manager: allow registration of audio effects on
inputs too.

Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f

12 years agoMerge "Remove the simulator target from all makefiles. Bug: 5010576"
Jeff Brown [Tue, 12 Jul 2011 19:15:49 +0000 (12:15 -0700)]
Merge "Remove the simulator target from all makefiles. Bug: 5010576"

12 years agoRemove the simulator target from all makefiles.
Jeff Brown [Tue, 12 Jul 2011 05:12:24 +0000 (22:12 -0700)]
Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I77e0620f7543926b5def7666c02d99565f6487ed

12 years agoAudio HAL: added interface for audio preprocessing
Eric Laurent [Fri, 17 Jun 2011 23:21:11 +0000 (16:21 -0700)]
Audio HAL: added interface for audio preprocessing

Change-Id: I0a84ddbff53f13662873f69d9be4dfa13ebcb8fe

12 years agoFix incremental builds by adding Cleanspec step
Dmitry Shmidt [Fri, 8 Jul 2011 23:51:48 +0000 (16:51 -0700)]
Fix incremental builds by adding Cleanspec step

Change-Id: Ia51da716a6d5ede2ea802881e77cb69d3e6a3ed6
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agowifi: Add wifi_get_fw_path() call
Dmitry Shmidt [Fri, 1 Jul 2011 18:03:43 +0000 (11:03 -0700)]
wifi: Add wifi_get_fw_path() call

Change-Id: Ib9dc8ce84febb2fba045ee527838653d0d1ad11b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agowifi: Assume built-in wlan driver if WIFI_DRIVER_MODULE_PATH is not set
Dmitry Shmidt [Wed, 29 Jun 2011 23:22:28 +0000 (16:22 -0700)]
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>
13 years agoaudio: update for audio/audio_policy header names/locations
Dima Zavin [Tue, 14 Jun 2011 01:18:55 +0000 (18:18 -0700)]
audio: update for audio/audio_policy header names/locations

Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0
Signed-off-by: Dima Zavin <dima@android.com>
13 years agowifi: Allow to finish interface down
Dmitry Shmidt [Mon, 13 Jun 2011 17:32:08 +0000 (10:32 -0700)]
wifi: Allow to finish interface down

Change-Id: I249646845f0837c7cbf6c118d08aecb5b3ccaba5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoupdate for new audio.h header location
Dima Zavin [Wed, 11 May 2011 21:16:14 +0000 (14:16 -0700)]
update for new audio.h header location

Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4
Signed-off-by: Dima Zavin <dima@android.com>
13 years agohardware_legacy/audio: provide a default audio policy implementation
Dima Zavin [Wed, 27 Apr 2011 02:51:06 +0000 (19:51 -0700)]
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>
13 years agolegacy: build legacy audio wrapper libs
Dima Zavin [Tue, 19 Apr 2011 23:15:44 +0000 (16:15 -0700)]
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>
13 years agohardware_legacy: provide HAL helpers for legacy audio users
Dima Zavin [Tue, 19 Apr 2011 23:53:42 +0000 (16:53 -0700)]
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>
13 years agolegacy: move legacy audio code from frameworks/base here
Dima Zavin [Tue, 19 Apr 2011 23:33:12 +0000 (16:33 -0700)]
legacy: move legacy audio code from frameworks/base here

Change-Id: Ic5da0130af44354dffdf85c30cd99f57c6ee163c
Signed-off-by: Dima Zavin <dima@android.com>
13 years agolegacy: explicitly enumerate subdirs to include
Dima Zavin [Tue, 19 Apr 2011 23:09:19 +0000 (16:09 -0700)]
legacy: explicitly enumerate subdirs to include

Change-Id: I308d26d5f018eb4fb62a06eef6e6320b0d5aa7dc
Signed-off-by: Dima Zavin <dima@android.com>
13 years agolegacy: also build a shared version of libpower
Dima Zavin [Sat, 16 Apr 2011 02:37:35 +0000 (19:37 -0700)]
legacy: also build a shared version of libpower

Change-Id: Ied33d3d8cdb17444d5ea367422b060490985e2b8
Signed-off-by: Dima Zavin <dima@android.com>
13 years agolegacy: don't link against libutils or libbinder
Dima Zavin [Sat, 16 Apr 2011 02:36:35 +0000 (19:36 -0700)]
legacy: don't link against libutils or libbinder

Change-Id: Ia8cd74ad9d7c6170fb0525b77e1443b7a8d39377
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoMove wpa_ctrl_cleanup() function to wifi_wpa_ctrl_cleanup()
Dmitry Shmidt [Fri, 25 Mar 2011 20:37:18 +0000 (13:37 -0700)]
Move wpa_ctrl_cleanup() function to wifi_wpa_ctrl_cleanup()

Change-Id: I557a2ac10ebb226508ffccfbfeca7f326912ed04
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoam 37757062: Improvement for issue 3489986: BT SCO volume
Eric Laurent [Wed, 16 Mar 2011 06:54:38 +0000 (23:54 -0700)]
am 37757062: Improvement for issue 3489986: BT SCO volume

* commit '3775706211178bf0d252fd30b9ff1c00926c8535':
  Improvement for issue 3489986: BT SCO volume

13 years agoImprovement for issue 3489986: BT SCO volume
Eric Laurent [Tue, 15 Mar 2011 21:33:07 +0000 (14:33 -0700)]
Improvement for issue 3489986: BT SCO volume

Add a parameter to applyStreamVolumes() to force stream volume update.

Change-Id: I3cc82e516bb7c76c28c2470b06711c44f4789ce5

13 years agowifi: Ensure RW for wpa_supplicant.conf
Dmitry Shmidt [Mon, 7 Mar 2011 23:30:53 +0000 (15:30 -0800)]
wifi: Ensure RW for wpa_supplicant.conf

Change-Id: Icaeac0ee2239333be5f3be10024824ada6da18d5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoBug 3352047 Wrong message when adjusting volume
Glenn Kasten [Thu, 10 Feb 2011 21:31:26 +0000 (13:31 -0800)]
Bug 3352047 Wrong message when adjusting volume

Add hidden AudioManager.getDevicesForStream and output device codes.

Change-Id: I45be59a2774196a135d013e45f38033036f74257

13 years agoam 01056fcf: am 36291a74: Fix issue 3371080.
Eric Laurent [Fri, 4 Feb 2011 01:18:49 +0000 (17:18 -0800)]
am 01056fcf: am 36291a74: Fix issue 3371080.

* commit '01056fcfbbbb577f7d70324a4d6a3a211a519951':
  Fix issue 3371080.

13 years agoam 36291a74: Fix issue 3371080.
Eric Laurent [Thu, 3 Feb 2011 18:28:26 +0000 (10:28 -0800)]
am 36291a74: Fix issue 3371080.

* commit '36291a74cd212c4172ac054ad0eec686b7e15c96':
  Fix issue 3371080.

13 years agoFix issue 3371080.
Eric Laurent [Wed, 2 Feb 2011 20:10:13 +0000 (12:10 -0800)]
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

13 years agoam 5fc112b6: Reconcile gingerbread-plus-aosp and honeycomb
The Android Open Source Project [Sun, 30 Jan 2011 20:54:43 +0000 (12:54 -0800)]
am 5fc112b6: Reconcile gingerbread-plus-aosp and honeycomb

* commit '5fc112b62e2cebc22c473ef33641457bada72545':

13 years agoReconcile gingerbread-plus-aosp and honeycomb
The Android Open Source Project [Sun, 30 Jan 2011 20:40:56 +0000 (12:40 -0800)]
Reconcile gingerbread-plus-aosp and honeycomb

Change-Id: I96877f8a87a34abdd40914563726e25ea4edfe8e

13 years agoMass merge from gingerbread - do not merge
The Android Open Source Project [Sun, 30 Jan 2011 20:40:56 +0000 (12:40 -0800)]
Mass merge from gingerbread - do not merge

Change-Id: I25c47b6206b96cad0eea664ad766e4be29bcf539

13 years agoam 17f1ff8c: (-s ours) do not merge bug 3370834 Cherrypick from master CL 79894
Jean-Michel Trivi [Sat, 29 Jan 2011 17:54:43 +0000 (09:54 -0800)]
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