Commit graph

3648 commits

Author SHA1 Message Date
Kevin Rocard
24db65c0ec 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>
2017-03-16 16:00:02 -07:00
Roshan Pius
741fd9e7ab supplicant(interface): List out all status/reason codes am: d23068fac6 am: 698e1e8769
am: e54150fc2c

Change-Id: Ice7dddf86cd67daba69e51b808674bb84779cab2
2017-03-16 22:51:12 +00:00
Roshan Pius
e54150fc2c supplicant(interface): List out all status/reason codes am: d23068fac6
am: 698e1e8769

Change-Id: I99fa820c08645fe4832e8f9628fd87aab81b0328
2017-03-16 22:48:42 +00:00
Roshan Pius
698e1e8769 supplicant(interface): List out all status/reason codes
am: d23068fac6

Change-Id: I9a435da9ed4adcceda8c80c4c53e9230d49d0ab0
2017-03-16 22:47:11 +00:00
Yifan Hong
4681ab8b21 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
2017-03-16 15:39:08 -07:00
Michael Butler
2d4d6d97c1 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
2017-03-16 14:24:14 -07:00
Roshan Pius
d23068fac6 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
2017-03-16 20:43:36 +00:00
Fabien Sanglard
38295e77b8 Create forceHwcCopyForVirtualDisplay in configStore
Change-Id: I69ff735a0263cb19d8208867943329357be49d4a
2017-03-16 12:21:10 -07:00
Pavel Maltsev
caae0cc641 Merge changes I1610beb9,Ibcf607d0
* changes:
  Fix typo CELCIUS -> CELSIUS in Vehicle HAL
  Fix config map in default Vehicle HAL impl
2017-03-16 18:24:36 +00:00
Edwin Wong
c7170174d4 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
2017-03-16 09:43:29 -07:00
TreeHugger Robot
0e5e908e69 Merge "Camera: Provider: Set up vendor tag before getDeviceVersion" 2017-03-16 15:26:38 +00:00
Jeff Tinker
3f56358218 Merge "Fix CTS post submit failures" 2017-03-16 06:56:09 +00:00
Keun Soo Yim
935cb15681 Merge "Fix issues in sensor target test" 2017-03-16 05:12:42 +00:00
TreeHugger Robot
38d90c2d07 Merge "Fix HvacPowerOn vehicle property" 2017-03-16 02:03:52 +00:00
Shuzhen Wang
efb7bfa993 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
2017-03-15 18:35:42 -07:00
Peng Xu
1655a640fb 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
2017-03-15 18:29:00 -07:00
TreeHugger Robot
93c7e13a12 Merge "Create present timestamp offset for SF" 2017-03-16 01:07:52 +00:00
Zach Johnson
1e0bf3a7e3 Merge "Fix MCT data transport for the BT HAL" am: a8dce86cd8 am: 346ee4e2c8
am: eff4007fb5

Change-Id: Id2542183f2de78fd2c2ebb2458f5dc98b6353ed2
2017-03-16 00:50:19 +00:00
Zach Johnson
eff4007fb5 Merge "Fix MCT data transport for the BT HAL" am: a8dce86cd8
am: 346ee4e2c8

Change-Id: I5343ae1cdbfe436a29e20b59ea038334f3ef8afe
2017-03-16 00:47:40 +00:00
Zach Johnson
346ee4e2c8 Merge "Fix MCT data transport for the BT HAL"
am: a8dce86cd8

Change-Id: I2f25b7caa0c1a40ed5dad2f7b955ffdc13ecba7e
2017-03-16 00:45:40 +00:00
Treehugger Robot
a8dce86cd8 Merge "Fix MCT data transport for the BT HAL" 2017-03-16 00:39:16 +00:00
Shuoq
59bac4dba3 Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio
telephony apis.

Bug: 32022332
Test: vts
Change-Id: Iad55b40f7349bcb8e34ffd275088dce0626beddf
2017-03-15 23:13:24 +00:00
Jayachandran Chinnakkannu
222cf72efa Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am: 14b82de6b2 am: 2bc10e9066
am: 460da89426

Change-Id: Idce0f559b0351da4b27ac9a3c0f9eb7b52db03ab
2017-03-15 21:40:40 +00:00
Jayachandran Chinnakkannu
460da89426 Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am: 14b82de6b2
am: 2bc10e9066

Change-Id: I38880a45cd8e9807a76d64129c6b44050fcd2ce4
2017-03-15 21:38:02 +00:00
Fabien Sanglard
8d7e31ee6a Create present timestamp offset for SF
Change-Id: Ic6435cca06739f749c6041c0925ca235dcc7f51e
2017-03-15 14:33:52 -07:00
Jayachandran Chinnakkannu
2bc10e9066 Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
am: 14b82de6b2

Change-Id: I4e39842820113835bc57d0fdbe637030e2647d1e
2017-03-15 21:33:05 +00:00
Jayachandran Chinnakkannu
14b82de6b2 Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" 2017-03-15 21:28:07 +00:00
Roshan Pius
ba62310d62 Merge "supplicant(vts): More tests" am: 864cae3795 am: f2bf393f6c
am: d5de01439b

Change-Id: Iedf9ad1393d971cb91c11c4b905d3e55ddbd0a41
2017-03-15 20:58:59 +00:00
TreeHugger Robot
52efd43eee Merge "Move IGraphicBufferProducer to graphics/bufferqueue." 2017-03-15 20:55:46 +00:00
Zach Johnson
fed25ad256 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
2017-03-15 13:50:36 -07:00
Roshan Pius
d5de01439b Merge "supplicant(vts): More tests" am: 864cae3795
am: f2bf393f6c

Change-Id: I8e1ee5ce933d8406c7e43e1f3bb5b23d36756111
2017-03-15 20:50:30 +00:00
Roshan Pius
f2bf393f6c Merge "supplicant(vts): More tests"
am: 864cae3795

Change-Id: I5d18829e16075d243a782824bef24081ed973c90
2017-03-15 20:46:02 +00:00
Jeff Tinker
e5fbc46ef2 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
2017-03-15 20:35:37 +00:00
Roshan Pius
864cae3795 Merge "supplicant(vts): More tests" 2017-03-15 20:34:19 +00:00
Pawin Vongmasa
4a3cd13ddc 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
2017-03-15 11:42:40 -07:00
Myles Watson
dc314a30ee Bluetooth: Don't disable LPM at power off am: 3b2a29676b am: 2fe40fdd3c
am: 535f43a380

Change-Id: I277adfa8063013545f016d5590161fd22b0fb189
2017-03-15 18:40:06 +00:00
Myles Watson
535f43a380 Bluetooth: Don't disable LPM at power off am: 3b2a29676b
am: 2fe40fdd3c

Change-Id: I41dd5394f1951770f8d6b2dc624a704ce8a6d893
2017-03-15 18:35:36 +00:00
TreeHugger Robot
360cad209a 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
2017-03-15 18:33:05 +00:00
Myles Watson
2fe40fdd3c Bluetooth: Don't disable LPM at power off
am: 3b2a29676b

Change-Id: I6e933061680088a4f675ed9b1557877393f3e65f
2017-03-15 18:30:42 +00:00
Pavel Maltsev
7005f9f643 Fix typo CELCIUS -> CELSIUS in Vehicle HAL
Test: typo in comments only.
Change-Id: I1610beb9cb44b3b50e9a86fcff41d3421c6ad849
2017-03-15 10:49:28 -07:00
Shubang Lu
08216a5777 Merge "Add a field for auto cable plugin detection in TV Input HAL" 2017-03-15 17:29:11 +00:00
Bryan Eyler
dca2095a8c Merge "Fix log format specifier." 2017-03-15 17:19:36 +00:00
Myles Watson
3b2a29676b 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
2017-03-15 16:01:46 +00:00
Etan Cohen
76bcd12d73 Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am: 16ae0c8f86 am: 4623343ed4
am: 5f8eac9d15

Change-Id: I100b80d40658f1a6932faeebc3ca1785b3081499
2017-03-15 15:02:21 +00:00
Etan Cohen
5f8eac9d15 Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." am: 16ae0c8f86
am: 4623343ed4

Change-Id: Icfc4eb32b0d5b52c0f918a2274c1ffecab74b0ec
2017-03-15 14:56:20 +00:00
Etan Cohen
4623343ed4 Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary."
am: 16ae0c8f86

Change-Id: Ib18f8ad75e9e8dc687e755da705314b3e924599f
2017-03-15 14:50:52 +00:00
Etan Cohen
16ae0c8f86 Merge "[AWARE] Separate Aware (NAN) VTS tests into a separate test binary." 2017-03-15 14:42:46 +00:00
Courtney Goeltzenleuchter
a3023d9b44 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
2017-03-15 08:11:25 -06:00
Courtney Goeltzenleuchter
3670b44926 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
2017-03-15 08:11:25 -06:00
Emilian Peev
afc6723e86 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
2017-03-15 08:36:27 +00:00