Commit Graph

37454 Commits

Author SHA1 Message Date
Kelvin Zhang
f09f633336 Remove HIDL IBootControl from compatibility matrix
Test: th
Bug: 227536004
Change-Id: I004d7c9835e8fc116fa6e40f080a9523f2275cc1
2022-08-02 09:39:39 -07:00
Eric Biggers
51b8d29e7e Merge "Test that the password isn't truncated" 2022-08-01 23:27:01 +00:00
Guang Zhu
a867aa201e remove guangzhu from OWNERS
files under this folder are outside of the scope of test harness so there's no need to retain ownership

Change-Id: Ibd2694d33b2fd05202e86f76dcc90c52fb056c45
2022-08-01 16:19:14 +00:00
Eric Biggers
1396f237d1 Test that the password isn't truncated
Test that Gatekeeper doesn't truncate passwords, either due to them
containing NUL bytes or being long.

Bug: 238919794
Test: atest VtsHalGatekeeperV1_0TargetTest # on Cuttlefish
Change-Id: I8dd40c66bbe5cd8d309a6461053389b479fa0745
2022-08-01 03:49:07 +00:00
Mikhail Naganov
6a9f697dfe audio: add OWNERS for the README.md
Bug: 205884982
Test: N/A
Change-Id: Ia627e3845a078e6a4c545b13a723a6c5a038c53b
Merged-In: Ia627e3845a078e6a4c545b13a723a6c5a038c53b
2022-07-29 19:44:11 +00:00
Kelvin Zhang
a6759d5d66 Return empty suffix for invalid slots
Old HIDL HAL returns empty suffix, we should maintain this behavior in
AIDL.

Test: bootctl get-suffix 9, make sure result is empty
Bug: 219966986
Change-Id: Ia01c6bda899f3c5e0cdd1007cb051f7558f2e911
2022-07-28 16:12:49 -07:00
Sahil Somani
67bb5eb397 Merge "Added dummy Lights to the Light HAL default implementation" 2022-07-28 17:39:06 +00:00
Sahil Somani
d28e45f7cf Added dummy Lights to the Light HAL default implementation
Most of the VTS tests for the Light HAL involve looping over
the list of Light objects returned by Lights::getLights(), but
the current default implementation of this function returns no
Light objects. Lights::getLights() was changed to create a few
dummy Light objects when called. Lights::setLightStatus() was
also changed to determine whether a given Light id was created
by Lights::getLights() and thus valid or not.

Test: VtsHalLightTargetTest
Bug: 240485903
Change-Id: I5ad0bdfdccacc2bde80c2dd89eaa84702f22a7fb
2022-07-27 17:28:36 -07:00
David Drysdale
6796c8b5aa Merge "Docs: return EARLY_BOOT_ENDED instead of INVALID_KEY_BLOB." 2022-07-21 04:52:46 +00:00
Subrahmanyaman
0b9c196214 Docs: return EARLY_BOOT_ENDED instead of INVALID_KEY_BLOB.
All attempts to use an EARLY_BOOT_ONLY key after earlyBootEnded()
is called must fail with Error::EARLY_BOOT_ENDED.

Test: run vts -m VtsAidlKeyMintTarget
Change-Id: Ic3d028ceb7f71e6e266993ec4e877770cd8e5c4a
2022-07-20 17:26:12 +00:00
Sarah Chin
e5e0792e97 VTS setSystemSelectionChannels maintain current state
Test: atest VtsHalRadioTargetTest
Bug: 231271472
Change-Id: If261f548da102963130b8cd669eb6392c9270f9a
Merged-In: If261f548da102963130b8cd669eb6392c9270f9a
2022-07-20 00:16:45 -07:00
Elliott Hughes
5609b7b260 Merge "Fix incorrect indentation." 2022-07-19 20:21:08 +00:00
Elliott Hughes
6db7fab85d Fix incorrect indentation.
It doesn't look like there was an actual bug here beyond the indentation.

Bug: http://b/239578516
Test: treehugger
Change-Id: I71bf2e59467b311a82252056aeeede2355727023
2022-07-19 18:31:56 +00:00
Steven Moreland
0a19e588f0 VehicleManager: use with RefBase
RefBase with sp<>

Bug: 232557259
Test: build
Change-Id: Id6b3b7e222980fd0e82b2d94ff2518e92d42a4d9
Merged-In: Id6b3b7e222980fd0e82b2d94ff2518e92d42a4d9
2022-07-19 15:04:46 +00:00
David Drysdale
824c5d8f60 Merge "KeyMint HAL: clarify leaf cert requirements" 2022-07-15 13:37:19 +00:00
David Drysdale
96ed41b2e2 Merge "KeyMint: Test size requirements for ciphers" 2022-07-15 12:10:10 +00:00
David Drysdale
9daf7c70a8 KeyMint HAL: clarify leaf cert requirements
Bug: 237624131
Bug: 238037309
Test: None, comment change
Change-Id: I7426deda8b0735f1ca34a22fc21ec0121a0fcca8
2022-07-14 17:39:42 +01:00
Gabriel Biren
1bdfe39266 Merge "Add WiFi Vendor HAL AIDL interface definitions." 2022-07-14 16:10:58 +00:00
Prashant Patil
dd5f7f0e8d KeyMint: Test size requirements for ciphers
Test size requirements for symmetric (Stream and Block) ciphers.
These tests are similar to CTS tests of symmetric ciphers.
For reference CTS test BlockCipherTestBase#testKatEncryptOneByteAtATime
for all its derived classes eg. AES128CBCNoPaddingCipherTest,
AES128CBCPKCS7PaddingCipherTest etc.

Bug: 226899425
Test: run vts -m VtsAidlKeyMintTargetTest

Change-Id: I78408071fbf5a360d89c5bbae479faffd7c6d935
2022-07-13 12:36:22 +00:00
Alice Kuo
ee398a93f5 Bluetooth audio hal check broadcast configuraiton for the broadcast offload
The patch contains the following changes
1. Check the broadcast audio configuration as starting broadcast offload
   session
2. Update audio configuration checker for broadcast offload
3. Remove the IsOffloadLeAudioConfigurationValid function that the audio
   configuraiton is invalid as session started, so we don't need to
   check it at that time

Bug: 210987580
Test: start the offload broadcast stream, and check the session status
Change-Id: I60b1b506051873f6d942f2febace6562634fc12a
2022-07-13 04:39:00 +00:00
Gabriel Biren
910d5df56b Add WiFi Vendor HAL AIDL interface definitions.
Bug: 205044134
Test: mm -j
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to high-efficiency.

Change-Id: I757f36feca9f30ad5e04204b7b0fd4caee63cabc
2022-07-08 18:15:00 +00:00
Alice Kuo
36a879796b Supoort audio configuration update to audio HAL for broadcast offload
Bug: 210987580
Test: start the broadcast offload, check log
Change-Id: Iadae625d10ad179089b952ac94ff66ae90a6236e
2022-07-08 00:35:08 +08:00
David Drysdale
5d88e95b36 Merge "KeyMint VTS: test default MGF_DIGEST behaviour" 2022-07-07 07:00:24 +00:00
Treehugger Robot
fc29bf7e5c Merge "example vibrator for createBinder" 2022-07-06 22:27:33 +00:00
Steven Moreland
2988f3a1fe example vibrator for createBinder
We don't have a good place to document how to deal
with AIDL-generated code yet. Adding an example here
so we have one visible on AOSP.

Bug: 235448283
Test: builds
Change-Id: I719cc06a890402204f476a01180ce4120c60a22c
2022-07-06 21:16:48 +00:00
David Drysdale
ae3727bf45 KeyMint VTS: test default MGF_DIGEST behaviour
KeyMint supports the specification of a separate MGF digest when
performing RSA-OAEP decryption, with a default value of SHA-1.

Test the expected behaviour here:
 - SHA-1 is used if nothing specified in key characteristics.
 - If something is specified in key characteristics, the operation
   parameter value has to be one of those values.

Bug: 203688354
Test: VtsAidlKeyMintTargetTest
Change-Id: Ic2dd3641be732a273724faa20cf4edf8a1752506
2022-07-06 12:26:37 +01:00
Alexander Koskovich
9abc8e213f interfaces: sensors: Add group 'input' to 2.[0-1] multihals
* Required by some OEM sensor implementations, e.g.
   ASUS ZenFone 8, ASUS ROG Phone 3, OnePlus 9. This
   is done so /dev/input/event* nodes can be read by
   the QCOM sensor HAL.

Test: Verified light and proximity sensor work on ASUS
      ZenFone 8 & ROG Phone 3 (android-12.1.0_r7).
Change-Id: I1a2d7384da0b159a4b59fcf38c37117d43b3b127
2022-07-05 23:16:14 -07:00
Gregory Montoir
6645a15ad5 Merge "Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed." into android12-tests-dev am: 14ecb1c6a1 am: 9fc37c0d3c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141155

Change-Id: Ibe7ca9f9eb439da87eb7ba796ddd7139891d5656
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-04 08:03:20 +00:00
Gregory Montoir
9fc37c0d3c Merge "Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed." into android12-tests-dev am: 14ecb1c6a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141155

Change-Id: I1e3a07087b606a28c98bd4f61f84d74d99d40931
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-04 07:45:50 +00:00
Gregory Montoir
14ecb1c6a1 Merge "Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed." into android12-tests-dev 2022-07-04 07:30:16 +00:00
Les Lee
45263c60fa resolve merge conflicts of 155f20a6cd to android12-tests-dev am: 559df942c8 am: a7ce9003ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141153

Change-Id: Ia0adbb9811961ec400326a3e11a0cc0168e8e0c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-01 05:05:07 +00:00
Les Lee
a7ce9003ed resolve merge conflicts of 155f20a6cd to android12-tests-dev am: 559df942c8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141153

Change-Id: Id18ad120af3812f613b9b14888b96e4e90b50cfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-01 04:48:29 +00:00
Chris Ye
235abdf23c Merge "Enable the tracing for Wifi supplicant and hostapd HAL." 2022-06-30 17:26:46 +00:00
mike liao
a230f3af3d Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed.
[Description]
If filter is started after playback thread, sometimes
filter cannot get data correctly because of timing issue.

Start playback thread after filter is started
so that filter will always get data correctly.

Bug: 235185563
Test:
1. Testcase pass

Change-Id: I97c38dab1ff81c31b4bb48c8015b626b3a6325ed
2022-06-30 16:17:04 +08:00
Les Lee
559df942c8 resolve merge conflicts of 155f20a6cd to android12-tests-dev
Test: I solemnly swear I tested this conflict resolution.
Bug: 237593038
Change-Id: I6cce0869b6cce7b5e41b71c67991061e226bb305
2022-06-30 05:37:15 +00:00
Treehugger Robot
9dbbf700d9 Merge "Remove jdanis@ from OWNERS" 2022-06-30 00:47:39 +00:00
Treehugger Robot
155f20a6cd Merge "wifi: create interface before running hostapd vts" into android11-tests-dev 2022-06-30 00:18:59 +00:00
Chris Ye
3a7840ba92 Enable the tracing for Wifi supplicant and hostapd HAL.
Bug: 237138934
Test: Manual test. Capture atrace with network tag turned on.
Change-Id: Ib982333ec31d4b9f2b6ec999823f08eeeb0ff587
2022-06-30 00:10:29 +00:00
Weilin Xu
093c4dc50b Merge "Added new owner to broadcast radio HIDL HAL" 2022-06-29 16:31:32 +00:00
Treehugger Robot
6933bcf91b Merge "In supplicant VTS test setup, make sure that the wifi hal is stopped before starting wifi." into android12-tests-dev am: e6c80028af am: 8656a87385
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2128497

Change-Id: I2eb15b56c0ca20f007a47209e347b4b8919c4326
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 03:26:45 +00:00
Treehugger Robot
8656a87385 Merge "In supplicant VTS test setup, make sure that the wifi hal is stopped before starting wifi." into android12-tests-dev am: e6c80028af
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2128497

Change-Id: I9e39d4ed48c0dc653a9ee312021e6e80e351fe00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 03:08:47 +00:00
Treehugger Robot
e6c80028af Merge "In supplicant VTS test setup, make sure that the wifi hal is stopped before starting wifi." into android12-tests-dev 2022-06-29 02:56:21 +00:00
Weilin Xu
c23eb77ff3 Added new owner to broadcast radio HIDL HAL
Bug: 232461611
Test: m -j
Change-Id: Ia788c58763b29723cf16d3a9164c19237a0258dd
2022-06-28 19:58:59 +00:00
Max Bires
27f074952c Merge "Add strongbox definition for IRemotelyProvisionedComponent in compatibility matrix." 2022-06-28 13:53:53 +00:00
Subrahmanyaman
53fd32d845 Add strongbox definition for IRemotelyProvisionedComponent in
compatibility matrix.

Test: run vts -m VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I9824d4eb776f38bfbc73e539f801105ba6f8c30f
2022-06-28 00:43:28 +00:00
Kelvin Zhang
781b4ff19e Check if AIDL service is declared before calling wait
If bootctl AIDL service is not installed and we call waitForService,
caller will block indefinitely. So check with
AServiceManager_isDeclared before calling waitForService.

Test: th
Bug: 227536004
Change-Id: I551040b222c6c9127fe79aceb36bb3d69b52c3b6
2022-06-27 16:34:28 -07:00
Treehugger Robot
a5468b5127 Merge "Verify that imported keys have the correct characteristics." 2022-06-27 20:58:16 +00:00
David Drysdale
46f99f4e9a Merge "KeyMint HALs: clarifications" 2022-06-27 12:01:14 +00:00
Seth Moore
2f2db81f7d Merge "Add an IRPC changelog." 2022-06-24 22:49:32 +00:00
Max Bires
9dce048421 Add an IRPC changelog.
This document is meant to provide a clear summation for vendors looking
for a reference of what has changed from release to release, as well as
documentation for those working on developing the
IRemotelyProvisionedComponent interface.

Bug: 227266513
Test: The document is readable.
Change-Id: I909e22a31a88856af911a80a52ec7eda263693db
2022-06-24 20:54:11 +00:00