OSDN Git Service

android-x86/hardware-libhardware.git
8 years agoHFP 1.7 profile update (2/4)
Mudumba Ananth [Mon, 29 Feb 2016 10:14:09 +0000 (02:14 -0800)]
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

8 years agoMerge "Add dump() (i.e dumpsys media.audio_flinger) functionality to USB HAL" into...
Paul Mclean [Wed, 1 Jun 2016 15:59:47 +0000 (15:59 +0000)]
Merge "Add dump() (i.e dumpsys media.audio_flinger) functionality to USB HAL" into nyc-mr1-dev

8 years agoAdd dump() (i.e dumpsys media.audio_flinger) functionality to USB HAL
Paul McLean [Wed, 25 May 2016 20:09:02 +0000 (14:09 -0600)]
Add dump() (i.e dumpsys media.audio_flinger) functionality to USB HAL

Bug: 28960293

Change-Id: Ia3a2b966079633d9357e5ae96247b771073f2de6

8 years agoAdd new power hints for launch activity
Wei Wang [Wed, 18 May 2016 18:27:54 +0000 (11:27 -0700)]
Add new power hints for launch activity

BUG: 28220567
Change-Id: I6da77240cdca5caa2e8504c36e83287954fd6ffc

8 years agoMerge "Ensure we get a default sample rate for "query" cases in open_input_device...
Paul McLean [Wed, 25 May 2016 21:11:35 +0000 (21:11 +0000)]
Merge "Ensure we get a default sample rate for "query" cases in open_input_device()." into nyc-dev
am: 86df5ad096

* commit '86df5ad096224060eb5275e6b7c4a1d5552210ee':
  Ensure we get a default sample rate for "query" cases in open_input_device().

Change-Id: I484e88a6b8da002b40f2769e3d869434f0b9efb2

8 years agoMerge "Ensure we get a default sample rate for "query" cases in open_input_device...
Paul Mclean [Wed, 25 May 2016 20:54:05 +0000 (20:54 +0000)]
Merge "Ensure we get a default sample rate for "query" cases in open_input_device()." into nyc-dev

8 years agoEnsure we get a default sample rate for "query" cases in open_input_device().
Paul McLean [Wed, 25 May 2016 19:30:54 +0000 (13:30 -0600)]
Ensure we get a default sample rate for "query" cases in open_input_device().

Bug: 28474561
Change-Id: I2946dda95ab47bd38a582f49e566541bc4e20bbf

8 years agoMerge "Lock input and output sample rates" into nyc-dev
Paul McLean [Wed, 25 May 2016 18:27:30 +0000 (18:27 +0000)]
Merge "Lock input and output sample rates" into nyc-dev
am: 6bd8429fe2

* commit '6bd8429fe2efab5339c4a8446aaae53bd4d06422':
  Lock input and output sample rates

Change-Id: I7788bcfa7ea8581d72f508c8db0cc77bbd2b5016

8 years agoMerge "Lock input and output sample rates" into nyc-dev
Paul Mclean [Wed, 25 May 2016 17:14:58 +0000 (17:14 +0000)]
Merge "Lock input and output sample rates" into nyc-dev

8 years agoLock input and output sample rates
Paul McLean [Tue, 24 May 2016 17:28:10 +0000 (11:28 -0600)]
Lock input and output sample rates

Bug: 28474561
Change-Id: I551d346aea9c4f36b51a9c1a1c557c5e2757334b

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am...
Ajay Panicker [Tue, 24 May 2016 22:26:51 +0000 (22:26 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am: 9ed5e051f0  -s ours am: 07c1c4dd8d am: d22d07f82b am: 9de98af266 am: 2fc4aebcdd
am: c32a7a662a

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

Change-Id: I2c48cee179955e232195bcf37faa7b2c5f596d63

8 years agoAdd guest mode functionality (1/3) am: 4048610354 am: 1b89c8c0dd -s ours am: 4c7e952...
Ajay Panicker [Tue, 24 May 2016 22:26:48 +0000 (22:26 +0000)]
Add guest mode functionality (1/3) am: 4048610354 am: 1b89c8c0dd  -s ours am: 4c7e952d48 am: 45c6e0013a
am: 8a1c5858ce

* commit '8a1c5858ce8468eb03824687526c05258da5886d':
  Add guest mode functionality (1/3)

Change-Id: I2719054c19528397189f36b125cede04d366fa60

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am...
Ajay Panicker [Tue, 24 May 2016 22:25:29 +0000 (22:25 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am: 9ed5e051f0  -s ours am: 07c1c4dd8d am: d22d07f82b am: 9de98af266
am: 2fc4aebcdd

* commit '2fc4aebcdd48084125645340e5baeefc46f4c6a6':
  Add guest mode functionality (1/3)

Change-Id: I33613e8d89b198dbda2bc37bcbf25e355bedb201

8 years agoAdd guest mode functionality (1/3) am: 4048610354 am: 1b89c8c0dd -s ours am: 4c7e952d48
Ajay Panicker [Tue, 24 May 2016 22:25:25 +0000 (22:25 +0000)]
Add guest mode functionality (1/3) am: 4048610354 am: 1b89c8c0dd  -s ours am: 4c7e952d48
am: 45c6e0013a

* commit '45c6e0013ab131b045ac9d42aed883789153e3ae':
  Add guest mode functionality (1/3)

Change-Id: Id1fc54275a9ed8c8126a52b2b885496c6a279992

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am...
Ajay Panicker [Tue, 24 May 2016 22:24:06 +0000 (22:24 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am: 9ed5e051f0  -s ours am: 07c1c4dd8d am: d22d07f82b
am: 9de98af266

* commit '9de98af266ab4b15a539950da67dfa3b1cfaadf8':
  Add guest mode functionality (1/3)

Change-Id: I582f40a1780d529f9ec91786470743bb7c74578b

8 years agoAdd guest mode functionality (1/3) am: 4048610354 am: 1b89c8c0dd -s ours
Ajay Panicker [Tue, 24 May 2016 22:21:25 +0000 (22:21 +0000)]
Add guest mode functionality (1/3) am: 4048610354 am: 1b89c8c0dd  -s ours
am: 4c7e952d48

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

Change-Id: Id2aceac8aa59a1c49261428a0b0c7d2d0aaada1a

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am...
Ajay Panicker [Tue, 24 May 2016 22:21:24 +0000 (22:21 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am: 9ed5e051f0  -s ours am: 07c1c4dd8d
am: d22d07f82b

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

Change-Id: Ibc2e00534f707c70977ff64207fae05ba43addd2

8 years agoAdd guest mode functionality (1/3) am: 4048610354
Ajay Panicker [Tue, 24 May 2016 22:15:52 +0000 (22:15 +0000)]
Add guest mode functionality (1/3) am: 4048610354
am: 1b89c8c0dd  -s ours

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

Change-Id: I69d69431c767ecd615839f97cef1faaa912f2f50

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am...
Ajay Panicker [Tue, 24 May 2016 22:15:50 +0000 (22:15 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77 am: 9ed5e051f0  -s ours
am: 07c1c4dd8d

* commit '07c1c4dd8da9eb7b6bd46ff83c831e7ad9383cd2':
  Add guest mode functionality (1/3)

Change-Id: I4be5d4c2d2095ce288bc4b80970359265a714b4d

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77
Ajay Panicker [Tue, 24 May 2016 22:12:59 +0000 (22:12 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2 am: 4137555a77
am: 9ed5e051f0  -s ours

* commit '9ed5e051f0b633308bb66acf4660e89eb52037c2':
  Add guest mode functionality (1/3)

Change-Id: I252ab37ea484800f920ad224b85e2cad9ed28032

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2
Ajay Panicker [Tue, 24 May 2016 22:07:25 +0000 (22:07 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4 am: 6e98ba09a2
am: 4137555a77

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

Change-Id: I5cc9b7d8082908d2c64012b63e5183365366ed1e

8 years agoAdd guest mode functionality (1/3) am: 4e10135ef4
Ajay Panicker [Tue, 24 May 2016 22:05:24 +0000 (22:05 +0000)]
Add guest mode functionality (1/3) am: 4e10135ef4
am: 6e98ba09a2

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

Change-Id: I3dd89a69243cdacb5b8ebe5227a2b718b17968d4

8 years agoAdd guest mode functionality (1/3)
Ajay Panicker [Tue, 24 May 2016 22:02:01 +0000 (22:02 +0000)]
Add guest mode functionality (1/3)
am: 4048610354

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

Change-Id: Ic2bd8be69bbe1dc2a247e1d152e95d158ad3161c

8 years agoAdd guest mode functionality (1/3)
Ajay Panicker [Tue, 24 May 2016 22:02:00 +0000 (22:02 +0000)]
Add guest mode functionality (1/3)
am: 4e10135ef4

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

Change-Id: I8942fea871b1c1721d0644a5eedf9fdd6a6bc0eb

8 years agoHWC2: Add format to VD create, surface damage
Dan Stoza [Tue, 24 May 2016 17:22:39 +0000 (17:22 +0000)]
HWC2: Add format to VD create, surface damage
am: 68cd3759be

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

Change-Id: I809781fd15492bafdbda3312badf86a874448d5f

8 years agoAdd guest mode functionality (1/3)
Ajay Panicker [Fri, 18 Mar 2016 21:27:36 +0000 (14:27 -0700)]
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

8 years agoHWC2: Add format to VD create, surface damage
Dan Stoza [Fri, 20 May 2016 20:30:42 +0000 (13:30 -0700)]
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

8 years agoMerge "Glonass ID Revision" into nyc-dev
Wyatt Riley [Thu, 19 May 2016 18:49:32 +0000 (18:49 +0000)]
Merge "Glonass ID Revision" into nyc-dev
am: 0b1e0f0e48

* commit '0b1e0f0e48620b328e4a49024403dc49887c5b10':
  Glonass ID Revision

Change-Id: Ia90f966ccf80cc100dd74fee244be0213861d2b2

8 years agoMerge "Glonass ID Revision" into nyc-dev
Wyatt Riley [Thu, 19 May 2016 18:37:53 +0000 (18:37 +0000)]
Merge "Glonass ID Revision" into nyc-dev

8 years agoGlonass ID Revision
Wyatt Riley [Wed, 18 May 2016 20:01:05 +0000 (13:01 -0700)]
Glonass ID Revision

Comments only

Change-Id: Ie61367fcdb20fb1f580aa739c98e05bfbb2f40ca

8 years agoRemove gralloc1 header
Dan Stoza [Wed, 18 May 2016 17:44:16 +0000 (17:44 +0000)]
Remove gralloc1 header
am: 89c7452d15

* commit '89c7452d15e6922719ed99134313af8ba35420b7':
  Remove gralloc1 header

Change-Id: Ib19abf7bb7d80dc7c0db91117b4109b7b3a2c663

8 years agoRemove gralloc1 header
Dan Stoza [Tue, 17 May 2016 19:43:54 +0000 (12:43 -0700)]
Remove gralloc1 header

Removes the gralloc1 header until such time as framework support can
be added.

Bug: 28401203
Change-Id: I7fbaf60d5b1c3c2267cf8d2216e94736c70bf8bb

8 years agogralloc: Adds a new inline method map_usage_to_memtrack.
Ruchi Kandoi [Wed, 30 Mar 2016 01:23:39 +0000 (18:23 -0700)]
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>
8 years agoMerge "Update VR HAL docs." into nyc-dev
Ruben Brunk [Wed, 4 May 2016 23:44:44 +0000 (23:44 +0000)]
Merge "Update VR HAL docs." into nyc-dev
am: a7145d28d8

* commit 'a7145d28d8e615430771ead8a953e16e25c0f03f':
  Update VR HAL docs.

Change-Id: Ifffe900df54c13998d3a62e4507e13e04981b14d

8 years agoMerge "Update VR HAL docs." into nyc-dev
Ruben Brunk [Wed, 4 May 2016 23:35:42 +0000 (23:35 +0000)]
Merge "Update VR HAL docs." into nyc-dev

8 years agoMerge "HWC2: Clarify null client target handle" into nyc-dev
Dan Stoza [Wed, 4 May 2016 21:39:09 +0000 (21:39 +0000)]
Merge "HWC2: Clarify null client target handle" into nyc-dev
am: 0154a6b08d

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

Change-Id: I692b714bd625c72e3efa3ef720c4dd83dbf9a305

8 years agoMerge "HWC2: Clarify null client target handle" into nyc-dev
TreeHugger Robot [Wed, 4 May 2016 20:51:28 +0000 (20:51 +0000)]
Merge "HWC2: Clarify null client target handle" into nyc-dev

8 years agoAdd guest mode functionality (1/3)
Ajay Panicker [Fri, 18 Mar 2016 21:27:36 +0000 (14:27 -0700)]
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

8 years agoHWC2: Clarify null client target handle
Dan Stoza [Wed, 4 May 2016 19:21:06 +0000 (12:21 -0700)]
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

8 years agoUpdate VR HAL docs.
Ruben Brunk [Tue, 3 May 2016 02:29:57 +0000 (19:29 -0700)]
Update VR HAL docs.

Bug: 28526281
Change-Id: If9673af47962f6fadd10f8a622e9587245f7ffb6

8 years agoRevert "tv_input: add signal detection flag to stream config"
Dongwon Kang [Wed, 4 May 2016 17:44:33 +0000 (17:44 +0000)]
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: Ia4da08b2fd3288ad6e7ec67d93c505c2d07dae1c

8 years agoRevert "tv_input: add signal detection flag to stream config"
Dongwon Kang [Tue, 3 May 2016 23:37:18 +0000 (23:37 +0000)]
Revert "tv_input: add signal detection flag to stream config"

This reverts commit d15399e13d219c26d68cfe65a24eaf8788503f6b.

Change-Id: I02ef4ac7b796f3380616c08a42ecc4ad2d5e3474

8 years agoMerge "nanohub HAL: define magic value for nanoapp" into nyc-dev
Alexey Polyudov [Mon, 2 May 2016 21:05:11 +0000 (21:05 +0000)]
Merge "nanohub HAL: define magic value for nanoapp" into nyc-dev
am: d6c2deb560

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

Change-Id: Ibad10d3924210fd72897fab7f76fa204e1cd6df3

8 years agoMerge "nanohub HAL: define magic value for nanoapp" into nyc-dev
Alexey Polyudov [Mon, 2 May 2016 20:49:58 +0000 (20:49 +0000)]
Merge "nanohub HAL: define magic value for nanoapp" into nyc-dev

8 years agoMerge "Add definition of an event send from a nano app to host." into nyc-dev
destradaa [Fri, 29 Apr 2016 19:29:03 +0000 (19:29 +0000)]
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: I733839f61ef016a0f98adf7b1483c8b3e1934dff

8 years agoMerge "Add definition of an event send from a nano app to host." into nyc-dev
Daniel Estrada Alva [Fri, 29 Apr 2016 19:23:47 +0000 (19:23 +0000)]
Merge "Add definition of an event send from a nano app to host." into nyc-dev

8 years agoAdd definition of an event send from a nano app to host.
destradaa [Thu, 28 Apr 2016 00:56:15 +0000 (17:56 -0700)]
Add definition of an event send from a nano app to host.

Bug: 28273520
Change-Id: I4d5f7a6a844d542078a69155f166b0a7b0bc814c

8 years agonanohub HAL: define magic value for nanoapp
Alexey Polyudov [Thu, 28 Apr 2016 23:07:30 +0000 (16:07 -0700)]
nanohub HAL: define magic value for nanoapp

Bug: 28265099
Change-Id: Ifd8082aa7a72af9a02e9ad6bc66100e465f46ec0
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
8 years agoMerge "power: Platform-level low power state stats" into nyc-dev
Badhri Jagan Sridharan [Wed, 27 Apr 2016 23:50:31 +0000 (23:50 +0000)]
Merge "power: Platform-level low power state stats" into nyc-dev
am: 920f395

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

Change-Id: I4da95f880dc145cce9d6e6265c0a67846b0c23e6

8 years agoMerge "power: Platform-level low power state stats" into nyc-dev
Badhri Jagan Sridharan [Wed, 27 Apr 2016 23:32:16 +0000 (23:32 +0000)]
Merge "power: Platform-level low power state stats" into nyc-dev

8 years agopower: Platform-level low power state stats
Badhri Jagan Sridharan [Mon, 4 Apr 2016 04:46:07 +0000 (21:46 -0700)]
power: Platform-level low power state stats

Add interface to export export platform-level power stats
to BatteryStatsService.

Bug: 26564574

Change-Id: Ibd452c46d91b0055bc5aa0e6b2cc8ee7b428ea31

8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint. am: ae4fc8f -s ours am...
Bryce Lee [Wed, 27 Apr 2016 20:38:00 +0000 (20:38 +0000)]
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: Ia49b1dd3c5649291e2e59124547a91d9fc201a3c

8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint. am: ae4fc8f -s ours
Bryce Lee [Wed, 27 Apr 2016 20:35:25 +0000 (20:35 +0000)]
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

8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint.
Bryce Lee [Wed, 27 Apr 2016 20:05:27 +0000 (20:05 +0000)]
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

8 years agoMerge "[sensor] clarify definition of the uuid field" into nyc-dev
Peng Xu [Wed, 27 Apr 2016 19:55:56 +0000 (19:55 +0000)]
Merge "[sensor] clarify definition of the uuid field" into nyc-dev
am: 2235cac

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

Change-Id: I27da5b9de8ade511bebfb38124eac7e875445b9f

8 years agoMerge "[sensor] clarify definition of the uuid field" into nyc-dev
Peng Xu [Wed, 27 Apr 2016 19:37:57 +0000 (19:37 +0000)]
Merge "[sensor] clarify definition of the uuid field" into nyc-dev

8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint.
Bryce Lee [Wed, 27 Apr 2016 14:28:05 +0000 (07:28 -0700)]
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

8 years ago[sensor] clarify definition of the uuid field
Peng Xu [Sat, 23 Apr 2016 05:34:51 +0000 (22:34 -0700)]
[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

8 years agoclarify set failure due to power down
Keun-young Park [Tue, 26 Apr 2016 01:34:19 +0000 (01:34 +0000)]
clarify set failure due to power down
am: f709758

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

Change-Id: I781c383548e844c32722866e3522cabc7a8ace30

8 years agoclarify set failure due to power down
Keun-young Park [Tue, 26 Apr 2016 01:10:45 +0000 (18:10 -0700)]
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

8 years agomake some HVAC properties zoned
Keun-young Park [Sat, 23 Apr 2016 05:21:24 +0000 (05:21 +0000)]
make some HVAC properties zoned
am: f1ccec1

* commit 'f1ccec1dd1f71f841fe1577c2df29ff4157cb3d1':
  make some HVAC properties zoned

Change-Id: Idf0287fa3ce925880d2511f621fd9c8917bdeca1

8 years agomake some HVAC properties zoned
Keun-young Park [Fri, 22 Apr 2016 20:19:53 +0000 (13:19 -0700)]
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

8 years agoAdd guest mode functionality (3/5)
Ajay Panicker [Wed, 20 Apr 2016 00:52:02 +0000 (00:52 +0000)]
Add guest mode functionality (3/5)
am: 6366e2328f

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

Change-Id: I6252d7ebccb6594054069c33000acd74dd31d077

8 years agoAdd guest mode functionality (3/5)
Ajay Panicker [Fri, 18 Mar 2016 21:27:36 +0000 (14:27 -0700)]
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

8 years agoSensors: MultiHal: fix naming and compiler warning
Nick Vaccaro [Tue, 19 Apr 2016 20:46:24 +0000 (20:46 +0000)]
Sensors: MultiHal: fix naming and compiler warning
am: a889c09

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

Change-Id: I6e54703cb9fd52a3660d3219e579839b0d5ac584

8 years agoSensors: MultiHal: fix naming and compiler warning
Nick Vaccaro [Fri, 15 Apr 2016 17:17:07 +0000 (10:17 -0700)]
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

8 years agoMerge "nanohub: Fix error in HAL definition" into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 23:04:21 +0000 (23:04 +0000)]
Merge "nanohub: Fix error in HAL definition" into nyc-dev

8 years agoAdd interface for focus gain in A2DP SNK audio track.
Sanket Agarwal [Fri, 8 Apr 2016 18:27:53 +0000 (11:27 -0700)]
Add interface for focus gain in A2DP SNK audio track.

Bug: b/28065071
Change-Id: If5d3f197ac2e8d73f3f2e8edf764c84e5e08e6e8

8 years agonanohub: Fix error in HAL definition
Alexey Polyudov [Thu, 14 Apr 2016 17:28:35 +0000 (10:28 -0700)]
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>
8 years agoMerge "Gralloc 1.0" into nyc-dev
Dan Stoza [Tue, 12 Apr 2016 19:26:24 +0000 (19:26 +0000)]
Merge "Gralloc 1.0" into nyc-dev

8 years agoClarify Context hub implementation.
Ashutosh Joshi [Fri, 8 Apr 2016 00:25:06 +0000 (17:25 -0700)]
Clarify Context hub implementation.

Document message format.
Document nanoApp format.

Change-Id: Ibfa231c98249f2b3759c84af50c3e5e722553c3c

8 years agoGralloc 1.0
Dan Stoza [Tue, 8 Dec 2015 00:16:22 +0000 (16:16 -0800)]
Gralloc 1.0

Header for version 1.0 of the gralloc HAL

Bug: 22767098
Change-Id: Ib89a18dca4dcbb3c1d343ee38a7f06bcafe2589c

8 years agoMerge "contexthub: redefine hub_app_name" into nyc-dev
Alexey Polyudov [Mon, 11 Apr 2016 20:28:56 +0000 (20:28 +0000)]
Merge "contexthub: redefine hub_app_name" into nyc-dev

8 years agocontexthub: redefine hub_app_name
Alexey Polyudov [Fri, 8 Apr 2016 17:24:57 +0000 (10:24 -0700)]
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>
8 years agoMerge "Add "clear" command." into nyc-dev
Arunesh Mishra [Sat, 9 Apr 2016 01:49:37 +0000 (01:49 +0000)]
Merge "Add "clear" command." into nyc-dev

8 years agoMerge "Fixed the sign error in GnssClock" into nyc-dev
Wyatt Riley [Fri, 8 Apr 2016 23:41:16 +0000 (23:41 +0000)]
Merge "Fixed the sign error in GnssClock" into nyc-dev

8 years agoFixed the sign error in GnssClock
Lifu Tang [Fri, 8 Apr 2016 02:22:12 +0000 (19:22 -0700)]
Fixed the sign error in GnssClock

Bug: 28068514
Change-Id: I6e227caca520aa19ef586e1436f704dad741e3bb

8 years agoMerge "HWC2: Add getHdrCapabilities" into nyc-dev
Dan Stoza [Fri, 8 Apr 2016 19:09:21 +0000 (19:09 +0000)]
Merge "HWC2: Add getHdrCapabilities" into nyc-dev

8 years agoAdd "clear" command.
Arunesh Mishra [Mon, 22 Feb 2016 23:50:12 +0000 (15:50 -0800)]
Add "clear" command.

 Minor visual fixes for the command line interface.

 Bug: 27279191

Change-Id: Ibb20231125c5d46bffc9241711c46dd8101dffb3

8 years agovehicle hal further clarification / HVAC update
Keun-young Park [Wed, 6 Apr 2016 17:44:20 +0000 (10:44 -0700)]
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

8 years agoFix typo in error logs in r_submix open_input_stream function
Jean-Michel Trivi [Wed, 6 Apr 2016 00:20:29 +0000 (17:20 -0700)]
Fix typo in error logs in r_submix open_input_stream function

Change-Id: I52d5268290802e3f0a88662aa6fbe9a46efda735

8 years agoMerge "Fix build error in stub soundtrigger HAL" into nyc-dev
Ryan Bavetta [Fri, 1 Apr 2016 22:07:14 +0000 (22:07 +0000)]
Merge "Fix build error in stub soundtrigger HAL" into nyc-dev

8 years agoMerge "Update temp limits in thermal HAL impl." into nyc-dev
Ruben Brunk [Thu, 31 Mar 2016 18:03:34 +0000 (18:03 +0000)]
Merge "Update temp limits in thermal HAL impl." into nyc-dev

8 years agoMerge "Add two sensor flags" into nyc-dev
Peng Xu [Thu, 31 Mar 2016 01:20:41 +0000 (01:20 +0000)]
Merge "Add two sensor flags" into nyc-dev

8 years agoAdd two sensor flags
Peng Xu [Wed, 30 Mar 2016 01:14:05 +0000 (18:14 -0700)]
Add two sensor flags

Add sensor flag for indication of dynamically added sensor and
support of additional information.

Change-Id: I02ee7d6d325f6cb04f371bcde6bb755f52720671

8 years agoBump the sound trigger device api's minor version number.
Chris Thornton [Wed, 30 Mar 2016 18:25:11 +0000 (11:25 -0700)]
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

8 years agoFix build error in stub soundtrigger HAL
Ryan Bavetta [Fri, 25 Mar 2016 18:49:21 +0000 (11:49 -0700)]
Fix build error in stub soundtrigger HAL

Also combines sound model events and trigger events

BUG:27852833
Change-Id: I277b35a5b32c18b09a2c68024f30f9b981688900

8 years agoMerge "context_hub: Fix version defines" into nyc-dev
Greg Kaiser [Tue, 29 Mar 2016 19:30:40 +0000 (19:30 +0000)]
Merge "context_hub: Fix version defines" into nyc-dev

8 years agoMerge "fix wrong description in AUDIO_HW_VARIANT" into nyc-dev
Keun-young Park [Tue, 29 Mar 2016 18:22:20 +0000 (18:22 +0000)]
Merge "fix wrong description in AUDIO_HW_VARIANT" into nyc-dev

8 years agoMerge "Adds stop_all_recognitions as an optional method to the sound trigger hal...
Chris Thornton [Tue, 29 Mar 2016 17:40:28 +0000 (17:40 +0000)]
Merge "Adds stop_all_recognitions as an optional method to the sound trigger hal." into nyc-dev

8 years agofix wrong description in AUDIO_HW_VARIANT
Keun-young Park [Tue, 29 Mar 2016 16:52:41 +0000 (09:52 -0700)]
fix wrong description in AUDIO_HW_VARIANT

- simplify it as external vs internal radio

bug: 27898442
Change-Id: I31c6984caf902566c65b1911a59d58c98e19e25b

8 years agoAdds stop_all_recognitions as an optional method to the sound trigger hal.
Chris Thornton [Mon, 28 Mar 2016 00:12:30 +0000 (17:12 -0700)]
Adds stop_all_recognitions as an optional method to the sound trigger hal.

Change-Id: I6c905b79673fe21782f5dc5f3abc4c2ac75de805

8 years agoRevert "Add guest mode functionality (3/5)"
Ajay Panicker [Mon, 28 Mar 2016 21:59:06 +0000 (21:59 +0000)]
Revert "Add guest mode functionality (3/5)"

This reverts commit 72642d65836f3b01f0b2c005ad1041069dff7288.

Change-Id: Iebd5764811dd66c87ca2d633900a2094eb085b38

8 years agoHWC2: Add getHdrCapabilities
Dan Stoza [Wed, 16 Mar 2016 16:54:40 +0000 (09:54 -0700)]
HWC2: Add getHdrCapabilities

Adds support for querying the HDR capabilities of a connected display.

Bug: 25684127
Change-Id: I9f927f1e92ca9854cb63804177521caf77cf98f5

8 years agoAdd guest mode functionality (3/5)
Ajay Panicker [Fri, 18 Mar 2016 21:27:36 +0000 (14:27 -0700)]
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

8 years agocontext_hub: Fix version defines
Greg Kaiser [Mon, 28 Mar 2016 16:06:56 +0000 (09:06 -0700)]
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

8 years agoMerge "Zero length in keymaster_free_param_set." into nyc-dev
Shawn Willden [Sat, 26 Mar 2016 21:38:29 +0000 (21:38 +0000)]
Merge "Zero length in keymaster_free_param_set." into nyc-dev

8 years agoMerge "Add keymaster_security_level_t for attestation." into nyc-dev
Shawn Willden [Sat, 26 Mar 2016 16:04:11 +0000 (16:04 +0000)]
Merge "Add keymaster_security_level_t for attestation." into nyc-dev

8 years agoMerge "Remove agree_key and add configure to keymaster2." into nyc-dev
Shawn Willden [Sat, 26 Mar 2016 15:17:34 +0000 (15:17 +0000)]
Merge "Remove agree_key and add configure to keymaster2." into nyc-dev

8 years agoUpdate temp limits in thermal HAL impl.
Ruben Brunk [Fri, 25 Mar 2016 20:45:00 +0000 (13:45 -0700)]
Update temp limits in thermal HAL impl.

Bug: 27549685
Change-Id: I280610bbfda7d9fb65a7bc42831c4a545ea21757