Commit graph

3011 commits

Author SHA1 Message Date
Badhri Jagan Sridharan
5c5fead52b Merge "power: Platform-level low power state stats" into nyc-dev
am: 920f395

* commit '920f395349fd84ed77f9285a8374a8ea20b6a8ca':
  power: Platform-level low power state stats

Change-Id: Id56f15408b2ad0c4372f5ca95fd1a3faec81b2cd
2016-04-27 23:54:16 +00: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
42c756c5f9 DO NOT MERGE ANYWHERE Add new foreground load power hint. am: ae4fc8f -s ours am: ab93a6d -s ours
am: 795b359  -s ours

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

Change-Id: I2f3839397f3969fd877c87722e28968e6edb6567
2016-04-27 20:48:40 +00: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
380f93d48d Merge "[sensor] clarify definition of the uuid field" into nyc-dev
am: 2235cac

* commit '2235cac9ba091bf6b06d7e3bead24fdb36fcf1b5':
  [sensor] clarify definition of the uuid field

Change-Id: I752206e779ec11c70db15492bf2f61ea792264f5
2016-04-27 19:55:52 +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
52dcb04348 clarify set failure due to power down
am: f709758

* commit 'f7097585dca47b8124c5c9e31cd8d381f1c1c97d':
  clarify set failure due to power down

Change-Id: Id5cb76e31e723496b8d73d406082f209b97dd5ba
2016-04-26 01:34:19 +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
78415c2883 make some HVAC properties zoned
am: f1ccec1

* commit 'f1ccec1dd1f71f841fe1577c2df29ff4157cb3d1':
  make some HVAC properties zoned

Change-Id: Ic26ad25076c025d563ca77fefbae6286e7fc548f
2016-04-23 05:21:24 +00: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
f7e91f37fe Add guest mode functionality (3/5)
am: 6366e23

* commit '6366e2328fa8063c4b0cdd534d3b8248aa53464c':
  Add guest mode functionality (3/5)

Change-Id: Ib52e24784d97ce5cba73e71eb57f08b1b0728441
2016-04-20 01:20:41 +00: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
Ajay Panicker
f396bbbf70 Merge "Add guest mode functionality (3/4)" am: d96e21c
am: ea8c3c7

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

Change-Id: Ie4407e19fb27065e1842f07a371a95e7eafdd13b
2016-04-19 21:49:26 +00:00
Ajay Panicker
ea8c3c7c78 Merge "Add guest mode functionality (3/4)"
am: d96e21c

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

Change-Id: Id9658b815091f38873ea6ac55c1c4be71dc3a34d
2016-04-19 21:45:32 +00:00
Ajay Panicker
d96e21c37f Merge "Add guest mode functionality (3/4)" 2016-04-19 21:29:48 +00:00
Nick Vaccaro
7f8d8bfe3c Sensors: MultiHal: fix naming and compiler warning
am: a889c09

* commit 'a889c0915af205d7af1a8032e54b5a4d4496babb':
  Sensors: MultiHal: fix naming and compiler warning

Change-Id: I60adf66a52df3e4d6cf0f294ab40c59e25715ef4
2016-04-19 20:46:33 +00:00
Ajay Panicker
d51c01d9fd Add guest mode functionality (3/4)
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-04-18 16:44:36 -07: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
Alexey Polyudov
21ff0de345 Merge "nanohub: Fix error in HAL definition" into nyc-dev
am: 8215dff

* commit '8215dffa4ae40351e0cf2298a5d92da7231b634a':
  nanohub: Fix error in HAL definition

Change-Id: Ide426dee7fd3f84a70cf91a4117a69f8bbbadb7b
2016-04-15 23:19:03 +00:00
TreeHugger Robot
8215dffa4a Merge "nanohub: Fix error in HAL definition" into nyc-dev 2016-04-15 23:04:21 +00:00
Sanket Agarwal
0b25324daa Add interface for focus gain in A2DP SNK audio track.
am: ce917e4

* commit 'ce917e441695bca78b53b4e021622fff57cd4baf':
  Add interface for focus gain in A2DP SNK audio track.

Change-Id: I8992c42513710164825fbb3f244d9bbf3b6028d5
2016-04-15 20:37:38 +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
Treehugger Robot
7d12c24022 Merge "Add interface for focus gain in A2DP SNK audio track." am: 958414f
am: 4d5e2db

* commit '4d5e2dbde2c7a603583bd7a727af1cc9982d81c0':
  Add interface for focus gain in A2DP SNK audio track.

Change-Id: I1473c7e6753571e269b437908193b542cc1a9466
2016-04-15 20:10:23 +00:00
Sanket Agarwal
4d5e2dbde2 Merge "Add interface for focus gain in A2DP SNK audio track."
am: 958414f

* commit '958414f109d38e93f486deef3a27392c7cb4a01d':
  Add interface for focus gain in A2DP SNK audio track.

Change-Id: I1c761a4e83ecdbc03e4916ed0d5d899438f51ac0
2016-04-15 20:07:05 +00:00
Treehugger Robot
958414f109 Merge "Add interface for focus gain in A2DP SNK audio track." 2016-04-15 19:57:21 +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
Sanket Agarwal
c3ab1d885a Add interface for focus gain in A2DP SNK audio track.
Bug: b/28065071
Change-Id: If5d3f197ac2e8d73f3f2e8edf764c84e5e08e6e8
2016-04-15 11:38:36 -07:00
Dan Stoza
f9df9b9664 Merge "Gralloc 1.0" into nyc-dev
am: c331570

* commit 'c331570b5a381f9bbdccb7f2d463aee200ea0a46':
  Gralloc 1.0

Change-Id: Iccaeadb04d17d9f5d67baa044f84e11050bffc4d
2016-04-12 22:44:14 +00:00
Dan Stoza
c331570b5a Merge "Gralloc 1.0" into nyc-dev 2016-04-12 19:26:24 +00:00
Ashutosh Joshi
e90056dbac Clarify Context hub implementation.
am: 0675b44

* commit '0675b44089c96b0391a098a414af6f2c1655f513':
  Clarify Context hub implementation.

Change-Id: I86459024ab7dd81f82f5465aab4f688b32b7e621
2016-04-12 18:48:52 +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
1896c7cc5c Merge "contexthub: redefine hub_app_name" into nyc-dev
am: ca2a3df

* commit 'ca2a3dffb359d8735904fecc2fa759ad7bf0f616':
  contexthub: redefine hub_app_name

Change-Id: I7533f1966203e7ca6a74a9c886c7e09845403683
2016-04-11 20:49:31 +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
e00ce63dad Merge "Add "clear" command." into nyc-dev
am: 041e2a2

* commit '041e2a2b9e62eb8ec78c51ec405e19414fa53313':
  Add "clear" command.

Change-Id: Icfd42ef4be802e7d4c441b2e33af4ae373fe61d6
2016-04-09 01:55:45 +00:00
Arunesh Mishra
041e2a2b9e Merge "Add "clear" command." into nyc-dev 2016-04-09 01:49:38 +00:00
Lifu Tang
504113b02f Merge "Fixed the sign error in GnssClock" into nyc-dev
am: 446c2bc

* commit '446c2bc1372d0579ebdba97f5b6e6b0161b2ecfa':
  Fixed the sign error in GnssClock

Change-Id: I9696ecb3676fa43410d0e32c4e528319a4a5a1e3
2016-04-09 00:35:47 +00:00
Dan Stoza
d79b1c4913 Merge "HWC2: Add getHdrCapabilities" into nyc-dev
am: b810dcf

* commit 'b810dcff1c2e5605d4b66cc5e50253e994997c10':
  HWC2: Add getHdrCapabilities

Change-Id: Ib66538b9a92f973731ea618fe79e6f9987243f1d
2016-04-09 00:35:46 +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
fe04ac8365 vehicle hal further clarification / HVAC update
am: 418c7e8

* commit '418c7e8fc981d282d15f0b5a9c8979b696842671':
  vehicle hal further clarification / HVAC update

Change-Id: I524c095c6c1d425906bc53d8d8dbf18782be5ecf
2016-04-07 02:51:19 +00: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
18504a1899 Fix typo in error logs in r_submix open_input_stream function
am: 79fbccf

* commit '79fbccf91be4d98d0e04dd840f1ccf156fab2ae3':
  Fix typo in error logs in r_submix open_input_stream function

Change-Id: I6b0a910486b1c14084d3b77ada9e59f4d71751d3
2016-04-06 16:23:36 +00:00