Commit graph

1768 commits

Author SHA1 Message Date
Prerepa Viswanadham
378de1a9e0 Incorrect data type. bt_local_le_features_t of wrong size
b/16653133

Change-Id: Icd7a3de6161669f4c54c6042bf80314e72f5f0ff
2014-07-30 23:41:29 +00:00
Eric Laurent
d1a1b1c4df Add parameter key and values for hearing aid compatibility mode
Change-Id: Ibdbe102bd49dbf228af5d4327b1868849c9d754e
2014-07-30 09:49:04 -07:00
Andy Hung
2352f41f9d Merge "Pass multichannel capability to AudioPolicyManager" into lmp-dev 2014-07-29 21:36:00 +00:00
Andy Hung
ce53d748a3 Pass multichannel capability to AudioPolicyManager
Change-Id: Ifcfe5e9e0c01ccb0e9af25e0c718ea5f04181ae4
2014-07-29 09:50:26 -07:00
Andy Hung
03576bed81 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
2014-07-28 17:37:46 -07:00
Andy Hung
b52eff359f Merge "Add multichannel USB handshaking with AudioFlinger" into lmp-dev 2014-07-28 22:45:16 +00:00
Jeff Brown
d61f84efe2 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
2014-07-26 14:58:23 -07:00
Eric Laurent
ca413b6ec9 Merge "audio HAL: add parameters to open stream" into lmp-dev 2014-07-25 21:16:23 +00:00
Eric Laurent
f5e2469c02 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
2014-07-28 11:38:40 -07:00
Jinsuk Kim
634e9484eb 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
2014-07-28 08:04:04 +00:00
Paul McLean
9feacdd708 Merge "Refactor USB HAL (audio_hw.c)" into lmp-dev 2014-07-24 15:36:02 +00:00
Paul McLean
c88e6ae584 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: 15986827, 15856702, 12833166

Change-Id: I82c8d0ef252b2f95ee23f263dc175f4c883bfd64
2014-07-25 12:48:51 -07:00
Martijn Coenen
2a1b8bec59 Merge "Add HAL module ID for BCM2079x." into lmp-dev 2014-07-24 15:36:02 +00:00
Martijn Coenen
93cc45750b Add HAL module ID for BCM2079x.
Bug: 16542494
Change-Id: Ia03f981d134e0f4f2de909f8ab158b28931a1dc0
2014-07-24 18:00:42 -07:00
Eino-Ville Talvala
4ad1309c0c Merge "Camera: Define error codes for remaining camera_module methods." into lmp-dev 2014-07-24 15:37:54 +00:00
Eino-Ville Talvala
c984be747d Camera: Define error codes for remaining camera_module methods.
Not previously documented, though already assumed to be this.

Bug: 16514157
Change-Id: I9334fdf672c9772014681a5c346a6f20b51d8213
2014-07-24 17:04:45 -07:00
Greg Hackmann
6d37e6ac6d update struct-offset.cpp test for hwc 1.4
Change-Id: I882a1741ad473492d4acc58918a54d944ac382c3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-07-24 13:27:07 -07:00
Greg Hackmann
4e6b19fd48 Merge "gralloc: add GRALLOC_USAGE_CURSOR flag" into lmp-dev 2014-07-24 15:36:02 +00:00
Riley Andrews
4a6788b02f Add interface for doing asynchonous cursor layer updates to hwcomposer
Change-Id: If2ab523b400cfb586c8e1fed98f2ebe3538c0419
2014-07-24 00:53:21 +00:00
Greg Hackmann
8931ce18e5 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>
2014-07-23 20:59:44 +00:00
Satya Calloji
be7f044b64 LE energy info feature
Header changes for energy info feature

Change-Id: Ic341ad9089b444960c36beff726fa9ddb5c901a2
2014-07-23 18:52:50 +00:00
destradaa
09c1736aaf Merge "Fix typo in sensor type using an already defined constant." into lmp-dev 2014-07-23 18:50:38 +00:00
destradaa
941c928d9d Add uncertainty for GPS received tow field.
b/16463499

Change-Id: Ib8ddd092f3da8295345524846e3ea0bcce59ccc2
2014-07-21 18:26:34 -07:00
destradaa
5ebb31c9bc Fix typo in sensor type using an already defined constant.
Change-Id: I209d9191456dc6c1ef2eb695c9a8348a18504a8d
2014-07-21 15:12:21 -07:00
destradaa
122b588b78 Merge "Update GPS measurement HAL definition." into lmp-dev 2014-07-21 15:42:19 +00:00
Wonsik Kim
962e9adc2f 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
2014-07-19 16:17:46 +09:00
Jeff Brown
842b906dd4 Add new HWC_POWER_MODE_DOZE_SUSPEND power state.
Change-Id: Ice194315bc51ca25732c9e30c809bd6b39f3718f
2014-07-18 21:28:19 -07:00
destradaa
75843eb756 Update GPS measurement HAL definition.
b/16374800

Change-Id: I39602e4b7dedeca5de866cdb996887ae53d5aa9d
2014-07-17 18:33:00 -07:00
Jungshik Jang
c48c879bdd Merge "Update comment for send message." into lmp-dev 2014-07-17 21:11:29 +00:00
Jungshik Jang
2b863dc444 Update comment for send message.
HAL should not handle retransmission because it's handled by
hdmi control service.

Change-Id: I0daf1baf6f87805e2049ff84c6f8c2cace76dba2
2014-07-21 18:06:01 +09:00
Andre Eisenbach
b381645856 Merge "LE: Add connection parameter update request API (1/4)" into lmp-dev 2014-07-17 17:59:02 +00:00
Andre Eisenbach
da4eaca2cc LE: Add connection parameter update request API (1/4)
Change-Id: I90955b5e1640f7025e864ac9227af6ad8ba5ca77
2014-07-18 12:15:03 -07:00
Jeff Brown
8df2feb00d Add glance gesture for doze mode.
Change-Id: I2daa13e74d2183247c314c15ee283b7a6c20bc22
2014-07-17 18:20:12 -07:00
Paul McLean
845e78993b Merge "Move channel expansion/contraction functions to audio_utils/channels.h/.c" into lmp-dev 2014-07-17 21:15:46 +00:00
Aravind Akella
2d613f8526 Merge "Define SENSOR_TYPE_PICK_UP_GESTURE." into lmp-dev 2014-07-17 18:05:14 +00:00
Aravind Akella
952471eb99 Define SENSOR_TYPE_PICK_UP_GESTURE.
Change-Id: I122f37f5625a2acc3912ad37bdf8717ae2f31b6f
2014-07-17 12:55:43 -07:00
Paul McLean
c2201159bb Move channel expansion/contraction functions to audio_utils/channels.h/.c
Change-Id: I967a062f6c1cb5ae6acb6e92f4f3df00a0336733
2014-07-16 15:29:31 -07:00
Glenn Kasten
7d973adff4 Add audio_input_flags_t to HAL open_input_stream
Change-Id: I3519bfa45809e064d19473ebe6489c5249d306a8
2014-07-16 12:29:35 -07:00
Paul McLean
a02bc9d4c3 Marking invalid PCM formats with PCM_FORMAT_INVALID, shrinking format table.
Change-Id: I57da4ed85fe128e88e63c03be4fe836f8de76ac8
2014-07-16 09:30:03 -07:00
Paul McLean
eb192973f3 Support for 32-bit data conversions.
Change-Id: I18d955d9b2df99744ae6211bdb924c679ea7a617
2014-07-15 17:11:47 -07:00
Eric Laurent
b8fdeeedc5 Merge "Revert "Added enumeration of legitimate sample rates for input and output."" into lmp-dev 2014-07-15 20:39:52 +00:00
Eric Laurent
13082efc62 Revert "Added enumeration of legitimate sample rates for input and output."
This reverts commit 0a4f9f6662aad6b97a1877030d5efbcfbd94c03c.

Change-Id: I6e7125aecf2ff2e89a4c9206dc669d8e792a6300
2014-07-15 23:15:05 +00:00
Paul McLean
497abe3d99 Added enumeration of legitimate sample rates for input and output.
Change-Id: Ib53ec5254bd47761dbce84646a841eb9b32fd62a
2014-07-15 22:20:04 +00:00
Paul McLean
f899cc1c93 Merge "Added enumeration of legitimate sample rates for input and output." into lmp-dev 2014-07-15 20:39:52 +00:00
Glenn Kasten
2cd18a8715 Merge "Fix warnings" into lmp-dev 2014-07-15 20:39:52 +00:00
Glenn Kasten
6c2a68d081 Fix warnings
Change-Id: I1ba5c871a1cb44df8c383f595cbe6d75fef02aa3
2014-07-15 11:17:19 -07:00
Paul McLean
0467a5fe3e Support for 32-bit data conversions.
Change-Id: I18d955d9b2df99744ae6211bdb924c679ea7a617

Conflicts:
	modules/usbaudio/audio_hw.c
2014-07-15 10:54:26 -07:00
Michael Lentine
9d5428c4c7 Merge "hwcomposer: Allow display configuration selection" 2014-07-14 23:57:14 +00:00
Dan Stoza
e83d10c1fc 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
2014-07-14 14:09:13 -07:00
Paul McLean
d78598d969 Merge "Added enumeration of legitimate sample rates for input and output." 2014-07-14 18:37:53 +00:00