OSDN Git Service

android-x86/hardware-libhardware_legacy.git
9 years agoam 726b5dad: PNO MAC rotation + Hotlist LOST event
Ashwin [Tue, 12 Aug 2014 04:58:00 +0000 (04:58 +0000)]
am 726b5dad: PNO MAC rotation + Hotlist LOST event

* commit '726b5dada8055f705bb1ffb67d9acc3cad99457d':
  PNO MAC rotation + Hotlist LOST event

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 agoam 4c20a09e: Merge "openOutputStreamWithFlags should be declared as abstract function"
Eric Laurent [Tue, 29 Jul 2014 15:24:23 +0000 (15:24 +0000)]
am 4c20a09e: Merge "openOutputStreamWithFlags should be declared as abstract function"

* commit '4c20a09e8684657448f0bc97a2da4e56c94d484e':
  openOutputStreamWithFlags should be declared as abstract function

9 years agoam a311a983: audio HAL: add parameters to open stream functions
Eric Laurent [Mon, 28 Jul 2014 21:09:20 +0000 (21:09 +0000)]
am a311a983: audio HAL: add parameters to open stream functions

* commit 'a311a983eb4035b272033105119cb44d814fb2db':
  audio HAL: add parameters to open stream functions

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 agoMerge "openOutputStreamWithFlags should be declared as abstract function"
Eric Laurent [Tue, 29 Jul 2014 15:16:21 +0000 (15:16 +0000)]
Merge "openOutputStreamWithFlags should be declared as abstract function"

9 years agoam 39b3abc0: Merge "audio: add mechanism to re-route nullified audio"
Eric Laurent [Wed, 23 Jul 2014 16:06:22 +0000 (16:06 +0000)]
am 39b3abc0: Merge "audio: add mechanism to re-route nullified audio"

* commit '39b3abc0ca227d72f66bb47a75cec2acfb4d6de0':
  audio: add mechanism to re-route nullified audio

9 years agoMerge "audio: add mechanism to re-route nullified audio"
Eric Laurent [Wed, 23 Jul 2014 16:00:53 +0000 (16:00 +0000)]
Merge "audio: add mechanism to re-route nullified audio"

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

Change-Id: Ia9150944977560ea296c46ddf75da960d6a3e541
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
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 agoaudio: add mechanism to re-route nullified audio
Vincent Becker [Mon, 3 Sep 2012 06:29:57 +0000 (14:29 +0800)]
audio: add mechanism to re-route nullified audio

Fixes a race condition whereby two requests attempt to change the audio stream
(and interrupt each other).  For example, a user space app makes a call through
the audio API and before completion, a kernel function such as jack removal is
detected and is serviced.  In this case, you have a nullified audio route that
needs to be re-routed.

In order to know a routing update is needed, a boolean member mForceRouting
has been introduced to enforce routing for the next attempt to set audio output
with a non-null device.

Change-Id: Ia0aa2f27fe63c39f0980dec2e1e79dbc26b81e56
Author: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Zhi Jin <zhi.jin@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Robert Beatty <robert.m.beatty@intel.com>
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

10 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

10 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

10 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

10 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

10 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

10 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>
10 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"

10 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

10 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"

10 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

10 years agoContinued cleanup of audio policy's use of audio_format_t
Glenn Kasten [Fri, 20 Dec 2013 17:59:24 +0000 (09:59 -0800)]
Continued cleanup of audio policy's use of audio_format_t

Change-Id: I6ef6ec50cd5e0e751dc5063af1f7d8882588a89b

10 years agoUse audio_channel_mask_t in AudioPolicy
Glenn Kasten [Tue, 10 Dec 2013 17:10:28 +0000 (09:10 -0800)]
Use audio_channel_mask_t in AudioPolicy

Also:
 - use %x format for logging channel masks
 - use AUDIO_CHANNEL_IN_* constants from system/audio.h instead of AudioSystemLegacy.h symbols
 - remove redundant casts
 - use "channelMask" instead of "channels" to avoid possible confusion with channel counts

Change-Id: If05d6b1cae5cf1b560cd53a93ae9e592b719ec9e

10 years agoUse audio_format_t in AudioPolicy
Glenn Kasten [Tue, 10 Dec 2013 17:53:22 +0000 (09:53 -0800)]
Use audio_format_t in AudioPolicy

Also remove unnecessary default parameters

Change-Id: I553c01a98b8c2a3f3fd2ac98724aded3ad3c3022

10 years agoam 65061e47: am cf68701c: Merge commit \'9d3950389b53452338fab25f2255623ac159b259...
The Android Open Source Project [Fri, 6 Dec 2013 02:50:55 +0000 (02:50 +0000)]
am 65061e47: am cf68701c: Merge commit \'9d3950389b53452338fab25f2255623ac159b259\' into HEAD

* commit '65061e479a400353d2048fb5b4ee74db7dabecef':

10 years agoam cf68701c: Merge commit \'9d3950389b53452338fab25f2255623ac159b259\' into HEAD
The Android Open Source Project [Fri, 6 Dec 2013 01:27:54 +0000 (17:27 -0800)]
am cf68701c: Merge commit \'9d3950389b53452338fab25f2255623ac159b259\' into HEAD

* commit 'cf68701c3952cc2e6e258005e3cf9e38fe107ede':

10 years agoMerge commit '9d3950389b53452338fab25f2255623ac159b259' into HEAD
The Android Open Source Project [Thu, 5 Dec 2013 20:38:20 +0000 (12:38 -0800)]
Merge commit '9d3950389b53452338fab25f2255623ac159b259' into HEAD

10 years agoam cedd2862: am b8fada87: Merge "wifi: Link libwpa_client only if wpa_supplicant...
Ying Wang [Thu, 5 Dec 2013 20:28:35 +0000 (20:28 +0000)]
am cedd2862: am b8fada87: Merge "wifi: Link libwpa_client only if wpa_supplicant was chosen"

* commit 'cedd28629f4987db1bded707cab21208fe7cea2d':
  wifi: Link libwpa_client only if wpa_supplicant was chosen

10 years agoam b8fada87: Merge "wifi: Link libwpa_client only if wpa_supplicant was chosen"
Ying Wang [Thu, 5 Dec 2013 19:18:39 +0000 (11:18 -0800)]
am b8fada87: Merge "wifi: Link libwpa_client only if wpa_supplicant was chosen"

* commit 'b8fada8742caed088c4d9f18353c557255701d2f':
  wifi: Link libwpa_client only if wpa_supplicant was chosen

10 years agoMerge "wifi: Link libwpa_client only if wpa_supplicant was chosen"
Ying Wang [Thu, 5 Dec 2013 19:13:04 +0000 (19:13 +0000)]
Merge "wifi: Link libwpa_client only if wpa_supplicant was chosen"