OSDN Git Service
TreeHugger Robot [Fri, 17 Mar 2017 01:39:24 +0000 (01:39 +0000)]
Merge "Check registerPassthroughServiceImplementation return status"
TreeHugger Robot [Fri, 17 Mar 2017 01:19:45 +0000 (01:19 +0000)]
Merge "IBiometricsFingerprint uses "default" service name"
Kevin Rocard [Fri, 17 Mar 2017 01:14:56 +0000 (01:14 +0000)]
Merge changes Ie3e9e23c,I5e13eb47
* changes:
Audio HAL VTS: Add test for IStreamOut
Audio HAL VTS: Avoid copying Return in helper
TreeHugger Robot [Fri, 17 Mar 2017 00:32:48 +0000 (00:32 +0000)]
Merge "Camera: Update HAL interface doc for high speed video batching"
Mikhail Naganov [Thu, 16 Mar 2017 23:57:13 +0000 (23:57 +0000)]
Merge "audiohal: Rename output flag VOIP_CALL_RX -> VOIP_RX"
Michael Butler [Thu, 16 Mar 2017 23:26:38 +0000 (23:26 +0000)]
Merge "RenderScript VTS implementation" am:
eb8d93e4b2 am:
58e653f54b
am:
95cabfe7c5
Change-Id: Ida08f3ad52df03d2b0c0006cef77cd492e78f156
TreeHugger Robot [Thu, 16 Mar 2017 23:22:01 +0000 (23:22 +0000)]
Merge "Create forceHwcCopyForVirtualDisplay in configStore"
Michael Butler [Thu, 16 Mar 2017 23:21:32 +0000 (23:21 +0000)]
Merge "RenderScript VTS implementation" am:
eb8d93e4b2
am:
58e653f54b
Change-Id: Ib0b620ba125a795b58c0318fca33be51e46300ac
Michael Butler [Thu, 16 Mar 2017 23:20:12 +0000 (23:20 +0000)]
Merge "RenderScript VTS implementation"
am:
eb8d93e4b2
Change-Id: I47b5c3b014dd13a50c147766e839e82dce650a10
Treehugger Robot [Thu, 16 Mar 2017 23:11:35 +0000 (23:11 +0000)]
Merge "RenderScript VTS implementation"
Kevin Rocard [Sat, 11 Mar 2017 02:47:37 +0000 (18:47 -0800)]
Audio HAL VTS: Add test for IStreamOut
Some test are only negative.
Test: run test on board
Bug:
34170075
Signed-off-by: Kevin Rocard <krocard@google.com>
Kevin Rocard [Sat, 11 Mar 2017 02:47:37 +0000 (18:47 -0800)]
Audio HAL VTS: Avoid copying Return in helper
Return are movable only, thus the fact that assertResult took a copy of
the value meant that the callee had to provide an rvalue.
This was not needed as the Result was not modified. Change it to a const
reference.
Test: run test on board
Bug:
34170075
Signed-off-by: Kevin Rocard <krocard@google.com>
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
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
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
Yifan Hong [Thu, 16 Mar 2017 22:29:18 +0000 (15:29 -0700)]
IBiometricsFingerprint 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: fingerprint works
Bug:
33844934
Change-Id: I6383c43b4b05469cb986e4f10129a0921f401464
Michael Butler [Wed, 1 Mar 2017 23:32:30 +0000 (15:32 -0800)]
RenderScript VTS implementation
Contains the gtest for the vts-hidl-hal test. The goal is to have
1 test case for each HIDL HAL entry by 3/15/17. There are still a few
tests with bugs, so they have been commented out and will be fixed by
3/17/17.
Bug:
34396220
Bug:
35915961
Test: mm and run on angler
Change-Id: I20462432a42e3aa307b98e728f30f20f5aa1e921
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
Fabien Sanglard [Tue, 14 Mar 2017 18:43:18 +0000 (11:43 -0700)]
Create forceHwcCopyForVirtualDisplay in configStore
Change-Id: I69ff735a0263cb19d8208867943329357be49d4a
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
Edwin Wong [Thu, 16 Mar 2017 16:40:48 +0000 (09:40 -0700)]
Check registerPassthroughServiceImplementation return status
Should abort program if registerPassthroughServiceImplementation returns
something other than OK.
Test: Play Movies & TV in non-binderized mode.
bug:
34640335
Change-Id: I94be98e7ae66cdb777a7d182123c8692aef915b7
TreeHugger Robot [Thu, 16 Mar 2017 15:26:38 +0000 (15:26 +0000)]
Merge "Camera: Provider: Set up vendor tag before getDeviceVersion"
Jeff Tinker [Thu, 16 Mar 2017 06:56:09 +0000 (06:56 +0000)]
Merge "Fix CTS post submit failures"
Keun Soo Yim [Thu, 16 Mar 2017 05:12:42 +0000 (05:12 +0000)]
Merge "Fix issues in sensor target test"
TreeHugger Robot [Thu, 16 Mar 2017 02:03:52 +0000 (02:03 +0000)]
Merge "Fix HvacPowerOn vehicle property"
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
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
TreeHugger Robot [Thu, 16 Mar 2017 01:07:51 +0000 (01:07 +0000)]
Merge "Create present timestamp offset for SF"
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
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
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
Treehugger Robot [Thu, 16 Mar 2017 00:39:15 +0000 (00:39 +0000)]
Merge "Fix MCT data transport for the BT HAL"
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
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
Fabien Sanglard [Tue, 14 Mar 2017 20:16:30 +0000 (13:16 -0700)]
Create present timestamp offset for SF
Change-Id: Ic6435cca06739f749c6041c0925ca235dcc7f51e
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
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:28:06 +0000 (21:28 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
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
TreeHugger Robot [Wed, 15 Mar 2017 20:55:40 +0000 (20:55 +0000)]
Merge "Move IGraphicBufferProducer to graphics/bufferqueue."
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:
36067612,
36035039,
36188793
Test: manual, pairing is quick and data does transfer
Change-Id: Icc8728239ba81426d5fc0e678c5c5480fd9b5081
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
Roshan Pius [Wed, 15 Mar 2017 20:46:02 +0000 (20:46 +0000)]
Merge "supplicant(vts): More tests"
am:
864cae3795
Change-Id: I5d18829e16075d243a782824bef24081ed973c90
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
Roshan Pius [Wed, 15 Mar 2017 20:34:18 +0000 (20:34 +0000)]
Merge "supplicant(vts): More tests"
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
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
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
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
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
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
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"
Bryan Eyler [Wed, 15 Mar 2017 17:19:36 +0000 (17:19 +0000)]
Merge "Fix log format specifier."
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
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
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
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
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."
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
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
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
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
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
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
TreeHugger Robot [Wed, 15 Mar 2017 02:02:59 +0000 (02:02 +0000)]
Merge "Add VTS tests for audio effects"
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
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
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
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
Treehugger Robot [Wed, 15 Mar 2017 01:13:46 +0000 (01:13 +0000)]
Merge "wifi(implementation): Make a boolean flag atomic"
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
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
TreeHugger Robot [Tue, 14 Mar 2017 23:52:05 +0000 (23:52 +0000)]
Merge "Create configStore SF useContextPriority"
TreeHugger Robot [Tue, 14 Mar 2017 23:47:30 +0000 (23:47 +0000)]
Merge "Move camera hal imp to vendor partition"
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
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
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
Treehugger Robot [Tue, 14 Mar 2017 22:02:00 +0000 (22:02 +0000)]
Merge "Move FMQ benchmark/test services to hardware/interfaces"
Shuzhen Wang [Thu, 9 Mar 2017 00:29:36 +0000 (16:29 -0800)]
Camera: Update HAL interface doc for high speed video batching
Now cameraservice only sends one shutter notify and capture result to
the application per batch. Update the HAL interface doc to reflect this.
Test: Compiles
Bug:
35775704
Change-Id: I3a7967f0342213699989c70f485b379ccb94a1ff
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
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
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
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
Roshan Pius [Tue, 14 Mar 2017 19:53:44 +0000 (19:53 +0000)]
Merge "wifi: Add support for multiple radio stats"
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
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
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
Bryan Eyler [Tue, 14 Mar 2017 18:13:46 +0000 (11:13 -0700)]
Fix log format specifier.
size() returns size_t.
Change-Id: I015b407e26e2be9933558e9f8e2f6c02eba6568a
Fabien Sanglard [Mon, 13 Mar 2017 20:03:04 +0000 (13:03 -0700)]
Create configStore SF useContextPriority
Change-Id: I154604428488a5824f6aadd4a6b43a72b327e280
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
Mikhail Naganov [Tue, 14 Mar 2017 16:18:11 +0000 (09:18 -0700)]
audiohal: Rename output flag VOIP_CALL_RX -> VOIP_RX
Makes the constant name consistent with non-Pixel HALs
Change-Id: I42d0f6eea2408ebd155848b85582a844687f106a
Test: make
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>
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>
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>
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>
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>
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>
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
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
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
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