OSDN Git Service

android-x86/hardware-libhardware.git
9 years agoCEC: Update mhl header
Jinsuk Kim [Wed, 6 Aug 2014 06:43:18 +0000 (15:43 +0900)]
CEC: Update mhl header

Agreement with MHL consortium mandates that the open source implementation
should mention only RAP/RCP/Scratchpad command and their related constant
definitions.

Also added a new event definition that provides with the capability info
of the connected device.

Change-Id: I0875e96672720bf2f182ee1d8b4c32437faac930

9 years agoMerge "sound_trigger HAL update" into lmp-dev
Eric Laurent [Tue, 5 Aug 2014 19:53:48 +0000 (19:53 +0000)]
Merge "sound_trigger HAL update" into lmp-dev

9 years agoMerge "Add HAL capabilities for GPS Measurements and Navigation Messages." into lmp-dev
destradaa [Tue, 5 Aug 2014 17:01:10 +0000 (17:01 +0000)]
Merge "Add HAL capabilities for GPS Measurements and Navigation Messages." into lmp-dev

9 years agoAdd HAL capabilities for GPS Measurements and Navigation Messages.
destradaa [Thu, 31 Jul 2014 23:34:09 +0000 (16:34 -0700)]
Add HAL capabilities for GPS Measurements and Navigation Messages.

Change-Id: I2ed41f2c048cfe82a539b3a4e955305787731a95

9 years agoAdd transport parameter to createBond() function (1/4)
Andre Eisenbach [Tue, 5 Aug 2014 00:22:29 +0000 (17:22 -0700)]
Add transport parameter to createBond() function (1/4)

Change-Id: I8373ace899444c138907aaecc0f067188b0a7d90

9 years agosound_trigger HAL update
Eric Laurent [Wed, 30 Jul 2014 15:58:39 +0000 (08:58 -0700)]
sound_trigger HAL update

Bug: 12378680.

Change-Id: I556cd316cbff3b8d88331319ca0ad65a09aae0f9

9 years agoMerge "Remove WAKE_UP_* sensor constants and stringTypes." into lmp-dev
Aravind Akella [Thu, 31 Jul 2014 16:46:03 +0000 (16:46 +0000)]
Merge "Remove WAKE_UP_* sensor constants and stringTypes." into lmp-dev

9 years agoIncorrect data type. bt_local_le_features_t of wrong size
Prerepa Viswanadham [Wed, 30 Jul 2014 22:10:39 +0000 (15:10 -0700)]
Incorrect data type. bt_local_le_features_t of wrong size

b/16653133

Change-Id: Icd7a3de6161669f4c54c6042bf80314e72f5f0ff

9 years agoRemove WAKE_UP_* sensor constants and stringTypes.
Aravind Akella [Tue, 29 Jul 2014 01:01:37 +0000 (18:01 -0700)]
Remove WAKE_UP_* sensor constants and stringTypes.

Change-Id: Iabe4bb064d88d9fcecc1a31e609cb8b77ebdd5ad

9 years agoAdd parameter key and values for hearing aid compatibility mode
Eric Laurent [Fri, 25 Jul 2014 17:10:11 +0000 (12:10 -0500)]
Add parameter key and values for hearing aid compatibility mode

Change-Id: Ibdbe102bd49dbf228af5d4327b1868849c9d754e

9 years agoMerge "Pass multichannel capability to AudioPolicyManager" into lmp-dev
Andy Hung [Tue, 29 Jul 2014 23:50:46 +0000 (23:50 +0000)]
Merge "Pass multichannel capability to AudioPolicyManager" into lmp-dev

9 years agoPass multichannel capability to AudioPolicyManager
Andy Hung [Mon, 28 Jul 2014 23:19:47 +0000 (16:19 -0700)]
Pass multichannel capability to AudioPolicyManager

Change-Id: Ifcfe5e9e0c01ccb0e9af25e0c718ea5f04181ae4

9 years agoAdd multichannel USB handshaking with AudioFlinger
Andy Hung [Tue, 22 Jul 2014 04:16:45 +0000 (21:16 -0700)]
Add multichannel USB handshaking with AudioFlinger

The number of channels can be "forced" using k_force_channels.
If the channel count proposed by AudioFlinger is not permitted
by the device, it is emulated.

Change-Id: Ib20e680c8f95adb84616a4fe52977f659cf4d6ca

9 years agoMerge "Add multichannel USB handshaking with AudioFlinger" into lmp-dev
Andy Hung [Tue, 29 Jul 2014 16:09:13 +0000 (16:09 +0000)]
Merge "Add multichannel USB handshaking with AudioFlinger" into lmp-dev

9 years agoDelete mcu HAL.
Jeff Brown [Sat, 26 Jul 2014 21:58:23 +0000 (14:58 -0700)]
Delete mcu HAL.

This HAL was intended to support doze mode but it is currently
unused and it's best for it to stay that way.

Bug: 16516536
Change-Id: I4f442e27d68f18ff322afd4c1debd2f392687e80

9 years agoMerge "audio HAL: add parameters to open stream" into lmp-dev
Eric Laurent [Mon, 28 Jul 2014 20:56:34 +0000 (20:56 +0000)]
Merge "audio HAL: add parameters to open stream" into lmp-dev

9 years agoaudio HAL: add parameters to open stream
Eric Laurent [Sun, 27 Jul 2014 23:14:57 +0000 (16:14 -0700)]
audio HAL: add parameters to open stream

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

Bug: 14815883.
Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639

9 years agoRevert "Update comment for send message."
Jinsuk Kim [Mon, 28 Jul 2014 07:51:32 +0000 (07:51 +0000)]
Revert "Update comment for send message."

This reverts commit 0e956a7cd2dee76b762320c141960ffdb64d24eb.

The decision was to revert to the old behavior where retransmission
will be handled by HAL for efficiency.

Change-Id: If165b60c0408ea1015b83806f6bf21e18b15bc7f

9 years agoMerge "Refactor USB HAL (audio_hw.c)" into lmp-dev
Paul McLean [Fri, 25 Jul 2014 20:44:06 +0000 (20:44 +0000)]
Merge "Refactor USB HAL (audio_hw.c)" into lmp-dev

9 years agoRefactor USB HAL (audio_hw.c)
Paul McLean [Wed, 16 Jul 2014 16:48:34 +0000 (09:48 -0700)]
Refactor USB HAL (audio_hw.c)

Refactoring alsa device attributes to alsa_device_profile.h/.c
Refactoring alsa device state to alsa_device_proxy.h/.c
Refactoring format functions into format.h/.c
Refactoring logging functions into logging.h/.c
Sundry (and extensive) code cleanup
Reworked locking on out_write() and in_read() to allow
  simultaneous input/output

Bug: 159868271585670212833166

Change-Id: I82c8d0ef252b2f95ee23f263dc175f4c883bfd64

9 years agoMerge "Add HAL module ID for BCM2079x." into lmp-dev
Martijn Coenen [Fri, 25 Jul 2014 18:58:23 +0000 (18:58 +0000)]
Merge "Add HAL module ID for BCM2079x." into lmp-dev

9 years agoAdd HAL module ID for BCM2079x.
Martijn Coenen [Fri, 25 Jul 2014 01:00:42 +0000 (18:00 -0700)]
Add HAL module ID for BCM2079x.

Bug: 16542494
Change-Id: Ia03f981d134e0f4f2de909f8ab158b28931a1dc0

9 years agoMerge "Camera: Define error codes for remaining camera_module methods." into lmp-dev
Eino-Ville Talvala [Fri, 25 Jul 2014 18:32:15 +0000 (18:32 +0000)]
Merge "Camera: Define error codes for remaining camera_module methods." into lmp-dev

9 years agoCamera: Define error codes for remaining camera_module methods.
Eino-Ville Talvala [Thu, 24 Jul 2014 23:44:56 +0000 (16:44 -0700)]
Camera: Define error codes for remaining camera_module methods.

Not previously documented, though already assumed to be this.

Bug: 16514157
Change-Id: I9334fdf672c9772014681a5c346a6f20b51d8213

9 years agoupdate struct-offset.cpp test for hwc 1.4
Greg Hackmann [Thu, 24 Jul 2014 20:27:07 +0000 (13:27 -0700)]
update struct-offset.cpp test for hwc 1.4

Change-Id: I882a1741ad473492d4acc58918a54d944ac382c3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
9 years agoMerge "gralloc: add GRALLOC_USAGE_CURSOR flag" into lmp-dev
Greg Hackmann [Thu, 24 Jul 2014 19:05:40 +0000 (19:05 +0000)]
Merge "gralloc: add GRALLOC_USAGE_CURSOR flag" into lmp-dev

9 years agoAdd interface for doing asynchonous cursor layer updates to hwcomposer
Riley Andrews [Mon, 30 Jun 2014 22:55:55 +0000 (15:55 -0700)]
Add interface for doing asynchonous cursor layer updates to hwcomposer

Change-Id: If2ab523b400cfb586c8e1fed98f2ebe3538c0419

9 years agogralloc: add GRALLOC_USAGE_CURSOR flag
Greg Hackmann [Wed, 9 Jul 2014 20:58:44 +0000 (13:58 -0700)]
gralloc: add GRALLOC_USAGE_CURSOR flag

On many devices, hardware cursors have stricter layout constraints than
other overlays.  GRALLOC_USAGE_CURSOR indicates a buffer may be used as
a cursor; byte order and padding should be chosen accordingly.

GRALLOC_USAGE_CURSOR must not cause allocation failure.  If the requested
properties (dimensions, format, other usage flags, etc.) aren't compatible with
the device's cursor hardware, the implementation must allocate the buffer
anyway, acting as if GRALLOC_USAGE_CURSOR were not specified.

Change-Id: I7d66e8d7c953421d996c5def3257d408f91962f4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
9 years agoLE energy info feature
Satya Calloji [Thu, 3 Jul 2014 17:59:16 +0000 (10:59 -0700)]
LE energy info feature

Header changes for energy info feature

Change-Id: Ic341ad9089b444960c36beff726fa9ddb5c901a2

9 years agoMerge "Fix typo in sensor type using an already defined constant." into lmp-dev
destradaa [Wed, 23 Jul 2014 23:24:14 +0000 (23:24 +0000)]
Merge "Fix typo in sensor type using an already defined constant." into lmp-dev

9 years agoAdd uncertainty for GPS received tow field.
destradaa [Tue, 22 Jul 2014 01:13:42 +0000 (18:13 -0700)]
Add uncertainty for GPS received tow field.
b/16463499

Change-Id: Ib8ddd092f3da8295345524846e3ea0bcce59ccc2

9 years agoFix typo in sensor type using an already defined constant.
destradaa [Mon, 21 Jul 2014 22:12:21 +0000 (15:12 -0700)]
Fix typo in sensor type using an already defined constant.

Change-Id: I209d9191456dc6c1ef2eb695c9a8348a18504a8d

9 years agoMerge "Update GPS measurement HAL definition." into lmp-dev
destradaa [Mon, 21 Jul 2014 18:17:42 +0000 (18:17 +0000)]
Merge "Update GPS measurement HAL definition." into lmp-dev

9 years agoReorder hardware types & remove verbose comments
Wonsik Kim [Sat, 19 Jul 2014 07:01:57 +0000 (16:01 +0900)]
Reorder hardware types & remove verbose comments

Reorder hardware types so that older types comes first roughly. This
would make it more natural to add newer hardware types as they come.
In addition, remove verbose comments where the meaning is obvious from
the name.

Change-Id: I275e9e608c8c2392e3f7ec2c5d81743059f2d36b

9 years agoAdd new HWC_POWER_MODE_DOZE_SUSPEND power state.
Jeff Brown [Fri, 18 Jul 2014 03:01:59 +0000 (20:01 -0700)]
Add new HWC_POWER_MODE_DOZE_SUSPEND power state.

Change-Id: Ice194315bc51ca25732c9e30c809bd6b39f3718f

9 years agoUpdate GPS measurement HAL definition.
destradaa [Thu, 17 Jul 2014 21:04:50 +0000 (14:04 -0700)]
Update GPS measurement HAL definition.

b/16374800

Change-Id: I39602e4b7dedeca5de866cdb996887ae53d5aa9d

9 years agoMerge "Update comment for send message." into lmp-dev
Jungshik Jang [Mon, 21 Jul 2014 23:23:11 +0000 (23:23 +0000)]
Merge "Update comment for send message." into lmp-dev

9 years agoUpdate comment for send message.
Jungshik Jang [Mon, 21 Jul 2014 09:06:01 +0000 (18:06 +0900)]
Update comment for send message.

HAL should not handle retransmission because it's handled by
hdmi control service.

Change-Id: I0daf1baf6f87805e2049ff84c6f8c2cace76dba2

9 years agoMerge "LE: Add connection parameter update request API (1/4)" into lmp-dev
Andre Eisenbach [Fri, 18 Jul 2014 19:29:36 +0000 (19:29 +0000)]
Merge "LE: Add connection parameter update request API (1/4)" into lmp-dev

9 years agoLE: Add connection parameter update request API (1/4)
Andre Eisenbach [Thu, 17 Jul 2014 05:58:36 +0000 (22:58 -0700)]
LE: Add connection parameter update request API (1/4)

Change-Id: I90955b5e1640f7025e864ac9227af6ad8ba5ca77

9 years agoAdd glance gesture for doze mode.
Jeff Brown [Thu, 17 Jul 2014 22:11:51 +0000 (15:11 -0700)]
Add glance gesture for doze mode.

Change-Id: I2daa13e74d2183247c314c15ee283b7a6c20bc22

9 years agoMerge "Move channel expansion/contraction functions to audio_utils/channels.h/.c...
Paul McLean [Fri, 18 Jul 2014 19:27:07 +0000 (19:27 +0000)]
Merge "Move channel expansion/contraction functions to audio_utils/channels.h/.c" into lmp-dev

9 years agoMerge "Define SENSOR_TYPE_PICK_UP_GESTURE." into lmp-dev
Aravind Akella [Thu, 17 Jul 2014 21:39:48 +0000 (21:39 +0000)]
Merge "Define SENSOR_TYPE_PICK_UP_GESTURE." into lmp-dev

9 years agoDefine SENSOR_TYPE_PICK_UP_GESTURE.
Aravind Akella [Thu, 17 Jul 2014 19:40:54 +0000 (12:40 -0700)]
Define SENSOR_TYPE_PICK_UP_GESTURE.

Change-Id: I122f37f5625a2acc3912ad37bdf8717ae2f31b6f

9 years agoMove channel expansion/contraction functions to audio_utils/channels.h/.c
Paul McLean [Wed, 16 Jul 2014 20:46:07 +0000 (13:46 -0700)]
Move channel expansion/contraction functions to audio_utils/channels.h/.c

Change-Id: I967a062f6c1cb5ae6acb6e92f4f3df00a0336733

9 years agoAdd audio_input_flags_t to HAL open_input_stream
Glenn Kasten [Tue, 15 Jul 2014 18:10:38 +0000 (11:10 -0700)]
Add audio_input_flags_t to HAL open_input_stream

Change-Id: I3519bfa45809e064d19473ebe6489c5249d306a8

9 years agoMarking invalid PCM formats with PCM_FORMAT_INVALID, shrinking format table.
Paul McLean [Wed, 16 Jul 2014 15:40:00 +0000 (08:40 -0700)]
Marking invalid PCM formats with PCM_FORMAT_INVALID, shrinking format table.

Change-Id: I57da4ed85fe128e88e63c03be4fe836f8de76ac8

9 years agoSupport for 32-bit data conversions.
Paul McLean [Fri, 11 Jul 2014 23:29:41 +0000 (16:29 -0700)]
Support for 32-bit data conversions.

Change-Id: I18d955d9b2df99744ae6211bdb924c679ea7a617

9 years agoMerge "Revert "Added enumeration of legitimate sample rates for input and output...
Eric Laurent [Tue, 15 Jul 2014 23:15:33 +0000 (23:15 +0000)]
Merge "Revert "Added enumeration of legitimate sample rates for input and output."" into lmp-dev

9 years agoRevert "Added enumeration of legitimate sample rates for input and output."
Eric Laurent [Tue, 15 Jul 2014 23:15:05 +0000 (23:15 +0000)]
Revert "Added enumeration of legitimate sample rates for input and output."

This reverts commit 0a4f9f6662aad6b97a1877030d5efbcfbd94c03c.

Change-Id: I6e7125aecf2ff2e89a4c9206dc669d8e792a6300

9 years agoAdded enumeration of legitimate sample rates for input and output.
Paul McLean [Tue, 15 Jul 2014 19:35:06 +0000 (12:35 -0700)]
Added enumeration of legitimate sample rates for input and output.

Change-Id: Ib53ec5254bd47761dbce84646a841eb9b32fd62a

9 years agoMerge "Added enumeration of legitimate sample rates for input and output." into lmp-dev
Paul McLean [Tue, 15 Jul 2014 23:07:19 +0000 (23:07 +0000)]
Merge "Added enumeration of legitimate sample rates for input and output." into lmp-dev

9 years agoMerge "Fix warnings" into lmp-dev
Glenn Kasten [Tue, 15 Jul 2014 23:00:47 +0000 (23:00 +0000)]
Merge "Fix warnings" into lmp-dev

9 years agoFix warnings
Glenn Kasten [Tue, 15 Jul 2014 18:11:01 +0000 (11:11 -0700)]
Fix warnings

Change-Id: I1ba5c871a1cb44df8c383f595cbe6d75fef02aa3

9 years agoSupport for 32-bit data conversions.
Paul McLean [Fri, 11 Jul 2014 23:29:41 +0000 (16:29 -0700)]
Support for 32-bit data conversions.

Change-Id: I18d955d9b2df99744ae6211bdb924c679ea7a617

Conflicts:
modules/usbaudio/audio_hw.c

9 years agoMerge "hwcomposer: Allow display configuration selection"
Michael Lentine [Tue, 15 Jul 2014 00:11:50 +0000 (00:11 +0000)]
Merge "hwcomposer: Allow display configuration selection"

9 years agohwcomposer: Allow display configuration selection
Dan Stoza [Tue, 6 May 2014 22:56:59 +0000 (15:56 -0700)]
hwcomposer: Allow display configuration selection

Adds two functions to the HWC interface: one for querying the current
display configuration, and one for setting a new configuration. This
will enable DisplayManager to change the mode on demand.

Bug: 14320401
Change-Id: I556c509192b877b38b2103a78f937b3687f35546

9 years agoMerge "Added enumeration of legitimate sample rates for input and output."
Paul McLean [Mon, 14 Jul 2014 22:22:02 +0000 (22:22 +0000)]
Merge "Added enumeration of legitimate sample rates for input and output."

9 years agoAdded enumeration of legitimate sample rates for input and output.
Paul McLean [Fri, 11 Jul 2014 22:14:19 +0000 (15:14 -0700)]
Added enumeration of legitimate sample rates for input and output.

Added device_profile to enable refactoring of query methods.
Refactored query methods (in_get_parameters/out_getParameters)
  in terms of device_get_parameters.
Freeing ALSA parameter structures (pcm_params_free)

Eliminated unnecessay input & output card/device (to support
 other changes).

Change-Id: I771cf4681a628f87ca6d6ee3f85f76ae4d7f1504

9 years agoMerge "Use the term port_id for HDMI port index across definitions"
Jinsuk Kim [Fri, 11 Jul 2014 02:39:35 +0000 (02:39 +0000)]
Merge "Use the term port_id for HDMI port index across definitions"

9 years agoUpdate GPS HAL to accept raw data.
destradaa [Tue, 29 Apr 2014 17:50:22 +0000 (10:50 -0700)]
Update GPS HAL to accept raw data.

Change-Id: Id487c2f9eb4bc95d89dc0fba1332f666ae332ee0

9 years agoUse the term port_id for HDMI port index across definitions
Jinsuk Kim [Wed, 9 Jul 2014 08:17:24 +0000 (17:17 +0900)]
Use the term port_id for HDMI port index across definitions

Renamed various terms like, port, port_num to port_id, and
added a description that the id starts from 1.

Change-Id: I9229edff7fd75dd15e672e309369e237ca339238

9 years agoMerge "camera3: fix some spec issue related with input/bidrectional stream"
Zhijun He [Wed, 9 Jul 2014 01:21:24 +0000 (01:21 +0000)]
Merge "camera3: fix some spec issue related with input/bidrectional stream"

9 years agocamera3: fix some spec issue related with input/bidrectional stream
Zhijun He [Mon, 30 Jun 2014 17:35:58 +0000 (10:35 -0700)]
camera3: fix some spec issue related with input/bidrectional stream

Bug: 13934977
Change-Id: Ibccb80e69ac9da153de6378f1e3b0f00527ce4c9

9 years agosound trigger: update HAL
Eric Laurent [Sun, 6 Jul 2014 23:08:45 +0000 (16:08 -0700)]
sound trigger: update HAL

New start_recognition() prototype with recognition
configuration structure specifying:
- List of keyphrases to listen to.
- Recognition mode for each keyphrase
- List of users and min confidence levels for each users

New recognition event format with confidence level and user ID
for each user.

Bug: 12378680.
Change-Id: I95e998c735321ceb5c27f477d894b574a6eca860

9 years agoMerge "audio: different frame size calculation for input and output"
Eric Laurent [Sun, 6 Jul 2014 17:07:22 +0000 (17:07 +0000)]
Merge "audio: different frame size calculation for input and output"

9 years agoam 611a3b71: am 3e618a6a: Merge "gralloc: let target configure page flipping ioctl"
David Turner [Fri, 4 Jul 2014 13:34:54 +0000 (13:34 +0000)]
am 611a3b71: am 3e618a6a: Merge "gralloc: let target configure page flipping ioctl"

* commit '611a3b71431293a123a11af99ff731ab30067632':
  gralloc: let target configure page flipping ioctl

9 years agoam 3e618a6a: Merge "gralloc: let target configure page flipping ioctl"
David Turner [Fri, 4 Jul 2014 13:30:22 +0000 (13:30 +0000)]
am 3e618a6a: Merge "gralloc: let target configure page flipping ioctl"

* commit '3e618a6aa10c783d1536f20edfc3347939cfa18e':
  gralloc: let target configure page flipping ioctl

9 years agoMerge "gralloc: let target configure page flipping ioctl"
David Turner [Fri, 4 Jul 2014 13:20:55 +0000 (13:20 +0000)]
Merge "gralloc: let target configure page flipping ioctl"

9 years agoaudio: different frame size calculation for input and output
Eric Laurent [Wed, 2 Jul 2014 20:45:32 +0000 (13:45 -0700)]
audio: different frame size calculation for input and output

Bug: 15000850.
Change-Id: I7813e99a0b7ce613cc3b7d7c95be0525cb2d6c81

9 years agoam 18cf130c: Fix my-dir issue
Brian Carlstrom [Wed, 2 Jul 2014 23:13:30 +0000 (23:13 +0000)]
am 18cf130c: Fix my-dir issue

* commit '18cf130c439982d1eafa7ef5f598ef7f4b945821':
  Fix my-dir issue

9 years agoMerge "Remove tx_status event in CEC HAL"
Jinsuk Kim [Fri, 4 Jul 2014 05:10:34 +0000 (05:10 +0000)]
Merge "Remove tx_status event in CEC HAL"

9 years agoRemove tx_status event in CEC HAL
Jinsuk Kim [Thu, 3 Jul 2014 00:30:42 +0000 (09:30 +0900)]
Remove tx_status event in CEC HAL

Removes tx_status event type which turns out not in actual use.
This changes makes send_message() work in sychrnonous fashion
when called by HdmiControlService. HdmiControlService has io thread
dedicated to interact with HAL, hence no need to introduce
another async flow for HAL.

Change-Id: I8ae21b1149cd36bfd0f9da215c4f23b30f0c8d30

9 years agoMerge "Multi-format USB audio input"
Paul McLean [Mon, 7 Jul 2014 16:43:45 +0000 (16:43 +0000)]
Merge "Multi-format USB audio input"

9 years agoMulti-format USB audio input
Paul McLean [Wed, 2 Jul 2014 14:27:41 +0000 (07:27 -0700)]
Multi-format USB audio input

Change-Id: I716a9f79dcfea35eacd0aeeda530e3e3c7eb4d32

9 years agoFix my-dir issue
Brian Carlstrom [Mon, 30 Jun 2014 22:15:45 +0000 (15:15 -0700)]
Fix my-dir issue

(cherry picked from commit 52f493189b02c44c6dc329c86da3176ac9c22ad3)

Change-Id: I3dcca1fc0fb9d58f0d2f3867f8ab89f87a983cc1

9 years agoMerge "audio: fixed channel count determination from channel mask"
Eric Laurent [Wed, 2 Jul 2014 16:47:15 +0000 (16:47 +0000)]
Merge "audio: fixed channel count determination from channel mask"

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

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

Bug: 15000850.
Change-Id: I4d803dc3e1cb680baa0022e539e6f9eab3ffef1a

9 years agoBluetooth: Support MAP Client role on Bluedroid.
Hemant Gupta [Fri, 18 Apr 2014 06:55:24 +0000 (12:25 +0530)]
Bluetooth: Support MAP Client role on Bluedroid.

Implementation of MAP Client (MCE) role on
Bluedroid stack. Include MAP Client Interface ID.

Change-Id: Icdf11b7f09a161e35aa3aa68b9b5fa315e18fd65

9 years agoMerge "Add WBS support on Bluedroid (4/6)"
Matthew Xie [Mon, 30 Jun 2014 22:45:59 +0000 (22:45 +0000)]
Merge "Add WBS support on Bluedroid (4/6)"

9 years agoFix my-dir issue
Brian Carlstrom [Mon, 30 Jun 2014 22:15:45 +0000 (15:15 -0700)]
Fix my-dir issue

Change-Id: I9c93a273328ac0c6e96f27870b890a16d18479a5

9 years agoMerge "LE Onfound and Onlost feature"
Wei Wang [Mon, 30 Jun 2014 21:29:49 +0000 (21:29 +0000)]
Merge "LE Onfound and Onlost feature"

9 years agoLE Onfound and Onlost feature
Satya Calloji [Sun, 15 Jun 2014 18:51:38 +0000 (11:51 -0700)]
LE Onfound and Onlost feature

Header changes for on found/onlost feature

Change-Id: I72d49a1b6560c2c913a3b7016b7504eef9962258

9 years agoLE ADV Filter changes
Satya Calloji [Thu, 12 Jun 2014 05:53:12 +0000 (22:53 -0700)]
LE ADV Filter changes

Header changes for ADV filter feature

Change-Id: Ib568f422c4171ed8a3bb42d9e75af5250edf98b6

9 years agoLE Batch scan feature
Satya Calloji [Sun, 11 May 2014 06:37:11 +0000 (23:37 -0700)]
LE Batch scan feature

Header changes for LE Batch scan feature

Change-Id: I32a51331d7a3a8eedf8577a66a8bdf90732f32db

9 years agoMerge "usb audio: fix capture channel conversion"
Eric Laurent [Mon, 30 Jun 2014 14:45:24 +0000 (14:45 +0000)]
Merge "usb audio: fix capture channel conversion"

9 years ago[1/2] Bluetooth: Security: Handle authentication rejected error status
Hemant Gupta [Wed, 31 Jul 2013 13:44:02 +0000 (19:14 +0530)]
[1/2] Bluetooth: Security: Handle authentication rejected error status

Handle authentication rejected error status in failure scenario.

Change-Id: Ibd59d161ee5481ced2cb078a6ee6f4a6b045bcd4

9 years agousb audio: fix capture channel conversion
Eric Laurent [Sat, 28 Jun 2014 01:39:21 +0000 (18:39 -0700)]
usb audio: fix capture channel conversion

Change-Id: Ibdff053bd6ecc4bf2bc8bb51384098911f52f6ef

9 years agoMerge "LE ADV Filter changes"
Wei Wang [Mon, 30 Jun 2014 21:29:27 +0000 (21:29 +0000)]
Merge "LE ADV Filter changes"

9 years agoMerge "LE Batch scan feature"
Wei Wang [Mon, 30 Jun 2014 21:29:11 +0000 (21:29 +0000)]
Merge "LE Batch scan feature"

9 years agoMulti-format USB Audio suport
Paul McLean [Wed, 25 Jun 2014 17:42:07 +0000 (10:42 -0700)]
Multi-format USB Audio suport

Change-Id: I2815e1dc38d39a3d88fb0affd52b1b9f50a73b92

9 years agoLE: Add notification sent and congestion callbacks (1/4)
Andre Eisenbach [Fri, 28 Mar 2014 21:53:33 +0000 (14:53 -0700)]
LE: Add notification sent and congestion callbacks (1/4)

This change introduces two new callbacks for applications to better
handle LE notification flow control and transport congestion. The
notification callback is invoked when the remote platform confirms an
indication or when a local notification has been passed to the
controller. No new notifications should be sent until a callback is
received.

Congestion callbacks are triggered when a GATT operation cannot be sent
to the local Bluetooth controller. Repeatedly calling
writeCharacteristic() for example will eventually trigger a congestion
callback. Applications cannot send additional data until a further
callback is received, indicating that the congestion has cleared up.

Change-Id: I613cbf968770921f853a407888bb8308849039f3

9 years agoAdd WBS support on Bluedroid (4/6)
Mudumba Ananth [Mon, 28 Apr 2014 04:04:35 +0000 (21:04 -0700)]
Add WBS support on Bluedroid (4/6)

     Bug 13764086

Change-Id: I7938758d39aaa1218c38956be41d8402f84c2f49

9 years agoMerge "LE: Add is_connected() function (1/3)"
Andre Eisenbach [Fri, 20 Jun 2014 22:18:04 +0000 (22:18 +0000)]
Merge "LE: Add is_connected() function (1/3)"

9 years agoImplement minimal buffer size for playback
Paul McLean [Thu, 19 Jun 2014 19:35:28 +0000 (12:35 -0700)]
Implement minimal buffer size for playback

This will enable low-latency playback in mixer/audioflinger.

Change-Id: I415aa1b92e3c6f945a48be7b626527f0b02a82d7

9 years agoLE: Add is_connected() function (1/3)
Andre Eisenbach [Wed, 18 Jun 2014 19:18:34 +0000 (12:18 -0700)]
LE: Add is_connected() function (1/3)

Change-Id: I1b94ab0c8b0ff2e1026a4f5bbe95dca25be3d104

9 years agoMerge "Minor cleanup of HAL fingerprint API"
Jim Miller [Tue, 17 Jun 2014 20:20:48 +0000 (20:20 +0000)]
Merge "Minor cleanup of HAL fingerprint API"

9 years agoMerge "usb audio: fix usb capture configuration"
Eric Laurent [Tue, 17 Jun 2014 18:26:43 +0000 (18:26 +0000)]
Merge "usb audio: fix usb capture configuration"

9 years agoMinor cleanup of HAL fingerprint API
Jim Miller [Tue, 17 Jun 2014 00:59:40 +0000 (17:59 -0700)]
Minor cleanup of HAL fingerprint API

Change-Id: I7a4b1caadfe499d2394c8645e45903759b672e8b

9 years agoam c384b186: Don\'t pass up bad sensor event packets to Sensor Services
Nick Vaccaro [Wed, 11 Jun 2014 19:53:01 +0000 (19:53 +0000)]
am c384b186: Don\'t pass up bad sensor event packets to Sensor Services

* commit 'c384b1863768d424116c1bcc7f26f5764c35c330':
  Don't pass up bad sensor event packets to Sensor Services