Commit graph

1835 commits

Author SHA1 Message Date
Jungshik Jang
8af5daea50 Fix typo in mhl hal.
Bug: 16215362
Change-Id: Ic9d5a127007867ea72b2fa4040b917a2eef3fc39
2014-08-11 16:18:57 +09:00
Zhijun He
1c3e65731a Camera2/3 HAL test: Update tet according createStream change
Bug: 14327010
Change-Id: I45d2ab4859ee0cc9273e579254f0569108c748f1
2014-08-10 21:24:49 -07:00
Andre Eisenbach
005b123e41 Merge "LE: Add limited advertising duration capability (1/3)" into lmp-dev 2014-08-06 23:49:20 +00:00
Zhijun He
b5ac45ff29 Camera2/3 Test: cleanup the test
1. Fix the HAL version check
2. Disable some test temporarily as the deprecated tags were used.

Bug: 16855498
Change-Id: I9f9dc285a1085b471d03c5a900cc44dd2a7480c3
2014-08-07 16:26:52 -07:00
Andre Eisenbach
4789ed595a LE: Add limited advertising duration capability (1/3)
Change-Id: I14006aa96758c285a1d88aef12df11cf28598028
2014-08-07 15:18:34 -07:00
Jinsuk Kim
bf882b4cd7 Merge "CEC: Update mhl header" into lmp-dev 2014-08-05 00:07:36 +00:00
Eric Laurent
44b2719dcf Merge "usb audio: fix set_parameters read/write concurrency" into lmp-dev 2014-08-06 17:19:40 +00:00
Eric Laurent
05333d458d usb audio: fix set_parameters read/write concurrency
Do not read the ALSA PCM device configuration when playback
or capture is active.
Do not force ALSA profile update if card and device passed
to out/in_set_parameters() do not change.
Hold the main HAL lock when closing or opening the
ALSA PCM device.

Bug: 15520724.

Change-Id: I2b6087ed46ce7433de0b6dd8b24ec10de2e55d21
2014-08-06 14:18:26 -07:00
Jinsuk Kim
caeb4f61d2 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
2014-08-06 16:10:43 +09:00
Eric Laurent
4ea9b95684 audio HAL: add parameter to get audio HW sync source
Bug: 16132368.
Change-Id: Id76ce254b73ea11316cc684399de8d9c520c9b9b
2014-08-05 15:02:46 -07:00
Eric Laurent
ba3c1a972e Merge "sound_trigger HAL update" into lmp-dev 2014-08-05 00:34:22 +00:00
destradaa
6ca86fbe16 Merge "Add HAL capabilities for GPS Measurements and Navigation Messages." into lmp-dev 2014-08-04 23:37:12 +00:00
destradaa
69d5ea5dac Add HAL capabilities for GPS Measurements and Navigation Messages.
Change-Id: I2ed41f2c048cfe82a539b3a4e955305787731a95
2014-08-04 18:07:46 -07:00
Andre Eisenbach
01206e579c Add transport parameter to createBond() function (1/4)
Change-Id: I8373ace899444c138907aaecc0f067188b0a7d90
2014-08-04 17:22:29 -07:00
Eric Laurent
83cd830918 sound_trigger HAL update
Bug: 12378680.

Change-Id: I556cd316cbff3b8d88331319ca0ad65a09aae0f9
2014-07-31 11:16:16 -07:00
Aravind Akella
fa9a4a3c68 Merge "Remove WAKE_UP_* sensor constants and stringTypes." into lmp-dev 2014-07-29 21:36:00 +00:00
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
Aravind Akella
9057e128b0 Remove WAKE_UP_* sensor constants and stringTypes.
Change-Id: Iabe4bb064d88d9fcecc1a31e609cb8b77ebdd5ad
2014-07-30 16:27:36 -07: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