Commit Graph

45398 Commits

Author SHA1 Message Date
Treehugger Robot
657934eebb Merge "Update KeyMint VTS tests to use pre-defined API level symbols" 2023-02-27 11:19:50 +00:00
Mikhail Naganov
0385eeafc3 audio: Remove InputStreamTest#getCapturePosition test am: f38d908d43
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2457548

Change-Id: I5d47aa72aac379f23838ca54c0db04f11093ee6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-25 02:42:10 +00:00
Robert Shih
51e1c2a42b Merge "DrmHalTest: null check for skipped test" 2023-02-24 21:38:04 +00:00
Mikhail Naganov
f38d908d43 audio: Remove InputStreamTest#getCapturePosition test
The test was created based on assumptions and the current
HAL behavior. There is no actual requirement in the HIDL
interface for a stream to have a zero capture position
prior to start. In fact, some streams may be created by
the HAL "pre-loaded" with data if audio has already been
captured by the DSP and needs to be passed to the framework.

Bug: 270478574
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Ied6a71b73bff403365dd85fe6a212cfa4a5b284d
(cherry picked from commit afe90852d4)
2023-02-24 20:58:42 +00:00
Treehugger Robot
83d51232ca Merge "audio: Remove InputStreamTest#getCapturePosition test" 2023-02-24 20:19:02 +00:00
Tri Vo
20bb427427 Merge "Add test for IRPC DeviceInfo" 2023-02-24 18:02:14 +00:00
Mikhail Naganov
afe90852d4 audio: Remove InputStreamTest#getCapturePosition test
The test was created based on assumptions and the current
HAL behavior. There is no actual requirement in the HIDL
interface for a stream to have a zero capture position
prior to start. In fact, some streams may be created by
the HAL "pre-loaded" with data if audio has already been
captured by the DSP and needs to be passed to the framework.

Bug: 270478574
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Ied6a71b73bff403365dd85fe6a212cfa4a5b284d
2023-02-24 09:57:16 -08:00
Tri Vo
ec50ee162a Add test for IRPC DeviceInfo
Bug: 243148852
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: If873996f0d756662808d785d2ef57118737a5aab
2023-02-23 20:01:31 -08:00
Shunkai Yao
7a7baedb3a Merge "[AIDL CTS] pass Virtualizer implementation cts" 2023-02-23 21:58:27 +00:00
Shunkai Yao
6710d52c24 Merge "[AIDL CTS] pass Equalizer implementation cts" 2023-02-23 21:58:16 +00:00
Treehugger Robot
53faa27ace Merge "Correct AttestKey test that checks Qualcomm's SPU waiver." 2023-02-23 20:43:12 +00:00
Treehugger Robot
65546af6db Merge "Audio AIDL : Add pre-processing aidl implementation usage" 2023-02-23 20:12:35 +00:00
Treehugger Robot
0691e0e416 Merge "Add 6.1 kernel to current matrix" 2023-02-23 18:35:01 +00:00
Shunkai Yao
2c41a20a21 [AIDL CTS] pass Virtualizer implementation cts
Bug: 270158223
Test: atest android.media.audio.cts.VirtualizerTest
Change-Id: I4b0e96535cec864e1cea71fe6e0d183d17e9e57d
2023-02-23 17:28:27 +00:00
David Drysdale
e85498a968 Merge "Add Gatekeeper-based auth tests" 2023-02-23 11:44:43 +00:00
Jack Wu
a358f7d2f1 Merge changes from topic "batteryStateOfHealth"
* changes:
  health: get batteryStateOfHealth from healthd
  health: batteryStateOfHealth should be a property
2023-02-23 06:45:17 +00:00
Shunkai Yao
7c0a497fce [AIDL CTS] pass Equalizer implementation cts
Bug: 270158223
Test: Enable AIDL, atest android.media.audio.cts.EqualizerTest
Change-Id: I3800b43eb12de83b2cdcc096bf764c61044ade7b
2023-02-23 05:29:36 +00:00
Treehugger Robot
2f891b991e Merge "audio: Accept I/O handle for mix ports from the client" 2023-02-23 01:24:28 +00:00
Jack Wu
cbbf24f15d health: get batteryStateOfHealth from healthd
Bug: 251427118
Test: m android.hardware.health-update-api
Change-Id: I556570782b0a9698fd3530be86f8ede33b11afe2
Signed-off-by: Jack Wu <wjack@google.com>
2023-02-23 01:24:00 +00:00
AleX Pelosi
39c564112b health: batteryStateOfHealth should be a property
Move batteryStateOfHealth to HealthData

Bug: 251427118
Test: m android.hardware.health-update-api
Change-Id: I8835489f5c3d75ffc48e198a63eafc52b555ccd4
Signed-off-by: AleX Pelosi <apelosi@google.com>
2023-02-23 01:23:51 +00:00
Devin Moore
9adf6fa9e6 Merge changes Id6f4b1a4,I2bec024d
* changes:
  Update ANAPIC reviews to be easier to manage in gerrit
  Add a script for creating diff CLs for ANAPIC
2023-02-23 00:35:30 +00:00
Roopa Sattiraju
a15a188883 Merge "BT: AptxAdaptive LE/LEX codec and AAC ABR AIDL Changes" 2023-02-22 23:10:26 +00:00
Shawn Willden
1a545db363 Update KeyMint VTS tests to use pre-defined API level symbols
Test: VtsKeyMintAidlTargetTest
Change-Id: I11ccd0c4959a2b3504009fdd95f4a313a5d6d5f6
2023-02-22 16:06:19 -07:00
Shawn Willden
3a4a3a95b8 Correct AttestKey test that checks Qualcomm's SPU waiver.
The test exempted KeyMint on the affected chips from having to implement
ATTEST_KEY if they have StrongBox in all Android releases from Android S
onwards, but the waiver was given only for Android S and T.  This CL
changes the test to reinstate the requirement after Android T.

Test: VtsAidlKeyMintTargetTest
Change-Id: I8481ae31de34aae220af7e7188632edcc2d391f0
2023-02-22 16:06:19 -07:00
Devin Moore
fc9a722e99 Update ANAPIC reviews to be easier to manage in gerrit
Mark them wip so they sit in their own section of the gerrit dashboard.
Add a hashtag to make them easier to keep track of.

Test: anapic_review_diff.sh goog/tm-dev goog/master android.hardware.cas
Bug: none
Change-Id: Id6f4b1a4b0931a9a3bfa4ef10c5f4ada51d11a44
2023-02-22 23:01:48 +00:00
Devin Moore
3511c73995 Add a script for creating diff CLs for ANAPIC
It diffs AIDL interface changes between branches and uploads a CL.

Test: ./anapic_release_diff.sh goog/tm-dev goog/master
android.hardware.cas
Bug: none

Change-Id: I2bec024d9038829ead459d1ddecddef835e85fc4
2023-02-22 23:01:41 +00:00
Alistair Delva
b5a6aefc11 Add 6.1 kernel to current matrix
..and remove 5.10 kernel.

Bug: 264456132
Change-Id: I4c111d85b70133351d86bc1f000a388207e23b1b
2023-02-22 13:37:55 -08:00
Bob Wang
415aa55c67 Merge changes from topic "slot-duration"
* changes:
  [UWB HAL] Add new capability and reason code to show the channels that are capable for AoA.
  Add the unit of slot duration to its name.
2023-02-22 21:24:15 +00:00
Shunkai Yao
b55e941060 Merge "[AIDL CTS] pass Visualizer implementation cts" 2023-02-22 21:20:46 +00:00
Shuzhen Wang
db5e0c9852 Merge "Camera VTS: Override RotateAndCrop metadata" into android13-tests-dev am: 74a4696d56
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2450127

Change-Id: I6d4545e2567ac8a3650c98dcc0f4079cc011c52a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 20:53:20 +00:00
Shuzhen Wang
74a4696d56 Merge "Camera VTS: Override RotateAndCrop metadata" into android13-tests-dev 2023-02-22 20:17:33 +00:00
Shunkai Yao
86741089e3 [AIDL CTS] pass Visualizer implementation cts
Bug: 270158223
Test: atest android.media.audio.cts.VisualizerTest
Change-Id: I51f9eb9b1113031c3aec9e8e35f2a1f729c3d2b9
2023-02-22 18:13:41 +00:00
Treehugger Robot
9a64bc9754 Merge "[AIDL CTS] pass EnvReverb implementation cts" 2023-02-22 17:59:56 +00:00
Michelle Ho
388d4ffb3b Camera VTS: Override RotateAndCrop metadata
Per camera metadata definition, ROTATE_AND_CROP_AUTO will never be sent
to the HAL, as camera service takes reponsibility of translating AUTO to
specific rotation value. So for VTS tests, we should always override
the metadata in CaptureRequest.

Bug: 270052579
Test: Run VtsAidlHalCameraProvider_TargetTest
Change-Id: I96f4992e145da25c463b0b406aa2a371af30f41f
2023-02-22 10:19:13 +00:00
David Drysdale
28fa931f00 Add Gatekeeper-based auth tests
Add tests that directly exercise Gatekeeper to get auth tokens for use
with auth-bound keys.

Test: VtsAidlKeyMintTargetTest
Change-Id: Ie668674d81ca487e8bbc18fdd9f36610bcab4c8c
2023-02-22 07:14:25 +00:00
Sagar Verma
62df910355 BT: AptxAdaptive LE/LEX codec and AAC ABR AIDL Changes
AptxAdaptive LE/LEX codec and AAC ABR AIDL side changes

Bug: 254567319
Tag: #feature
Test: m android.hardware.bluetooth.audio-freeze-api &&
      m android.hardware.bluetooth.audio-update-api &&
      atest VtsHalBluetoothAudioTargetTest
Change-Id: I74a2df64ba6ef2ae02e08850b0f6c7784b24b02b
2023-02-22 09:19:17 +05:30
Mikhail Naganov
248e950798 audio: Accept I/O handle for mix ports from the client
The client can pass the I/O handle to the HAL as part of
the requested audio port config. The HAL can store that handle
and use it as a cookie to match the port config with other HALs
(for example, SoundTrigger).

Updated behavior of IModule.setAudioPortConfig to copy
the handle for mix ports, and pass it back with the applied
config. Enforced this behavior in VTS.

Bug: 269551518
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ibc3f9eea4169610f1680937c764de42b4fe5194a
2023-02-21 16:39:58 -08:00
Treehugger Robot
efd4cf71e5 Merge "Enforce boot and vendor patch level format always" 2023-02-21 18:36:50 +00:00
Shunkai Yao
2ddafc227b [AIDL CTS] pass EnvReverb implementation cts
Bug: 270158223
Test: atest android.media.audio.cts.EnvReverbTest
Change-Id: Ie7fcc2d65a8daaef5d7a76cc6ca3ec6e13d4b547
2023-02-21 18:19:48 +00:00
Rajesh Nyamagoud
5283f81f64 Adding a test using second IMEI as attestation ids.
1. Using second IMEI as attestation id without using first IMEI.
       Test should generate a key using second IMEI as attestation id
       without using first IMEI as attestation id. Test should validate
       second IMEI in attesation record.

    2. Using first IMEI as well as second IMEI as attestation ids.
       Test should generate a key using first IMEI and second IMEI as
       attestation ids. Test should validate first IMEI and second IMEI
       in attestation record.

Test: atest -c VtsAidlKeyMintTargetTest
Bug: 263197083, 264979486
Change-Id: I61c3f32e15a8d478a838d14e7db9917a33682267
2023-02-20 20:40:12 +00:00
Treehugger Robot
72394c7c55 Merge "health: update owners" 2023-02-18 02:54:19 +00:00
Alec Mouri
bedde5e845 Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: I86b2df035255b94e8a682c1870efea0df450aec4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 02:10:40 +00:00
Tri Vo
b21e6df7c2 Enforce boot and vendor patch level format always
Test: atest VtsAidlKeyMintTargetTest
Change-Id: I80bc96a6aee62474b33b015b6d04de7527fe757c
2023-02-17 14:55:51 -08:00
ziyiw
8ad5f800c2 [UWB HAL] Add new capability and reason code to show the channels that are capable for AoA.
Test: compile
Bug: 242951474
Merged-In: I307062b7ded64014327549e8c4a717d53e97f54b
Change-Id: Ia9c801cce335214cbfc0b09c8d5498193c741dfa
2023-02-17 19:07:11 +00:00
ziyiw
5363e6a547 Add the unit of slot duration to its name.
Test: compile
Bug: 266980744
Merged-In: I1418b7a1b9e938b03e785cb1b2b4c92a8f4c9ecf
Change-Id: Ie0e8e983c2044721b25c076c24a02f6460923571
2023-02-17 19:06:26 +00:00
Treehugger Robot
249640be0a Merge "[dice] Adapt dice service and tests to the new DiceArtifacts trait" 2023-02-17 15:54:04 +00:00
Treehugger Robot
86d2173992 Merge "Fix test assumption for KeyMint+RKP integration" 2023-02-17 15:05:22 +00:00
AleX Pelosi
8a1f34f1b7 health: update owners
+apelosi

Bug: N/A
Test: N/A
Change-Id: Ia698145eda18b8a6e34e80303ac14524c036b1fe
Signed-off-by: AleX Pelosi <apelosi@google.com>
2023-02-17 13:19:32 +00:00
Treehugger Robot
4cf91c5144 Merge "audio VTS: Consider device connection for external device address" 2023-02-16 23:20:17 +00:00
Alec Mouri
960c14db22 Check the correct sysprop for P010 support for gralloc 3 and 4.
We need to check the first api level that the vendor shipped with.

Also check P010 support in the preamble of the relevant test rather than in allocate(), since otherwise either allocate() may incorrectly skip some tests or allocate() may succeed but with the wrong layout information.

Bug: 257442231
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I00ae5aa01117704158c38f0689e91df99473e208
Merged-In: I00ae5aa01117704158c38f0689e91df99473e208
2023-02-16 23:16:14 +00:00