Commit Graph

45350 Commits

Author SHA1 Message Date
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
Treehugger Robot
4cf91c5144 Merge "audio VTS: Consider device connection for external device address" 2023-02-16 23:20:17 +00:00
Shunkai Yao
d789add493 Merge "Effect AIDL: Add line change between parameters print for debug" 2023-02-16 18:39:49 +00:00
Mikhail Naganov
e1ad6497a9 Merge "audio: Move Microphone[Dynamic]Info structs from core" 2023-02-16 15:39:31 +00:00
Tommy Chiu
7cabdc10db Fix test assumption for KeyMint+RKP integration
According to the API Level definition (https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels), both 31 and 32 are belong to Android-12 (S).

Bug: 263844771
Change-Id: I92e3f9015607ad9421c02442033e9b586ae07bcb
Test: VtsAidlKeyMintTargetTest #EcdsaWithRkpAttestation
2023-02-16 09:39:25 +00:00
Shunkai Yao
eea1994dad Effect AIDL: Add line change between parameters print for debug
Bug: 258124419
Test: atest AudioEffectTargetTest
Change-Id: I3a757e4fa8482176bf1f3e7142bb9f7c007451a7
2023-02-16 02:31:24 +00:00
Mikhail Naganov
4590949e12 audio VTS: Consider device connection for external device address
When generating an address for an external device, consider
the connection type and choose the appropriate variant of
the AudioDeviceAddress struct.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ic791ba7de80e482c7e721e082fc9678f0f564b62
2023-02-15 18:28:41 -08:00
Shunkai Yao
c2e1b5f7f1 Merge "Effect AIDL: Add default extension with vector<uint8_t>" 2023-02-16 02:24:38 +00:00
Steven Moreland
26ebfab53f Merge "audio: save vndbinder threads" 2023-02-16 02:12:57 +00:00
Treehugger Robot
adce82f9b5 Merge "Audio AIDL : Add placeholder implementation and VTS test case for AGC1" 2023-02-16 01:02:36 +00:00
Treehugger Robot
b240b7ca2e Merge "Audio AIDL : Rename AutomaticGainControl to AutomaticGainControlV2" 2023-02-16 01:02:26 +00:00
Shunkai Yao
85b0169fca Effect AIDL: Add default extension with vector<uint8_t>
Bug: 258124419
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I3fa7f78ed2227d00b999c7e594d1b1d205f585e7
2023-02-16 00:28:21 +00:00
Mikhail Naganov
6725ef536b audio: Move Microphone[Dynamic]Info structs from core
These parcelables are also used by the framework.

Bug: 263964254
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ib30b69c325040e474fb58a8e7e515912fccab4c7
Merged-In: Ib30b69c325040e474fb58a8e7e515912fccab4c7
2023-02-15 10:15:42 -08:00
Shraddha Basantwani
cac2e68b40 Audio AIDL : Add placeholder implementation and VTS test case for AGC1
Bug: 258124419
Test: atest VtsHalAGC1TargetTest
Change-Id: Ia9894ac21b284a554f8c2d66966d07e5e4621ccd
2023-02-15 23:36:06 +05:30
Alice Wang
e585065a4d [dice] Adapt dice service and tests to the new DiceArtifacts trait
The code needed to be adpated because the public fields the code
accessed previously now become private. We need to access them
via the trait now.

This cl also deletes unused dependence libdiced_open_dice_cbor in
the dice service and tests targets.

Bug: 267575445
Test: m android.hardware.security.dice-service.non-secure-software
Test: atest VtsAidlDiceTargetTest VtsAidlDiceDemoteTargetTest
Change-Id: I16e18226c0bce8a90ed764ba598e90e7c1c854ab
2023-02-15 16:34:50 +00:00
Nathalie Le Clair
3d593db9df Unify OWNERS file
So that the same group also has OWNERS for the hdmi/ folder itself.

Test: make
Bug: 265906860
Change-Id: I2d6f4f6e0a86de80138598662c0b490667aa6239
2023-02-15 15:03:14 +01:00
Shraddha Basantwani
84ea32e419 Audio AIDL : Rename AutomaticGainControl to AutomaticGainControlV2
Bug: 258124419
Test: atest VtsHalAGC2TargetTest
Change-Id: Ia3de57a109852e21d2f6e2b003e8f4286f8278b3
2023-02-15 18:11:11 +05:30
Shunkai Yao
0a0c45efa4 Effect AIDL: Refactor effect capability with Range vts test cases
Disable dynamicsProcessing in presubmit temporary because it's currently
not following the range definition, and needs customize inRange method
implementationm which will be a followup.

Bug: 258124419
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Ib38145896d66b65c093c247c86a9fba76489ba84
2023-02-14 20:39:34 +00:00
Shunkai Yao
8781102d74 Effect AIDL: Refactor effect capability with Range implementation
Bug: 258124419
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Ie76270e91471a30f7dda1883c510cd318745855f
2023-02-14 20:39:22 +00:00
Shunkai Yao
376dbd96d3 Effect AIDL: Refactor effect capability with Range
Bug: 258124419
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I608fb7654591fb46061ecd5edbff20ccc977c5dd
2023-02-14 20:38:17 +00:00
Steven Moreland
35bcd1cd41 audio: save vndbinder threads
Bug: 264617136
Test: boot
Change-Id: Ife224bbcf43e4fead359982b44c80e58b5c20726
2023-02-14 19:21:18 +00:00
Treehugger Robot
abe7b164e4 Merge "Marking HIDL version of gatekeeper as optional." 2023-02-14 17:48:17 +00:00
Treehugger Robot
f2d9196a6c Merge "Add field isStreamActive in LeAudioConfiguration to indicate the stream status" 2023-02-14 02:58:34 +00:00
Himanshu Rawat
80514eeee5 Merge "Interface change for setting path for head tracking data" 2023-02-14 00:51:47 +00:00
Blair Prescott
5cb7621f1e Wifi: P2P VTS tests fail with no P2P support am: c4f8e466e6 am: d696599f99
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2432472

Change-Id: Ib602a7449393869a85e47fc346a41f212138ef1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 00:50:16 +00:00
Blair Prescott
d696599f99 Wifi: P2P VTS tests fail with no P2P support am: c4f8e466e6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2432472

Change-Id: Ifdaf2ba4c16712720eb4a04ae3d35799150f1db1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-13 23:50:33 +00:00
Xiang Wang
5b7246bc75 Merge "Generate toString for Thermal AIDL parcelable" 2023-02-13 22:53:52 +00:00
Himanshu Rawat
50f5a577e9 Interface change for setting path for head tracking data
Added two new latency modes for Audio HAL to enable Dynamic Spatial
audio with LE audio, and the path through which the head tracking data
has to be routed.

Bug: 268568163
Test: m android.hardware.bluetooth.audio-update-api
Tag: #feature
Change-Id: I92b529e4eee3c862934d46164117450975e017ef
2023-02-13 21:07:06 +00:00
David Drysdale
bf0ae8a0f0 Merge "RKP spec: fix public key info description" 2023-02-13 16:37:49 +00:00
Blair Prescott
c4f8e466e6 Wifi: P2P VTS tests fail with no P2P support
Skip P2P tests if P2P is not supported.

Bug: 200064365
Test: run vts -m VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6ba23bb27f24700980cab28d1ff806e5efc65ec9
(cherry picked from commit b676061cd5)
(cherry picked from commit 4d81b6562dca69a3334bcb87756539fbdaedcd2d)
2023-02-13 15:12:30 +00:00
David Drysdale
cdf8ed3f6f RKP spec: fix public key info description
The PartyInfo for a P-256 public key is encoded as (x||y) not
(0x04||x||y).

Test: VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Iae5dc624228d4e1e538e230968443925ec8b55fc
2023-02-13 12:07:17 +00:00
Steven Moreland
6410234d7c Merge "rkp: add keymint v1 hash into rkp v1" 2023-02-11 01:27:43 +00:00
Henri Chataing
6ec1d545c9 Merge "secure_element: Check for support of basic channel in VTS tests" 2023-02-10 23:40:38 +00:00
Steven Moreland
5419c2dbe5 rkp: add keymint v1 hash into rkp v1
When we split the rkp interface, we only added one hash to rkp v1, but
on Android S devices, this interface was in keymint v1, and so it used
the keymint v1 hash.

In order for that old implementation to be recognized, we need to add the keymint v1 hash into rkp v1.

The hash added here is copied from this file:
hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/.hash

Bug: 264549860
Change-Id: I3fce46b3e9bd09d79fa8e2f203b4eb9ebb517c15
Test: vts_treble_vintf_vendor_test
2023-02-10 22:44:28 +00:00
Henri Chataing
9ba974d817 secure_element: Check for support of basic channel in VTS tests
Do not use the basic channel in VTS tests if the channel is not
supported by the SE.

Bug: 266384111
Test: m VtsHalSecureElementTargetTest
Change-Id: Id40e7f43f5437f8e682bbd41495d89a4a4c45997
2023-02-10 17:32:26 +00:00
Rongxuan Liu
6945dd3bb3 Update android.hardware.bluetooth.audio to V3
Tag: #feature
Bug: 266740545
Test: m android.hardware.bluetooth.audio-update-api &&
      atest VtsHalBluetoothAudioTargetTest
Change-Id: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
Merged-In: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
2023-02-10 04:11:44 +00:00
Rongxuan Liu
c1aea3238f Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration
This field is used to indicate the PCM stream source for given stream
handle

Tag: #feature
Bug: 264692800
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I3df9066e98ca552329bb58ae5fbc5346d1021b10
Merged-In: I3df9066e98ca552329bb58ae5fbc5346d1021b10
2023-02-10 04:10:58 +00:00
Xiang Wang
2e10dc4842 Generate toString for Thermal AIDL parcelable
Bug: b/268508448
Test: n/a
Change-Id: I007fe97b57049042623c395d574ff710bb11d29a
2023-02-09 15:54:58 -08:00
Greg Kaiser
219c4e8d75 Merge "Effect AIDL: Fix a couple logging statements" 2023-02-09 20:23:31 +00:00
Treehugger Robot
dbfdb659e0 Merge "uwb: Allow Java backened jar to be created" 2023-02-09 19:21:56 +00:00
Treehugger Robot
125ec2bb9c Merge "H4ProtocolTest: Time out after 5 seconds" 2023-02-09 19:15:10 +00:00
Greg Kaiser
17927df5ef Effect AIDL: Fix a couple logging statements
Since the ternary conditional has lower precedence than "<<",
we need to add parentheses.

Bug: 264618800
Change-Id: Idc10c0d231057a74e41d0a10bf20e1e28c1ce84e
Test: TreeHugger
2023-02-09 17:46:54 +00:00
Myles Watson
f99027f39a H4ProtocolTest: Time out after 5 seconds
This test isn't a performance test.  In rare cases it
takes longer than 100ms (usually around 5ms).

Bug: 268408355
Test: bluetooth-btlinux-hci-test
Change-Id: I6d2f23eb05541bc0f9676cbfd8b097340a131e09
2023-02-09 09:30:52 -08:00
Treehugger Robot
7594ec0d7c [automerger skipped] Merge "Fix setupDataCall tests for osAppid" into android13-tests-dev am: ff3de20b90 -s ours
am skip reason: Merged-In I1b342bb7a829585607db4518bf4017e28b6db84f with SHA-1 47213a189c is already in history

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

Change-Id: Id25f193763ea3d07295ba0dc696c0f7304e148bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 16:54:28 +00:00
Sarah Chin
a7643c989b [automerger skipped] Fix setupDataCall tests for osAppid am: 91e2e5196f -s ours
am skip reason: Merged-In I1b342bb7a829585607db4518bf4017e28b6db84f with SHA-1 47213a189c is already in history

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

Change-Id: I18e45f3e14fb68a94fe82f94c7231dd2a1dac7fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 16:54:25 +00:00
Treehugger Robot
ff3de20b90 Merge "Fix setupDataCall tests for osAppid" into android13-tests-dev 2023-02-09 16:25:05 +00:00
Alice Wang
f29985ae57 Merge "[dice] Adjust the output type of make_sample_bcc_and_cdis()" 2023-02-09 15:59:16 +00:00
Sarah Chin
91e2e5196f Fix setupDataCall tests for osAppid
Test: atest VtsHalRadioTargetTest
Bug: 265830733
Change-Id: I1b342bb7a829585607db4518bf4017e28b6db84f
Merged-In: I1b342bb7a829585607db4518bf4017e28b6db84f
2023-02-09 09:22:56 +00:00