OSDN Git Service

android-x86/hardware-interfaces.git
7 years ago[sensors] Default implementation and vts of direct report
Peng Xu [Tue, 10 Jan 2017 03:12:42 +0000 (19:12 -0800)]
[sensors] Default implementation and vts of direct report

Added support for newly added HAL function for sensor event direct
report feature, replace dummy implementation with funtional ones for
the following:

  * registerDirectChannel
  * unregisterDirectChannel
  * configDirectReport

Added a vts test case for direct report.

Added new offset definition to types.hal. This will not affect
existing client/calling code.

Bug: 30985702
Bug: 32022776

Test: vts pass

Change-Id: Ie5e3cddd7c37664e8c59d69cf70aaa1310fd3f58

7 years agoMerge changes from topic 'nfc-vts-split'
TreeHugger Robot [Wed, 18 Jan 2017 21:24:33 +0000 (21:24 +0000)]
Merge changes from topic 'nfc-vts-split'

* changes:
  Adding all nfc vts related things back.
  Remove all vts nfc related things.

7 years agoMerge changes from topics 'cam-hidl-fence', 'camera-hidl-bufId'
Yin-Chia Yeh [Wed, 18 Jan 2017 20:35:35 +0000 (20:35 +0000)]
Merge changes from topics 'cam-hidl-fence', 'camera-hidl-bufId'

* changes:
  Camera: make fence import agnostic to hidl transport
  Camera: add bufferId field to StreamBuffer

7 years agoAdding all nfc vts related things back.
Steven Moreland [Wed, 18 Jan 2017 19:01:01 +0000 (11:01 -0800)]
Adding all nfc vts related things back.

Test: none
Change-Id: I84a42ae27d36a5479f2ca859849bb1b4536bdbad

7 years agoRemove all vts nfc related things.
Steven Moreland [Wed, 18 Jan 2017 18:59:36 +0000 (10:59 -0800)]
Remove all vts nfc related things.

These are immediately added back. This is to split the CL into two
pieces so that only the currently public piece can be moved to aosp.

Test: none
Change-Id: If1ee4a4b4b2d276daf922831a6b919b4c7a236bb

7 years agoMerge "contexthub: Explicitly pass nanoapp binary header data"
Brian Duddie [Wed, 18 Jan 2017 17:16:02 +0000 (17:16 +0000)]
Merge "contexthub: Explicitly pass nanoapp binary header data"

7 years agoMerge "wifi: Add capabilitiy flag for ND offload" am: ab16b319f4 am: b6eeb57609 am...
Roshan Pius [Wed, 18 Jan 2017 16:41:14 +0000 (16:41 +0000)]
Merge "wifi: Add capabilitiy flag for ND offload" am: ab16b319f4 am: b6eeb57609 am: b252cbc915
am: 033a7f0d26

Change-Id: I0ced9f8cbd94c0e06962f043e74fc7841f1915c1

7 years agoMerge "wifi: Add capabilitiy flag for ND offload" am: ab16b319f4 am: b6eeb57609
Roshan Pius [Wed, 18 Jan 2017 16:37:25 +0000 (16:37 +0000)]
Merge "wifi: Add capabilitiy flag for ND offload" am: ab16b319f4 am: b6eeb57609
am: b252cbc915

Change-Id: I12889a9ed29d4e5be9ab523f11926fe77e753e2f

7 years agoMerge "wifi: Add capabilitiy flag for ND offload" am: ab16b319f4
Roshan Pius [Wed, 18 Jan 2017 15:52:07 +0000 (15:52 +0000)]
Merge "wifi: Add capabilitiy flag for ND offload" am: ab16b319f4
am: b6eeb57609

Change-Id: I9935aa3b423acb24dbb5075d4ee0547aa495b872

7 years agoMerge "wifi: Add capabilitiy flag for ND offload"
Roshan Pius [Wed, 18 Jan 2017 15:45:46 +0000 (15:45 +0000)]
Merge "wifi: Add capabilitiy flag for ND offload"
am: ab16b319f4

Change-Id: I8719aefe23ba1c21029107ff4b75f52c4c63aacf

7 years agoMerge "wifi: Add capabilitiy flag for ND offload"
Roshan Pius [Wed, 18 Jan 2017 15:33:47 +0000 (15:33 +0000)]
Merge "wifi: Add capabilitiy flag for ND offload"

7 years agoMerge "Fix log message using undeclared variable"
Daniel Nicoara [Wed, 18 Jan 2017 15:11:54 +0000 (15:11 +0000)]
Merge "Fix log message using undeclared variable"

7 years agoMerge "thermal: add getUndefinedTemperature function."
TreeHugger Robot [Wed, 18 Jan 2017 14:56:32 +0000 (14:56 +0000)]
Merge "thermal: add getUndefinedTemperature function."

7 years agothermal: add getUndefinedTemperature function.
Polina Bondarenko [Thu, 12 Jan 2017 21:32:57 +0000 (22:32 +0100)]
thermal: add getUndefinedTemperature function.

Bug: 34107726
Test: cts, vts
Change-Id: I8a3794158fbc0c9518a26f4616263aa464b43924

7 years agoMerge "Update profiling code for host-side tests."
TreeHugger Robot [Wed, 18 Jan 2017 09:52:04 +0000 (09:52 +0000)]
Merge "Update profiling code for host-side tests."

7 years agoMerge "supplicant(interface): Add interface for WPS" am: 342658139f am: 8499d6b3e0...
Roshan Pius [Wed, 18 Jan 2017 06:09:09 +0000 (06:09 +0000)]
Merge "supplicant(interface): Add interface for WPS" am: 342658139f am: 8499d6b3e0 am: 743687e99f
am: cba87abd63

Change-Id: I8f6acc762b6c16e9541f8e058d6907b835e89a94

7 years agoMerge "supplicant(interface): Add interface for WPS" am: 342658139f am: 8499d6b3e0
Roshan Pius [Wed, 18 Jan 2017 06:06:38 +0000 (06:06 +0000)]
Merge "supplicant(interface): Add interface for WPS" am: 342658139f am: 8499d6b3e0
am: 743687e99f

Change-Id: Ie169602e2d1950288453823d4abe9b2612ce627a

7 years agoMerge "supplicant(interface): Add interface for WPS" am: 342658139f
Roshan Pius [Wed, 18 Jan 2017 06:04:08 +0000 (06:04 +0000)]
Merge "supplicant(interface): Add interface for WPS" am: 342658139f
am: 8499d6b3e0

Change-Id: I26a48d05041199d6e78d40881fb10fae12233980

7 years agoMerge "supplicant(interface): Add interface for WPS"
Roshan Pius [Wed, 18 Jan 2017 06:01:38 +0000 (06:01 +0000)]
Merge "supplicant(interface): Add interface for WPS"
am: 342658139f

Change-Id: Idc1c9debdf176a842a5e83d55acaa1f4415e8bc3

7 years agoMerge "supplicant(interface): Add interface for WPS"
Treehugger Robot [Wed, 18 Jan 2017 05:58:36 +0000 (05:58 +0000)]
Merge "supplicant(interface): Add interface for WPS"

7 years agoFix LightHidlTargetProfilingTest
Zhuoyao Zhang [Wed, 18 Jan 2017 02:30:04 +0000 (18:30 -0800)]
Fix LightHidlTargetProfilingTest

* Remove test-configure-path as no configure file is available.

Bug:34364437
Test: run vts -m Remove LightHidlTargetProfilingTest

Change-Id: I5fa6876d93bb0f2ee33c35d07bbe6ebe4ac5603e

7 years agoUpdate profiling code for host-side tests.
Zhuoyao Zhang [Wed, 18 Jan 2017 02:07:23 +0000 (18:07 -0800)]
Update profiling code for host-side tests.

* Parse profiling data for each test case.
* Merge the profiling data for each test case at the end of test
  and upload the profiling info to web.

Bug:34226555
Test: run vts -m VibratorHidlProfilingTest

Change-Id: I9e13eada8e7db338a29c6943868d12e76844e2c4

7 years agoCamera: make fence import agnostic to hidl transport
Yin-Chia Yeh [Tue, 10 Jan 2017 21:15:38 +0000 (13:15 -0800)]
Camera: make fence import agnostic to hidl transport

This will introduce one more FD dup/close in passthrough mode, but
we have no other choice as camera server will not know whether
it is running in passthrough or binderized mode.

Test: running Camera2 API CTS
Bug: 30985004
Change-Id: I407d54a51c51fc09477dfb6236ab1b53bb1e0a21

7 years agoCamera: add bufferId field to StreamBuffer
Yin-Chia Yeh [Mon, 9 Jan 2017 23:21:11 +0000 (15:21 -0800)]
Camera: add bufferId field to StreamBuffer

This gives each buffer a unique identifier and allow camera server
to only send one unique to HAL process once.

Bug: 30985004
Change-Id: I6aff498c5667dd71fd70b3881fd60b0ecc366e0a

7 years agoRemove empty Android.mk files for 3 test projects
Yuexi Ma [Sat, 14 Jan 2017 04:00:29 +0000 (20:00 -0800)]
Remove empty Android.mk files for 3 test projects

Removing empty intermediate Android.mk files for vehicle, tv cec, and tv input vts test projects.
Replaced with direct pointing to the Android.mk file under functional/vts/testcases/hal

Test: make vts
Change-Id: I64a0a7c236f2ef6a2019cbde3b93ac2324df3752

7 years agocontexthub: Explicitly pass nanoapp binary header data
Brian Duddie [Thu, 12 Jan 2017 22:47:58 +0000 (14:47 -0800)]
contexthub: Explicitly pass nanoapp binary header data

Parse the nanoapp binary header in the framework and pass the relevant
data to the HAL explicitly in the NanoAppBinary structure. Note that not
all fields from the header are carried forward into NanoAppBinary, as
they are either implied by the HAL API (version, magic), or inherent in
the implementation-specific data (hwHubType), or unused and will only be
added via a future HAL version bump (second reserved field).

Also, convert the flags field in struct MemRange to a bitmask, which is
the proper representation for its use.

Bug: 34182159
Test: run hello world context hub GTS test
Change-Id: I13da9883b851e978d760548ec4265094ce81510a

7 years agoMerge "Unset Vertical Accuracy, Speed Accruacy and Bearing Accuracy fields as some...
Mohammed Khider [Wed, 18 Jan 2017 00:04:00 +0000 (00:04 +0000)]
Merge "Unset Vertical Accuracy, Speed Accruacy and Bearing Accuracy fields as some chipsets set them in pre-Android-O devices. Test: Existing unit tests still pass."

7 years agoMerge "Add build rule of driver/profier for graphics allocator hal."
Zhuoyao Zhang [Tue, 17 Jan 2017 23:35:44 +0000 (23:35 +0000)]
Merge "Add build rule of driver/profier for graphics allocator hal."

7 years agoMerge "Stub out VTS testing for OBD2 sensors"
TreeHugger Robot [Tue, 17 Jan 2017 23:30:22 +0000 (23:30 +0000)]
Merge "Stub out VTS testing for OBD2 sensors"

7 years agoMerge "Add test for type resolution." am: 5835d9ea59 am: 168bb896b7 am: 6cc9f50bd3
Yifan Hong [Tue, 17 Jan 2017 21:12:01 +0000 (21:12 +0000)]
Merge "Add test for type resolution." am: 5835d9ea59 am: 168bb896b7 am: 6cc9f50bd3
am: 63a36d7b62

Change-Id: I0477b4dc3e782752a556003ddaced227d2271b06

7 years agoMerge "Add test for type resolution." am: 5835d9ea59 am: 168bb896b7
Yifan Hong [Tue, 17 Jan 2017 21:10:01 +0000 (21:10 +0000)]
Merge "Add test for type resolution." am: 5835d9ea59 am: 168bb896b7
am: 6cc9f50bd3

Change-Id: I3b0b96e0b46e3dda87c1441146ece36376eec092

7 years agoMerge "Add test for type resolution." am: 5835d9ea59
Yifan Hong [Tue, 17 Jan 2017 21:07:32 +0000 (21:07 +0000)]
Merge "Add test for type resolution." am: 5835d9ea59
am: 168bb896b7

Change-Id: I3d4b9a1da6678341d09da06e1e1ae13c2adae11c

7 years agoMerge "Add test for type resolution."
Yifan Hong [Tue, 17 Jan 2017 21:05:00 +0000 (21:05 +0000)]
Merge "Add test for type resolution."
am: 5835d9ea59

Change-Id: I5e267d4f2e05c1441d5c5edcb5d635bc9b7b79b0

7 years agoMerge "Add test for type resolution."
Yifan Hong [Tue, 17 Jan 2017 21:03:04 +0000 (21:03 +0000)]
Merge "Add test for type resolution."

7 years agowifi: Add capabilitiy flag for ND offload
Roshan Pius [Tue, 17 Jan 2017 20:58:05 +0000 (12:58 -0800)]
wifi: Add capabilitiy flag for ND offload

Bug: 34224734
Test: Compiles
Change-Id: If4e6303fdff792a9dd576551fd84a741d8183798

7 years agohave hal2.1 register as the fingerprint service
Jim Miller [Fri, 16 Dec 2016 03:42:19 +0000 (19:42 -0800)]
have hal2.1 register as the fingerprint service

Test: fingerprint's should be add-able.
Bug: 33199080
Change-Id: I30dd26c484848163ad63ee9bbd45f1d1ae869a14

7 years agoStub out VTS testing for OBD2 sensors
Enrico Granata [Wed, 11 Jan 2017 19:47:37 +0000 (11:47 -0800)]
Stub out VTS testing for OBD2 sensors

This commit adds support to VHAL for returning a live and a freeze OBD2 frame filled in with default placeholder values
It also adds a VTS test to check for OBD2 support. Doing anything more interesting is currently blocked.

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: I4aad71f7bb65a690841e74d06fefc5fb2076ce5e

7 years agoMerge "Fix HalPowerHidlTargetProfilingTest"
Zhuoyao Zhang [Tue, 17 Jan 2017 17:51:45 +0000 (17:51 +0000)]
Merge "Fix HalPowerHidlTargetProfilingTest"

7 years agosupplicant(interface): Add interface for WPS
Roshan Pius [Tue, 10 Jan 2017 22:10:19 +0000 (14:10 -0800)]
supplicant(interface): Add interface for WPS

Add the methods/callbacks required for WPS functionality through
wpa_supplicant.

Bug: 34198758
Test: Compiles
Change-Id: Iff1450621a4b039307ad6098f98326c35e53d4c6

7 years agoMerge "Testing struct that has vector of other struct" am: 0bb0ba5f79 am: a69c3034fa...
Martijn Coenen [Tue, 17 Jan 2017 06:50:54 +0000 (06:50 +0000)]
Merge "Testing struct that has vector of other struct" am: 0bb0ba5f79 am: a69c3034fa am: dabf160073
am: 98d537ec95

Change-Id: Ia384675237edd335e117991607e1a39f6f46dd74

7 years agoFix HalPowerHidlTargetProfilingTest
Zhuoyao Zhang [Mon, 16 Jan 2017 20:11:16 +0000 (12:11 -0800)]
Fix HalPowerHidlTargetProfilingTest

* Remove test-configure-path as no configure file is available.

Test: run vts -m HalPowerHidlTargetProfilingTest
Change-Id: I49f10b5c82a4e0cef3bb58d16741ca850a79e677

7 years agoMerge "Testing struct that has vector of other struct" am: 0bb0ba5f79 am: a69c3034fa
Martijn Coenen [Mon, 16 Jan 2017 15:06:04 +0000 (15:06 +0000)]
Merge "Testing struct that has vector of other struct" am: 0bb0ba5f79 am: a69c3034fa
am: dabf160073

Change-Id: I111b1a26e04ed0ebee5b2eed481d054de64b132d

7 years agoMerge "Testing struct that has vector of other struct" am: 0bb0ba5f79
Martijn Coenen [Mon, 16 Jan 2017 15:01:34 +0000 (15:01 +0000)]
Merge "Testing struct that has vector of other struct" am: 0bb0ba5f79
am: a69c3034fa

Change-Id: I572f7e9f9fd84373390a82e7180814291cdad5e5

7 years agoMerge "Testing struct that has vector of other struct"
Martijn Coenen [Mon, 16 Jan 2017 14:56:04 +0000 (14:56 +0000)]
Merge "Testing struct that has vector of other struct"
am: 0bb0ba5f79

Change-Id: I7c3143bd046a98c4a2e13706bd1af43a8d0ab164

7 years agoMerge "Testing struct that has vector of other struct"
Martijn Coenen [Mon, 16 Jan 2017 14:48:09 +0000 (14:48 +0000)]
Merge "Testing struct that has vector of other struct"

7 years agoUnset Vertical Accuracy, Speed Accruacy and Bearing Accuracy fields as some chipsets
gomo [Mon, 16 Jan 2017 04:08:59 +0000 (20:08 -0800)]
Unset Vertical Accuracy, Speed Accruacy and Bearing Accuracy fields as some chipsets
set them in pre-Android-O devices.
Test: Existing unit tests still pass.

Change-Id: I542a2d82d16c1017859ad08060f30a0187664ffd

7 years agoMerge "GNSS O Features according to go/o-gps-hal"
TreeHugger Robot [Mon, 16 Jan 2017 03:38:56 +0000 (03:38 +0000)]
Merge "GNSS O Features according to go/o-gps-hal"

7 years agoGNSS O Features according to go/o-gps-hal
gomo [Wed, 11 Jan 2017 22:04:21 +0000 (14:04 -0800)]
GNSS O Features according to go/o-gps-hal

Added "Tow Known" as a possible gnss measurement state. As well added Automatic Gain Control (AGC)
to allow jammer detection. Also added the GNSS carrier frequeny to SV status. Also adedd vertical
GPS position uncertainty, speed uncertainty and bearing uncertainty. Also propagate locaton new
fields to geofence engine.
Test: Existing unit tests still pass.

Change-Id: I26784a17e82c044002395e1929f8862cc9de63cb

7 years agoMerge "soundtrigger: initialize mHwDevice member in constructor"
TreeHugger Robot [Sun, 15 Jan 2017 18:55:57 +0000 (18:55 +0000)]
Merge "soundtrigger: initialize mHwDevice member in constructor"

7 years agoMerge "Add gralloc1 flags for direct mode sensors and SSBO/UBO buffers."
Peng Xu [Sat, 14 Jan 2017 09:48:16 +0000 (09:48 +0000)]
Merge "Add gralloc1 flags for direct mode sensors and SSBO/UBO buffers."

7 years agoMerge "[sensors] Minor tuning of hal definition"
Peng Xu [Sat, 14 Jan 2017 08:50:53 +0000 (08:50 +0000)]
Merge "[sensors] Minor tuning of hal definition"

7 years agoMerge "Add a new method to trigger a blocking read." am: 31265c5312 am: ba6c8445b1...
Hridya Valsaraju [Sat, 14 Jan 2017 08:26:42 +0000 (08:26 +0000)]
Merge "Add a new method to trigger a blocking read." am: 31265c5312 am: ba6c8445b1 am: 134cb728f7
am: 5cb077fac0

Change-Id: Iff0bac56b002082e1f037ccd1b2ff5650de90902

7 years agoMerge "Add a new method to trigger a blocking read." am: 31265c5312 am: ba6c8445b1
Hridya Valsaraju [Sat, 14 Jan 2017 08:16:42 +0000 (08:16 +0000)]
Merge "Add a new method to trigger a blocking read." am: 31265c5312 am: ba6c8445b1
am: 134cb728f7

Change-Id: I25975cefc7cc0f5173914c121eec4241a278accf

7 years agoMerge "Add a new method to trigger a blocking read." am: 31265c5312
Hridya Valsaraju [Sat, 14 Jan 2017 08:13:42 +0000 (08:13 +0000)]
Merge "Add a new method to trigger a blocking read." am: 31265c5312
am: ba6c8445b1

Change-Id: Ifc6c294cd65c3f4d70b89876b3d9d1c75997e42a

7 years agoMerge "Add a new method to trigger a blocking read."
Hridya Valsaraju [Sat, 14 Jan 2017 08:11:11 +0000 (08:11 +0000)]
Merge "Add a new method to trigger a blocking read."
am: 31265c5312

Change-Id: Ic1f1cc525fa185f0e79488ccf690e29976c7016e

7 years agoMerge "Add a new method to trigger a blocking read."
Treehugger Robot [Sat, 14 Jan 2017 08:07:24 +0000 (08:07 +0000)]
Merge "Add a new method to trigger a blocking read."

7 years agosoundtrigger: initialize mHwDevice member in constructor
Thierry Strudel [Sat, 14 Jan 2017 07:10:19 +0000 (23:10 -0800)]
soundtrigger: initialize mHwDevice member in constructor

audioserver crashes when sound_trigger legacy HAL does not exist on the device,
as mHwDevice is not initialized to NULL.

Bug: 32022304
Change-Id: I47642927e91c03817508d462cfcc58370e89b184
Signed-off-by: Thierry Strudel <tstrudel@google.com>
7 years ago[sensors] Minor tuning of hal definition
Peng Xu [Wed, 11 Jan 2017 19:08:45 +0000 (11:08 -0800)]
[sensors] Minor tuning of hal definition

  * Swap GEOMAGNETIC_FIELD with MAGNETIC_FIELD for more accurate
    definition.
  * Remove redundunt prefixes in various enum definitions.
  * Clarify that string type will be removed for well defined sensor
    types. This avoid dependency on strings defined in sensors.h.
  * Added SensorFlagShift enum.
  * Remove unused flag parameter in batch.
  * Remove legacy setDelay function.
  * Change the type of sensor flag to bitfield<SensorFlagBits>, and
    use uint32_t since only low 32 bits are used.

Test: all sensor works(in marlin), tested with sensorlogger.

Change-Id: I93a4d13c5d2e054857d1e400d15002aeb9a47368

7 years agoAdd a new method to trigger a blocking read.
Hridya Valsaraju [Sat, 14 Jan 2017 04:58:17 +0000 (20:58 -0800)]
Add a new method to trigger a blocking read.

The new method will request the service to trigger a blocking
read with the default Event Flag notification bitmask defined
by the MessageQueue class.

Test: FMQ unit tests
Change-Id: I5a61e2b4527ba31cd5ea6521c553a87904af8056

7 years agoRevert "move VTS HIDL HAL tests to the corresponding interface directories" am: 7c8d9...
Steven Moreland [Sat, 14 Jan 2017 04:39:51 +0000 (04:39 +0000)]
Revert "move VTS HIDL HAL tests to the corresponding interface directories" am: 7c8d9bbaf1 am: 68dd1ef145 am: 77e3816cc1
am: 69b0ddc328  -s ours

Change-Id: Ie7273356d523ba2dc57c38e0cbf3cd9233603b2a

7 years agoRevert "move VTS HIDL HAL tests to the corresponding interface directories" am: 7c8d9...
Steven Moreland [Sat, 14 Jan 2017 04:23:58 +0000 (04:23 +0000)]
Revert "move VTS HIDL HAL tests to the corresponding interface directories" am: 7c8d9bbaf1 am: 68dd1ef145
am: 77e3816cc1

Change-Id: I84fa97fd9a9df9e72d851896cce0bb9a43b09051

7 years agoMerge "Dumpstate: default service implementation."
TreeHugger Robot [Sat, 14 Jan 2017 04:23:56 +0000 (04:23 +0000)]
Merge "Dumpstate: default service implementation."

7 years agoRevert "move VTS HIDL HAL tests to the corresponding interface directories" am: 7c8d9...
Steven Moreland [Sat, 14 Jan 2017 04:21:27 +0000 (04:21 +0000)]
Revert "move VTS HIDL HAL tests to the corresponding interface directories" am: 7c8d9bbaf1
am: 68dd1ef145

Change-Id: Ie6971f0cb341f1baa3af3dcfaf8adafe90735ee8

7 years agoRevert "move VTS HIDL HAL tests to the corresponding interface directories"
Steven Moreland [Sat, 14 Jan 2017 04:18:57 +0000 (04:18 +0000)]
Revert "move VTS HIDL HAL tests to the corresponding interface directories"
am: 7c8d9bbaf1

Change-Id: I0c95af5241bc826b5a4b06fa18d5b40463256c26

7 years agoMerge "[sensors] extend functionality of injectSensorData"
TreeHugger Robot [Sat, 14 Jan 2017 03:45:01 +0000 (03:45 +0000)]
Merge "[sensors] extend functionality of injectSensorData"

7 years agoAdd gralloc1 flags for direct mode sensors and SSBO/UBO buffers.
Craig Donner [Thu, 12 Jan 2017 23:44:17 +0000 (15:44 -0800)]
Add gralloc1 flags for direct mode sensors and SSBO/UBO buffers.

Added enums:
  * SENSOR_DIRECT_DATA
  * GPU_DATA_BUFFER

Also, change the wording according to guideline.

Bug: 30985702
Test: non-functional change
Change-Id: I80f4b02d3b4fda07ef3249b26a7e9dceba35fe1f

7 years ago[sensors] extend functionality of injectSensorData
Peng Xu [Fri, 6 Jan 2017 23:27:09 +0000 (15:27 -0800)]
[sensors] extend functionality of injectSensorData

Extend injectSensorData functionality to also take
SENSOR_TYPE_ADDITIONAL_INFO type for parameter download.

Defined new AINFO constants

    AINFO_LOCAL_GEOMAGNETIC_FIELD
    AINFO_LOCAL_GRAVITY
    AINFO_DOCK_STATE
    AINFO_HIGH_PERFORMANCE_MODE
    AINFO_MAGNETIC_FIELD_CALIBRATION

Test: manual

Change-Id: I642fa1048ad600cc87c029ec18e73b3411631032

7 years agoRevert "move VTS HIDL HAL tests to the corresponding interface directories"
Steven Moreland [Fri, 13 Jan 2017 21:42:09 +0000 (21:42 +0000)]
Revert "move VTS HIDL HAL tests to the corresponding interface directories"

This reverts commit ec7746fa808e4814b07a1b8018c7ee44f16cc9a6.

Test: no test
Merged-In: I9ec4493403d71419df99fe9761211eab057cdb0a
Change-Id: I39f2acaa5ee376b90bcddd0891ac6f309cb40a2b

7 years agoRevert "Revert "move VTS HIDL HAL tests to the corresponding interface directories""
Steven Moreland [Sat, 14 Jan 2017 00:00:26 +0000 (00:00 +0000)]
Revert "Revert "move VTS HIDL HAL tests to the corresponding interface directories""

This reverts commit 070e8d211663bc90370cb5d84de8c66eb25200cf.

Change-Id: I66dd4e6cf875e39e58b0d91724a603b37d32c0ac

7 years agoRevert "move VTS HIDL HAL tests to the corresponding interface directories"
Ruchi Kandoi [Fri, 13 Jan 2017 23:17:32 +0000 (15:17 -0800)]
Revert "move VTS HIDL HAL tests to the corresponding interface directories"

Test: No
This reverts commit ec7746fa808e4814b07a1b8018c7ee44f16cc9a6.

Change-Id: I9ec4493403d71419df99fe9761211eab057cdb0a

7 years agoMerge "contexthub: Expose CHRE version information"
Brian Duddie [Fri, 13 Jan 2017 21:41:51 +0000 (21:41 +0000)]
Merge "contexthub: Expose CHRE version information"

7 years agoMerge "supplicant(interface): Fix a typo in documentation" am: 147abafc18 am: c903383...
Roshan Pius [Fri, 13 Jan 2017 19:19:20 +0000 (19:19 +0000)]
Merge "supplicant(interface): Fix a typo in documentation" am: 147abafc18 am: c9033834db am: 528f400d4f
am: cab233c2ac

Change-Id: I2aba2125e9fcb10934e0148cd937c75d955e7240

7 years agoMerge "supplicant(interface): Fix a typo in documentation" am: 147abafc18 am: c9033834db
Roshan Pius [Fri, 13 Jan 2017 19:17:32 +0000 (19:17 +0000)]
Merge "supplicant(interface): Fix a typo in documentation" am: 147abafc18 am: c9033834db
am: 528f400d4f

Change-Id: Ide44efe5d3c163841932a5876f355ecb7036a0e7

7 years agoMerge "supplicant(interface): Fix a typo in documentation" am: 147abafc18
Roshan Pius [Fri, 13 Jan 2017 19:11:19 +0000 (19:11 +0000)]
Merge "supplicant(interface): Fix a typo in documentation" am: 147abafc18
am: c9033834db

Change-Id: I2ce48657e9ca82dcc79fd2c2990f8b23b2a5b2ff

7 years agoMerge "supplicant(interface): Fix a typo in documentation"
Roshan Pius [Fri, 13 Jan 2017 19:09:19 +0000 (19:09 +0000)]
Merge "supplicant(interface): Fix a typo in documentation"
am: 147abafc18

Change-Id: Ib5aee72bcce809d84c4b0795466ba93ac9354ae3

7 years agoMerge "Fix bugs in boot HAL VTS test"
Connor O'Brien [Fri, 13 Jan 2017 19:07:11 +0000 (19:07 +0000)]
Merge "Fix bugs in boot HAL VTS test"

7 years agoMerge "supplicant(interface): Fix a typo in documentation"
Treehugger Robot [Fri, 13 Jan 2017 19:05:00 +0000 (19:05 +0000)]
Merge "supplicant(interface): Fix a typo in documentation"

7 years agoMerge changes Ia9b1d24c,I86980cd2 am: 5f1f3557aa am: 1e74147666 am: 6e53f36513
Roshan Pius [Fri, 13 Jan 2017 18:16:18 +0000 (18:16 +0000)]
Merge changes Ia9b1d24c,I86980cd2 am: 5f1f3557aa am: 1e74147666 am: 6e53f36513
am: d00ec5d739

Change-Id: I5590a71ff9abd4923891c71e7eb2fa12b1e4aa9b

7 years agowifi: Add keep alive packet sending functionality am: 9a9869a759 am: 711af27530 am...
Roshan Pius [Fri, 13 Jan 2017 18:16:17 +0000 (18:16 +0000)]
wifi: Add keep alive packet sending functionality am: 9a9869a759 am: 711af27530 am: bee11f4d5f
am: 1f17acff2a

Change-Id: Ic6060c2f03f59e45a106a1732e8103efe630cd2d

7 years agowifi: Add nd offload functionality am: af727c0cc8 am: 18e814e195 am: 17f5a88bbe
Roshan Pius [Fri, 13 Jan 2017 18:16:16 +0000 (18:16 +0000)]
wifi: Add nd offload functionality am: af727c0cc8 am: 18e814e195 am: 17f5a88bbe
am: 15b837f601

Change-Id: Ia0855053dc6d93cd97fb9b09bf07f5aaa2960c2c

7 years agoAdd test for type resolution.
Yifan Hong [Mon, 9 Jan 2017 20:07:37 +0000 (12:07 -0800)]
Add test for type resolution.

Test: make hidl_test

Bug: 31971432

Change-Id: I5c058079d54e1b480f21550a76ccfd53f54bd0c4

7 years agoMerge changes Ia9b1d24c,I86980cd2 am: 5f1f3557aa am: 1e74147666
Roshan Pius [Fri, 13 Jan 2017 18:06:46 +0000 (18:06 +0000)]
Merge changes Ia9b1d24c,I86980cd2 am: 5f1f3557aa am: 1e74147666
am: 6e53f36513

Change-Id: I4ca726340308660cb192dffa2436d571a3db4fc5

7 years agowifi: Add keep alive packet sending functionality am: 9a9869a759 am: 711af27530
Roshan Pius [Fri, 13 Jan 2017 18:06:30 +0000 (18:06 +0000)]
wifi: Add keep alive packet sending functionality am: 9a9869a759 am: 711af27530
am: bee11f4d5f

Change-Id: I5b8c48ae039a1bdf565b00f5551cb3003736a2f8

7 years agowifi: Add nd offload functionality am: af727c0cc8 am: 18e814e195
Roshan Pius [Fri, 13 Jan 2017 18:06:16 +0000 (18:06 +0000)]
wifi: Add nd offload functionality am: af727c0cc8 am: 18e814e195
am: 17f5a88bbe

Change-Id: I1d77c53cf8e428ef7bdda3b3e27184a084cd3f70

7 years agoMerge "Add the uncalibrated accelerometer sensor type."
Ashutosh Joshi [Fri, 13 Jan 2017 17:47:30 +0000 (17:47 +0000)]
Merge "Add the uncalibrated accelerometer sensor type."

7 years agoMerge changes Ia9b1d24c,I86980cd2 am: 5f1f3557aa
Roshan Pius [Fri, 13 Jan 2017 17:00:14 +0000 (17:00 +0000)]
Merge changes Ia9b1d24c,I86980cd2 am: 5f1f3557aa
am: 1e74147666

Change-Id: I474664d604f50354f3ba8d0a4f84796d3643ccd6

7 years agowifi: Add keep alive packet sending functionality am: 9a9869a759
Roshan Pius [Fri, 13 Jan 2017 17:00:13 +0000 (17:00 +0000)]
wifi: Add keep alive packet sending functionality am: 9a9869a759
am: 711af27530

Change-Id: I25a79e7d198374f7caddda22f213e90bec6a82d3

7 years agowifi: Add nd offload functionality am: af727c0cc8
Roshan Pius [Fri, 13 Jan 2017 17:00:10 +0000 (17:00 +0000)]
wifi: Add nd offload functionality am: af727c0cc8
am: 18e814e195

Change-Id: I6fbe8b6ec93f7bf886a863ed484faaf6535c00b7

7 years agoMerge changes Ia9b1d24c,I86980cd2
Roshan Pius [Fri, 13 Jan 2017 16:52:12 +0000 (16:52 +0000)]
Merge changes Ia9b1d24c,I86980cd2
am: 5f1f3557aa

Change-Id: Ic92feb43fe375996f550674044c5ecb26448ee8a

7 years agowifi: Add keep alive packet sending functionality
Roshan Pius [Fri, 13 Jan 2017 16:52:11 +0000 (16:52 +0000)]
wifi: Add keep alive packet sending functionality
am: 9a9869a759

Change-Id: Id57ae32c04224aa21bf8452c11307a6e50a45489

7 years agowifi: Add nd offload functionality
Roshan Pius [Fri, 13 Jan 2017 16:52:10 +0000 (16:52 +0000)]
wifi: Add nd offload functionality
am: af727c0cc8

Change-Id: If359464cfca555e9e8aebe4ed3ef3fae549ce3cb

7 years agoMerge changes Ia9b1d24c,I86980cd2
Roshan Pius [Fri, 13 Jan 2017 16:46:14 +0000 (16:46 +0000)]
Merge changes Ia9b1d24c,I86980cd2

* changes:
  wifi: Add keep alive packet sending functionality
  wifi: Add nd offload functionality

7 years agouse the default mode of a target device
Keun Soo Yim [Fri, 13 Jan 2017 04:03:23 +0000 (20:03 -0800)]
use the default mode of a target device

Test: mma
Change-Id: I10dfe98cb308083bad04395c46b7e3fb59ee6d97

7 years agoFix log message using undeclared variable
Daniel Nicoara [Tue, 10 Jan 2017 16:01:29 +0000 (11:01 -0500)]
Fix log message using undeclared variable

Bug: None
Test: Compiled with LOG_FATAL() enabled
Change-Id: Iffb709d2bc923bc7428abb1ee326f0ed147c38df

7 years agoTesting struct that has vector of other struct
Pavel Maltsev [Fri, 13 Jan 2017 00:48:51 +0000 (16:48 -0800)]
Testing struct that has vector of other struct

Test: hidl_java_test

Bug: b/34255213
Change-Id: I6a861f0fec32d5f7d541860bfe7bc3a45d37f1be

7 years agoMerge "Load legacy NFC libhardware HAL by correct name." am: 9e172b30c7 am: b2222e213...
Martijn Coenen [Fri, 13 Jan 2017 08:50:39 +0000 (08:50 +0000)]
Merge "Load legacy NFC libhardware HAL by correct name." am: 9e172b30c7 am: b2222e2132 am: f27d2d49a1
am: ef6457f4f7

Change-Id: I38a366d252d61e02e2093cfded29df78633d4448

7 years agoMerge "Load legacy NFC libhardware HAL by correct name." am: 9e172b30c7 am: b2222e2132
Martijn Coenen [Fri, 13 Jan 2017 08:47:57 +0000 (08:47 +0000)]
Merge "Load legacy NFC libhardware HAL by correct name." am: 9e172b30c7 am: b2222e2132
am: f27d2d49a1

Change-Id: I0bb1e8cb24ce75138cab7838f794f1ca2b4f7fe1

7 years agoMerge "Load legacy NFC libhardware HAL by correct name." am: 9e172b30c7
Martijn Coenen [Fri, 13 Jan 2017 08:44:07 +0000 (08:44 +0000)]
Merge "Load legacy NFC libhardware HAL by correct name." am: 9e172b30c7
am: b2222e2132

Change-Id: I4102013c5b43c471b9475156aae7bea88bf0bd53

7 years agoMerge "Load legacy NFC libhardware HAL by correct name."
Martijn Coenen [Fri, 13 Jan 2017 08:41:07 +0000 (08:41 +0000)]
Merge "Load legacy NFC libhardware HAL by correct name."
am: 9e172b30c7

Change-Id: Ia4616cd1ba65cd390a284cfb207604d31768d7bd

7 years agoMerge "Load legacy NFC libhardware HAL by correct name."
Martijn Coenen [Fri, 13 Jan 2017 08:35:39 +0000 (08:35 +0000)]
Merge "Load legacy NFC libhardware HAL by correct name."