Commit graph

3019 commits

Author SHA1 Message Date
Ajay Panicker
9ed5e051f0 Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2
am: 4137555a77

* commit '4137555a77c5fd68eedbf63a0a351599edcbbcac':
  Add guest mode functionality (1/3)

Change-Id: I5cc9b7d8082908d2c64012b63e5183365366ed1e
2016-05-24 22:07:25 +00:00
Ajay Panicker
4137555a77 Add guest mode functionality (1/3) am: 4e10135ef4
am: 6e98ba09a2

* commit '6e98ba09a2722b8aa9242797c379016e0bb42de7':
  Add guest mode functionality (1/3)

Change-Id: I3dd89a69243cdacb5b8ebe5227a2b718b17968d4
2016-05-24 22:05:24 +00:00
Ajay Panicker
1b89c8c0dd Add guest mode functionality (1/3)
am: 4048610354

* commit '4048610354bc6fff0eea733d46df502a29487b9f':
  Add guest mode functionality (1/3)

Change-Id: Ic2bd8be69bbe1dc2a247e1d152e95d158ad3161c
2016-05-24 22:02:01 +00:00
Ajay Panicker
6e98ba09a2 Add guest mode functionality (1/3)
am: 4e10135ef4

* commit '4e10135ef499073711944860ccf9a7c43b8bf6ac':
  Add guest mode functionality (1/3)

Change-Id: I8942fea871b1c1721d0644a5eedf9fdd6a6bc0eb
2016-05-24 22:02:00 +00:00
Ajay Panicker
4e10135ef4 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-22 12:47:50 -07:00
Dan Stoza
68cd3759be HWC2: Add format to VD create, surface damage
Adds a format in/out parameter to createVirtualDisplay so that the
device knows what format the consumer prefers, but can override it if
it is not capable of rendering to it.

Also adds a surface damage region to the setClientTarget call.

Bug: 22767098
Change-Id: I58801aed2d95fd7dbf63db2e303bc3079caaba25
2016-05-20 20:35:58 +00:00
Wyatt Riley
0b1e0f0e48 Merge "Glonass ID Revision" into nyc-dev 2016-05-19 18:37:53 +00:00
Wyatt Riley
8018186b78 Glonass ID Revision
Comments only

Change-Id: Ie61367fcdb20fb1f580aa739c98e05bfbb2f40ca
2016-05-18 13:01:05 -07:00
Dan Stoza
89c7452d15 Remove gralloc1 header
Removes the gralloc1 header until such time as framework support can
be added.

Bug: 28401203
Change-Id: I7fbaf60d5b1c3c2267cf8d2216e94736c70bf8bb
2016-05-17 12:43:54 -07:00
Ruben Brunk
a7145d28d8 Merge "Update VR HAL docs." into nyc-dev 2016-05-04 23:35:42 +00:00
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