Commit graph

1428 commits

Author SHA1 Message Date
Jakub Pawlowski
daaed0c796 Vectors as parameters to GATT (3/3)
Bug: 29005882
Bug: 28485365
Change-Id: I1272dce1e9480c9e6f45bc39f21d034c59728482
2016-06-20 11:02:36 -07:00
David 'Digit' Turner
d78081db90 [qemu]: Remove qemu_pipe.h and qemud.h headers.
These headers do not correspond to loadable HAL modules or corresponding
support code so must be removed from here.

  <hardware/qemu_pipe.h> is removed and replaced by a new header
  named <system/qemu_pipe.h> that provides a slightly different
  API.

  <hardware/qemud.h> is a header providing a wrapper around qemu pipes
  for old emulator-specific code that relied on the obsolete 'qemud'
  daemon. It can be removed by changing all clients to use
  <system/qemu_pipe.h> instead.

BUG=25875346

Change-Id: I72242bbe8598164e0c9fee17dfa91ea97f9ad914
2016-06-16 18:50:01 +02:00
Jakub Pawlowski
620fd71ee1 Vectors as parameters to GATT write/indicate (3/3)
Bug: 29005882
Bug: 28485365
Change-Id: I39b0d746692a23be89551979488a28cfe930866a
2016-06-15 13:47:02 -07:00
Jim Miller
0ec9f976ed Revert \\"Fingerprint: Add an API to support throttling.\\" am: e453c5212a
am: 4a2683f893

Change-Id: Ic9ef0cfd5b9ee71afcf78a017ae20e2f4a0a9c05
2016-06-15 02:04:39 +00:00
Jim Miller
4a2683f893 Revert \"Fingerprint: Add an API to support throttling.\"
am: e453c5212a

Change-Id: Ic925b2038494d20038de1d10454a5de3114d7763
2016-06-15 02:01:44 +00:00
Jim Miller
e6328cca4f Revert \"Fingerprint: Add an API to support throttling.\"
am: e453c5212a

Change-Id: I2d22f5a40807872dce388d2b50c0100a27757ad8
2016-06-15 02:01:44 +00:00
Jakub Pawlowski
a25692d6ce Merge \"Use UINT16 for GATT attribute id field\"
am: 8babab0d5c

Change-Id: Ie05e1a7c4045aba6ef071424a7bd6a95e80cc71f
2016-06-15 00:26:41 +00:00
Jim Miller
e453c5212a Revert "Fingerprint: Add an API to support throttling."
This reverts commit 7e9204a954.

Fixes bug 29248095

Change-Id: I60ce4dd96affbc263a14921cbdda59df7e7a65f4
2016-06-14 23:52:23 +00:00
Jakub Pawlowski
532f6a727e Use UINT16 for GATT attribute id field
am: 7dde9350e6

Change-Id: I3b686f8d98940a143dbaadd66e6425ae954a0dd0
2016-06-14 23:12:47 +00:00
Jakub Pawlowski
de74a25693 Use UINT16 for GATT attribute id field am: 7dde9350e6
am: 4878b58eb0

Change-Id: I4b550e653f3be84a72694ab1659e0a9a20c1e726
2016-06-14 23:11:56 +00:00
Jakub Pawlowski
4878b58eb0 Use UINT16 for GATT attribute id field
am: 7dde9350e6

Change-Id: I84a92dc5d8a3d58b9e75767b5afe85b1b5391d48
2016-06-14 22:27:40 +00:00
Jakub Pawlowski
8639921d1b Use UINT16 for GATT attribute id field
Id field is equal to attribute handle, so it must be 16bits.
Otherwise only piece of GATT database can be used.

Bug: 29253825
Change-Id: I75c0c993a987bf0a48e910fa3c0f41f9d876bec6
(cherry picked from commit 7dde9350e6)
2016-06-14 15:07:26 -07:00
Dan Stoza
d460180859 Merge \"Re-add gralloc 1.0 header\" into nyc-mr1-dev
am: 9cf66cb6da

Change-Id: Ib47483b6e120971c38cfe7e8ec34aee0991d51c1
2016-06-14 20:04:05 +00:00
Dan Stoza
9cf66cb6da Merge "Re-add gralloc 1.0 header" into nyc-mr1-dev 2016-06-14 19:59:39 +00:00
Jakub Pawlowski
7dde9350e6 Use UINT16 for GATT attribute id field
Id field is equal to attribute handle, so it must be 16bits.
Otherwise only piece of GATT database can be used.

Bug: 29253825
Change-Id: I75c0c993a987bf0a48e910fa3c0f41f9d876bec6
2016-06-14 12:47:34 -07:00
Dan Stoza
03a0e68b80 Re-add gralloc 1.0 header
Adds the header for version 1.0 of the gralloc HAL, now that the
framework properly supports it.

Bug: 28401203
Change-Id: I2ef28ca1e5ed5e9e71a14c4d1c97245051acce6c
2016-06-02 17:58:19 -07:00
Mudumba Ananth
b45a2d5a46 HFP 1.7 profile update (2/4)
am: 220c9d5bbe

* commit '220c9d5bbeefd0d3dc7b237fa232afb68fe1c816':
  HFP 1.7 profile update (2/4)

Change-Id: Ia4b54572a9edddec37b18301b86a49e9e21a6959
2016-06-02 10:33:57 +00:00
Mudumba Ananth
220c9d5bbe HFP 1.7 profile update (2/4)
-> Updated the HF HAL interface to support two
   new commands (AT + BIND, AT + BIEV) added
   in the profile update

Bug: 19983867
Change-Id: I672232522e9634d93ae86e5db81544b17b13576d
2016-06-01 14:37:30 -07:00
Wei Wang
66d3b9f456 Add new power hints for launch activity
am: a787ab79e5

* commit 'a787ab79e50f6c5d5fe8b3866cd417a50ef46ff8':
  Add new power hints for launch activity

Change-Id: I37682901f81732673623eef50547a18de5d116e2
2016-06-01 03:14:30 +00:00
Wei Wang
a787ab79e5 Add new power hints for launch activity
BUG: 28220567
Change-Id: I6da77240cdca5caa2e8504c36e83287954fd6ffc
2016-05-26 11:53:15 -07:00
Dan Stoza
5b1df03a15 HWC2: Add format to VD create, surface damage am: 68cd3759be
am: 29c387fa07

* commit '29c387fa07182163f737bca0d6e5e0b229308bec':
  HWC2: Add format to VD create, surface damage

Change-Id: Ic72c16807d087a0fd5c3ddcae7a86615bad32142
2016-05-24 17:29:10 +00:00
Dan Stoza
0345b36c25 HWC2: Add format to VD create, surface damage
am: 68cd3759be

* commit '68cd3759be6a20245eba10f8aaf861cc65ab41b7':
  HWC2: Add format to VD create, surface damage

Change-Id: I809781fd15492bafdbda3312badf86a874448d5f
2016-05-24 17:22:39 +00:00
Dan Stoza
29c387fa07 HWC2: Add format to VD create, surface damage
am: 68cd3759be

* commit '68cd3759be6a20245eba10f8aaf861cc65ab41b7':
  HWC2: Add format to VD create, surface damage

Change-Id: If72622d09c31cca277804a8a18adfa55c96efe12
2016-05-24 17:14:25 +00: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
f40e091264 Merge "Glonass ID Revision" into nyc-dev
am: 0b1e0f0e48

* commit '0b1e0f0e48620b328e4a49024403dc49887c5b10':
  Glonass ID Revision

Change-Id: Ia90f966ccf80cc100dd74fee244be0213861d2b2
2016-05-19 18:49:32 +00:00
Wyatt Riley
aed74de142 Merge "Glonass ID Revision" into nyc-dev am: 0b1e0f0e48
am: 7a4f84bc78

* commit '7a4f84bc78b51e43c81c6b1174431e8ab91f7eaf':
  Glonass ID Revision

Change-Id: I3fcecc5fa90021d3512c433719d6a2116945ed5f
2016-05-19 18:49:27 +00:00
Wyatt Riley
7a4f84bc78 Merge "Glonass ID Revision" into nyc-dev
am: 0b1e0f0e48

* commit '0b1e0f0e48620b328e4a49024403dc49887c5b10':
  Glonass ID Revision

Change-Id: I2c903fde1f1ba28fb3e9aa769954873b22c6a3e4
2016-05-19 18:45:21 +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
7578e3cb57 Remove gralloc1 header am: 89c7452d15
am: 567ee541fe

* commit '567ee541feaeedf4de949e02cae423fb5176fe91':
  Remove gralloc1 header

Change-Id: Ia3404d9bb907b170c09d9478bf81467cb5e03854
2016-05-18 17:47:02 +00:00
Dan Stoza
090c21b43b Remove gralloc1 header
am: 89c7452d15

* commit '89c7452d15e6922719ed99134313af8ba35420b7':
  Remove gralloc1 header

Change-Id: Ib19abf7bb7d80dc7c0db91117b4109b7b3a2c663
2016-05-18 17:44:16 +00:00
Dan Stoza
567ee541fe Remove gralloc1 header
am: 89c7452d15

* commit '89c7452d15e6922719ed99134313af8ba35420b7':
  Remove gralloc1 header

Change-Id: I9d3662926dba55eca0857d21bb8950b47e262ea7
2016-05-18 17:43:58 +00: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
Ruchi Kandoi
f657cb5d57 gralloc: Adds a new inline method map_usage_to_memtrack.
am: 4cb6c4ff1f

* commit '4cb6c4ff1f4f4908a73354b916a91de5933f4a9f':
  gralloc: Adds a new inline method map_usage_to_memtrack.

Change-Id: I4b238805f3f060cfa6339dc2d4f7c16897979e6f
2016-05-10 23:16:34 +00:00
Ruchi Kandoi
4cb6c4ff1f gralloc: Adds a new inline method map_usage_to_memtrack.
map_usage_to_memtrack takes in the gralloc usage flag and returns a
const char pointer containing the memtrack tag.

This function should be used to find the appropriate memtrack tag that
needs to be used after allocating buffers. This will help in-kernel
memtrack module to classify memory into pre-defined buckets.

Bug: 27525688
Change-Id: Ieee868f9b90ab170c16ba80aceedcb3b2e3762df
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-05-10 16:57:53 +00:00
Ruben Brunk
6aa1d2f247 Merge "Update VR HAL docs." into nyc-dev
am: a7145d28d8

* commit 'a7145d28d8e615430771ead8a953e16e25c0f03f':
  Update VR HAL docs.

Change-Id: I96b67506eb6cc4b65829b29f38e0bc1099c6a087
2016-05-04 23:43:34 +00:00
Ruben Brunk
a7145d28d8 Merge "Update VR HAL docs." into nyc-dev 2016-05-04 23:35:42 +00:00
Dan Stoza
b5e8a61c83 Merge "HWC2: Clarify null client target handle" into nyc-dev
am: 0154a6b08d

* commit '0154a6b08d8bd1f87bc519713369e30bb5bd4146':
  HWC2: Clarify null client target handle

Change-Id: I27e8198dbb136f5bdd1927634a3e553df00494ee
2016-05-04 21:39:49 +00:00
TreeHugger Robot
0154a6b08d Merge "HWC2: Clarify null client target handle" into nyc-dev 2016-05-04 20:51:28 +00: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
4832e78bf1 Revert "tv_input: add signal detection flag to stream config"
am: da941d8f1c

* commit 'da941d8f1c26b4e513e35c27eafce452a14de4e9':
  Revert "tv_input: add signal detection flag to stream config"

Change-Id: Ice4edbd6a700e223c1858e484b3d99038dd09989
2016-05-04 17:44:38 +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
4e18ddec1c Merge "nanohub HAL: define magic value for nanoapp" into nyc-dev
am: d6c2deb560

* commit 'd6c2deb560a13a5161742b1cc7026926c03f97bb':
  nanohub HAL: define magic value for nanoapp

Change-Id: I9602e5b54e2df95ca9ca245a47b0217a7438f8f2
2016-05-02 21:05:11 +00:00
Alexey Polyudov
d6c2deb560 Merge "nanohub HAL: define magic value for nanoapp" into nyc-dev 2016-05-02 20:49:58 +00:00
destradaa
d97fb31742 Merge "Add definition of an event send from a nano app to host." into nyc-dev
am: 129b414d7a

* commit '129b414d7a587f9c1319694244708edb64700ec3':
  Add definition of an event send from a nano app to host.

Change-Id: Ibf932c447429140b220abf130e138de5e428dfa9
2016-04-29 19:29:07 +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
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
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
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
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
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
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
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
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
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
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
Ruben Brunk
3c321e8528 Merge "Update temp limits in thermal HAL impl." into nyc-dev
am: 00a5d61

* commit '00a5d61408b5db27f36467e16f6b5c0dd7b2b373':
  Update temp limits in thermal HAL impl.

Change-Id: I258e7214ddaf743b429df5f6eadfa0a2a15fc1f3
2016-03-31 18:13:02 +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
b94d8038f6 Merge "Add two sensor flags" into nyc-dev
am: df8dcd2

* commit 'df8dcd2d8ccb4f8c2f73500de9295171984791b5':
  Add two sensor flags

Change-Id: I526f2eb21b474227aa040a0ef349ca9dea6d8e48
2016-03-31 02:14:11 +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
e8143ef5c7 Bump the sound trigger device api\'s minor version number.
am: 0a96510

* commit '0a965102e729bffb29d99761d7eb85da22730cb4':
  Bump the sound trigger device api's minor version number.

Change-Id: Iee9f21e2d2a39a6ac1073a160a051d7f82b64b70
2016-03-30 20:41:54 +00: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
Greg Kaiser
dddf4d1cb6 Merge "context_hub: Fix version defines" into nyc-dev
am: 67bb01c

* commit '67bb01cf91f3a22d90687cf2ec1d2644ceafe3e3':
  context_hub: Fix version defines

Change-Id: I21267274d090b7d8b0fc3b9c4a513b4d57c2e43c
2016-03-29 19:42:45 +00:00
Greg Kaiser
67bb01cf91 Merge "context_hub: Fix version defines" into nyc-dev 2016-03-29 19:30:41 +00:00
Keun-young Park
a97a998c7f Merge "fix wrong description in AUDIO_HW_VARIANT" into nyc-dev
am: 7d2576f

* commit '7d2576fca017f0073feb3e1659ac87342f7075e8':
  fix wrong description in AUDIO_HW_VARIANT

Change-Id: I34463e4e1cb329ec6676b1d4a9df8f110f0f766d
2016-03-29 18:42:50 +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
5a0aea391f Merge "Adds stop_all_recognitions as an optional method to the sound trigger hal." into nyc-dev
am: caa94e5

* commit 'caa94e5e2b199f07cb2b6f03b7e8fb8348603121':
  Adds stop_all_recognitions as an optional method to the sound trigger hal.

Change-Id: I0f24538b1e73f45ddf389585f7baf8c8a8dd9670
2016-03-29 17:48:15 +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
45612aa8e3 Revert "Add guest mode functionality (3/5)"
am: a7d0435

* commit 'a7d043576d824a794d666eb08b62dd3f8b335d1e':
  Revert "Add guest mode functionality (3/5)"
2016-03-28 22:32:45 +00:00
Ajay Panicker
b7c35af905 Add guest mode functionality (3/5)
am: 72642d6

* commit '72642d65836f3b01f0b2c005ad1041069dff7288':
  Add guest mode functionality (3/5)
2016-03-28 22:32:44 +00: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
Shawn Willden
30a86713a9 Merge "Zero length in keymaster_free_param_set." into nyc-dev
am: 45e2e5f

* commit '45e2e5fc17d777aff95045000b1530cd9c9254f5':
  Zero length in keymaster_free_param_set.
2016-03-26 21:44:22 +00:00
Shawn Willden
45e2e5fc17 Merge "Zero length in keymaster_free_param_set." into nyc-dev 2016-03-26 21:38:29 +00:00
Shawn Willden
f7b432e6f5 Merge "Add keymaster_security_level_t for attestation." into nyc-dev
am: 64e76f8

* commit '64e76f8febfbb439ff952c418505554f0138a145':
  Add keymaster_security_level_t for attestation.
2016-03-26 16:08:54 +00:00
Shawn Willden
64e76f8feb Merge "Add keymaster_security_level_t for attestation." into nyc-dev 2016-03-26 16:04:11 +00:00
Shawn Willden
ab2fd6fc67 Merge "Remove agree_key and add configure to keymaster2." into nyc-dev
am: 869ba42

* commit '869ba4241bfce1c274814134279eb983c99e6355':
  Remove agree_key and add configure to keymaster2.
2016-03-26 15:22:23 +00:00
Shawn Willden
869ba4241b Merge "Remove agree_key and add configure to keymaster2." into nyc-dev 2016-03-26 15:17:34 +00:00
Ruben Brunk
53b134045f Update temp limits in thermal HAL impl.
Bug: 27549685
Change-Id: I280610bbfda7d9fb65a7bc42831c4a545ea21757
2016-03-25 13:45:00 -07:00
Shawn Willden
e366efd5bb Zero length in keymaster_free_param_set.
Change-Id: I0b9999e4c148d70369549cbd2fcdbbff7321a587
2016-03-25 11:39:35 -06:00
Shawn Willden
aeb15d64fc Add keymaster_security_level_t for attestation.
Change-Id: Iffa71e3c285d35c2feafd04e8153306f086a3118
2016-03-25 11:39:35 -06:00
Shawn Willden
3080276974 Remove agree_key and add configure to keymaster2.
Key agreement (ECDH) has been punted from the N release, and a
configuration method has been added to support version binding.

Change-Id: Ia4aeee1bd7ab88cda3b9faa653470e608aa55942
2016-03-25 11:39:29 -06:00
Dan Stoza
8efe9105ab Merge "HWC2: Add const and alphabetize" into nyc-dev
am: f588e0b

* commit 'f588e0b3b9ab3b07b8833bccf9ab8a870d3943df':
  HWC2: Add const and alphabetize
2016-03-24 18:41:02 +00:00
Dan Stoza
f588e0b3b9 Merge "HWC2: Add const and alphabetize" into nyc-dev 2016-03-24 18:33:44 +00:00
Dan Stoza
c46e96a5a2 HWC2: Add const and alphabetize
Alphabetizes the display functions and adds const to a float*
input parameter.

Bug: 22767098
Change-Id: I8cb4d6b27980753cfb17a8ad6b74cbbc984c5ac0
2016-03-24 10:12:15 -07:00
Dan Stoza
f4183baa85 Merge "HWC2: Fix a doc bug in setColorTransform" into nyc-dev
am: ca11094

* commit 'ca11094b4770fbe367bf62f0ace28bdb109305b1':
  HWC2: Fix a doc bug in setColorTransform
2016-03-24 16:32:33 +00:00
Dan Stoza
ca11094b47 Merge "HWC2: Fix a doc bug in setColorTransform" into nyc-dev 2016-03-24 16:25:04 +00:00
Dan Stoza
5dfbe33cf3 HWC2: Fix a doc bug in setColorTransform
Fixes a minor error in the documentation of the setColorTransform
function.

Change-Id: Id1a94d6066f642579c6b935a6cc781505f25c11d
2016-03-24 09:23:11 -07:00
Jakub Pawlowski
8d7a02d607 Use handles to identify GATT attributes (2/4)
Bug: 27778668
Change-Id: Iff64153c2b783705fb4408f9911b13fa44af4f84
2016-03-21 20:10:10 -07:00
Jakub Pawlowski
98aa0ddd6c Remove unused methods and callbacks
Bug: 27455533
Change-Id: Id2e265be02dc627e7fc81875c3000262cab2e35f
2016-03-22 02:53:16 +00:00
Jakub Pawlowski
73be7a31bc Merge "Use handles to identify GATT attributes (2/4)"
am: 263fadf

* commit '263fadffcf8f00d2c5873e69e82d854f4aa53782':
  Use handles to identify GATT attributes (2/4)
2016-03-22 02:47:09 +00:00
Jakub Pawlowski
1d02bde221 Use handles to identify GATT attributes (2/4)
Bug: 27778668
Change-Id: Iff64153c2b783705fb4408f9911b13fa44af4f84
2016-03-22 01:18:45 +00:00
Andre Eisenbach
f65d1257d3 Bluetooth: Additional status codes for wakelock ops
Add additional status codes to better track wakelock acquisition or
release failures.

Bug: 27721443
Change-Id: I99fb442277dac81df0d84d9a9f7a3340158377a8
2016-03-21 17:23:23 -07:00
Ruchi Kandoi
4cdade5445 Merge "power: Adds a new power hint POWER_HINT_VR_MODE" into nyc-dev
am: bfa59e7

* commit 'bfa59e7fefab682c92fd0e8a2f25cc22b1252164':
  power: Adds a new power hint POWER_HINT_VR_MODE
2016-03-21 19:47:42 +00:00
Ruchi Kandoi
bfa59e7fef Merge "power: Adds a new power hint POWER_HINT_VR_MODE" into nyc-dev 2016-03-21 19:37:50 +00:00
Polina Bondarenko
1077515b5d Merge "Re-worked hardware_properties to thermal HAL." into nyc-dev
am: 020fa12

* commit '020fa12eef9fb3e7c4e64d738f3f03064577f08e':
  Re-worked hardware_properties to thermal HAL.
2016-03-19 08:49:36 +00:00
Polina Bondarenko
020fa12eef Merge "Re-worked hardware_properties to thermal HAL." into nyc-dev 2016-03-19 08:43:33 +00:00
Andre Eisenbach
3384991688 Bluetooth: Additional status codes for wakelock ops
am: cbe2d3a

* commit 'cbe2d3a8f4d51a0b52ac741160c11f4463d7b0d7':
  Bluetooth: Additional status codes for wakelock ops
2016-03-18 01:36:14 +00:00
Andre Eisenbach
cbe2d3a8f4 Bluetooth: Additional status codes for wakelock ops
Add additional status codes to better track wakelock acquisition or
release failures.

Bug: 27721443
Change-Id: I99fb442277dac81df0d84d9a9f7a3340158377a8
2016-03-17 16:46:39 -07:00
Lifu Tang
fb851962df Merge "Removed the comment that refers to deprecated flag" into nyc-dev
am: f0b5ccf

* commit 'f0b5ccf0f88d4cdc574973b394f13d89caa780f6':
  Removed the comment that refers to deprecated flag
2016-03-17 19:30:19 +00:00
Lifu Tang
f0b5ccf0f8 Merge "Removed the comment that refers to deprecated flag" into nyc-dev 2016-03-17 19:23:38 +00:00
Glenn Kasten
211768ae32 Merge "Use audio_session_t consistently" into nyc-dev
am: 78b34a9

* commit '78b34a944cdad940d74fd676104f27b2d6fd1606':
  Use audio_session_t consistently
2016-03-17 18:17:54 +00:00
Lifu Tang
3fc3bc867e Removed the comment that refers to deprecated flag
Bug: 27633183
Change-Id: I30fe79761305cd1fbac2f3f6cad68dc12eaec660
2016-03-17 10:45:00 -07:00
Glenn Kasten
78b34a944c Merge "Use audio_session_t consistently" into nyc-dev 2016-03-17 14:22:51 +00:00
Polina Bondarenko
25cd7f0fb0 Re-worked hardware_properties to thermal HAL.
Bug: 27424857
Change-Id: Id7212421e499cc33c82e885756d68e89c2317acf
2016-03-17 10:09:24 +01:00
Keun-young Park
738097cbc9 Merge "vehicle hal update" into nyc-dev
am: 51839a6cd1

* commit '51839a6cd12d3f41805e3eba2bdbaef14585b868':
  vehicle hal update
2016-03-15 22:19:41 +00:00
Keun-young Park
51839a6cd1 Merge "vehicle hal update" into nyc-dev 2016-03-15 22:08:29 +00:00
Ruchi Kandoi
403bc14825 power: Adds a new power hint POWER_HINT_VR_MODE
Adds a POWER_HINT_VR_MODE which is used to enable/disable VR mode. This
mode guarantees minimum performance as long as the device can sustain.

Bug: 27659731
Change-Id: Ia6701299cacb5201921f8a517ec78ed4012b9455
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-03-15 17:41:27 +00:00
Keun-young Park
ab68e37c35 vehicle hal update
- add release_memory_from_get to allow hal to release
  memory it has allocated in get call
- clear get call's behavior: If data is not available, should
  return immediately with VEHICLE_ERROR_NOT_READY error
- make zone separate in vehicle_prop_config_t and
  vehicle_prop_value_t: Handing of zoned property becomes
  simpler
- cleanup some data type definitions for zoned properties

bug: 27597338, 27596281
Change-Id: I7a8454b86555270fb2211e5d36b3ee06d350f8ed
2016-03-14 17:00:36 -07:00
Eino-Ville Talvala
f14e5949d2 Merge "Camera3: Add camera device HAL v3.4" into nyc-dev
am: 8508218bbe

* commit '8508218bbe2cd91e8d54aea865022e0ef5ebf50c':
  Camera3: Add camera device HAL v3.4
2016-03-12 00:16:17 +00:00
Eino-Ville Talvala
8508218bbe Merge "Camera3: Add camera device HAL v3.4" into nyc-dev 2016-03-11 23:33:41 +00:00
Darren Krahn
0b6e494fc3 Merge "nvram: Add a get_max_space_size_in_bytes method."
am: 44d300a7e1

* commit '44d300a7e1b24e4ec451a4fbee74b506c58cc2b3':
  nvram: Add a get_max_space_size_in_bytes method.
2016-03-10 22:53:15 +00:00
Glenn Kasten
13091fe19a Use audio_session_t consistently
Bug: 27562099
Change-Id: I608f72515b2aea93c784f0df15fe4af9859aebdf
2016-03-09 15:41:34 -08:00
Eino-Ville Talvala
cd86b0ddcc Camera3: Add camera device HAL v3.4
- Few additional mandatory static metadata fields
 - Different dataspace encoding than HAL v3.3
 - A few additional general-use metadata fields

Bug: 27344373
Change-Id: I218cc9fa70d1227cd96155e126edcf9be699ea2d
2016-03-09 14:54:38 -08:00
Lifu Tang
98871c1179 Merge "Deprecated a flag for mandatary field" into nyc-dev
am: c7a562e515

* commit 'c7a562e51564554fb132ee1e14b6e01bf7d64728':
  Deprecated a flag for mandatary field
2016-03-09 22:04:26 +00:00
Lifu Tang
c7a562e515 Merge "Deprecated a flag for mandatary field" into nyc-dev 2016-03-09 21:53:16 +00:00
Lifu Tang
74aef730b5 Deprecated a flag for mandatary field
Change-Id: I5b03da35d8a022d68ba66b676fdd5fc963271a79
2016-03-09 11:21:08 -08:00
Keun-young Park
7eef3009b9 GEAR_* rename
am: 77761e24f9

* commit '77761e24f9b82101ec78ed55b93d3371741dfc4e':
  GEAR_* rename
2016-03-08 23:50:26 +00:00
Darren Krahn
deda044730 nvram: Add a get_max_space_size_in_bytes method.
This is useful for the Access-Controlled NVRAM HAL because
implementations may be able to achieve atomic writes if they are able to
limit the maximum space size. This method allows the module to report
that it is imposing such a limit.

BUG=27480753

Change-Id: Ia70f459d7d5fca894e52310ddb2cdcbb51bd8364
2016-03-08 15:43:41 -08:00