Commit graph

718 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
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
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
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
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
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
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
Glenn Kasten
7d973adff4 Add audio_input_flags_t to HAL open_input_stream
Change-Id: I3519bfa45809e064d19473ebe6489c5249d306a8
2014-07-16 12:29:35 -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
Jinsuk Kim
299664d8e8 Merge "Use the term port_id for HDMI port index across definitions" 2014-07-10 21:52:20 +00:00
destradaa
9f7c3734df Update GPS HAL to accept raw data.
Change-Id: Id487c2f9eb4bc95d89dc0fba1332f666ae332ee0
2014-07-09 10:55:30 -07:00
Jinsuk Kim
ca6fa79703 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
2014-07-09 17:17:24 +09:00
Zhijun He
aba57fb4e5 Merge "camera3: fix some spec issue related with input/bidrectional stream" 2014-07-08 21:53:37 +00:00
Zhijun He
52a188993a camera3: fix some spec issue related with input/bidrectional stream
Bug: 13934977
Change-Id: Ibccb80e69ac9da153de6378f1e3b0f00527ce4c9
2014-07-08 13:59:41 -07:00
Eric Laurent
30f3e6d348 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
2014-07-07 10:15:45 -07:00
Eric Laurent
c51e49259a Merge "audio: different frame size calculation for input and output" 2014-07-06 02:28:07 +00:00
Eric Laurent
c5ae6a0304 audio: different frame size calculation for input and output
Bug: 15000850.
Change-Id: I7813e99a0b7ce613cc3b7d7c95be0525cb2d6c81
2014-07-03 16:51:09 -07:00
Jinsuk Kim
ada8314004 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
2014-07-03 09:37:10 +09:00
Hemant Gupta
053cccfe14 Bluetooth: Support MAP Client role on Bluedroid.
Implementation of MAP Client (MCE) role on
Bluedroid stack. Include MAP Client Interface ID.

Change-Id: Icdf11b7f09a161e35aa3aa68b9b5fa315e18fd65
2014-07-01 10:36:44 -07:00
Matthew Xie
549e6be33d Merge "Add WBS support on Bluedroid (4/6)" 2014-06-30 22:27:39 +00:00
Satya Calloji
3154babbb6 LE Onfound and Onlost feature
Header changes for on found/onlost feature

Change-Id: I72d49a1b6560c2c913a3b7016b7504eef9962258
2014-06-30 10:43:31 -07:00
Satya Calloji
a28f92a7f5 LE ADV Filter changes
Header changes for ADV filter feature

Change-Id: Ib568f422c4171ed8a3bb42d9e75af5250edf98b6
2014-06-30 10:43:31 -07:00
Satya Calloji
20a1a05996 LE Batch scan feature
Header changes for LE Batch scan feature

Change-Id: I32a51331d7a3a8eedf8577a66a8bdf90732f32db
2014-06-30 10:43:31 -07:00
Hemant Gupta
4d8645547d [1/2] Bluetooth: Security: Handle authentication rejected error status
Handle authentication rejected error status in failure scenario.

Change-Id: Ibd59d161ee5481ced2cb078a6ee6f4a6b045bcd4
2014-06-29 11:53:55 -07:00
Andre Eisenbach
9ef3c72ef3 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
2014-06-25 14:00:30 -07:00
Mudumba Ananth
3c4db4c560 Add WBS support on Bluedroid (4/6)
Bug 13764086

Change-Id: I7938758d39aaa1218c38956be41d8402f84c2f49
2014-06-23 23:27:34 -07:00
Andre Eisenbach
0d553bc12f LE: Add is_connected() function (1/3)
Change-Id: I1b94ab0c8b0ff2e1026a4f5bbe95dca25be3d104
2014-06-19 11:32:12 -07:00
Jim Miller
953524b2bd Minor cleanup of HAL fingerprint API
Change-Id: I7a4b1caadfe499d2394c8645e45903759b672e8b
2014-06-16 21:06:13 -07:00
Wonsik Kim
ace6d32dd7 Merge "tv_input: Add HDMI port ID" 2014-06-10 22:29:12 +00:00