Commit graph

746 commits

Author SHA1 Message Date
Glenn Kasten
6b6f19d0a8 Line length 100
Change-Id: Iaef5bcaec19a9e383432c8c8460bcdf1115f1072
2014-12-30 08:32:04 -08:00
Jinsuk Kim
4b280b0cd0 CEC: Add a parameter port ID to set_audio_return_channel
This CL addresses the cases where TV has more than one ARC-supported
HDMI ports.

Bug: 18781204

Change-Id: I4eaeb755caf2552b826a7322d19ee671407ee43f
2014-12-17 17:35:14 +09:00
Andre Eisenbach
285fed0963 Add server-side callback for change in MTU (1/4)
When a client requests to update the LE transport MTU, the server
currently does not get notified and can therefor not properly size
notifications appropriate to the current MTU.

Bug: 18388114
Change-Id: I136f32cba48da3302e13fb9a9ec81b8e01712138
2014-11-26 12:56:23 -08:00
Daniel Estrada Alva
700d2c2cf5 Merge "Fix typo and add more detailed comments on what we expect from GPS HAL. b/16727892" into lmp-mr1-dev 2014-11-06 21:52:43 +00:00
Ruchi Kandoi
0e6a158eaf Merge "power: Adds setFeature functionality for the power module" into lmp-mr1-dev 2014-10-31 23:31:09 +00:00
Tsuwei Chen
a90cf193b9 Fix typo and add more detailed comments on what we expect from GPS HAL.
b/16727892

Change-Id: I73d3ea3e743846b9e579c78b80d7a393319c09f1
2014-10-31 13:43:07 -07:00
Ruchi Kandoi
d091713884 power: Adds setFeature functionality for the power module
Adds the setFeature callback which could be used to enable/disable
power as well as performance specific features.

POWER_FEATURE_DOUBLE_TAP_WAKE is added which uses the setFeature
callback to enable/disable the double-tap feature.

Bug: 16875464
Change-Id: I5ed9b5be8fddedf9861eedd962def421d9fac5bf
2014-10-31 10:58:30 -07:00
Wonsik Kim
357ce00a5b Merge "tv_input: more documentation to events" into lmp-mr1-dev 2014-10-23 06:55:32 +00:00
Wonsik Kim
fbb4412b1c tv_input: more documentation to events
Bug: 18047715
Change-Id: I63fd594d3380f92fce3224a258060ca2bf37e79b
2014-10-23 14:11:19 +09:00
Eric Laurent
bc19a3de77 audio: new parameter key for HW A/V sync ID allocation
The HW A/V sync ID is retrieved from the HAL by calling
global get_parameters() with key AUDIO_PARAMETER_HW_AV_SYNC.

After the output stream is opened, the HW A/V sync ID is communicated
by stream set_parameters() with key AUDIO_PARAMETER_STREAM_HW_AV_SYNC.

Bug: 17112525.
Change-Id: Id1e3a3aa1e88d15461a609b381ca8c1902735a29
2014-10-20 09:58:04 -07:00
Eino-Ville Talvala
b545983975 Camera HALs: Promote device HAL v3.2
And deprecate older HALs.

Bug: 17445920
Change-Id: I37a5e53fda3c93080e37ec848f84c702a2c9120b
2014-09-10 11:13:16 -07:00
Aravind Akella
110d2f2713 sensors.h documentation change.
i) on-change sensors should set maxDelay.
  ii) Drivers should hold a wake_lock till poll() is called
  the next time when delivering events from wake-up sensors.

Change-Id: I4b137843d5c857f04601618548306a710fbfbe5c
2014-09-05 14:50:07 -07:00
Tsuwei Chen
02516c78f3 Merge "Creates interface to dynamically configure GPS. Bug: 17110478 Change-Id: I2a053d02e3c198d519d6306809f81ff601169151" into lmp-dev 2014-09-02 17:01:23 +00:00
Tsuwei Chen
167d31f528 Creates interface to dynamically configure GPS.
Bug: 17110478
Change-Id: I2a053d02e3c198d519d6306809f81ff601169151
2014-08-30 00:16:14 +00:00
Griff Hazen
f0f67e6af9 Merge commit '38014a7c' into lmp-dev
Conflicts:
	include/hardware/sensors.h

Change-Id: I21517f717761af7f52c003d535e86059ebb75f05
2014-08-28 17:02:50 -07:00
Vinod Krishnan
38014a7c81 am 74279e3c: Adding information about the first activation
* commit '74279e3c23bd62c70d53098be91db85df5a68ece':
  Adding information about the first activation
2014-08-28 23:08:37 +00:00
Vinod Krishnan
74279e3c23 Adding information about the first activation
Change-Id: If5759749c5e6a88dcaf5ab600c9086b056c3908a
2014-08-28 15:25:13 -07:00
Paul McLean
2c6196f20c Fix problem with dropouts with multiple USB audio streams.
Bug 17136569

Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
2014-08-28 07:59:03 -07:00
Aravind Akella
a7f2cda848 Sensor HAL documentation fix.
Change-Id: Ibc3f643a22163f734ba0ca912f011decf55d9bfa
2014-08-21 16:31:14 -07:00
Etienne Le Grand
772d85ad35 Some parameter renaming and comment update in sensors.h
bug: 16818625
Change-Id: Ifcda8cd4e80a7377a6b5b138b9c7a5a2275af153
2014-08-19 17:29:10 -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
Andre Eisenbach
4789ed595a LE: Add limited advertising duration capability (1/3)
Change-Id: I14006aa96758c285a1d88aef12df11cf28598028
2014-08-07 15:18:34 -07: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
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
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
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