OSDN Git Service

android-x86/hardware-interfaces.git
7 years agosupplicant(interface): List out all status/reason codes am: d23068fac6 am: 698e1e8769
Roshan Pius [Thu, 16 Mar 2017 22:51:12 +0000 (22:51 +0000)]
supplicant(interface): List out all status/reason codes am: d23068fac6 am: 698e1e8769
am: e54150fc2c

Change-Id: Ice7dddf86cd67daba69e51b808674bb84779cab2

7 years agosupplicant(interface): List out all status/reason codes am: d23068fac6
Roshan Pius [Thu, 16 Mar 2017 22:48:42 +0000 (22:48 +0000)]
supplicant(interface): List out all status/reason codes am: d23068fac6
am: 698e1e8769

Change-Id: I99fa820c08645fe4832e8f9628fd87aab81b0328

7 years agosupplicant(interface): List out all status/reason codes
Roshan Pius [Thu, 16 Mar 2017 22:47:11 +0000 (22:47 +0000)]
supplicant(interface): List out all status/reason codes
am: d23068fac6

Change-Id: I9a435da9ed4adcceda8c80c4c53e9230d49d0ab0

7 years agosupplicant(interface): List out all status/reason codes
Roshan Pius [Thu, 16 Mar 2017 19:53:52 +0000 (12:53 -0700)]
supplicant(interface): List out all status/reason codes

List out all the association/disconnect reason codes exposed in the
IEEE80211 spec.

Bug:36363830
Test: Compiles
Change-Id: I27168bfb67fbc658339bc5fc9310ffdc9aec5ec6

7 years agoMerge changes I1610beb9,Ibcf607d0
Pavel Maltsev [Thu, 16 Mar 2017 18:24:35 +0000 (18:24 +0000)]
Merge changes I1610beb9,Ibcf607d0

* changes:
  Fix typo CELCIUS -> CELSIUS in Vehicle HAL
  Fix config map in default Vehicle HAL impl

7 years agoMerge "Camera: Provider: Set up vendor tag before getDeviceVersion"
TreeHugger Robot [Thu, 16 Mar 2017 15:26:38 +0000 (15:26 +0000)]
Merge "Camera: Provider: Set up vendor tag before getDeviceVersion"

7 years agoMerge "Fix CTS post submit failures"
Jeff Tinker [Thu, 16 Mar 2017 06:56:09 +0000 (06:56 +0000)]
Merge "Fix CTS post submit failures"

7 years agoMerge "Fix issues in sensor target test"
Keun Soo Yim [Thu, 16 Mar 2017 05:12:42 +0000 (05:12 +0000)]
Merge "Fix issues in sensor target test"

7 years agoMerge "Fix HvacPowerOn vehicle property"
TreeHugger Robot [Thu, 16 Mar 2017 02:03:52 +0000 (02:03 +0000)]
Merge "Fix HvacPowerOn vehicle property"

7 years agoCamera: Provider: Set up vendor tag before getDeviceVersion
Shuzhen Wang [Thu, 16 Mar 2017 01:26:39 +0000 (18:26 -0700)]
Camera: Provider: Set up vendor tag before getDeviceVersion

getDeviceVersion calls get_camera_info, which could contain vendor tags.
As a result, we need to set up vendor tag before that.

Test: Verify vendor tag in static metadata works.
Bug: 33641150
Change-Id: Id4cfea52235542b19170a757b4c6bea3ad1d190d

7 years agoFix issues in sensor target test
Peng Xu [Wed, 15 Mar 2017 08:14:47 +0000 (01:14 -0700)]
Fix issues in sensor target test

  * Less suceptible to lingering sensor activation before system
    restarts.
  * Covers injectSensorEvent and setOperationMode API
  * More test cases to test various operation conditions.

Bug: 32022776
Bug: 33618936
Test:  vts-tradefed run commandAndExit vts --module VtsHalSensorsV1_0Target

Change-Id: I75f585a373880e831f511784a856d322077c07c0

7 years agoMerge "Create present timestamp offset for SF"
TreeHugger Robot [Thu, 16 Mar 2017 01:07:51 +0000 (01:07 +0000)]
Merge "Create present timestamp offset for SF"

7 years agoMerge "Fix MCT data transport for the BT HAL" am: a8dce86cd8 am: 346ee4e2c8
Zach Johnson [Thu, 16 Mar 2017 00:50:19 +0000 (00:50 +0000)]
Merge "Fix MCT data transport for the BT HAL" am: a8dce86cd8 am: 346ee4e2c8
am: eff4007fb5

Change-Id: Id2542183f2de78fd2c2ebb2458f5dc98b6353ed2

7 years agoMerge "Fix MCT data transport for the BT HAL" am: a8dce86cd8
Zach Johnson [Thu, 16 Mar 2017 00:47:40 +0000 (00:47 +0000)]
Merge "Fix MCT data transport for the BT HAL" am: a8dce86cd8
am: 346ee4e2c8

Change-Id: I5343ae1cdbfe436a29e20b59ea038334f3ef8afe

7 years agoMerge "Fix MCT data transport for the BT HAL"
Zach Johnson [Thu, 16 Mar 2017 00:45:40 +0000 (00:45 +0000)]
Merge "Fix MCT data transport for the BT HAL"
am: a8dce86cd8

Change-Id: I2f25b7caa0c1a40ed5dad2f7b955ffdc13ecba7e

7 years agoMerge "Fix MCT data transport for the BT HAL"
Treehugger Robot [Thu, 16 Mar 2017 00:39:15 +0000 (00:39 +0000)]
Merge "Fix MCT data transport for the BT HAL"

7 years agoMerge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am...
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:40:40 +0000 (21:40 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am: 14b82de6b2 am: 2bc10e9066
am: 460da89426

Change-Id: Idce0f559b0351da4b27ac9a3c0f9eb7b52db03ab

7 years agoMerge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am...
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:38:02 +0000 (21:38 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am: 14b82de6b2
am: 2bc10e9066

Change-Id: I38880a45cd8e9807a76d64129c6b44050fcd2ce4

7 years agoCreate present timestamp offset for SF
Fabien Sanglard [Tue, 14 Mar 2017 20:16:30 +0000 (13:16 -0700)]
Create present timestamp offset for SF

Change-Id: Ic6435cca06739f749c6041c0925ca235dcc7f51e

7 years agoMerge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:33:05 +0000 (21:33 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
am: 14b82de6b2

Change-Id: I4e39842820113835bc57d0fdbe637030e2647d1e

7 years agoMerge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:28:06 +0000 (21:28 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"

7 years agoMerge "supplicant(vts): More tests" am: 864cae3795 am: f2bf393f6c
Roshan Pius [Wed, 15 Mar 2017 20:58:59 +0000 (20:58 +0000)]
Merge "supplicant(vts): More tests" am: 864cae3795 am: f2bf393f6c
am: d5de01439b

Change-Id: Iedf9ad1393d971cb91c11c4b905d3e55ddbd0a41

7 years agoMerge "Move IGraphicBufferProducer to graphics/bufferqueue."
TreeHugger Robot [Wed, 15 Mar 2017 20:55:40 +0000 (20:55 +0000)]
Merge "Move IGraphicBufferProducer to graphics/bufferqueue."

7 years agoFix MCT data transport for the BT HAL
Zach Johnson [Wed, 15 Mar 2017 20:23:54 +0000 (13:23 -0700)]
Fix MCT data transport for the BT HAL

The vendor open interface command returns the total number
of FDs opened. (2 or 4 if the interface is MCT)

However, the list of FDs is always 4 in either case. If the
open command returns 2, the FDs are shared cmd/event and
data in/out.

2 FDs example
[41, 41, 42, 42]

4 FDs example
[41, 42, 43, 44]

If we condition the registration of ACL_IN on the total
number of FDs, then 2 FD MCT interfaces will not get data.

Fixes: 360676123603503936188793
Test: manual, pairing is quick and data does transfer
Change-Id: Icc8728239ba81426d5fc0e678c5c5480fd9b5081

7 years agoMerge "supplicant(vts): More tests" am: 864cae3795
Roshan Pius [Wed, 15 Mar 2017 20:50:30 +0000 (20:50 +0000)]
Merge "supplicant(vts): More tests" am: 864cae3795
am: f2bf393f6c

Change-Id: I8e1ee5ce933d8406c7e43e1f3bb5b23d36756111

7 years agoMerge "supplicant(vts): More tests"
Roshan Pius [Wed, 15 Mar 2017 20:46:02 +0000 (20:46 +0000)]
Merge "supplicant(vts): More tests"
am: 864cae3795

Change-Id: I5d18829e16075d243a782824bef24081ed973c90

7 years agoFix CTS post submit failures
Jeff Tinker [Tue, 14 Mar 2017 23:57:15 +0000 (16:57 -0700)]
Fix CTS post submit failures

MediaCodecTest.android.media.cts.MediaCodecTest.testCryptoError
was failing due to incorrect error code translation introduced
by the drm hidl hal.

bug: 35137940
Change-Id: Ibd02425a55194f3cb0acc0e53f90b156023fb1ab

7 years agoMerge "supplicant(vts): More tests"
Roshan Pius [Wed, 15 Mar 2017 20:34:18 +0000 (20:34 +0000)]
Merge "supplicant(vts): More tests"

7 years agoMove IGraphicBufferProducer to graphics/bufferqueue.
Pawin Vongmasa [Mon, 6 Mar 2017 23:09:19 +0000 (15:09 -0800)]
Move IGraphicBufferProducer to graphics/bufferqueue.

Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'

Bug: 35442034
Change-Id: Ia1ef0eb069fcd97f7afcf42bf3bb16c8c6a752c4

7 years agoBluetooth: Don't disable LPM at power off am: 3b2a29676b am: 2fe40fdd3c
Myles Watson [Wed, 15 Mar 2017 18:40:06 +0000 (18:40 +0000)]
Bluetooth: Don't disable LPM at power off am: 3b2a29676b am: 2fe40fdd3c
am: 535f43a380

Change-Id: I277adfa8063013545f016d5590161fd22b0fb189

7 years agoBluetooth: Don't disable LPM at power off am: 3b2a29676b
Myles Watson [Wed, 15 Mar 2017 18:35:36 +0000 (18:35 +0000)]
Bluetooth: Don't disable LPM at power off am: 3b2a29676b
am: 2fe40fdd3c

Change-Id: I41dd5394f1951770f8d6b2dc624a704ce8a6d893

7 years agoMerge changes from topic 'vts_camera_tests'
TreeHugger Robot [Wed, 15 Mar 2017 18:33:04 +0000 (18:33 +0000)]
Merge changes from topic 'vts_camera_tests'

* changes:
  Camera: Check for transport errors during VTS
  Camera: Add Hal version 1 get-/setParameter tests
  Camera: Add Hal version 1 sendcommand tests
  Camera: Add Hal version 1 autofocus test cases
  Camera: Add Hal version 1 video recording test cases
  Camera: Add Hal version 1 image capture test cases
  Camera: Add device ver. 1 preview test cases
  Camera: Extend camera test cases for camera 1.0 devices
  Camera: Add flush test cases
  Camera: Enable and check for torch callbacks

7 years agoBluetooth: Don't disable LPM at power off
Myles Watson [Wed, 15 Mar 2017 18:30:42 +0000 (18:30 +0000)]
Bluetooth: Don't disable LPM at power off
am: 3b2a29676b

Change-Id: I6e933061680088a4f675ed9b1557877393f3e65f

7 years agoFix typo CELCIUS -> CELSIUS in Vehicle HAL
Pavel Maltsev [Wed, 15 Mar 2017 17:46:41 +0000 (10:46 -0700)]
Fix typo CELCIUS -> CELSIUS in Vehicle HAL

Test: typo in comments only.
Change-Id: I1610beb9cb44b3b50e9a86fcff41d3421c6ad849

7 years agoMerge "Add a field for auto cable plugin detection in TV Input HAL"
Shubang Lu [Wed, 15 Mar 2017 17:29:08 +0000 (17:29 +0000)]
Merge "Add a field for auto cable plugin detection in TV Input HAL"

7 years agoMerge "Fix log format specifier."
Bryan Eyler [Wed, 15 Mar 2017 17:19:36 +0000 (17:19 +0000)]
Merge "Fix log format specifier."

7 years agoBluetooth: Don't disable LPM at power off
Myles Watson [Wed, 15 Mar 2017 13:28:09 +0000 (06:28 -0700)]
Bluetooth: Don't disable LPM at power off

The power mode should be unimportant if power off succeeds.

Test: Switch users (Toggles Bluetooth under CPU load)
Bug: 36026072
Change-Id: I09fafe4d4f9a466a7e12e617925f98ef3805c738

7 years agoMerge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am: 16ae0...
Etan Cohen [Wed, 15 Mar 2017 15:02:21 +0000 (15:02 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am: 16ae0c8f86 am: 4623343ed4
am: 5f8eac9d15

Change-Id: I100b80d40658f1a6932faeebc3ca1785b3081499

7 years agoMerge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am: 16ae0...
Etan Cohen [Wed, 15 Mar 2017 14:56:20 +0000 (14:56 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am: 16ae0c8f86
am: 4623343ed4

Change-Id: Icfc4eb32b0d5b52c0f918a2274c1ffecab74b0ec

7 years agoMerge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."
Etan Cohen [Wed, 15 Mar 2017 14:50:52 +0000 (14:50 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."
am: 16ae0c8f86

Change-Id: Ib18f8ad75e9e8dc687e755da705314b3e924599f

7 years agoMerge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."
Etan Cohen [Wed, 15 Mar 2017 14:42:44 +0000 (14:42 +0000)]
Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."

7 years agoUpdate Display-P3 transfer function
Courtney Goeltzenleuchter [Tue, 14 Mar 2017 21:09:30 +0000 (15:09 -0600)]
Update Display-P3 transfer function

Decided to use same transfer function that Apple is
using for their Display-P3 devices. Difference between
sRGB transfer function and Display-P3 is very small.
We will treat them an synonymous.

Test: make

Change-Id: Id4e52058f2b810b70c46821c5fe6830e623c5491

7 years agoconfigstore: Add display configuration items
Courtney Goeltzenleuchter [Thu, 9 Mar 2017 16:04:29 +0000 (09:04 -0700)]
configstore: Add display configuration items

This adds to configstore@1.0 HAL two new configuration
items that indicate if the display support WideColor
or HDR.
Configuration is controlled by TARGET_HAS_WIDE_COLOR_DISPLAY
and TARGET_HAS_HDR_DISPLAY in the board config file.

Test: make tests in libs/gui/tests/
Test: adb sync
Test: adb shell /data/nativetest/libgui_test/libgui_test

Change-Id: I442febc602851577c470c038a7fbf056c8ed25a7

7 years agoCamera: Check for transport errors during VTS
Emilian Peev [Fri, 10 Mar 2017 12:34:44 +0000 (12:34 +0000)]
Camera: Check for transport errors during VTS

- Check for transport errors during IPC calls.
- Some code clean up and refactoring.

BUG: 32022758
Test: compile and run the gtest binary on device
Change-Id: I71f96704f82db629d1982997940d8d1b7525ffea

7 years agoCamera: Add Hal version 1 get-/setParameter tests
Emilian Peev [Fri, 10 Mar 2017 14:46:00 +0000 (14:46 +0000)]
Camera: Add Hal version 1 get-/setParameter tests

Tests are required for checking the basic camera parameters
functionality.

BUG: 32022758
Test: compile and run the gtest binary on device
Change-Id: I5725fef0bb4f5ac08ecae94def5cae66a640409a

7 years agoCamera: Add Hal version 1 sendcommand tests
Emilian Peev [Fri, 10 Mar 2017 13:24:53 +0000 (13:24 +0000)]
Camera: Add Hal version 1 sendcommand tests

Tests are needed for verifying 'sendCommand' API call.
Several new test cases will be available:
"sendCommandFaceDetection" - This will check whether face detection is
available and try to enable&disable it.
"sendCommandSmoothZoom" - Will try to verify whether smooth zoom can
be enabled&disabled in case the camera supports it.

BUG: 32022758
Test: compile and run the gtest binary on device
Change-Id: Ib56f363126907f24b1af04187b093aa6c8e8ac99

7 years agoCamera: Add Hal version 1 autofocus test cases
Emilian Peev [Thu, 9 Mar 2017 17:15:28 +0000 (17:15 +0000)]
Camera: Add Hal version 1 autofocus test cases

Tests should be available for autofocus verification. The new
cases include:
"autoFocus" - Check whether the camera supports autofocus. In case
 auto is supported it will continue and test all available modes that
allow 'autoFocus' calls.
"cancelAutoFocus" - In case auto is supported, the test will trigger
full AF scan and cancel it immediately.
'CameraParameters' functionality is also required and should be included.

BUG: 32022758
Test: compile and run the gtest binary on device
Change-Id: I3bef25c5fdb6bbfa87517e6d255e4e6e01544d7d

7 years agoMerge "Add VTS tests for audio effects"
TreeHugger Robot [Wed, 15 Mar 2017 02:02:59 +0000 (02:02 +0000)]
Merge "Add VTS tests for audio effects"

7 years agoMerge "wifi(implementation): Make a boolean flag atomic" am: 5bdf7a0ef7 am: bdbc4162e3
Roshan Pius [Wed, 15 Mar 2017 01:28:17 +0000 (01:28 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic" am: 5bdf7a0ef7 am: bdbc4162e3
am: 6a37a04653

Change-Id: Iee147c099291a004930a41691b71ad0aedd42241

7 years agoMerge "wifi(implementation): Make a boolean flag atomic" am: 5bdf7a0ef7
Roshan Pius [Wed, 15 Mar 2017 01:23:16 +0000 (01:23 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic" am: 5bdf7a0ef7
am: bdbc4162e3

Change-Id: Ifafb945391cf9cec56e9ed5ed884dd74db6f6f84

7 years agoMerge "wifi(implementation): Make a boolean flag atomic"
Roshan Pius [Wed, 15 Mar 2017 01:18:44 +0000 (01:18 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic"
am: 5bdf7a0ef7

Change-Id: Ibe597faf04c91cb437cb95faf96cae8713802ea8

7 years ago[AWARE] Separate Aware (NAN) VTS tests into a separate test binary.
Etan Cohen [Fri, 10 Mar 2017 18:43:31 +0000 (10:43 -0800)]
[AWARE] Separate Aware (NAN) VTS tests into a separate test binary.

Aware (NAN) VTS need to be in a separate test binary since whether
they run depends on the feature being supported by the device.

Bug: 36003265
Test: confirms separate binary built
Change-Id: If237e21e72a7c65f5587e40d98acb3146eae45a1

7 years agoMerge "wifi(implementation): Make a boolean flag atomic"
Treehugger Robot [Wed, 15 Mar 2017 01:13:46 +0000 (01:13 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic"

7 years agoAdd VTS tests for audio effects
Mikhail Naganov [Thu, 23 Feb 2017 16:39:36 +0000 (08:39 -0800)]
Add VTS tests for audio effects

Added tests covering IEffect, IEqualizerEffect, and
ILoudnessEnhancer interfaces.

Minor corrections in the interface definitions and implementations:

 - fixed descriptions and @callflow annotations in IEffect;

 - fixed type used for band levels in IEqualizerEffect;

 - fixed specification of frequencies in IEqualizerEffect;

 - fixed some bugs in previously non-execrices Effects code;

 - warning messages changed to error messages.

Test: this is a test
Bug: 32022706
Change-Id: I0e0bc111b07d944ad8a0321e8b1ec703f8d1a73e

7 years agoReturn meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
Jayachandran C [Tue, 14 Mar 2017 02:23:52 +0000 (19:23 -0700)]
Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS

Updated documentation for INTERNAL_ERR & MODEM_ERR

Bug: 34102797
Change-Id: Ic3bf0c987dcb7dc04ab086aeb185c307685c0485

7 years agoMerge "Create configStore SF useContextPriority"
TreeHugger Robot [Tue, 14 Mar 2017 23:52:05 +0000 (23:52 +0000)]
Merge "Create configStore SF useContextPriority"

7 years agoMerge "Move camera hal imp to vendor partition"
TreeHugger Robot [Tue, 14 Mar 2017 23:47:30 +0000 (23:47 +0000)]
Merge "Move camera hal imp to vendor partition"

7 years agoMerge "Move FMQ benchmark/test services to hardware/interfaces" am: 178250d254 am...
Hridya Valsaraju [Tue, 14 Mar 2017 22:22:52 +0000 (22:22 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces" am: 178250d254 am: c35f1e7bc1
am: add0d3c8b8

Change-Id: I002bb4119971877061921bb260238c6dc2568fca

7 years agoMerge "Move FMQ benchmark/test services to hardware/interfaces" am: 178250d254
Hridya Valsaraju [Tue, 14 Mar 2017 22:15:22 +0000 (22:15 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces" am: 178250d254
am: c35f1e7bc1

Change-Id: I7bb5aa7967d439ad3021b4bf4f79f5b4a4f1acf9

7 years agoMerge "Move FMQ benchmark/test services to hardware/interfaces"
Hridya Valsaraju [Tue, 14 Mar 2017 22:10:54 +0000 (22:10 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces"
am: 178250d254

Change-Id: I29e411c3c53fd608ea21a0fc136eb0eb1ec8e1a4

7 years agoMerge "Move FMQ benchmark/test services to hardware/interfaces"
Treehugger Robot [Tue, 14 Mar 2017 22:02:00 +0000 (22:02 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces"

7 years agoMerge "wifi: Add support for multiple radio stats" am: c0fbd8fe63 am: eaf6ed41dd
Roshan Pius [Tue, 14 Mar 2017 20:07:18 +0000 (20:07 +0000)]
Merge "wifi: Add support for multiple radio stats" am: c0fbd8fe63 am: eaf6ed41dd
am: 0f93903c7c

Change-Id: If535abd69fa2e81f96943a526975d5462bdaa41a

7 years agoMerge changes Id207ae31,Ib18c6d2e,I4af19080,I03686e55,Iea1d7d22, ...
Kevin Rocard [Tue, 14 Mar 2017 20:02:52 +0000 (20:02 +0000)]
Merge changes Id207ae31,Ib18c6d2e,I4af19080,I03686e55,Iea1d7d22, ...

* changes:
  Audio HAL VTS: Add tests for IStreamIn
  Audio HAL VTS: Add at least negative tests for IStream
  Audio HAL VTS: Test IStream::debugDump
  Audio HAL VTS: Split big test for better traceability
  Audio hal VTS: pretty print AudioDevice and ChannelMask
  Audio Hal VTS: Refactor ASSERT_RESULT helper
  Audio hal VTS: generate names for parametrized tests
  Audio hal VTS: factorize master volume test
  Fix potentiel deadlock in audio VTS

7 years agoMerge "wifi: Add support for multiple radio stats" am: c0fbd8fe63
Roshan Pius [Tue, 14 Mar 2017 20:01:45 +0000 (20:01 +0000)]
Merge "wifi: Add support for multiple radio stats" am: c0fbd8fe63
am: eaf6ed41dd

Change-Id: I17c637a274c26a28cf4331a7722c8a7c5bf26022

7 years agoMerge "wifi: Add support for multiple radio stats"
Roshan Pius [Tue, 14 Mar 2017 19:57:45 +0000 (19:57 +0000)]
Merge "wifi: Add support for multiple radio stats"
am: c0fbd8fe63

Change-Id: Icca33f2745c8297d1f413e651fbf7506fc0521f6

7 years agoMerge "wifi: Add support for multiple radio stats"
Roshan Pius [Tue, 14 Mar 2017 19:53:44 +0000 (19:53 +0000)]
Merge "wifi: Add support for multiple radio stats"

7 years agoFix config map in default Vehicle HAL impl
Pavel Maltsev [Tue, 14 Mar 2017 19:15:46 +0000 (12:15 -0700)]
Fix config map in default Vehicle HAL impl

Test: tested through VTS
Change-Id: Ibcf607d0ad5cc39291b0d8a159ca3ad849bea8ce

7 years agoFix HvacPowerOn vehicle property
Pavel Maltsev [Tue, 14 Mar 2017 18:58:22 +0000 (11:58 -0700)]
Fix HvacPowerOn vehicle property

Test: VTS test is now passing
Change-Id: I815645310822bf24c8ee3a37f00c9d78a1e9b666

7 years agoCamera: Add Hal version 1 video recording test cases
Emilian Peev [Wed, 8 Mar 2017 19:35:40 +0000 (19:35 +0000)]
Camera: Add Hal version 1 video recording test cases

Tests involving Hal version 1 video recording APIs are
required. Several cases will be available:
- 'startStopRecording' - Verifies basic video recording
functionality. Metadata support will be tested if available.
- 'startRecordingFail' - Checks that recording can be enabled
only after preview starts.

Bug: 32022758
Test: compile and run the gtest binary on device
Change-Id: Id9dd8d3a554a1aa3bbbae9b836e4d14da5c4446b

7 years agoFix log format specifier.
Bryan Eyler [Tue, 14 Mar 2017 18:13:46 +0000 (11:13 -0700)]
Fix log format specifier.

size() returns size_t.

Change-Id: I015b407e26e2be9933558e9f8e2f6c02eba6568a

7 years agoCreate configStore SF useContextPriority
Fabien Sanglard [Mon, 13 Mar 2017 20:03:04 +0000 (13:03 -0700)]
Create configStore SF useContextPriority

Change-Id: I154604428488a5824f6aadd4a6b43a72b327e280

7 years agosupplicant(vts): More tests
Roshan Pius [Fri, 16 Dec 2016 19:10:01 +0000 (11:10 -0800)]
supplicant(vts): More tests

These tests just invoke the HIDL interface API's and ensure
that they succeed or not. Some of these API's (especially P2P) need
multi device testing (AP, Peer) to ensure that they work.

Bug: 33457575
Test: adb shell /data/supplicant_hidl_test
Change-Id: Ibf547b5ed95895c429c8bcb59e4c43b3b436338f

7 years agoAudio HAL VTS: Add tests for IStreamIn
Kevin Rocard [Sat, 11 Mar 2017 02:47:37 +0000 (18:47 -0800)]
Audio HAL VTS: Add tests for IStreamIn

For now most tests are negative.

Test: run test on board

Bug: 34170075
Change-Id: Id207ae310e0fa5a3ab4db49122249594cd2c2703
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoAudio HAL VTS: Add at least negative tests for IStream
Kevin Rocard [Sat, 11 Mar 2017 02:47:37 +0000 (18:47 -0800)]
Audio HAL VTS: Add at least negative tests for IStream

Add negative test for the remaining methods of IStream
and positive one for most.

Test: run test on board

Bug: 34170075
Change-Id: Ib18c6d2e4d0a14ee4517f31319ddecf5e23ac8de
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoAudio HAL VTS: Test IStream::debugDump
Kevin Rocard [Mon, 13 Mar 2017 19:20:54 +0000 (12:20 -0700)]
Audio HAL VTS: Test IStream::debugDump

Test: run it on target
Bug: 34170075
Change-Id: I4af190806f79e0c03b59e1cd60b6f58a08b05322
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoAudio HAL VTS: Split big test for better traceability
Kevin Rocard [Sat, 11 Mar 2017 02:37:46 +0000 (18:37 -0800)]
Audio HAL VTS: Split big test for better traceability

As some part of this big test were failing, it was difficult to actually
track on the dashboard what was wrong.

Split it in small independent equivalent tests.

Test: mm & run on target

Bug: 34170075
Change-Id: I03686e55ec112f0f0c0ef2683c5dc1ae79ff8d5e
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoAudio hal VTS: pretty print AudioDevice and ChannelMask
Kevin Rocard [Sat, 11 Mar 2017 01:42:46 +0000 (17:42 -0800)]
Audio hal VTS: pretty print AudioDevice and ChannelMask

This eases the debuging of failing tests.
Also print hex value of the enums as well of their literal values.

Test: run the test on target
Bug: 34170075
Change-Id: Iea1d7d2269e0e5b413240aaa905daae755846e74
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoAudio Hal VTS: Refactor ASSERT_RESULT helper
Kevin Rocard [Sat, 11 Mar 2017 01:10:43 +0000 (17:10 -0800)]
Audio Hal VTS: Refactor ASSERT_RESULT helper

ASSERT_INVALID_ARGUMENTS was a macro that asserted that a given Result
or Return contained INVALID_ARGUMENT. The problem was that a result can
have lots of other values like INVALID_STATE or NOT_SUPPORTED.
Additionally not all test expect only one possible result.

Introduce two overload of ASSERT_RESULT()
The first one takes an expected Result value and compare it to the
obtained one.
The second take a list and expect the obtained one to be in this list.

Test: run the test on target
Bug: 34170075
Change-Id: I798729f27f723c98292610bfb43dbdb2724ec2ca
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agowifi(implementation): Make a boolean flag atomic
Roshan Pius [Tue, 14 Mar 2017 15:30:45 +0000 (08:30 -0700)]
wifi(implementation): Make a boolean flag atomic

The flag |awaiting_event_loop_termination_| is accessed by multiple
threads, so make it atomic.

Bug: 33552618
Test: Compiles
Change-Id: I5ebe27fe88672565aae0daf34a89616d36f35f90

7 years agoMerge changes from topic 'configstore' am: e3a0c607cd am: fb64badb3e
Jaesoo Lee [Tue, 14 Mar 2017 06:59:40 +0000 (06:59 +0000)]
Merge changes from topic 'configstore' am: e3a0c607cd am: fb64badb3e
am: e0ca61a6be  -s ours

Change-Id: I12c920d8b2e1a1734c822d3badc4195dee82bcfc

7 years agoconfigstore: add new configuration item am: cb71410f16 am: 35ad8cf50d
Jaesoo Lee [Tue, 14 Mar 2017 06:59:37 +0000 (06:59 +0000)]
configstore: add new configuration item am: cb71410f16 am: 35ad8cf50d
am: 4b7759c251  -s ours

Change-Id: Ieb5e5416a3eecd1fde02cc3caaabeb95c1d8a7c8

7 years agoconfigstore: add utility library functions for configstore am: ad54c30863 am: 71e1808de8
Jaesoo Lee [Tue, 14 Mar 2017 06:59:34 +0000 (06:59 +0000)]
configstore: add utility library functions for configstore am: ad54c30863 am: 71e1808de8
am: 20a8fde005  -s ours

Change-Id: I072c59bd3c543ea6fb3cb9cc26d6c24e6ed47914

7 years agoconfigstore: add configstore@1.0 HAL am: c5d7c8a27a am: 06be01518b
Jiyong Park [Tue, 14 Mar 2017 06:59:31 +0000 (06:59 +0000)]
configstore: add configstore@1.0 HAL am: c5d7c8a27a am: 06be01518b
am: c5a9bd19f6  -s ours

Change-Id: I41c0b04abe4ffbf84ea7cd5581104543f3896190

7 years agoMerge changes from topic 'configstore' am: e3a0c607cd
Jaesoo Lee [Tue, 14 Mar 2017 06:55:41 +0000 (06:55 +0000)]
Merge changes from topic 'configstore' am: e3a0c607cd
am: fb64badb3e

Change-Id: Ia4da72dc31ec235dd3aa0710846fc1504a0fd884

7 years agoconfigstore: add new configuration item am: cb71410f16
Jaesoo Lee [Tue, 14 Mar 2017 06:55:38 +0000 (06:55 +0000)]
configstore: add new configuration item am: cb71410f16
am: 35ad8cf50d

Change-Id: I66849f126efe18b86cd6010027d59909e67799c5

7 years agoconfigstore: add utility library functions for configstore am: ad54c30863
Jaesoo Lee [Tue, 14 Mar 2017 06:55:35 +0000 (06:55 +0000)]
configstore: add utility library functions for configstore am: ad54c30863
am: 71e1808de8

Change-Id: I9acd3b567d8daa137f60eeb456e31be05e20a396

7 years agoconfigstore: add configstore@1.0 HAL am: c5d7c8a27a
Jiyong Park [Tue, 14 Mar 2017 06:55:32 +0000 (06:55 +0000)]
configstore: add configstore@1.0 HAL am: c5d7c8a27a
am: 06be01518b

Change-Id: Ifa830fa1d3128c9319e52152e20451b0886f6db8

7 years agoMerge changes from topic 'configstore'
Jaesoo Lee [Tue, 14 Mar 2017 06:51:13 +0000 (06:51 +0000)]
Merge changes from topic 'configstore'
am: e3a0c607cd

Change-Id: I3b50189813bde7b84e9e545e37717a4e8bda5801

7 years agoconfigstore: add new configuration item
Jaesoo Lee [Tue, 14 Mar 2017 06:51:06 +0000 (06:51 +0000)]
configstore: add new configuration item
am: cb71410f16

Change-Id: I9dcf29ba10593d3bca6d0db4269c072687d7ab51

7 years agoconfigstore: add utility library functions for configstore
Jaesoo Lee [Tue, 14 Mar 2017 06:50:56 +0000 (06:50 +0000)]
configstore: add utility library functions for configstore
am: ad54c30863

Change-Id: I4d2fed4d6c46b4ab22c955f020f590f1f66f5927

7 years agoconfigstore: add configstore@1.0 HAL
Jiyong Park [Tue, 14 Mar 2017 06:50:44 +0000 (06:50 +0000)]
configstore: add configstore@1.0 HAL
am: c5d7c8a27a

Change-Id: Id8da8ce348021dd6d8976071370c5d75118c2fa2

7 years agoMerge changes from topic 'configstore'
Jaesoo Lee [Tue, 14 Mar 2017 06:44:11 +0000 (06:44 +0000)]
Merge changes from topic 'configstore'

* changes:
  configstore: build configstore-utils as header library
  configstore: add new configuration item
  configstore: add utility library functions for configstore
  configstore: add configstore@1.0 HAL

7 years agowifi: Add support for multiple radio stats
Roshan Pius [Mon, 13 Mar 2017 17:44:20 +0000 (10:44 -0700)]
wifi: Add support for multiple radio stats

Previously, we've always assumed that we have only one instance of
radio stats fetched in link layer stats. This is no longer true for the
newer devices which support multiple radios.

Also,
Changed the timestamp member from uint32_t to uint64_t.

Bug: 36148086
Test: The error logs no longer seen on newer devices.
Change-Id: I048a1db7cc0bfb0dc0dacafff2156f42a8ae1e63

7 years agoMerge "Bluetooth: No power off before power on" am: 2e429d6b64 am: 3805d65284
Myles Watson [Tue, 14 Mar 2017 00:06:18 +0000 (00:06 +0000)]
Merge "Bluetooth: No power off before power on" am: 2e429d6b64 am: 3805d65284
am: 0dba862f10

Change-Id: I2277fc9cae7055f3b915d9556e2a17ed657fecb3

7 years agoMerge "Bluetooth: No power off before power on" am: 2e429d6b64
Myles Watson [Tue, 14 Mar 2017 00:01:25 +0000 (00:01 +0000)]
Merge "Bluetooth: No power off before power on" am: 2e429d6b64
am: 3805d65284

Change-Id: I03d5b9fc13750baa4a771b645d032ce2331b1523

7 years agoMerge "Bluetooth: No power off before power on"
Myles Watson [Mon, 13 Mar 2017 23:57:39 +0000 (23:57 +0000)]
Merge "Bluetooth: No power off before power on"
am: 2e429d6b64

Change-Id: If65b972e390b50add2412c1d91c259210405aa5c

7 years agoMerge "Bluetooth: No power off before power on"
Treehugger Robot [Mon, 13 Mar 2017 23:48:56 +0000 (23:48 +0000)]
Merge "Bluetooth: No power off before power on"

7 years agoMove FMQ benchmark/test services to hardware/interfaces
Hridya Valsaraju [Wed, 8 Mar 2017 04:25:08 +0000 (20:25 -0800)]
Move FMQ benchmark/test services to hardware/interfaces

Bug: 32284445
Test: Built and ran FMQ benchmarks

Change-Id: Ia6bacf21d276b55e4e590dc96f348464f2098992

7 years agowifi: Link the new libcld80211 library am: 48df739a4d am: 02354cb6b6
Subhani Shaik [Mon, 13 Mar 2017 23:09:32 +0000 (23:09 +0000)]
wifi: Link the new libcld80211 library am: 48df739a4d am: 02354cb6b6
am: 50ad0c5171

Change-Id: I6d7ccaa1c960b3e650ee0cbea8cddd4bbb145ce5

7 years agowifi: Link the new libcld80211 library am: 48df739a4d
Subhani Shaik [Mon, 13 Mar 2017 23:05:32 +0000 (23:05 +0000)]
wifi: Link the new libcld80211 library am: 48df739a4d
am: 02354cb6b6

Change-Id: Ie1a5036050c5edc42597a1b70467b9da08c15183