OSDN Git Service

android-x86/hardware-libhardware_legacy.git
9 years agoWifi hal headers: PNO thru g-scan and g-scan exponential channel buckets
Pierre Vandwalle [Fri, 6 Feb 2015 22:10:06 +0000 (14:10 -0800)]
Wifi hal headers: PNO thru g-scan and g-scan exponential channel buckets

Change-Id: Id402d3409ea2e785982b18fb912d6a34e7cdc086

9 years agoinitial wifi logger HAL header file
Pierre Vandwalle [Fri, 30 Jan 2015 00:25:29 +0000 (16:25 -0800)]
initial wifi logger HAL header file

Change-Id: I15fa10df313a3431112221c55b6de792f1263627

9 years agowifi: Remove obsolete driver_nl80211.h [DO NOT MERGE]
Dmitry Shmidt [Mon, 5 Jan 2015 23:48:41 +0000 (15:48 -0800)]
wifi: Remove obsolete driver_nl80211.h [DO NOT MERGE]

Mainstream wpa_supplicant now has common driver_nl80211.h

Change-Id: I6d886daf39110969b2442c3943806364e63a5d04
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agoNew Additions to WifiScanner APIs [DO NOT MERGE]
Vinit Deshpande [Fri, 31 Oct 2014 18:16:02 +0000 (11:16 -0700)]
New Additions to WifiScanner APIs [DO NOT MERGE]

Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347

9 years agoaudio policy: use legacy stream type definitions
Eric Laurent [Tue, 11 Nov 2014 22:01:13 +0000 (14:01 -0800)]
audio policy: use legacy stream type definitions

New stream types have been added, so make sure that
legacy implementation uses legacy stream definitions

Bug: 18067208
Change-Id: I8042ebe9ac3e7eda380b8c91650f2ac16b44bc34

9 years agoMerge "legacy audio policy: check string parameters before use" into lmp-mr1-dev
Glenn Kasten [Fri, 7 Nov 2014 15:59:45 +0000 (15:59 +0000)]
Merge "legacy audio policy: check string parameters before use" into lmp-mr1-dev

9 years agolegacy audio policy: check string parameters before use
Glenn Kasten [Thu, 6 Nov 2014 01:34:39 +0000 (17:34 -0800)]
legacy audio policy: check string parameters before use

Bug: 18262893
Change-Id: Iee6e59db7ffae5612256ba1f74aba62bc8cf12db

9 years ago[AU]Buganizer ID: 17182487, sprout audio HAL should mute all audio output with proper...
Hochi Huang [Tue, 26 Aug 2014 09:39:03 +0000 (17:39 +0800)]
[AU]Buganizer ID: 17182487, sprout audio HAL should mute all audio output with property ro.audio.silent set to true

Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
Change-Id: I1bda15838da409d08f9ed0e8023b93023109cb2d
(cherry picked from commit a9a3b5d93ee90c21619ddb6a606d24325109e914)

9 years agowifi: Sync with wpa_supplicant 9ead16e (d5fe4e6)
Dmitry Shmidt [Wed, 8 Oct 2014 17:53:15 +0000 (10:53 -0700)]
wifi: Sync with wpa_supplicant 9ead16e (d5fe4e6)

Change-Id: Iee4aabf0a8259bb74bacde1c7045cfa2468035a7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agowifi: Sync with wpa_supplicant commit 661b4f7 (a313d17)
Dmitry Shmidt [Mon, 6 Oct 2014 22:13:16 +0000 (15:13 -0700)]
wifi: Sync with wpa_supplicant commit 661b4f7 (a313d17)

Bug: 17882233

Change-Id: I32d93380f6fb80409e45e6ec9983bb2f381c2319
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years ago[AU] Update volume setting and Audio Device API 3.0
Hochi Huang [Sun, 21 Sep 2014 01:40:30 +0000 (09:40 +0800)]
[AU] Update volume setting and Audio Device API 3.0

Change-Id: I772584ae05e6a8d2fdc8c4a52e44ad80c3c1a4a7
Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
9 years agoMerge "Wifi Hal: Extend feature set to advertise link layer stats support" into lmp-dev
Vinit Deshpande [Tue, 23 Sep 2014 02:16:43 +0000 (02:16 +0000)]
Merge "Wifi Hal: Extend feature set to advertise link layer stats support" into lmp-dev

9 years agoWifi Hal: Extend feature set to advertise link layer stats support
Amarnath Hullur Subramanyam [Thu, 11 Sep 2014 17:01:36 +0000 (10:01 -0700)]
Wifi Hal: Extend feature set to advertise link layer stats support

Added a new macro in feature set to indicate wifihal support for
link layer stats collection.

Bug: 17359758

Change-Id: I3f8ecce67430bd8270fb157a4e6cd246503a3d9f

9 years agoRevert "Wifi Hal: Nan Header file"
Amarnath Hullur Subramanyam [Tue, 9 Sep 2014 03:25:57 +0000 (20:25 -0700)]
Revert "Wifi Hal: Nan Header file"

This reverts commit 5f11341f2f5165f25e108d9519f08d78704b8ae7.

Bug: 17359758

Change-Id: I5f2b94d2288e1400558c1de8a2ab25f05155aca8

9 years agoDO NOT MERGE - openOutputStreamWithFlags should be declared as abstract function
Qiming Shi [Mon, 26 May 2014 00:17:28 +0000 (08:17 +0800)]
DO NOT MERGE - openOutputStreamWithFlags should be declared as abstract function

Bug: 17416117.

Change-Id: Ia9150944977560ea296c46ddf75da960d6a3e541
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
9 years agowifi: hal: Add wifi_set_nodfs_flag() function
Dmitry Shmidt [Mon, 25 Aug 2014 17:33:19 +0000 (10:33 -0700)]
wifi: hal: Add wifi_set_nodfs_flag() function

Bug: 17181998

Change-Id: Iac431c2804e8252273e00c7b490c955f5528c83e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agowifi: Sync with wpa_supplicant commit 0365883 (4aa9c15)
Dmitry Shmidt [Thu, 14 Aug 2014 22:48:13 +0000 (15:48 -0700)]
wifi: Sync with wpa_supplicant commit 0365883 (4aa9c15)

Bug: 17027752

Change-Id: Ibf1a23a6750ec041ec068070791037fdc538b13e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agoPNO MAC rotation + Hotlist LOST event
Ashwin [Mon, 4 Aug 2014 23:50:23 +0000 (16:50 -0700)]
PNO MAC rotation + Hotlist LOST event

modified:   include/hardware_legacy/gscan.h
modified:   include/hardware_legacy/wifi_hal.h

Change-Id: I0ad599a20210081ffd05040fbb810f1ec1f9dd62

9 years agoaudio HAL: add parameters to open stream functions
Eric Laurent [Mon, 28 Jul 2014 00:30:34 +0000 (17:30 -0700)]
audio HAL: add parameters to open stream functions

Pass device address (and audio source for inputs) to
open_output_stream() and open_input_stream() audio HAL functions.

Bug: 14815883.
Change-Id: Ib1c3e98518733fa5eab54cbca4220e388d3f6211

9 years agoAdd audio_input_flags_t to HAL open_input_stream
Glenn Kasten [Thu, 17 Jul 2014 14:28:11 +0000 (07:28 -0700)]
Add audio_input_flags_t to HAL open_input_stream

Change-Id: I17db01e92bfa939c7a15e7f9f95197d0a0568033

9 years agoWifi Hal: Adding inclusion of stdint.h in wifi_hal.h
Amarnath Hullur Subramanyam [Tue, 17 Jun 2014 02:50:24 +0000 (19:50 -0700)]
Wifi Hal: Adding inclusion of stdint.h in wifi_hal.h

Change-Id: I8c7c103c5b12e2b9dc82f9cfd429f22d6ebfb943

9 years ago Get feature list
Ashwin [Wed, 25 Jun 2014 23:32:06 +0000 (16:32 -0700)]
 Get feature list
 Changes to be committed:

modified:   include/hardware_legacy/wifi_hal.h

Change-Id: Ie69797500c2d80fa758e6ee6a42ffca9b3b46fcb

9 years agoIntroduce TDLS APIs in wifi HAL
Vinit Deshpande [Mon, 7 Jul 2014 18:45:54 +0000 (11:45 -0700)]
Introduce TDLS APIs in wifi HAL

Change-Id: I611012412f58682ea11179631622023eda5393e7

9 years agoFix wifi_rtt_range_cancel to include interface handle
Ashwin [Fri, 6 Jun 2014 22:08:29 +0000 (15:08 -0700)]
Fix wifi_rtt_range_cancel to include interface handle

Change-Id: I1bdb2f74a14a7f15dbf00634570341e70df67498

9 years agoaudio: fixed channel count determination from channel mask
Eric Laurent [Wed, 2 Jul 2014 03:33:36 +0000 (20:33 -0700)]
audio: fixed channel count determination from channel mask

Do not use popcount() to derive channel count from channel mask.

Bug: 15000850.
Change-Id: I5050ce7fd7884369eb0de37967e40052630006a9

9 years agoEnabling USB Device and Android Device Vol inc/dec functionality
Paul McLean [Thu, 26 Jun 2014 22:38:35 +0000 (15:38 -0700)]
Enabling USB Device and Android Device Vol inc/dec functionality

for USB Audio Output

Bug: 13747844
Change-Id: I53b7db8102fd2ed24014c338ea5e7290cda8b2f3

9 years agowifi: Sync with wpa_supplicant commit 2271d3f (f95a452)
Dmitry Shmidt [Mon, 23 Jun 2014 19:23:50 +0000 (12:23 -0700)]
wifi: Sync with wpa_supplicant commit 2271d3f (f95a452)

Change-Id: I9319bebe813f2306700571fd31570f2d30a8004d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agoaudio policy: add parsing for more audio formats
Eric Laurent [Wed, 11 Jun 2014 01:39:05 +0000 (18:39 -0700)]
audio policy: add parsing for more audio formats

Bug: 9428304.
Change-Id: Ie3c9827ed78703a1b2d9699e38ce628f3055138b

9 years agoWifi Hal: Nan Header file
Amarnath Hullur Subramanyam [Sun, 1 Jun 2014 17:19:23 +0000 (10:19 -0700)]
Wifi Hal: Nan Header file

Change-Id: I65a072ffa491d3f61289034e0326df131ec159ba

9 years agoWi-Fi HAL API cleanup
Kumar Anand [Thu, 29 May 2014 10:20:15 +0000 (03:20 -0700)]
Wi-Fi HAL API cleanup

Removed unused APIs, added new typedef s8,
Added default enum for wifi_interface_mode

Change-Id: I7be61fb1c0f7babcfbfc18940e4a5fa83792b248

9 years agoMore GScan API changes
Vinit Deshpande [Wed, 28 May 2014 23:33:31 +0000 (16:33 -0700)]
More GScan API changes

Main changes are -

1. max_bssid_history_entries in wifi_gscan_capabilities
2. A new callback to report extra status of scan
3. Channel hint for hotlist APs
4. More details on significant change event

Change-Id: I665cb28df99cf152e6b95c8050ea246c5fce81e9

9 years agoFix build breaks caused by duplicate definitions
Vinit Deshpande [Wed, 28 May 2014 01:00:14 +0000 (18:00 -0700)]
Fix build breaks caused by duplicate definitions

Some types are defined in link_layer_stats.h as well as rtt.h; this
change removes duplicate definitions

Change-Id: If1e16b7868c7ad7f9b5ca4d020d26df4c17daf0a

9 years agoRTT API Update
Vinit Deshpande [Fri, 23 May 2014 01:11:12 +0000 (18:11 -0700)]
RTT API Update

This version introduces channel parameters and channel masks.

Change-Id: Ieab4e965de77a3c70826842e98f4da14cf09b03d

9 years agowifi: Sync with wpa_supplicant commit 76cd2cc (147848e)
Dmitry Shmidt [Mon, 2 Jun 2014 18:30:43 +0000 (11:30 -0700)]
wifi: Sync with wpa_supplicant commit 76cd2cc (147848e)

Change-Id: I42bc6906cc1dde27ce8ba38f0f919d2c791c09bb
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agoMerge "handle in and out audio device connection separately"
Eric Laurent [Fri, 30 May 2014 17:09:19 +0000 (17:09 +0000)]
Merge "handle in and out audio device connection separately"

9 years agohandle in and out audio device connection separately
Eric Laurent [Thu, 29 May 2014 23:14:44 +0000 (16:14 -0700)]
handle in and out audio device connection separately

AudioService now indicates in and out device connection
separately in case of combined devices like wired headset
or BT SCO headset.

Change-Id: Id20e02bb351cc732ceddccf597742ced049671a8

9 years agoMerge "Remove duplicate copies of nl80211_copy.h"
Vinit Deshpande [Thu, 29 May 2014 23:06:18 +0000 (23:06 +0000)]
Merge "Remove duplicate copies of nl80211_copy.h"

9 years agoAudioPolicyManagerBase: Add support for A2DP sink input
Mike Lockwood [Wed, 21 May 2014 16:28:05 +0000 (09:28 -0700)]
AudioPolicyManagerBase: Add support for A2DP sink input

Change-Id: I500d1f2f8f2199c674b289cf671b7f863a7d02ee

10 years agoRemove duplicate copies of nl80211_copy.h
Vinit Deshpande [Fri, 23 May 2014 00:31:13 +0000 (17:31 -0700)]
Remove duplicate copies of nl80211_copy.h

We'll use a single copy - the one in external/wpa_supplicant_8 project.

Bug: 14889555
Change-Id: I2e432bddcff278e792579970122cdea9e80ffb64

10 years agochanges related to full scan result and band
Vinit Deshapnde [Tue, 13 May 2014 22:10:49 +0000 (15:10 -0700)]
changes related to full scan result and band

Change-Id: I7accbd79f86a616c1d7e11fcebae12dbefaa3612

10 years agofix build compile
vandwalle [Thu, 8 May 2014 23:57:05 +0000 (16:57 -0700)]
fix build compile

Change-Id: Ic9ffdfb23fa704d636a5f0106a205af3693d3a20

10 years agoInclude hal link_layer_stats.h
Chilam Ng [Sat, 3 May 2014 00:09:03 +0000 (17:09 -0700)]
Include hal link_layer_stats.h

Change-Id: Ic86065863c7b3d6a40101724f4e7d8a8263d62b5
Signed-off-by: Chilam Ng <chilam@broadcom.com>
10 years agoIntroduce Link Layer Stats API
Vinit Deshapnde [Thu, 1 May 2014 21:21:44 +0000 (14:21 -0700)]
Introduce Link Layer Stats API

Change-Id: Ie3b3a1a511026aafbd46f8165272059ce856992d

10 years agoam 9595dc8c: am 4248e7c3: am a5b275c3: Merge "Changes to restart supplicant on crash"
Dmitry Shmidt [Thu, 15 May 2014 16:32:02 +0000 (16:32 +0000)]
am 9595dc8c: am 4248e7c3: am a5b275c3: Merge "Changes to restart supplicant on crash"

* commit '9595dc8c8e07d40d606f11fedb7afb035bc87eb2':
  Changes to restart supplicant on crash

10 years agoam 4248e7c3: am a5b275c3: Merge "Changes to restart supplicant on crash"
Dmitry Shmidt [Thu, 15 May 2014 16:29:43 +0000 (16:29 +0000)]
am 4248e7c3: am a5b275c3: Merge "Changes to restart supplicant on crash"

* commit '4248e7c3cc06244b9d80a470e65dc95f862fccfa':
  Changes to restart supplicant on crash

10 years agoam a5b275c3: Merge "Changes to restart supplicant on crash"
Dmitry Shmidt [Thu, 15 May 2014 16:28:02 +0000 (16:28 +0000)]
am a5b275c3: Merge "Changes to restart supplicant on crash"

* commit 'a5b275c3c64a718321f0731c49a338c6775f4273':
  Changes to restart supplicant on crash

10 years agoMerge "Changes to restart supplicant on crash"
Dmitry Shmidt [Thu, 15 May 2014 16:25:01 +0000 (16:25 +0000)]
Merge "Changes to restart supplicant on crash"

10 years agoChanges to restart supplicant on crash
Mahesh [Wed, 14 May 2014 13:26:15 +0000 (18:56 +0530)]
Changes to restart supplicant on crash

specify timeout value in poll to check if the supplicant
connection is active, if not we should indicate
terminate command to framework to restart supplicant.

Change-Id: I8e602b9cb07a13c3f0b96813b2fc89f46457473e

10 years agoam 384bd5d6: am 7b11946c: am 9739aeb2: Merge "Indicate WPA_EVENT_TERMINATING event...
Dmitry Shmidt [Wed, 14 May 2014 00:00:20 +0000 (00:00 +0000)]
am 384bd5d6: am 7b11946c: am 9739aeb2: Merge "Indicate WPA_EVENT_TERMINATING event on primary interface."

* commit '384bd5d631a9d493d65afac4ce21a751e8cd2c68':
  Indicate WPA_EVENT_TERMINATING event on primary interface.

10 years agoam 7b11946c: am 9739aeb2: Merge "Indicate WPA_EVENT_TERMINATING event on primary...
Dmitry Shmidt [Tue, 13 May 2014 23:53:15 +0000 (23:53 +0000)]
am 7b11946c: am 9739aeb2: Merge "Indicate WPA_EVENT_TERMINATING event on primary interface."

* commit '7b11946c48ebfab9b6a5d2c64366f19727d3a0af':
  Indicate WPA_EVENT_TERMINATING event on primary interface.

10 years agoam 9739aeb2: Merge "Indicate WPA_EVENT_TERMINATING event on primary interface."
Dmitry Shmidt [Tue, 13 May 2014 23:48:32 +0000 (23:48 +0000)]
am 9739aeb2: Merge "Indicate WPA_EVENT_TERMINATING event on primary interface."

* commit '9739aeb214087ef5dc0cfe7e4bd5f87904cefb92':
  Indicate WPA_EVENT_TERMINATING event on primary interface.

10 years agoMerge "Indicate WPA_EVENT_TERMINATING event on primary interface."
Dmitry Shmidt [Tue, 13 May 2014 23:43:40 +0000 (23:43 +0000)]
Merge "Indicate WPA_EVENT_TERMINATING event on primary interface."

10 years agoIndicate WPA_EVENT_TERMINATING event on primary interface.
Mahesh [Tue, 13 May 2014 08:29:05 +0000 (13:59 +0530)]
Indicate WPA_EVENT_TERMINATING event on primary interface.

Internal fabricated WPA_EVENT_TERMINATING events to restart
supplicant should be sent on primary interface.

Change-Id: I2d018e0707819614d9b092c6f3a812f04b5446ca

10 years agoam 62038fc4: am 2c388a44: am 8eb3354a: Merge "Audio: add an openOutputStreamWithFlags...
Eric Laurent [Thu, 8 May 2014 18:24:06 +0000 (18:24 +0000)]
am 62038fc4: am 2c388a44: am 8eb3354a: Merge "Audio: add an openOutputStreamWithFlags API"

* commit '62038fc4c5c596f04a87388bb42bdef13d359c39':
  Audio: add an openOutputStreamWithFlags API

10 years agoIntroduce on_full_scan_result event in WifiHal
Vinit Deshapnde [Fri, 11 Apr 2014 18:10:14 +0000 (11:10 -0700)]
Introduce on_full_scan_result event in WifiHal

This change will allow the hardware to report all IEs found in the probe
response.

Change-Id: I149900c63a301df84fd6ff6eb1a1f3773daa0111

10 years agoMoving Wifi HAL to hardware
Vinit Deshapnde [Wed, 9 Apr 2014 00:05:19 +0000 (17:05 -0700)]
Moving Wifi HAL to hardware

This change moves all Wifi HAL headers to libhardware_legacy; and moves
hal implementation under hardware/<vendor>/wlan. This way different
vendors will be able to tailor implementation to their drivers.

Change-Id: I55789bb6788ab694f4896aa36d76f7887b32dad6

10 years agoam 2c388a44: am 8eb3354a: Merge "Audio: add an openOutputStreamWithFlags API"
Eric Laurent [Wed, 7 May 2014 23:39:02 +0000 (23:39 +0000)]
am 2c388a44: am 8eb3354a: Merge "Audio: add an openOutputStreamWithFlags API"

* commit '2c388a441da4a43904ac333a66bb3d5e26a8aa3a':
  Audio: add an openOutputStreamWithFlags API

10 years agoam 8eb3354a: Merge "Audio: add an openOutputStreamWithFlags API"
Eric Laurent [Wed, 7 May 2014 23:36:36 +0000 (23:36 +0000)]
am 8eb3354a: Merge "Audio: add an openOutputStreamWithFlags API"

* commit '8eb3354ad06cc4f24375d076698b35d2c26f0e90':
  Audio: add an openOutputStreamWithFlags API

10 years agoMerge "Audio: add an openOutputStreamWithFlags API"
Eric Laurent [Wed, 7 May 2014 23:34:19 +0000 (23:34 +0000)]
Merge "Audio: add an openOutputStreamWithFlags API"

10 years agoMerge "Update policy handling for USB inputs"
Paul McLean [Wed, 30 Apr 2014 15:26:04 +0000 (15:26 +0000)]
Merge "Update policy handling for USB inputs"

10 years agoam 7ba0162d: am af477302: Merge commit \'50a76b9727c876405e59d61e082b4be0abebab4b...
Bill Yi [Wed, 30 Apr 2014 12:50:29 +0000 (12:50 +0000)]
am 7ba0162d: am af477302: Merge commit \'50a76b9727c876405e59d61e082b4be0abebab4b\' into HEAD

* commit '7ba0162d5af92e0fc46c73fc42aed6cd2cf929d7':

10 years agoam af477302: Merge commit \'50a76b9727c876405e59d61e082b4be0abebab4b\' into HEAD
Bill Yi [Wed, 30 Apr 2014 00:59:07 +0000 (00:59 +0000)]
am af477302: Merge commit \'50a76b9727c876405e59d61e082b4be0abebab4b\' into HEAD

* commit 'af4773020afdfe1ba2344f785416756e769ce1dc':

10 years agoMerge commit '50a76b9727c876405e59d61e082b4be0abebab4b' into HEAD
Bill Yi [Tue, 29 Apr 2014 18:34:21 +0000 (11:34 -0700)]
Merge commit '50a76b9727c876405e59d61e082b4be0abebab4b' into HEAD

10 years agoUpdate policy handling for USB inputs
Paul McLean [Fri, 18 Apr 2014 21:01:12 +0000 (14:01 -0700)]
Update policy handling for USB inputs

Change-Id: Ib2e531f115f8bd1d5f290094032f3f4a4753e726

10 years agoresolved conflicts for merge of 75402fdb to master
Colin Cross [Thu, 24 Apr 2014 15:39:41 +0000 (08:39 -0700)]
resolved conflicts for merge of 75402fdb to master

Change-Id: Ie85a3c7d498d7685738190267916e9a205cc469e

10 years agoam 64527db9: Merge "audio: allow compiling for 64-bit"
Colin Cross [Thu, 24 Apr 2014 08:58:31 +0000 (08:58 +0000)]
am 64527db9: Merge "audio: allow compiling for 64-bit"

* commit '64527db9b27d5f36412fefcd07c7054277ecf6c7':
  audio: allow compiling for 64-bit

10 years agoMerge "audio: allow compiling for 64-bit"
Colin Cross [Wed, 23 Apr 2014 22:04:44 +0000 (22:04 +0000)]
Merge "audio: allow compiling for 64-bit"

10 years agoAudio: add an openOutputStreamWithFlags API
David Wagner [Wed, 23 Apr 2014 09:47:02 +0000 (11:47 +0200)]
Audio: add an openOutputStreamWithFlags API

The existing openOutputStream API did not allow passing stream flags even
though its audio hardware interface's open_output_stream counterpart does take
a "flags" argument.  This means that, when the audio hw_module is implemented
using libhardware_legacy, the output flag was lost.

This commit adds an API in libhardware_legacy's audio module, allowing to pass
the flag, and updates the default wrapper in order to call this new API instead
of the old version that missed the flag.

Change-Id: I20c102d32b489f87fabbd7d02aa0b28fae13948b
Signed-off-by: David Wagner <david.wagner@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
10 years agoaudio: allow compiling for 64-bit
Colin Cross [Fri, 18 Apr 2014 22:39:10 +0000 (15:39 -0700)]
audio: allow compiling for 64-bit

Fix a few 64-bit warnings and set -Wno-unused-parameter, which makes
the directory warnings-clean on 32-bit and 64-bit.
Remove LOCAL_32_BIT_ONLY.

Change-Id: I688b31683f1a6598419866d9b7b6bc27a7056f4a

10 years agoMerge "wifi: Sync with wpa_supplicant commit 7dba0e5 (bacb984)"
Dmitry Shmidt [Mon, 14 Apr 2014 18:24:12 +0000 (18:24 +0000)]
Merge "wifi: Sync with wpa_supplicant commit 7dba0e5 (bacb984)"

10 years agowifi: Sync with wpa_supplicant commit 7dba0e5 (bacb984)
Dmitry Shmidt [Mon, 14 Apr 2014 18:01:39 +0000 (11:01 -0700)]
wifi: Sync with wpa_supplicant commit 7dba0e5 (bacb984)

Change-Id: I2f40c47c6388174b8ad09d089fe8a8aab2e67ca4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoInitial implementation of USB Audio output.
Paul McLean [Thu, 19 Dec 2013 23:51:32 +0000 (15:51 -0800)]
Initial implementation of USB Audio output.

Change-Id: I4e2517233487ca7487ed7948a974fc2cc6c41190

10 years agoam fa8ad9fb: am 60089828: Merge "Audio policy is 32-bit only"
Glenn Kasten [Mon, 17 Mar 2014 23:32:53 +0000 (23:32 +0000)]
am fa8ad9fb: am 60089828: Merge "Audio policy is 32-bit only"

* commit 'fa8ad9fb544e01e663709e8dccd9b358e4d3ede9':
  Audio policy is 32-bit only

10 years agoam 60089828: Merge "Audio policy is 32-bit only"
Glenn Kasten [Mon, 17 Mar 2014 21:18:52 +0000 (21:18 +0000)]
am 60089828: Merge "Audio policy is 32-bit only"

* commit '600898287d579c41b77af309f0ab75dbe40c559b':
  Audio policy is 32-bit only

10 years agoam 60089828: Merge "Audio policy is 32-bit only"
Glenn Kasten [Mon, 17 Mar 2014 21:18:29 +0000 (21:18 +0000)]
am 60089828: Merge "Audio policy is 32-bit only"

* commit '600898287d579c41b77af309f0ab75dbe40c559b':
  Audio policy is 32-bit only

10 years agoMerge "Audio policy is 32-bit only"
Glenn Kasten [Mon, 17 Mar 2014 21:14:08 +0000 (21:14 +0000)]
Merge "Audio policy is 32-bit only"

10 years agoAudio policy is 32-bit only
Glenn Kasten [Mon, 17 Mar 2014 18:45:59 +0000 (11:45 -0700)]
Audio policy is 32-bit only

Change-Id: I2eca0286d98bb5eebe9c68286d4ee7ed366f173d

10 years agoam e6c7127e: am be39c1e4: Merge "audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to...
Glenn Kasten [Mon, 17 Mar 2014 15:56:18 +0000 (15:56 +0000)]
am e6c7127e: am be39c1e4: Merge "audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable"

* commit 'e6c7127ef2491ddeb995ffb48843fda4e30ff9ff':
  audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable

10 years agoam bfad19d2: am eaf44380: Merge "Wi-Fi HAL: fix supplicant start failed issue"
Narayan Kamath [Mon, 17 Mar 2014 15:56:17 +0000 (15:56 +0000)]
am bfad19d2: am eaf44380: Merge "Wi-Fi HAL: fix supplicant start failed issue"

* commit 'bfad19d2a12d0cc25ad74a58fe6838b0afe45776':
  Wi-Fi HAL: fix supplicant start failed issue

10 years agoam be39c1e4: Merge "audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnu...
Glenn Kasten [Mon, 17 Mar 2014 15:50:23 +0000 (15:50 +0000)]
am be39c1e4: Merge "audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable"

* commit 'be39c1e4cc6b635013553684953d1048d1599a8e':
  audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable

10 years agoam eaf44380: Merge "Wi-Fi HAL: fix supplicant start failed issue"
Narayan Kamath [Mon, 17 Mar 2014 15:50:22 +0000 (15:50 +0000)]
am eaf44380: Merge "Wi-Fi HAL: fix supplicant start failed issue"

* commit 'eaf44380422a9d78b0a56a05ab3742dbeee79dd5':
  Wi-Fi HAL: fix supplicant start failed issue

10 years agoam be39c1e4: Merge "audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnu...
Glenn Kasten [Mon, 17 Mar 2014 15:50:02 +0000 (15:50 +0000)]
am be39c1e4: Merge "audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable"

* commit 'be39c1e4cc6b635013553684953d1048d1599a8e':
  audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable

10 years agoam eaf44380: Merge "Wi-Fi HAL: fix supplicant start failed issue"
Narayan Kamath [Mon, 17 Mar 2014 15:50:01 +0000 (15:50 +0000)]
am eaf44380: Merge "Wi-Fi HAL: fix supplicant start failed issue"

* commit 'eaf44380422a9d78b0a56a05ab3742dbeee79dd5':
  Wi-Fi HAL: fix supplicant start failed issue

10 years agoMerge "audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable"
Glenn Kasten [Mon, 17 Mar 2014 14:41:05 +0000 (14:41 +0000)]
Merge "audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable"

10 years agoaudio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable
Peter Yoon [Wed, 11 Sep 2013 08:45:09 +0000 (17:45 +0900)]
audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable

This commit adds AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable[],
It had to be added here, when it was defined in system/core/include/system/audio.h

AudioPolicyManagerBase::loadHwModule() fails to parse device type of
AUDIO_DEVICE_IN_USB_DEVICE in audio_policy.conf.
By applying this commit, AUDIO_DEVICE_IN_USB_DEVICE can be used for
audio policy customization.

Change-Id: I0165956334d7105129dca4c746372dbca0d9e324

10 years agoMerge "Wi-Fi HAL: fix supplicant start failed issue"
Narayan Kamath [Mon, 17 Mar 2014 09:39:58 +0000 (09:39 +0000)]
Merge "Wi-Fi HAL: fix supplicant start failed issue"

10 years agoWi-Fi HAL: fix supplicant start failed issue
jiaguo [Thu, 13 Mar 2014 10:49:14 +0000 (18:49 +0800)]
Wi-Fi HAL: fix supplicant start failed issue

init.svc.*(hostapd, p2p_supplicant) properties are set when starting
STA or uAP via Wi-Fi HAL, after sending ctrl.start command to
property_service, thread called wifi_start_supplicant will yield cpu
for android init process to get scheduled, then init.svc.* status
is read to check if supplicant status is running

there is a chance that after scheld_yield returned, init is not
scheduled, serial value is not updated, __system_property_read got
the "stopped" status, then init is scheduled to update service status
after that back to this loop in Wi-Fi HAL, serial is updated, but
status is not reread, still used "stopped", then Wi-Fi HAL will
report supplicant start failed

as the following schedule sequence:

process A(WifiStateMachine)           process B(init)
1. ctl.start
2. scheld_yield
3. __system_proerty_read
   /*serial1, value1*/
                                      4. __system_property_update
                                         /*serial2, value2*/
5. serial1 != serial2
6. value1 == "stopped"

So after sched_yield, first check if serial is updated, then read
service status

Change-Id: I5181e0d4504c525832c033b9a35bd58ec63e1de8
Signed-off-by: jiaguo <jiaguo@marvell.com>
10 years agoam c32be36f: Merge "wifi: check if supplicant is running before starting it"
Dmitry Shmidt [Tue, 11 Mar 2014 00:38:41 +0000 (00:38 +0000)]
am c32be36f: Merge "wifi: check if supplicant is running before starting it"

* commit 'c32be36fd0981685cc9c33d32ae9babc466e6ae2':
  wifi: check if supplicant is running before starting it

10 years agoAdd more PCM formats to audio_policy.conf parser
Glenn Kasten [Fri, 7 Mar 2014 18:17:36 +0000 (10:17 -0800)]
Add more PCM formats to audio_policy.conf parser

In particular, we need AUDIO_FORMAT_PCM_24_BIT_PACKED.

Change-Id: I28abe8466024bdd4d1edbb4281c6472d45a2d94f

10 years agoRename setStreamOutput to invalidateStream
Glenn Kasten [Mon, 3 Feb 2014 16:46:13 +0000 (08:46 -0800)]
Rename setStreamOutput to invalidateStream

And simplify by removing the unused I/O handle parameter 'output'.

Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e

10 years agoam e5a16307: am c32be36f: Merge "wifi: check if supplicant is running before starting it"
Dmitry Shmidt [Mon, 24 Feb 2014 18:31:07 +0000 (18:31 +0000)]
am e5a16307: am c32be36f: Merge "wifi: check if supplicant is running before starting it"

* commit 'e5a16307ab7fdee029ea1fe0bfacd856f948b112':
  wifi: check if supplicant is running before starting it

10 years agoam c32be36f: Merge "wifi: check if supplicant is running before starting it"
Dmitry Shmidt [Mon, 24 Feb 2014 18:23:18 +0000 (18:23 +0000)]
am c32be36f: Merge "wifi: check if supplicant is running before starting it"

* commit 'c32be36fd0981685cc9c33d32ae9babc466e6ae2':
  wifi: check if supplicant is running before starting it

10 years agoMerge "wifi: check if supplicant is running before starting it"
Dmitry Shmidt [Mon, 24 Feb 2014 18:17:01 +0000 (18:17 +0000)]
Merge "wifi: check if supplicant is running before starting it"

10 years agowifi: Sync with wpa_supplicant commit bd14a57
Dmitry Shmidt [Tue, 18 Feb 2014 23:48:20 +0000 (15:48 -0800)]
wifi: Sync with wpa_supplicant commit bd14a57

Change-Id: I17f5ff7c53b642c163c5ca25b0f075b112469004
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoaudio_policy: clean up dumpsys
Patrick Tjin [Thu, 6 Feb 2014 00:03:30 +0000 (16:03 -0800)]
audio_policy: clean up dumpsys

Remove NUL characters from audio_policy's dump output

Change-Id: If591473dbe3e5adbc34dbbdb0d552b329f19eb6a

10 years agoam 3582b9b0: am 84b5cd7c: Merge "hardware/libhardware_legacy: convert LOCAL_MODULE_PA...
Colin Cross [Tue, 28 Jan 2014 01:12:46 +0000 (01:12 +0000)]
am 3582b9b0: am 84b5cd7c: Merge "hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

* commit '3582b9b0e1caa4a43b8706e699903142e34ad5c0':
  hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

10 years agoam 84b5cd7c: Merge "hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_M...
Colin Cross [Tue, 28 Jan 2014 00:55:35 +0000 (00:55 +0000)]
am 84b5cd7c: Merge "hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

* commit '84b5cd7cded812398aaef8274ecacf0c3bd1907e':
  hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

10 years agoMerge "hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIV...
Colin Cross [Tue, 28 Jan 2014 00:46:14 +0000 (00:46 +0000)]
Merge "hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

10 years agohardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
Colin Cross [Sat, 25 Jan 2014 05:00:32 +0000 (21:00 -0800)]
hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.

Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e

10 years agoaudio policy: send config params when opening output
Eric Laurent [Mon, 6 Jan 2014 18:04:43 +0000 (10:04 -0800)]
audio policy: send config params when opening output

When a new output stream is opened upon device connection,
always send mandatory configuration parameters
(A2DP device address, ALSA card and device number etc...)
immediately after opening the output.

Change-Id: Id1fc1d99d3b30e2ef907dcb231a6a9e70560ecae