OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoBluetooth: Make Send() send a complete packet am: df765eab60 am: 1daf027d94 am: 0c2f2...
Myles Watson [Tue, 31 Jan 2017 00:51:00 +0000 (00:51 +0000)]
Bluetooth: Make Send() send a complete packet am: df765eab60 am: 1daf027d94 am: 0c2f2e6cfc
am: 741becf25b

Change-Id: I639490a373a5350b65d195752ec0773de63e05da

7 years agoBluetooth: Make Send() send a complete packet am: df765eab60 am: 1daf027d94
Myles Watson [Tue, 31 Jan 2017 00:49:00 +0000 (00:49 +0000)]
Bluetooth: Make Send() send a complete packet am: df765eab60 am: 1daf027d94
am: 0c2f2e6cfc

Change-Id: I094f31f7e7f98669654ed7fb54f3e9d7ba799229

7 years agoBluetooth: Make Send() send a complete packet am: df765eab60
Myles Watson [Tue, 31 Jan 2017 00:46:59 +0000 (00:46 +0000)]
Bluetooth: Make Send() send a complete packet am: df765eab60
am: 1daf027d94

Change-Id: I6af485cb009c69d53e59dd72f2b9723f9c28f856

7 years agoBluetooth: Make Send() send a complete packet
Myles Watson [Tue, 31 Jan 2017 00:44:29 +0000 (00:44 +0000)]
Bluetooth: Make Send() send a complete packet
am: df765eab60

Change-Id: I742da2de02c1205ced2c9c62a28dba22d9060520

7 years agoBluetooth: Check for waiting HAL callbacks am: a7d33b3636 am: 00802c2adb am: 1a9a9321bc
Myles Watson [Tue, 31 Jan 2017 00:39:43 +0000 (00:39 +0000)]
Bluetooth: Check for waiting HAL callbacks am: a7d33b3636 am: 00802c2adb am: 1a9a9321bc
am: 8b2b644d1b

Change-Id: I01f81cdbe26df58fae38fe400eb31f1416e26246

7 years agoBluetooth: Use fixed-size preambles am: 71390182c6 am: a6b8e5af81 am: 8c74ee070f
Myles Watson [Tue, 31 Jan 2017 00:39:40 +0000 (00:39 +0000)]
Bluetooth: Use fixed-size preambles am: 71390182c6 am: a6b8e5af81 am: 8c74ee070f
am: 2d5c719626

Change-Id: Ic6c76a7fa5cd2f80aaf3b89777b6a25453e49d49

7 years agoBluetooth: Clean up some messages am: 8ffcbc7797 am: 257a7d9874 am: ce7ca8910c
Myles Watson [Tue, 31 Jan 2017 00:39:30 +0000 (00:39 +0000)]
Bluetooth: Clean up some messages am: 8ffcbc7797 am: 257a7d9874 am: ce7ca8910c
am: 19e8699702

Change-Id: I813d65e4686f4dede53bb2ff5fdbeda0c0fd35bf

7 years agoBluetooth: Check for waiting HAL callbacks am: a7d33b3636 am: 00802c2adb
Myles Watson [Tue, 31 Jan 2017 00:38:18 +0000 (00:38 +0000)]
Bluetooth: Check for waiting HAL callbacks am: a7d33b3636 am: 00802c2adb
am: 1a9a9321bc

Change-Id: I2d9874d887e399a4b92e9213e9585420aa6fb484

7 years agoBluetooth: Use fixed-size preambles am: 71390182c6 am: a6b8e5af81
Myles Watson [Tue, 31 Jan 2017 00:38:16 +0000 (00:38 +0000)]
Bluetooth: Use fixed-size preambles am: 71390182c6 am: a6b8e5af81
am: 8c74ee070f

Change-Id: Ibfabfe0e48f79c88bea8ddc37e6dfd316356c39a

7 years agoBluetooth: Clean up some messages am: 8ffcbc7797 am: 257a7d9874
Myles Watson [Tue, 31 Jan 2017 00:38:04 +0000 (00:38 +0000)]
Bluetooth: Clean up some messages am: 8ffcbc7797 am: 257a7d9874
am: ce7ca8910c

Change-Id: I196e8c22860e3a80f459d7cde85f9cce8cbf1997

7 years agoBluetooth: Make Send() send a complete packet
Myles Watson [Mon, 30 Jan 2017 17:07:37 +0000 (09:07 -0800)]
Bluetooth: Make Send() send a complete packet

Add the packet type to Send() so that it is called once per packet.

Test: Bluetooth starts/stops and scans
Change-Id: I2ef9c5f9a85d3227d4ff181b6a6931f239f75049

7 years agoBluetooth: Check for waiting HAL callbacks am: a7d33b3636
Myles Watson [Tue, 31 Jan 2017 00:35:41 +0000 (00:35 +0000)]
Bluetooth: Check for waiting HAL callbacks am: a7d33b3636
am: 00802c2adb

Change-Id: Ic6f63235c8f2d946a4447392664c5a56bb667b99

7 years agoBluetooth: Use fixed-size preambles am: 71390182c6
Myles Watson [Tue, 31 Jan 2017 00:35:40 +0000 (00:35 +0000)]
Bluetooth: Use fixed-size preambles am: 71390182c6
am: a6b8e5af81

Change-Id: I128cc310c47198de6ad0ee5629c3b99592355d19

7 years agoBluetooth: Clean up some messages am: 8ffcbc7797
Myles Watson [Tue, 31 Jan 2017 00:35:29 +0000 (00:35 +0000)]
Bluetooth: Clean up some messages am: 8ffcbc7797
am: 257a7d9874

Change-Id: Ib828685b64d701faf93422bfca8452f3c9c9fdc9

7 years agoBluetooth: Check for waiting HAL callbacks
Myles Watson [Tue, 31 Jan 2017 00:33:11 +0000 (00:33 +0000)]
Bluetooth: Check for waiting HAL callbacks
am: a7d33b3636

Change-Id: Id68578c65b30f92c010ec266e04d2f0a21a9d6a8

7 years agoBluetooth: Use fixed-size preambles
Myles Watson [Tue, 31 Jan 2017 00:33:10 +0000 (00:33 +0000)]
Bluetooth: Use fixed-size preambles
am: 71390182c6

Change-Id: I764ed03fcefd7d9f224962d01669001cb6f4d73b

7 years agoBluetooth: Clean up some messages
Myles Watson [Tue, 31 Jan 2017 00:32:58 +0000 (00:32 +0000)]
Bluetooth: Clean up some messages
am: 8ffcbc7797

Change-Id: I77827f09ee695fc71c87350919a54b13d2a8158f

7 years agoBluetooth: Check for waiting HAL callbacks
Myles Watson [Tue, 24 Jan 2017 17:09:58 +0000 (09:09 -0800)]
Bluetooth: Check for waiting HAL callbacks

Test: Bluetooth boots, turns on/off
Change-Id: Iad2f359a78c9acbf0fe44740ed0813de462ce57c

7 years agoBluetooth: Use fixed-size preambles
Myles Watson [Tue, 24 Jan 2017 21:34:59 +0000 (13:34 -0800)]
Bluetooth: Use fixed-size preambles

Test: Bluetooth turns on/off finds devices in Settings
Change-Id: Id640f3dbde3f53b31ce62eccf59bbc8d25130388

7 years agoBluetooth: Clean up some messages
Myles Watson [Fri, 20 Jan 2017 18:09:38 +0000 (10:09 -0800)]
Bluetooth: Clean up some messages

Use Info for low-frequency messages.
Print hex for characters.

Test: Bluetooth turns on/off
Change-Id: If1fe20a71287cc91c2a7225488e5d44c7ee4ecee

7 years agoMerge "Add coverage to tv_input, tv_cec, and vehicle vts hal tests"
Yuexi Ma [Mon, 30 Jan 2017 16:06:51 +0000 (16:06 +0000)]
Merge "Add coverage to tv_input, tv_cec, and vehicle vts hal tests"

7 years agoMerge "Add enums for 10bit color formats"
Courtney Goeltzenleuchter [Mon, 30 Jan 2017 15:49:52 +0000 (15:49 +0000)]
Merge "Add enums for 10bit color formats"

7 years agoMerge "Fix AP_POWER_STATE property in Vehicle HAL"
TreeHugger Robot [Sat, 28 Jan 2017 09:42:34 +0000 (09:42 +0000)]
Merge "Fix AP_POWER_STATE property in Vehicle HAL"

7 years agoMerge "Adding VMS message type and a structure to the VMS messages."
Asaf Rosenfeld [Sat, 28 Jan 2017 06:12:53 +0000 (06:12 +0000)]
Merge "Adding VMS message type and a structure to the VMS messages."

7 years agoMerge "Add dataspace definition for sensor direct report"
TreeHugger Robot [Sat, 28 Jan 2017 01:56:51 +0000 (01:56 +0000)]
Merge "Add dataspace definition for sensor direct report"

7 years agoMerge "Include what you use." am: c6ce733d24 am: 273d770b79 am: 8f04fc18d8
Dan Albert [Sat, 28 Jan 2017 01:35:25 +0000 (01:35 +0000)]
Merge "Include what you use." am: c6ce733d24 am: 273d770b79 am: 8f04fc18d8
am: 828915fd76

Change-Id: I827edd6fb2739fc98a79fcf9e654cad5f237dc3d

7 years agoMerge "Include what you use." am: c6ce733d24 am: 273d770b79
Dan Albert [Sat, 28 Jan 2017 01:32:54 +0000 (01:32 +0000)]
Merge "Include what you use." am: c6ce733d24 am: 273d770b79
am: 8f04fc18d8

Change-Id: I1176267e71a4f692012b23a2ecdd62c529a40ed5

7 years agoMerge "Include what you use." am: c6ce733d24
Dan Albert [Sat, 28 Jan 2017 01:30:24 +0000 (01:30 +0000)]
Merge "Include what you use." am: c6ce733d24
am: 273d770b79

Change-Id: I111d6ac43ccc152910e59e473504c4a910c8882e

7 years agoMerge "Include what you use."
Dan Albert [Sat, 28 Jan 2017 01:27:54 +0000 (01:27 +0000)]
Merge "Include what you use."
am: c6ce733d24

Change-Id: I2a032e8ed6d10a02a96bc241cbe8805df73265f1

7 years agoMerge "TV Input target-side test"
TreeHugger Robot [Sat, 28 Jan 2017 01:26:48 +0000 (01:26 +0000)]
Merge "TV Input target-side test"

7 years agoMerge "Include what you use."
Treehugger Robot [Sat, 28 Jan 2017 01:25:53 +0000 (01:25 +0000)]
Merge "Include what you use."

7 years agoMerge "Enable loading of treble-based plugins"
Jeff Tinker [Sat, 28 Jan 2017 01:22:18 +0000 (01:22 +0000)]
Merge "Enable loading of treble-based plugins"

7 years agoMerge "Vehicle HAL: add wheeltick property"
TreeHugger Robot [Sat, 28 Jan 2017 00:58:45 +0000 (00:58 +0000)]
Merge "Vehicle HAL: add wheeltick property"

7 years agoFixed typos and incorrect types am: f346766c0c am: cca4aa5b18 am: ed15637786
Jack Yu [Sat, 28 Jan 2017 00:56:34 +0000 (00:56 +0000)]
Fixed typos and incorrect types am: f346766c0c am: cca4aa5b18 am: ed15637786
am: a28e0d5c69

Change-Id: I7342b6d30418f28c8531960e9aad682e625debb9

7 years agoMerge "Removed TODOs from radio hal." am: c5447fce20 am: ca1388166a am: b2cdacaa6e
Sanket Padawe [Sat, 28 Jan 2017 00:56:22 +0000 (00:56 +0000)]
Merge "Removed TODOs from radio hal." am: c5447fce20 am: ca1388166a am: b2cdacaa6e
am: 1ef858b769

Change-Id: I1d7da242ff8297b01241e6de1a0c549924f56f08

7 years agoFixed typos and incorrect types am: f346766c0c am: cca4aa5b18
Jack Yu [Sat, 28 Jan 2017 00:54:03 +0000 (00:54 +0000)]
Fixed typos and incorrect types am: f346766c0c am: cca4aa5b18
am: ed15637786

Change-Id: I5a3a4cc527008a323ebd8b0ed4873a3e0e49bf81

7 years agoMerge "Removed TODOs from radio hal." am: c5447fce20 am: ca1388166a
Sanket Padawe [Sat, 28 Jan 2017 00:53:51 +0000 (00:53 +0000)]
Merge "Removed TODOs from radio hal." am: c5447fce20 am: ca1388166a
am: b2cdacaa6e

Change-Id: Ie26aded569367bb5046011d4b4393dddc501bd08

7 years agoFixed typos and incorrect types am: f346766c0c
Jack Yu [Sat, 28 Jan 2017 00:51:32 +0000 (00:51 +0000)]
Fixed typos and incorrect types am: f346766c0c
am: cca4aa5b18

Change-Id: Iebc365f57c86db42ea6f724af639a56ab1182555

7 years agoMerge "Removed TODOs from radio hal." am: c5447fce20
Sanket Padawe [Sat, 28 Jan 2017 00:51:21 +0000 (00:51 +0000)]
Merge "Removed TODOs from radio hal." am: c5447fce20
am: ca1388166a

Change-Id: Ifd295cd847a1540075ff493d32cf39ea9a5bb1b4

7 years agoFixed typos and incorrect types
Jack Yu [Sat, 28 Jan 2017 00:49:04 +0000 (00:49 +0000)]
Fixed typos and incorrect types
am: f346766c0c

Change-Id: I1f768df471c89783b783684d77fa8f5c6f47b476

7 years agoMerge "Removed TODOs from radio hal."
Sanket Padawe [Sat, 28 Jan 2017 00:48:52 +0000 (00:48 +0000)]
Merge "Removed TODOs from radio hal."
am: c5447fce20

Change-Id: Ib97124740651fbbe7c8dfb205129bbcc7f6ef04f

7 years agoFixed typos and incorrect types
Jack Yu [Fri, 20 Jan 2017 23:36:56 +0000 (15:36 -0800)]
Fixed typos and incorrect types

Fixed typos, incorrect types for bitmap, and comment
alignment.

Test: Build
Merged-In: I51a99fa71877cfe168ee2cf31de702f36f57d013
Change-Id: I51a99fa71877cfe168ee2cf31de702f36f57d013

7 years agoMerge "Removed TODOs from radio hal."
Treehugger Robot [Sat, 28 Jan 2017 00:44:35 +0000 (00:44 +0000)]
Merge "Removed TODOs from radio hal."

7 years agoTV Input target-side test
Shubang [Tue, 24 Jan 2017 23:51:10 +0000 (15:51 -0800)]
TV Input target-side test

Test: make vts; vts-tradefed; run -m HalTvInputHidlTargetTest
Change-Id: Ifd8a178c9d1dde9b8e87ba0ff06aad75a811b420

7 years agoAdding VMS message type and a structure to the VMS messages.
asafro [Thu, 26 Jan 2017 19:37:39 +0000 (11:37 -0800)]
Adding VMS message type and a structure to the VMS messages.

Test: will add set/get values to DefaultHalImpl
Bug: 34465596
Change-Id: I9fded644dc482a5ed429ba1766d9d01b083f9d87

7 years agoMerge "vibrator HAL uses "default" service name"
Steven Moreland [Fri, 27 Jan 2017 23:02:19 +0000 (23:02 +0000)]
Merge "vibrator HAL uses "default" service name"

7 years agovibrator HAL uses "default" service name
Chris Phoenix [Thu, 26 Jan 2017 17:28:58 +0000 (09:28 -0800)]
vibrator HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: service registers correctly as default

Bug: 33844934
Change-Id: Ic0e9ff98b16bfb66e67222054653b7347442bacb

7 years agoMerge "remove unused include subdir line from Android.mk file at leaf directory"
TreeHugger Robot [Fri, 27 Jan 2017 01:59:41 +0000 (01:59 +0000)]
Merge "remove unused include subdir line from Android.mk file at leaf directory"

7 years agoMerge "Use HIDL's memory for shared memory and add wrapper interfaces for IGraphicBuf...
Pawin Vongmasa [Fri, 27 Jan 2017 01:16:32 +0000 (01:16 +0000)]
Merge "Use HIDL's memory for shared memory and add wrapper interfaces for IGraphicBufferProducer."

7 years agoMerge "Add logic to actually read OBD2 sensor properties to VehicleHidlTest"
Enrico Granata [Fri, 27 Jan 2017 01:00:12 +0000 (01:00 +0000)]
Merge "Add logic to actually read OBD2 sensor properties to VehicleHidlTest"

7 years agoremove unused include subdir line from Android.mk file at leaf directory
Yuexi Ma [Fri, 27 Jan 2017 00:04:15 +0000 (16:04 -0800)]
remove unused include subdir line from Android.mk file at leaf directory

Bug: 34695422
Test: make vts
Change-Id: I1f7bcacdd8790f3bb13bc6aa7d80e485db4a4dc4

7 years agoInclude what you use.
Dan Albert [Thu, 26 Jan 2017 23:33:15 +0000 (15:33 -0800)]
Include what you use.

Test: mm
Bug: http://b/34740564
Change-Id: I75cf88b79faf68764f1223e39595d0320d7b682a

7 years agoAdd logic to actually read OBD2 sensor properties to VehicleHidlTest
Enrico Granata [Thu, 19 Jan 2017 23:01:26 +0000 (15:01 -0800)]
Add logic to actually read OBD2 sensor properties to VehicleHidlTest

Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VehicleHidlTest -l INFO

Change-Id: I0817823ea00354b27c90bdd412012320868b9e8f

7 years agoEnable loading of treble-based plugins
Jeff Tinker [Tue, 24 Jan 2017 14:58:26 +0000 (06:58 -0800)]
Enable loading of treble-based plugins

Test: gtests passing

bug: 34507158
Change-Id: I712dea8e211e83b36cb103d913405521d55123f5

7 years agoMerge "Introduce ComposerBase interface to allow custom Hwc implementations"
TreeHugger Robot [Thu, 26 Jan 2017 19:37:57 +0000 (19:37 +0000)]
Merge "Introduce ComposerBase interface to allow custom Hwc implementations"

7 years agoFix AP_POWER_STATE property in Vehicle HAL
Pavel Maltsev [Thu, 26 Jan 2017 19:24:18 +0000 (11:24 -0800)]
Fix AP_POWER_STATE property in Vehicle HAL

Test: mm -j32, manual

Change-Id: I50e7ff68054c42a3f684df4858cf8fa6506ed6c3
Fix: b/34722118

7 years agoVehicle HAL: add wheeltick property
Pavel Maltsev [Thu, 19 Jan 2017 00:04:11 +0000 (16:04 -0800)]
Vehicle HAL: add wheeltick property

Bug: b/31926188

Test: mm -j
Change-Id: I290c7363fc93c838aa75cfc913368f907a566d47

7 years agoMerge "Rename the VMDS property to VMS which is how it is called now. Test: Fixed...
Asaf Rosenfeld [Thu, 26 Jan 2017 18:53:23 +0000 (18:53 +0000)]
Merge "Rename the VMDS property to VMS which is how it is called now. Test: Fixed HAL tests with the new property name Bug:34682582"

7 years agoIntroduce ComposerBase interface to allow custom Hwc implementations
Daniel Nicoara [Mon, 9 Jan 2017 17:51:06 +0000 (12:51 -0500)]
Introduce ComposerBase interface to allow custom Hwc implementations

Decouples the ComposerClient code which deals with parsing the command buffer
messages sent by SurfaceFlinger from the Hwc code that handles the
commands.

Bug: 33297270
Test: Compiled and verified on device that hwcomposer-2-1 service can
start correctly. SurfaceFlinger can connect to the service and the
system boots up. Also verified SurfaceFlinger runs correctly without
hwcomposer-2-1.
Change-Id: I43357306caea57d262735f4756c379ba9d0138cd

7 years agoMerge "Fix HalGatekeeperHidlTargetBasicProfilingTest."
TreeHugger Robot [Thu, 26 Jan 2017 07:31:39 +0000 (07:31 +0000)]
Merge "Fix HalGatekeeperHidlTargetBasicProfilingTest."

7 years agoMerge "clean up default fingerprint HIDL@2.1 implementation"
Jim Miller [Thu, 26 Jan 2017 05:38:44 +0000 (05:38 +0000)]
Merge "clean up default fingerprint HIDL@2.1 implementation"

7 years agoFix HalGatekeeperHidlTargetBasicProfilingTest.
Zhuoyao Zhang [Thu, 26 Jan 2017 04:16:10 +0000 (20:16 -0800)]
Fix HalGatekeeperHidlTargetBasicProfilingTest.

* Similar fix for HalMemtrackHidlTargetProfilingTest

Test: make vts.
Change-Id: I999d18c53e321921f4bc1a4babe34520cc496321

7 years agoMerge "Increase the timeout for NfcHidlTargetProfilingTest." am: 6d88fc9a6a am: 62cc5...
Zhuoyao Zhang [Thu, 26 Jan 2017 04:03:45 +0000 (04:03 +0000)]
Merge "Increase the timeout for NfcHidlTargetProfilingTest." am: 6d88fc9a6a am: 62cc546eec am: 21d5b70212
am: b6492bc464

Change-Id: I10e9cee844367c63f74754ee451b316738f56906

7 years agoMerge "Increase the timeout for NfcHidlTargetProfilingTest." am: 6d88fc9a6a am: 62cc5...
Zhuoyao Zhang [Thu, 26 Jan 2017 04:00:44 +0000 (04:00 +0000)]
Merge "Increase the timeout for NfcHidlTargetProfilingTest." am: 6d88fc9a6a am: 62cc546eec
am: 21d5b70212

Change-Id: I96fa7e8a6816a13409b049248db18731ae9caf27

7 years agoMerge "Increase the timeout for NfcHidlTargetProfilingTest." am: 6d88fc9a6a
Zhuoyao Zhang [Thu, 26 Jan 2017 03:58:15 +0000 (03:58 +0000)]
Merge "Increase the timeout for NfcHidlTargetProfilingTest." am: 6d88fc9a6a
am: 62cc546eec

Change-Id: I6cae2e1ddedcd2424739a309a6c27b08d1277a93

7 years agoMerge "Increase the timeout for NfcHidlTargetProfilingTest."
Zhuoyao Zhang [Thu, 26 Jan 2017 03:55:45 +0000 (03:55 +0000)]
Merge "Increase the timeout for NfcHidlTargetProfilingTest."
am: 6d88fc9a6a

Change-Id: Ib6c2cd2bce720180ff2365b936e07bd217a265dd

7 years agoMerge "Increase the timeout for NfcHidlTargetProfilingTest."
Zhuoyao Zhang [Thu, 26 Jan 2017 03:52:06 +0000 (03:52 +0000)]
Merge "Increase the timeout for NfcHidlTargetProfilingTest."

7 years agoMerge "fix errata in comment"
Keun-young Park [Thu, 26 Jan 2017 03:08:57 +0000 (03:08 +0000)]
Merge "fix errata in comment"

7 years agoMerge "EVS HAL with multi-buffer support via BufferDesc"
Scott Randolph [Thu, 26 Jan 2017 01:56:22 +0000 (01:56 +0000)]
Merge "EVS HAL with multi-buffer support via BufferDesc"

7 years agoEVS HAL with multi-buffer support via BufferDesc
Scott Randolph [Mon, 23 Jan 2017 20:35:05 +0000 (12:35 -0800)]
EVS HAL with multi-buffer support via BufferDesc

HAL changes required in order to enable required functionality.
Specifically, support for use of supplied buffers as OpenGL textures.
Addition of getDisplayState is needed in order to meet original API
spec (allow secondary clients to monitor display state).  Expected to be
needed specifically by Car Service.  Note that this HAL is not used on
the phone and only relevant to the Android Auto at this point.

Test:  compile & run evs_test.  Still issues with buffer locking.

Added getDisplayState() to IEvsEnumerator to allow secondary clients to
query for display state without having to acquire the display.

Introduced the use of weak pointers in the service to detect when
clients holding an object disappear unexpectedly.

Plus squashed commit of the following:

commit 26c685b430028384157f573b31264ff03ea4c37b
Author: Scott Randolph <randolphs@google.com>
Date:   Thu Jan 19 17:29:54 2017 -0800

    Convert EVS HAL to use BufferDesc (vs raw handles)

    Use a structure that includes the buffer properties in addition to the
    memory handle itself to make it easier/safer for the HAL client code to
    reconstruct ANativeWindowBuffer objects (as required when using the
    buffer as a GL texture, for example)

    Change-Id: Ifebf0c03b9ad167d61152b85f8229d5970cc41af

commit 0286385694282e017c12f238f5aaa86d8d1bd600
Author: Scott Randolph <randolphs@google.com>
Date:   Tue Jan 17 12:01:09 2017 -0800

    Incremental cleanup of EVS driver

    Change-Id: Ibba2b7d9a1c55629d76ee6faf2a9f36c715e7bd7

commit 71e7b85f3919a60c5a194028a586ce81846c6c0d
Author: Scott Randolph <randolphs@google.com>
Date:   Thu Jan 12 10:40:45 2017 -0800

    Fix error check bug that cause stream start to fail

    Also fixes a minor warning related to log message string formatting.

    Change-Id: I74edf9a02db87c3632b4883ca40207fe861fd75d

commit 164e7ef048eba9bc184319ea928d231a26b695bc
Author: Scott Randolph <randolphs@google.com>
Date:   Wed Jan 11 17:27:46 2017 -0800

    Fix HAL update related compile bugs

    Minor changes to accomodate recent HIDL/HAL changes.

    Change-Id: I466d8979e8e56424442840aff8d17762eac0a590

commit 67391db6a04b2cbbda1a0b5c8b717fe79994f5b9
Author: Scott Randolph <randolphs@google.com>
Date:   Wed Jan 11 13:56:23 2017 -0800

    Avoid mutex reentrancy when setting frame count

    At initialization time, we need to be able to set the number of frames
    available for capture.  This change makes the code to do this a private
    function called from within a mutex in order to avoid having one mutex
    protected call trying to make another mutex protected call as would
    happen if it called directly into the public API.

    Change-Id: I05c383976dd8db1acf5874bd47b2a3c3521d7032

commit 993f6e7e1e43f2bc4a48f6aae32d9ba2c3125d23
Author: Scott Randolph <randolphs@google.com>
Date:   Mon Dec 19 18:39:38 2016 -0800

    Avoid forced exit if frame delivery fails

    If we don't read the error code from the frame delivery call, the
    underlying code forces an application exit if an error was returned.
    Even when we don't care about the result, we have to read it to avoid
    this.

    Change-Id: Ie3695faa10d1c5e340f66c369bfc2595ac516434

commit 08298db0f2d5d0ae7cd0781fde834fc7e63375d0
Author: Scott Randolph <randolphs@google.com>
Date:   Mon Dec 19 18:21:16 2016 -0800

    Support adjustable number of frames in flight

    Add enhanced support for SetMaxFramesInFlight which is required to
    support concurrent camera clients at the EVS Manager level.

    Change-Id: I23b606a017529514370a03cd2eca3ee286af8fec

commit 198050b2cff70d1a232745ce8e7f35e87581562e
Author: Scott Randolph <randolphs@google.com>
Date:   Fri Dec 16 16:27:19 2016 -0800

    Add frame contents validation to EvsDisplay

    Update the default "mock" implementation of EvsDisplay hardware layer to
    provide a frame contents validation based on knowledge of what the
    "mock" EvsCamera implementation will emit.

    Change-Id: If0624f855a440f52a47af7751ed3b09e8b21ff74

commit c830b7ca466155049d6eee047f6c323521451e8b
Author: Scott Randolph <randolphs@google.com>
Date:   Fri Dec 16 15:25:48 2016 -0800

    Add multi-buffer support to EvsCamera

    Extend the EvsCamera implmentation to support more than one buffer in
    flight at a time.  This is necessary in order to support concurrent
    client access through the EvsManager proxy layer.

    Change-Id: I0c32336be40c7bedd797140569650906458d27c1

commit 1bdbb9d641f95d494ec2a398b6d1f5202276d17b
Author: Scott Randolph <randolphs@google.com>
Date:   Fri Dec 16 15:24:28 2016 -0800

    Add additional validation on round trip pointers

    Now that HIDL support returning the same pointer to an interface object
    after a round trip through the transport, we can add a bit more
    validation.

    Change-Id: Ia9a3a6ec7552f5e5523c0f9ad66ceb02b46b2db4

Change-Id: I47468932d6a7b2b5eab47819917cdb20154d8f18

7 years agoMerge "use the device's default binder/passthrough mode in vts tests"
TreeHugger Robot [Thu, 26 Jan 2017 01:26:06 +0000 (01:26 +0000)]
Merge "use the device's default binder/passthrough mode in vts tests"

7 years agoUse HIDL's memory for shared memory and add wrapper interfaces for
Pawin Vongmasa [Mon, 19 Dec 2016 07:49:56 +0000 (14:49 +0700)]
Use HIDL's memory for shared memory and add wrapper interfaces for
IGraphicBufferProducer.

Test: Compiles
Bug: 31399200
Change-Id: I17a3b1c8f20e9c11474761d120edd2e75353cc6d

7 years agoMerge "Don't deref a NULL shared buffer base"
Jeff Tinker [Thu, 26 Jan 2017 01:11:39 +0000 (01:11 +0000)]
Merge "Don't deref a NULL shared buffer base"

7 years agofix errata in comment
Keun-young Park [Thu, 26 Jan 2017 00:49:10 +0000 (16:49 -0800)]
fix errata in comment

bug: 32371653
Test: build
Change-Id: Ia7889199a53c461df5f1367c07117aab2a775fd6

7 years agoMerge "Fix syntax error in Vehicle VTS"
TreeHugger Robot [Thu, 26 Jan 2017 00:14:08 +0000 (00:14 +0000)]
Merge "Fix syntax error in Vehicle VTS"

7 years agoMerge "Update fingerprint makefile."
Ryan Campbell [Thu, 26 Jan 2017 00:07:39 +0000 (00:07 +0000)]
Merge "Update fingerprint makefile."

7 years agoIncrease the timeout for NfcHidlTargetProfilingTest.
Zhuoyao Zhang [Wed, 25 Jan 2017 23:44:45 +0000 (15:44 -0800)]
Increase the timeout for NfcHidlTargetProfilingTest.

* Given there's still test failue due to timeout:
  https://android-vts-internal.googleplex.com/show_table?testName=NfcHidlTargetProfilingTest,
  increased the limit to 25m.

Test: run vts -m NfcHidlTargetProfilingTest
Change-Id: Ie5fee6a399281ec538e6724207916908bb8da4d0

7 years agoclean up default fingerprint HIDL@2.1 implementation
Jim Miller [Fri, 20 Jan 2017 02:39:06 +0000 (18:39 -0800)]
clean up default fingerprint HIDL@2.1 implementation

- remove Binder dependency by passing keystore token to onAuthenticated()
- move notify() to cpp file

Test: recovers from killing keystore, fingerprint unlocks device,
FingerprintDialog works with crypto objects.

Fixes bug 34264028

Change-Id: Ic0de31603f4bc4147d6faf014af89e787b1ef244

7 years agouse the device's default binder/passthrough mode in vts tests
Keun Soo Yim [Wed, 25 Jan 2017 02:04:07 +0000 (18:04 -0800)]
use the device's default binder/passthrough mode in vts tests

Test: mma
Change-Id: I3f2775873f5b6c091f70413adbdf7b7ae298ff44

7 years agouse the profiler test's name and a precondition to decide when to run.
Keun Soo Yim [Wed, 25 Jan 2017 22:29:27 +0000 (14:29 -0800)]
use the profiler test's name and a precondition to decide when to run.

Bug: 34715432
Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
HalSoundTriggerHidlTargetBasicProfilingTest -l INFO
Change-Id: I116ed144076f07f752c756d9ddb6e425442d39cc

7 years agoMerge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7 am:...
Roshan Pius [Wed, 25 Jan 2017 21:26:22 +0000 (21:26 +0000)]
Merge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7 am: c637017b66 am: 538cbc9a29
am: af58817b1d

Change-Id: I8437ef232d576fa13132d4fa8e8f0d7a19a156e1

7 years agoMerge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7 am:...
Roshan Pius [Wed, 25 Jan 2017 21:23:52 +0000 (21:23 +0000)]
Merge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7 am: c637017b66
am: 538cbc9a29

Change-Id: Ifbf8f30310120ba00af0ea2383d9db9cccabe4db

7 years agoMerge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7
Roshan Pius [Wed, 25 Jan 2017 21:21:20 +0000 (21:21 +0000)]
Merge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7
am: c637017b66

Change-Id: I9f0d9b906930d646516462ba4f4b4c42d6619a7f

7 years agoMerge "supplicant(interface): Add the new radio work methods"
Roshan Pius [Wed, 25 Jan 2017 21:18:52 +0000 (21:18 +0000)]
Merge "supplicant(interface): Add the new radio work methods"
am: 4aceb63bc7

Change-Id: If222b06393c5ea32b39cb8737a9cfd00a6e1cc3c

7 years agoMerge "supplicant(interface): Add the new radio work methods"
Treehugger Robot [Wed, 25 Jan 2017 21:15:21 +0000 (21:15 +0000)]
Merge "supplicant(interface): Add the new radio work methods"

7 years agomemtrack HAL uses "default" service name
Chris Phoenix [Mon, 23 Jan 2017 21:59:13 +0000 (13:59 -0800)]
memtrack HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds; verify HAL still works

Bug: 33844934
Change-Id: Ide36b5470a393b5ed0f60fd37661dd50d0db817b

7 years agoMerge "NFC: Update VTS test" am: 3bce41d5ec am: 4d3c1ea989 am: d4cffbf1ec
Ruchi Kandoi [Wed, 25 Jan 2017 18:32:38 +0000 (18:32 +0000)]
Merge "NFC: Update VTS test" am: 3bce41d5ec am: 4d3c1ea989 am: d4cffbf1ec
am: 7b51c28e24

Change-Id: I4123a9bfa33c0a65ddee0d20ab3a316d5171c4cf

7 years agoMerge "NFC: Update VTS test" am: 3bce41d5ec am: 4d3c1ea989
Ruchi Kandoi [Wed, 25 Jan 2017 18:28:07 +0000 (18:28 +0000)]
Merge "NFC: Update VTS test" am: 3bce41d5ec am: 4d3c1ea989
am: d4cffbf1ec

Change-Id: Ia1ee033655a51a8a7734c0626e33ae3ec42bc51a

7 years agoFix syntax error in Vehicle VTS
Pavel Maltsev [Wed, 25 Jan 2017 18:22:15 +0000 (10:22 -0800)]
Fix syntax error in Vehicle VTS

Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run
commandAndExit vts --skip-all-system-status-check --primary-abi-only
--skip-preconditions --module VehicleHidlTest -l INFO

Bug: b/32021794

Change-Id: I855aa4792405e54824e85c3982912866fcb10968

7 years agoMerge "NFC: Update VTS test" am: 3bce41d5ec
Ruchi Kandoi [Wed, 25 Jan 2017 18:23:07 +0000 (18:23 +0000)]
Merge "NFC: Update VTS test" am: 3bce41d5ec
am: 4d3c1ea989

Change-Id: I01ab41ebd15c0237b41e3777ccc6fffd5868c3b7

7 years agoMerge "NFC: Update VTS test"
Ruchi Kandoi [Wed, 25 Jan 2017 18:18:08 +0000 (18:18 +0000)]
Merge "NFC: Update VTS test"
am: 3bce41d5ec

Change-Id: Id275ca5ed4dbcc0f0644e632cd31231f47998309

7 years agoMerge "Vehicle HAL: add VTS case for DRIVING_STATUS"
TreeHugger Robot [Wed, 25 Jan 2017 18:12:21 +0000 (18:12 +0000)]
Merge "Vehicle HAL: add VTS case for DRIVING_STATUS"

7 years agoMerge "NFC: Update VTS test"
Ruchi Kandoi [Wed, 25 Jan 2017 18:10:12 +0000 (18:10 +0000)]
Merge "NFC: Update VTS test"

7 years agoAdd enums for 10bit color formats
Courtney Goeltzenleuchter [Wed, 25 Jan 2017 16:19:41 +0000 (09:19 -0700)]
Add enums for 10bit color formats

To improve wide-color behavior it's useful to have more bits
per color component. This defines 10:10:10:2 and 10:10:10:X
for that use.
This can be used for any color space / dataspace that is
compatible with unsigned integer components, e.g. Display-P3,
BT2020, etc.
Test: TBD

Change-Id: I69647f6bb2d5b0666a0819b10ee42705361e267d

7 years agoDon't deref a NULL shared buffer base
Jeff Tinker [Mon, 23 Jan 2017 22:24:12 +0000 (14:24 -0800)]
Don't deref a NULL shared buffer base

bug:34624618
Change-Id: I5caee20a944d0c7b5d30f8abdbd8734507914a3a

7 years agoMerge "Add LOG_TAGs to drm hal default modules"
Jeff Tinker [Wed, 25 Jan 2017 17:32:35 +0000 (17:32 +0000)]
Merge "Add LOG_TAGs to drm hal default modules"

7 years agoMerge "hidl_memory no longer owns passed-in handles."
Martijn Coenen [Wed, 25 Jan 2017 13:52:30 +0000 (13:52 +0000)]
Merge "hidl_memory no longer owns passed-in handles."

7 years agoAdd coverage to tv_input, tv_cec, and vehicle vts hal tests
Yuexi Ma [Wed, 25 Jan 2017 09:11:48 +0000 (01:11 -0800)]
Add coverage to tv_input, tv_cec, and vehicle vts hal tests

Bug: 34671241
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module TvInputHidlTest -l INFO
Change-Id: Id470d57b15d68fdb9518f565384501887de78826

7 years agoVehicle HAL: add VTS case for DRIVING_STATUS
Pavel Maltsev [Wed, 18 Jan 2017 00:46:35 +0000 (16:46 -0800)]
Vehicle HAL: add VTS case for DRIVING_STATUS

Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VehicleHidlTest -l INFO
Change-Id: I66a4c7105412da9efd05eb0ef1caed275676488c

7 years agoMerge "power HAL uses "default" service name"
TreeHugger Robot [Wed, 25 Jan 2017 05:41:55 +0000 (05:41 +0000)]
Merge "power HAL uses "default" service name"