Commit Graph

31970 Commits

Author SHA1 Message Date
Lais Andrade
3c7f0d90ba Fix default vibrator HAL to check support on getPrimitiveDuration
Change-Id: I09219cca0a1b0bb985cae70734b0dd03cca441fc
Fix: 191115802
Test: VtsHalVibratorTargetTest
2021-06-16 10:28:22 +00:00
Ahmed ElArabawy
e1aa920659 Merge "WiFi: Modify OWNERS files" into sc-dev 2021-06-15 23:36:02 +00:00
Siarhei Vishniakou
529a78f332 Merge "Add IInputConstants dependency for Input.h" into sc-dev 2021-06-15 21:50:38 +00:00
TreeHugger Robot
0dd1d3909f Merge "Camera: Add framework-only enum value to test pattern mode" into sc-dev 2021-06-15 17:29:24 +00:00
Ahmed ElArabawy
7e8409bb51 WiFi: Modify OWNERS files
Replace kumaranand@ with arabawy@ in OWNERS files

Bug: 191158491
Test: None
Change-Id: I585e95449e0aafdaa9687b363af0418032f41dfa
2021-06-15 10:20:29 -07:00
Wei Wang
844cbd782c Merge "Power: allow vts to pass with earlier version of server" into sc-dev 2021-06-14 23:08:22 +00:00
David Zeuthen
0ebf88ab00 Merge "identity: fix access control checks in libeic." into sc-dev 2021-06-14 19:51:12 +00:00
David Zeuthen
1e5f72a2cc identity: fix access control checks in libeic.
Also add a new libeic_test binary which has a regression test for this
vulnerability.

Bug: 190757775
Test: atest libeic_test
Test: atest VtsHalIdentityTargetTest
Test: atest CtsIdentityTestCases
Change-Id: I8344655c59930d6bf1baa4e0f8d0f60e4fc9e48d
2021-06-14 13:50:59 -04:00
Wei Wang
9df909dba1 Power: allow vts to pass with earlier version of server
Bug: 189976527
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I3e1ce05e62e9581c9a66f65e82e1599d77de7a85
2021-06-12 18:27:59 -07:00
TreeHugger Robot
5fe68156d5 Merge "Fix vibrator VTS failure on older HAL versions" into sc-dev 2021-06-11 16:57:44 +00:00
Lais Andrade
4b54b1fc49 Fix vibrator VTS failure on older HAL versions
Fix tests to expect STATUS_UNKNOWN_TRANSACTION as well as
EX_UNSUPPORTED_OPERATION when the vibrator does not have a capability
required for the method being tested.

Older versions of the HAL will return that status code instead of
unsupported, as explained at:
https://source.android.com/devices/architecture/aidl/stable-aidl#versioning-interfaces

Fix: 190526054
Test: VtsHalVibratorTargetTest & VtsHalVibratorManagerTargetTest
Change-Id: I538843fbbdbf8353cd57f1c83392baeabdcbadd2
2021-06-11 12:29:11 +01:00
Kai Wang
a8c42cf0a1 Merge "Fix VHAL VTS issue on GSI image" into sc-dev 2021-06-10 23:18:20 +00:00
TreeHugger Robot
25f22b6441 Merge "Freeze Vehicle HAL interface" into sc-dev 2021-06-10 23:15:29 +00:00
TreeHugger Robot
47264c7a2c Merge "Deflake WorkerThreadTest" into sc-dev 2021-06-10 20:01:12 +00:00
Ady Abraham
a7c8c514d4 Merge "composer: 2.4: vts: do not try to delay a config change outside a group" into sc-dev 2021-06-10 16:49:10 +00:00
Ilya Matyukhin
916410f1b1 Deflake WorkerThreadTest
Bug: 187402940
Test: atest --host --rerun-until-failure 1000 WorkerThreadTest
Change-Id: I65dc183d7a616a684a42a3780b32f6f8f55ae9c4
2021-06-09 17:55:19 -07:00
David Drysdale
fd5b1a6da8 KeyMint: sync all attestation tags
Get description of ASN.1 schema in HAL and the keymint support library
in sync with each other.  Change code to always list tags in the same
order (by numeric tag).

Bug: 188672564
Bug: 186735514
Test: VtsAidlKeyMintTargetTest
Merged-In: I620f54ba4a265ea69d174f6f44765a8508bfe803
Change-Id: I620f54ba4a265ea69d174f6f44765a8508bfe803
Ignore-AOSP-First: already merged into aosp/master
2021-06-09 09:10:33 +01:00
TreeHugger Robot
083efb0be1 Merge "Fix VTS test" into sc-dev 2021-06-09 00:07:49 +00:00
Ady Abraham
8bd3c2f00f composer: 2.4: vts: do not try to delay a config change outside a group
When switching to a new config, we can set the desiredTimeNanos to
be in the future only for configs within the same config groups.

Bug: 190250110
Test: atest VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I5e292b656eccf6e90c06e08c6eb202d689b6f026
2021-06-08 17:03:20 -07:00
Kai
9ba9f5e2f2 Fix VHAL VTS issue on GSI image
Bug: 183961835
Test: atest VtsHalAutomotiveVehicleV2_0TargetTest
Change-Id: I78b4e38e7462cb8cc69ca999f0da64a1e396df90
2021-06-08 16:06:24 -07:00
David Drysdale
eaab0f2816 KeyMint VTS: better early boot key tests
Add a check that the TAG_EARLY_BOOT_ONLY is included in the returned key
characteristics.

Bug: 188672564
Test: VtsAidlKeyMintTargetTest
Merged-In: I200c61f34888c720c47f6289d79cd21d78436b58
Change-Id: I200c61f34888c720c47f6289d79cd21d78436b58
Ignore-AOSP-First: already merged in aosp/master
2021-06-08 12:04:45 +01:00
David Drysdale
339b901709 Merge "KeyMint VTS: test getKeyCharacteristics()" into sc-dev 2021-06-08 09:49:39 +00:00
Kai
e41878b480 Freeze Vehicle HAL interface
Freeze vehicle hal interface for android s.

Bug: 157608908
Test: atest vts_treble_vintf_vendor_test
Change-Id: I092f7c7facbb08f381560840c449ae1211625c65
2021-06-07 22:54:16 -07:00
Ilya Matyukhin
13d8406217 Fix VTS test
Bug: 187128449
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I8e77b18a5e79ae905a78e540b4da0b304672b514
2021-06-07 16:57:05 -07:00
TreeHugger Robot
caa53dc3bb Merge "Update VTS tests for SatellitePvt and CorrelationVector" into sc-dev 2021-06-07 22:44:20 +00:00
Yu-Han Yang
b8d98f0be3 Update VTS tests for SatellitePvt and CorrelationVector
Wait until a measurement with SatellitePvt is received if it's
supported. Similarly, wait until a measurement with Correlation
Vector is received if it's supported.

Bug: 184906297
Test: on device
Change-Id: I4b26a2ec6f9f77fdc638dd5ab1ed8c131a55f545
2021-06-07 13:53:26 -07:00
Yomna Nasser
b0bd8ad47e Merge "Adds VTS test for setAllowedNetworkTypesBitmap" into sc-dev 2021-06-07 20:41:42 +00:00
Yomna Nasser
c3d2bd4c56 Adds VTS test for setAllowedNetworkTypesBitmap
Adds a VTS test for setAllowedNetworkTypesBitmap, the newly
defined HAL radio API.

Bug: b/190398554
Test: atest VtsHalRadioV1_6TargetTest

Change-Id: I1b7d85ddd70a2d116a3b54a10d168c20804f2524
2021-06-07 17:36:28 +00:00
Hongguang Chen
a9172e6e5a Merge "Remove some TODOs from tuner HAL and its VTS." into sc-dev 2021-06-07 16:53:32 +00:00
Hongguang Chen
8fc14a8d99 Remove some TODOs from tuner HAL and its VTS.
1) The tuner cases should be always allowed on devices w/o tuner.
  -- VTS is common for all devices, we must allow the tuner cases to
     pass/skip on non TV devices.
  -- The tuner HAL is also optional on TV devices, like OTT, the tuner
     VTS cases should be skipped on those devices too.
2) Filter type has been checked in Demux::attachRecordFilter().

Bug: 188709323
Test: make vts
Change-Id: Ifd1cb805d7f5d552a4aa7365ba78ff87b8a3ccc1
2021-06-07 16:52:09 +00:00
David Drysdale
96ad2036b2 KeyMint VTS: test getKeyCharacteristics()
Bug: 186685601
Bug: 188855306
Test: VtsAidlKeyMintTargetTest
Merged-In: Icf400533b0ded98b9338f2d782d95d90c7efbff4
Change-Id: Icf400533b0ded98b9338f2d782d95d90c7efbff4
Ignore-AOSP-First: already merged in aosp/master
2021-06-07 17:27:36 +01:00
TreeHugger Robot
9a0dab8fb7 Merge "Allow REQUEST_NOT_SUPPORTED for HAL interface updateSimPhonebookRecords" into sc-dev 2021-06-07 03:57:55 +00:00
Jiyong Park
7a0ef62645 Merge "Add owner field to android.hardware.tests.extension.vibrator" into sc-dev 2021-06-06 23:28:09 +00:00
Aaron Tsai
c0490422cf Allow REQUEST_NOT_SUPPORTED for HAL interface updateSimPhonebookRecords
Bug: 188309710
Test: atest VtsHalRadioV1_6TargetTest

Merged-In: Iad9c88582ddcd7f460be4276286fd5005cd9ae29
Merged-In: I75486da2210340980229e752f9bc2d93cedaa8c5
Merged-In: I7fc7667f9a2c0c52511febe2ca8061b0bab7ce7b
Change-Id: Ia7f2a3983664ab4fcd16123026de87095a39f18e
2021-06-06 18:30:09 +00:00
Przemyslaw Szczepaniak
62d0446772 Merge "Modify VTS to allow testing shim caching" into sc-dev 2021-06-04 13:20:53 +00:00
Jiyong Park
ad0bed60e9 Add owner field to android.hardware.tests.extension.vibrator
This will prevent the interface from being updated with aidl-freeze-api.
As the interface is for testing purpose, we really don't need to keep
the latest ToT version and the latest stable version to be the same.
Exempt that by adding the owner field to the interface.

Bug: 188713899
Test: m

Change-Id: I9a670f763c8f31f7c847f8ba8d4706efa075285e
2021-06-04 12:11:07 +09:00
Siarhei Vishniakou
8c35c57811 Add IInputConstants dependency for Input.h
In this VTS test, we are #including InputDevice.h, which in turn
depends on Input.h.

Since we are adding a depending on IInputConstants inside Input.h,
update the makefiles here to pass the build.

Bug: 175069843
Test: m VtsHalInputClassifierV1_0TargetTest
Change-Id: I6acded6137362fb9554e7c0c74abb1e6370acff6
2021-06-03 18:55:24 +00:00
Slava Shklyaev
dff39c0081 Modify VTS to allow testing shim caching
Bug: 185777967
Bug: 182877255
Test: VtsHalNeuralnetworksTargetTest
Change-Id: Ibaba149715cfd5e655ce4916b75a29473170f013
Merged-In: Ibaba149715cfd5e655ce4916b75a29473170f013
(cherry picked from commit 2980a7c9fc)
2021-06-03 16:10:35 +00:00
Max Bires
09c9ab7c9a Merge "Fixing tests to reflect change in CDDL" into sc-dev 2021-06-03 00:16:06 +00:00
Daniel Cardenas
60039f7fe9 [automerger skipped] Increase default timeout for changeStateIdletoExecute() from 100ms to 400ms am: c476ff3857 -s ours am: fd44461bd5 am: b19ec800c0 am: 5a01e2bac8 am: bbe4dea57b am: 087b01c772
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1508957

Change-Id: I62c972285736aaa786e79c013c58e5b8af4933a5
2021-06-02 23:18:55 +00:00
Edwin Wong
b55e169bfc [automerger skipped] [RESTRICT AUTOMERGE] Fix potential decrypt srcPtr overflow. am: 072cdf233c -s ours am: b64b770489 -s ours am: 83f2db8fc0 am: edbc9b1984 -s ours am: e45800a874 am: 81b65d51f2 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13423923

Change-Id: I7a4de3c02aefa5301f71cc5837e2f057f1620f81
2021-06-02 23:18:47 +00:00
Edwin Wong
2473318b10 Fix potential decrypt src pointer overflow. am: c9b5693c7f am: 425466627b am: e0db28bc6c am: 68e65826c0 am: 227bdb51d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13412307

Change-Id: I211850335f2289e8c093220decec6df7c5d7a8cd
2021-06-02 23:18:39 +00:00
chao.meng
be02c246c9 [automerger skipped] DO NOT MERGE Add sleep(3) after stopSupplicant when VtsHalWifiSupplicant am: ca07893589 -s ours am: 8adb4f6581 -s ours am: ad6c07e4c8 am: 1d251753e7 -s ours am: a635038c52 am: 7e6e5b3d1c -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1478060

Change-Id: Idfadfeac715eb84501ea7d7cb6532f58867c2656
2021-06-02 23:18:30 +00:00
Treehugger Robot
57a7cac684 [automerger skipped] Merge "vts: wifi: softap and p2p are optional feature per CDD" into pie-vts-dev am: a5f27a462e am: 866ba26264 -s ours am: 09936c8c82 am: 723fe3456f am: de90ba21fd am: ec1e35028b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1322162

Change-Id: Ic3eb2aeeff4c8be93c5274b58ae8a32ed2c1d7b6
2021-06-02 23:18:19 +00:00
Daniel Cardenas
af7b38205f [automerger skipped] Increase default timeout for changeStateIdletoExecute() from 100ms to 400ms am: c476ff3857 -s ours am: fd44461bd5 am: b19ec800c0 am: 5a01e2bac8 am: bbe4dea57b am: 548b8c48c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1508957

Change-Id: I9d6cf5f91f52aecfb6919b970a5f2b987acd81ca
2021-06-02 23:18:08 +00:00
Edwin Wong
87e5c2e57b [automerger skipped] [RESTRICT AUTOMERGE] Fix potential decrypt srcPtr overflow. am: 072cdf233c -s ours am: b64b770489 -s ours am: 83f2db8fc0 am: edbc9b1984 -s ours am: e45800a874 am: 24100c6309 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13423923

Change-Id: Ic72d7dcc38987534cb60c5d9d13364445f09ea40
2021-06-02 23:18:00 +00:00
Edwin Wong
e77ccd09f7 Fix potential decrypt src pointer overflow. am: c9b5693c7f am: 425466627b am: e0db28bc6c am: 68e65826c0 am: c84661b1db
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13412307

Change-Id: I44da20854d1f6d1f19384502cbb0de3d037056e2
2021-06-02 23:17:46 +00:00
chao.meng
7c4efd575a [automerger skipped] DO NOT MERGE Add sleep(3) after stopSupplicant when VtsHalWifiSupplicant am: ca07893589 -s ours am: 8adb4f6581 -s ours am: ad6c07e4c8 am: 1d251753e7 -s ours am: a635038c52 am: 107456af4f -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1478060

Change-Id: I132bac5a16201583674e612e586c256f96b22d0b
2021-06-02 23:17:38 +00:00
Treehugger Robot
2584f4609b [automerger skipped] Merge "vts: wifi: softap and p2p are optional feature per CDD" into pie-vts-dev am: a5f27a462e am: 866ba26264 -s ours am: 09936c8c82 am: 723fe3456f am: de90ba21fd am: 19785d2519
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1322162

Change-Id: I3ac1a5babd6cc29e2e44ed5d9e9bf0c242361a3a
2021-06-02 23:17:31 +00:00
Daniel Cardenas
087b01c772 [automerger skipped] Increase default timeout for changeStateIdletoExecute() from 100ms to 400ms am: c476ff3857 -s ours am: fd44461bd5 am: b19ec800c0 am: 5a01e2bac8 am: bbe4dea57b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1508957

Change-Id: Ic7772119bcd4787e507fa9fdfb209fe28925ecba
2021-06-02 23:04:56 +00:00