Commit graph

3009 commits

Author SHA1 Message Date
TreeHugger Robot
0154a6b08d Merge "HWC2: Clarify null client target handle" into nyc-dev 2016-05-04 20:51:28 +00:00
Ajay Panicker
4048610354 Add guest mode functionality (1/3)
Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428
2016-05-04 12:46:31 -07:00
Dan Stoza
3abcfa53c0 HWC2: Clarify null client target handle
Documentation-only change that clarifies that in the case where the
client isn't compositing any of the layers, the buffer handle
provided to setClientTarget may be null, and that this should not be
treated as an error by the device.

Bug: 28569722
Change-Id: Ia5825eb0a80c7f838894642654db7d7be14a3b6b
2016-05-04 12:21:06 -07:00
Ruben Brunk
e0eb33f6d5 Update VR HAL docs.
Bug: 28526281
Change-Id: If9673af47962f6fadd10f8a622e9587245f7ffb6
2016-05-04 18:45:23 +00:00
Dongwon Kang
da941d8f1c Revert "tv_input: add signal detection flag to stream config"
This reverts commit d15399e13d.

Change-Id: I02ef4ac7b796f3380616c08a42ecc4ad2d5e3474
2016-05-03 23:44:53 +00:00
Alexey Polyudov
d6c2deb560 Merge "nanohub HAL: define magic value for nanoapp" into nyc-dev 2016-05-02 20:49:58 +00:00
Daniel Estrada Alva
129b414d7a Merge "Add definition of an event send from a nano app to host." into nyc-dev 2016-04-29 19:23:47 +00:00
destradaa
20f473c1e1 Add definition of an event send from a nano app to host.
Bug: 28273520
Change-Id: I4d5f7a6a844d542078a69155f166b0a7b0bc814c
2016-04-28 18:43:14 -07:00
Alexey Polyudov
83d5aa2658 nanohub HAL: define magic value for nanoapp
Bug: 28265099
Change-Id: Ifd8082aa7a72af9a02e9ad6bc66100e465f46ec0
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2016-04-28 16:09:54 -07:00
Badhri Jagan Sridharan
920f395349 Merge "power: Platform-level low power state stats" into nyc-dev 2016-04-27 23:32:17 +00:00
Badhri Jagan Sridharan
2b238d6935 power: Platform-level low power state stats
Add interface to export export platform-level power stats
to BatteryStatsService.

Bug: 26564574

Change-Id: Ibd452c46d91b0055bc5aa0e6b2cc8ee7b428ea31
2016-04-27 14:01:06 -07:00
Bryce Lee
795b359d60 DO NOT MERGE ANYWHERE Add new foreground load power hint. am: ae4fc8f -s ours
am: ab93a6d  -s ours

* commit 'ab93a6d6b681bf2bdcbd4cf4d20bb0c6412978d1':
  DO NOT MERGE ANYWHERE Add new foreground load power hint.

Change-Id: I3c2200326c2878609403f3f92801aedca6391b33
2016-04-27 20:35:25 +00:00
Bryce Lee
ab93a6d6b6 DO NOT MERGE ANYWHERE Add new foreground load power hint.
am: ae4fc8f  -s ours

* commit 'ae4fc8f4d4877c31d8d1925184427390d539c637':
  DO NOT MERGE ANYWHERE Add new foreground load power hint.

Change-Id: I210ccf49820e3a10bed2ded67a7d92b36d10c9d0
2016-04-27 20:05:27 +00:00
Peng Xu
2235cac9ba Merge "[sensor] clarify definition of the uuid field" into nyc-dev 2016-04-27 19:37:57 +00:00
Bryce Lee
ae4fc8f4d4 DO NOT MERGE ANYWHERE Add new foreground load power hint.
This power hint allows the underlying hardware to be aware when an
intensive foreground activity is active, allowing for resources to be
adjusted accordingly.

Bug: 26987295
Change-Id: I834d2227c7f86e9426d0fab20910d565125bd184
2016-04-27 07:28:05 -07:00
Peng Xu
69b5dba69c [sensor] clarify definition of the uuid field
Add description of the byte order the uuid field should use along
with an expample.

Bug: 28305085
Change-Id: If607631f15c1611bd51b158bd80eac1eef331b4b
2016-04-26 19:04:01 +00:00
Keun-young Park
f7097585dc clarify set failure due to power down
- some properties can have separate propety control power state
  and setting such property when it is powered off should
  lead into returning error from hal. Define -ESHUTDOWN as
  error code to use in such case.

bug: 28385609
Change-Id: I41c1519ad00b43a83f3aa4e5f0627d75d87a960b
2016-04-25 18:10:45 -07:00
Keun-young Park
f1ccec1dd1 make some HVAC properties zoned
- some cars supprot them as zoned property
- If there is only one global control, only one zone (VEHICLE_ZONE_ALL)
  should be declared for the property.
- also fixed errata in VEHICLE_FLOAT_OUT_OF_RANGE_OFF

bug: 28285692
Change-Id: I35c81fef70d7dff080da9dd52c8d0bb97727e94b
2016-04-22 16:55:46 -07:00
Ajay Panicker
6366e2328f Add guest mode functionality (3/5)
Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428
2016-04-20 00:45:11 +00:00
Nick Vaccaro
a889c0915a Sensors: MultiHal: fix naming and compiler warning
Changed module name back to sensors.$(TARGET_DEVICE) to assure
proper load ordering.

Fix use of GNU old-style field designator extension and a couple
type-mismatched comparisons.

Bug: 28251347
Change-Id: I7cf6cc1f78085b8b254729cd8ec42bdb20ea3f81
2016-04-18 16:37:34 -07:00
TreeHugger Robot
8215dffa4a Merge "nanohub: Fix error in HAL definition" into nyc-dev 2016-04-15 23:04:21 +00:00
Sanket Agarwal
ce917e4416 Add interface for focus gain in A2DP SNK audio track.
Bug: b/28065071
Change-Id: If5d3f197ac2e8d73f3f2e8edf764c84e5e08e6e8
2016-04-15 20:22:52 +00:00
Alexey Polyudov
ed7197e358 nanohub: Fix error in HAL definition
HAL info structure can not have pointers
Ideally this would become variable sized array,
but JNI is expecting fixed-size array here,
so, define reasonable size (2), which fits all the
known cases.

Change-Id: I1752d5bef9db60570b03a8dc8e54da2277aca95a
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2016-04-15 12:09:24 -07:00
Dan Stoza
c331570b5a Merge "Gralloc 1.0" into nyc-dev 2016-04-12 19:26:24 +00:00
Ashutosh Joshi
0675b44089 Clarify Context hub implementation.
Document message format.
Document nanoApp format.

Change-Id: Ibfa231c98249f2b3759c84af50c3e5e722553c3c
2016-04-12 11:27:06 -07:00
Dan Stoza
1fbe9cc5bd Gralloc 1.0
Header for version 1.0 of the gralloc HAL

Bug: 22767098
Change-Id: Ib89a18dca4dcbb3c1d343ee38a7f06bcafe2589c
2016-04-12 00:30:32 +00:00
Alexey Polyudov
ca2a3dffb3 Merge "contexthub: redefine hub_app_name" into nyc-dev 2016-04-11 20:28:56 +00:00
Alexey Polyudov
da38a70141 contexthub: redefine hub_app_name
also define some helper macros to simpify app id definitions

Bug: 28086503
Change-Id: Ib04069889b24d057db5fcd3a408c845951cafeea
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2016-04-11 11:27:09 -07:00
Arunesh Mishra
041e2a2b9e Merge "Add "clear" command." into nyc-dev 2016-04-09 01:49:38 +00:00
Wyatt Riley
446c2bc137 Merge "Fixed the sign error in GnssClock" into nyc-dev 2016-04-08 23:41:16 +00:00
Lifu Tang
d46260a380 Fixed the sign error in GnssClock
Bug: 28068514
Change-Id: I6e227caca520aa19ef586e1436f704dad741e3bb
2016-04-08 14:03:19 -07:00
Dan Stoza
b810dcff1c Merge "HWC2: Add getHdrCapabilities" into nyc-dev 2016-04-08 19:09:21 +00:00
Arunesh Mishra
57ec0192a5 Add "clear" command.
Minor visual fixes for the command line interface.

 Bug: 27279191

Change-Id: Ibb20231125c5d46bffc9241711c46dd8101dffb3
2016-04-08 09:55:16 -07:00
Keun-young Park
418c7e8fc9 vehicle hal further clarification / HVAC update
- added HVAC_POWER_ON property
- added special INT / FLOAT OUT_OF_RANGE values for
  max / min / off state
- added dump call for debugging: necessary for debugging
- clarified subscribe behavior for ON_CHANGE type
  VNS will make additional get call for checking initial
  state.
- added clarification on possible -EAGAIN for set call
- added mute flag to allow muting radio from android

bug: 27721415
bug: 28022648
bug: 27971383
bug: 27971578

Change-Id: Ie9a7334b86ab53174b91a4dc651fd87ca17af3d9
2016-04-06 15:37:07 -07:00
Jean-Michel Trivi
79fbccf91b Fix typo in error logs in r_submix open_input_stream function
Change-Id: I52d5268290802e3f0a88662aa6fbe9a46efda735
2016-04-05 17:20:29 -07:00
Ryan Bavetta
0718681e3e Merge "Fix build error in stub soundtrigger HAL" into nyc-dev 2016-04-01 22:07:14 +00:00
Ruben Brunk
00a5d61408 Merge "Update temp limits in thermal HAL impl." into nyc-dev 2016-03-31 18:03:35 +00:00
Peng Xu
df8dcd2d8c Merge "Add two sensor flags" into nyc-dev 2016-03-31 01:20:41 +00:00
Peng Xu
d156299686 Add two sensor flags
Add sensor flag for indication of dynamically added sensor and
support of additional information.

Change-Id: I02ee7d6d325f6cb04f371bcde6bb755f52720671
2016-03-30 15:58:39 -07:00
Chris Thornton
0a965102e7 Bump the sound trigger device api's minor version number.
This is needed so we know if we should look for the
stop_all_recognitions function.

Change-Id: Ifa1d7ac0fa293e04bf80729bf34fefa48e74b8bb
2016-03-30 11:25:11 -07:00
Ryan Bavetta
12b20e31d1 Fix build error in stub soundtrigger HAL
Also combines sound model events and trigger events

BUG:27852833
Change-Id: I277b35a5b32c18b09a2c68024f30f9b981688900
2016-03-29 13:09:51 -07:00
Greg Kaiser
67bb01cf91 Merge "context_hub: Fix version defines" into nyc-dev 2016-03-29 19:30:41 +00:00
Keun-young Park
7d2576fca0 Merge "fix wrong description in AUDIO_HW_VARIANT" into nyc-dev 2016-03-29 18:22:20 +00:00
Chris Thornton
caa94e5e2b Merge "Adds stop_all_recognitions as an optional method to the sound trigger hal." into nyc-dev 2016-03-29 17:40:29 +00:00
Keun-young Park
637fb20bd1 fix wrong description in AUDIO_HW_VARIANT
- simplify it as external vs internal radio

bug: 27898442
Change-Id: I31c6984caf902566c65b1911a59d58c98e19e25b
2016-03-29 09:56:16 -07:00
Chris Thornton
42a448d790 Adds stop_all_recognitions as an optional method to the sound trigger hal.
Change-Id: I6c905b79673fe21782f5dc5f3abc4c2ac75de805
2016-03-29 09:19:44 -07:00
Ajay Panicker
a7d043576d Revert "Add guest mode functionality (3/5)"
This reverts commit 72642d6583.

Change-Id: Iebd5764811dd66c87ca2d633900a2094eb085b38
2016-03-28 21:59:06 +00:00
Dan Stoza
f601e977d5 HWC2: Add getHdrCapabilities
Adds support for querying the HDR capabilities of a connected display.

Bug: 25684127
Change-Id: I9f927f1e92ca9854cb63804177521caf77cf98f5
2016-03-28 12:16:42 -07:00
Ajay Panicker
72642d6583 Add guest mode functionality (3/5)
Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: Ibededbdb832275db4b6e78af83d26754f8b5a9ec
2016-03-28 18:35:03 +00:00
Greg Kaiser
5600a6a14c context_hub: Fix version defines
We're defining the version of a hardware module (hw_module_t), not
a hardware device (hw_device_t).  Thus, we only have 16 bits for
our version number, instead of 32, and need to use the
HARDWARE_DEVICE_API_VERSION macro.

Additionally, for the CONTEXT_HUB_DEVICE_API_VERSION_1_0 define,
which has 1 and 0 hard-coded in the name itself, we hard code 1 and 0
within its definition.

We create CONTEXT_HUB_DEVICE_API_VERSION which will change as we update
the major and minor version numbers in this header.

Bug: 27798362
Change-Id: I58b9751dfb1989fd6bb7fbfc01329494cd88130c
2016-03-28 09:06:56 -07:00