OSDN Git Service

android-x86/hardware-libhardware.git
8 years agoMerge "Improve stub hal read and write timing" into nyc-mr1-dev
Andy Hung [Fri, 15 Jul 2016 05:06:15 +0000 (05:06 +0000)]
Merge "Improve stub hal read and write timing" into nyc-mr1-dev

8 years agoHWC2: Add SKIP_CLIENT_COLOR_TRANSFORM capability
Dan Stoza [Thu, 14 Jul 2016 18:48:16 +0000 (11:48 -0700)]
HWC2: Add SKIP_CLIENT_COLOR_TRANSFORM capability

Adds HWC2_CAPABILITY_SKIP_CLIENT_COLOR_TRANSFORM, which indicates
that the client should never apply the color transform, even if all
layers are being composed by the client. This allows the device to
use its color management hardware in all cases to avoid any potential
mismatches between client and device application of the transform.

Bug: 29870302
Change-Id: I90234d91858206714e650eadb03227a4a180d975

8 years agoHWC2: Redefine retire fence as present fence
Dan Stoza [Wed, 13 Jul 2016 21:51:09 +0000 (14:51 -0700)]
HWC2: Redefine retire fence as present fence

Redefines the retire fence returned by presentDisplay to be a present
fence with more strictly defined semantics: this fence should fire
at the vsync when the frame is picked up by hardware, either for
scanout (in the case of video-mode panels) or for transfer to panel
memory (in the case of command-mode panels).

Bug: 29771461
Change-Id: Idf5f86c92a8748426cf3368242c08876a48d81dd

8 years agoImprove stub hal read and write timing
Andy Hung [Sat, 25 Jun 2016 02:41:06 +0000 (19:41 -0700)]
Improve stub hal read and write timing

Now considers time to mix or record.

Bug: 29634175
Change-Id: Ifb2a2e11cb75ca9e83aadbc95943a618b0707f3f

8 years agoMerge "audio: Add callback event to asynchronously notify error" into nyc-mr1-dev
Eric Laurent [Tue, 12 Jul 2016 21:01:40 +0000 (21:01 +0000)]
Merge "audio: Add callback event to asynchronously notify error" into nyc-mr1-dev

8 years agoaudio: Add callback event to asynchronously notify error
Haynes Mathew George [Fri, 8 Jul 2016 03:05:39 +0000 (20:05 -0700)]
audio: Add callback event to asynchronously notify error

Add new event to notify error using async callback path

Change-Id: I80a0ff74ea5a6497331a87ee33b2d0a890cbd2db

8 years agocontext hub: add reboot command/response and reboot notification
Alexey Polyudov [Sun, 10 Jul 2016 21:26:18 +0000 (14:26 -0700)]
context hub: add reboot command/response and reboot notification

Change-Id: I20447c0b20eb2d6c4019f8038cb19749fee0126b

8 years agoRevert \"Fingerprint: Add an API to support throttling.\"
Jim Miller [Wed, 15 Jun 2016 02:01:44 +0000 (02:01 +0000)]
Revert \"Fingerprint: Add an API to support throttling.\"
am: e453c5212a

Change-Id: Ic925b2038494d20038de1d10454a5de3114d7763

8 years agoRevert "Fingerprint: Add an API to support throttling."
Jim Miller [Tue, 14 Jun 2016 23:52:03 +0000 (23:52 +0000)]
Revert "Fingerprint: Add an API to support throttling."

This reverts commit 7e9204a954deeeb6c2fad6752b87af0638ef0d5d.

Fixes bug 29248095

Change-Id: I60ce4dd96affbc263a14921cbdda59df7e7a65f4

8 years agoUse UINT16 for GATT attribute id field
Jakub Pawlowski [Tue, 14 Jun 2016 22:27:40 +0000 (22:27 +0000)]
Use UINT16 for GATT attribute id field
am: 7dde9350e6

Change-Id: I84a92dc5d8a3d58b9e75767b5afe85b1b5391d48

8 years agoMerge "Re-add gralloc 1.0 header" into nyc-mr1-dev
Dan Stoza [Tue, 14 Jun 2016 19:59:37 +0000 (19:59 +0000)]
Merge "Re-add gralloc 1.0 header" into nyc-mr1-dev

8 years agoUse UINT16 for GATT attribute id field
Jakub Pawlowski [Tue, 14 Jun 2016 19:45:59 +0000 (12:45 -0700)]
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

8 years agoSimplify and clarify channel count/mask calculation for stream open routines.
Paul McLean [Mon, 6 Jun 2016 19:26:05 +0000 (13:26 -0600)]
Simplify and clarify channel count/mask calculation for stream open routines.

Bug: 29154372
Change-Id: I849c02da0cc500e906cbda97b7258a3acf1e38f2

8 years agoRe-add gralloc 1.0 header
Dan Stoza [Fri, 20 May 2016 20:10:14 +0000 (13:10 -0700)]
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

8 years agoreplace naked pthread_mutex_ functions with semantics-explicit lock/unlock functions.
Paul McLean [Thu, 2 Jun 2016 21:33:24 +0000 (15:33 -0600)]
replace naked pthread_mutex_ functions with semantics-explicit lock/unlock functions.

Bug: 29103653
Change-Id: Ic91f75f8653f7946790b8b433236fd918b41f3a6

8 years agoMerge "Fix up inconsistent variable names." into nyc-mr1-dev
Paul Mclean [Thu, 2 Jun 2016 13:37:17 +0000 (13:37 +0000)]
Merge "Fix up inconsistent variable names." into nyc-mr1-dev

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 agoFix up inconsistent variable names.
Paul McLean [Wed, 1 Jun 2016 18:29:11 +0000 (12:29 -0600)]
Fix up inconsistent variable names.

Bug: 29065081
Change-Id: I1c8305afdebd7e1eedb4afafb0d06003c6a9e576

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