Commit graph

59249 commits

Author SHA1 Message Date
liuxiangjun
8877018da4 Remove the SIM card status condition check and add accepted possible errors
For devices not in LTE service, the vts test returns MODEM_ERR is an expected result

Bug:317314512

Test:
VtsHalRadioTargetTest
PerInstance/RadioNetworkTest#setNetworkSelectionModeManual/0_android_hardware_radio_network_IRadioNetwork_slot1
PerInstance/RadioNetworkTest#setNetworkSelectionModeManual/1_android_hardware_radio_network_IRadioNetwork_slot2

Change-Id: I75414ba18be93707310cace21b52508edfc33a20
Signed-off-by: liuxiangjun <liuxiangjun3@xiaomi.com>
2024-01-12 08:09:31 +00:00
Shikha Panwar
91fd13d579 Merge "VTS: Use encoding of policy on explicit key dice" into main 2024-01-12 07:57:02 +00:00
Shikha Panwar
fc0dbfee70 InitialPayload of ExplicitKeyDiceCertChain
Change the spec for DiceCertChainInitialPayload, removing the map &
directly equating it to bstr .cbor PubKey. Also mandate it to stick to
Core Deterministic Encoding Requirements. The deterministic encoding is
essential to ensure DicePolicies can be applied on the root key.

Test: Builds
Bug: 319613231
Change-Id: I5e12ecbcbae84ae608d784a12f8ae4afc49b5a9d
2024-01-12 06:32:08 +00:00
Treehugger Robot
23776d5001 Merge "APF exempt list for TVs to use hardware feature" into main 2024-01-12 05:48:09 +00:00
Bao Do
9514f9fc2e Merge "Fix test run for GSI" into main 2024-01-12 05:41:28 +00:00
Treehugger Robot
d1386c8c18 Merge "Per NCI spec there is no need to wait for credits" into main 2024-01-12 04:37:31 +00:00
Bao Do
b487a85993 Fix test run for GSI
GSI used mixed testing procedures, making some HFP session
and LE Audio related functions unavailable when testing with the
latest VTS. This fix enable HAL version checking when testing.

Bug: 315338603
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Idb0a780a67857c76c93b13f7b3a64436f6fc647f
2024-01-12 11:13:19 +08:00
Alisher Alikhodjaev
46d9630125 Per NCI spec there is no need to wait for credits
One case was missed in the previous fix.
This is an update.

Bug: 312911587
Test: no regressions
Change-Id: I7fefa92d5a66581431288ec902a56ed61e9cf310
2024-01-11 16:24:26 -08:00
Mikhail Naganov
18fcb688bc Add android.virtualdevice.cts.VirtualAudioTest to postsubmit
These tests exercise audio playback and capture on CF and are
useful in spotting issues in the audio pipeline end-to-end.

Bug: 316017930
Test: atest CtsVirtualDevicesTestCases
Change-Id: If625cec5bc2d281f1e0d99b820f604f1bac7b621
2024-01-11 09:54:50 -08:00
Andres Schafhauser
393ca9ffc2 APF exempt list for TVs to use hardware feature
Instead of expecting MdnsOffloadManagerService to exist which is
correct in principle but VTS fails as use of GSI is required.

Bug: 318332352
Test: atest VtsHalWifiStaIfaceTargetTest
Merged-In: I47453e7ad009b08aadf7c09fc144d2166ef9991b
Change-Id: I47453e7ad009b08aadf7c09fc144d2166ef9991b
2024-01-11 17:12:35 +00:00
Andres Schafhauser
f91d7adfc4 APF exempt list for TVs to use hardware feature
Instead of expecting MdnsOffloadManagerService to exist which is
correct in principle but VTS fails as use of GSI is required.

Bug: 318332352
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I47453e7ad009b08aadf7c09fc144d2166ef9991b
2024-01-11 17:11:13 +00:00
Treehugger Robot
2338cda61c Merge "automotive: Add Rust backend to the vhal AIDL" into main 2024-01-11 14:32:15 +00:00
Shikha Panwar
7c53bb3144 Secretkeeper: VTS to use dice_chain as identity
VTS (being the client of Sk) will use dice_chain as the identity.
Consequently we can use the sealing policy constructed out of this
identity & no more need to use HYPOTHETICAL_DICE_POLICY hack.

For sample identity, we create dice_sample module which constructs an
example dice chain (in Explicit key chain format), along with secrets.

Test: Secretkeeper VTS
Bug: 291224769
Change-Id: Ia1d1a92391d3ee455bf9fe254770b4a9bd08cb12
2024-01-11 09:01:51 +00:00
Treehugger Robot
7fe11fd93d Merge "audio: Add libaudioclient tests to postsubmit for the AIDL HAL" into main 2024-01-10 23:02:04 +00:00
Mikhail Naganov
ff52e4fcba audio: Add libaudioclient tests to postsubmit for the AIDL HAL
These framework-side tests are helpful in detecting breakages
caused by changes in the HAL code.

Add to postsubmit first because the presubmit check does not
allow adding to presubmit without accumulating some history first.

Bug: 311830316
Test: atest
Change-Id: I1f946c71a89117d25f39fde34877988ea7e1d466
2024-01-10 13:47:57 -08:00
Treehugger Robot
61ef14ec09 Merge changes Iab6235b5,I19b7d1af,I1806d8a2,I8589ef14 into main
* changes:
  Fix LeAudioCodecProvider failing offload setting file parsing
  Fix the bogus configs default-constructed as a2dp configs
  Fix filling the configuration map
  Skip unsupported functinality tests
2024-01-10 21:28:27 +00:00
Mikhail Naganov
198e8f747c Merge "audio: Improve logging in remote submix module" into main 2024-01-10 17:53:05 +00:00
Shikha Panwar
1eae7abfaa VTS: Use encoding of policy on explicit key dice
As we make Dice policy work with explicit key format of dice chain, the
hard coded policy needs to change to be compatible with hard coded
explicit key chain in the TA.

Test: VTS
Bug: 291213394
Change-Id: Ib3740d8f12f0a5f4e680bd215170bc96596fbe06
2024-01-10 15:59:42 +00:00
Felix Obenhuber
a77f2df473 automotive: Add Rust backend to the vhal AIDL
This enables us to write a vhal service in Rust.

Test: Verified with a custom replacement of the DefaultVehicleHal and ran in cuttlefish
Change-Id: I53601e1a10cee75877e76ae04f7837e7d1a20ebd
2024-01-10 16:23:03 +01:00
David Drysdale
b87fae42d8 Merge "Secretkeeper: use Ed25519 identity key" into main 2024-01-10 12:11:35 +00:00
Treehugger Robot
a10d3c536f Merge "Audio Effect : Add checks to validate the channel count" into main 2024-01-10 01:46:59 +00:00
Treehugger Robot
a471e4baa3 Merge "Remove unused global const variable" into main 2024-01-10 01:17:33 +00:00
Tomasz Wasilczyk
d29abc9f3e Remove unused global const variable
Bug: 175635923
Test: MODULES-IN-hardware-interfaces-power
Change-Id: Ie73f48df62a17b309c774b2f446db3ee53b3863b
2024-01-09 14:42:22 -08:00
Treehugger Robot
20768c89d7 Merge "Handle logical camera devices properly" into main 2024-01-09 22:41:15 +00:00
Sungtak Lee
3d0eeb9cfc Merge "media.c2 aidl: add input surface for encoders" into main 2024-01-09 22:36:53 +00:00
Treehugger Robot
671b88bf73 Merge changes Icfaa316b,Ic26706d7 into main
* changes:
  Add missing libc++ includes
  No need to modify acc for std::accumulate
2024-01-09 22:23:55 +00:00
Mikhail Naganov
9eb3314a24 audio: Improve logging in remote submix module
Implement IModule::dump to display the current state in
the audioflinger dump.

Throttle repetitive logging when there is nothing to read.

Remove stale comment for already fixed b/307586684.

Bug: 307586684
Test: adb shell dumpsys media.audio_flinger
Change-Id: I1f1f6e1658d035d46af3a933a825b20a78c7f297
2024-01-09 14:13:15 -08:00
Treehugger Robot
43609acf24 Merge "Per NCI spec there is no need to wait for credits" into main 2024-01-09 22:11:10 +00:00
Treehugger Robot
7297906e49 Merge "Add missing libc++ includes" into main 2024-01-09 21:26:28 +00:00
Alisher Alikhodjaev
93f1bf2bd3 Per NCI spec there is no need to wait for credits
Bug: 312911587
Test: no regresions
Change-Id: Ie7952b6618cd2b191b85904b3c1d4c544ba85618
2024-01-09 13:16:11 -08:00
Treehugger Robot
73d544063c Merge "Make apex availability to com.android.wifi explicit" into main 2024-01-09 21:10:30 +00:00
Tomasz Wasilczyk
4891ece5c6 Add missing libc++ includes
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-wifi
Change-Id: Icfaa316bb50b680a2c03c3d818f6ae01860dd334
2024-01-09 12:30:51 -08:00
Tomasz Wasilczyk
5370670c4a No need to modify acc for std::accumulate
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-automotive-audiocontrol
Change-Id: Ic26706d72966b991424c47c5fb7dd46612a3dcc3
2024-01-09 12:16:56 -08:00
Tomasz Wasilczyk
b87cdae8d6 Add missing libc++ includes
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-automotive-can
Change-Id: I2fcc511f45d87b0ca6d80d18df2ba9f92e0155f9
2024-01-09 11:56:43 -08:00
David Drysdale
388597703e Secretkeeper: use Ed25519 identity key
Test: VtsSecretkeeperTargetTest
Change-Id: I27aebb8913c34f043b7ccc7b6e23969377313e1e
2024-01-09 17:52:15 +00:00
David Drysdale
2796188ec6 Merge "Secretkeeper: move VTS to rdroidtest" into main 2024-01-09 12:19:31 +00:00
Shraddha Basantwani
a3d4847794 Audio Effect : Add checks to validate the channel count
Bug: 302036943
Test: atest audioeffect_analysis
Change-Id: Ic64394e646fa23e02e499c2f01ef3bd4490450d2
2024-01-09 10:37:54 +00:00
Changyeon Jo
050b2ce1cf Handle logical camera devices properly
- HighPriorityCameraClient test case is not executed against logical
  camera devices because clients are not allowed to change camera
  parameters via logical cameras.
- CameraStreamExternalBuffering test case closes logical camera device
  explicitly, to avoid any influence on following test scenarios.

Bug: 319165229
Test: atest VtsHalEvsTargetTest
Change-Id: I734d701a2056ab84fe74179b083c3f6c5463447b
2024-01-09 06:15:34 +00:00
Treehugger Robot
7535e95430 Merge "health: Remove 2.0 HAL implementation." into main 2024-01-09 00:28:28 +00:00
Yahav Nussbaum
1f330d6ce8 Merge "Clarify that an EID is a Find My Device network EID" into main 2024-01-08 19:31:57 +00:00
Ayush Jain
c1afcae755 Merge "[hal] Add support for CCC capability UWBS_MAX_PPM." into main 2024-01-08 19:24:33 +00:00
David Drysdale
099c876e9c Secretkeeper: move VTS to rdroidtest
Use rdroidtest for running tests as it now supports parameterized
tests (aosp/2885268) and has an attribute macro (aosp/2890086).

Also rustfmt.

Test: VtsSecretkeeperTargetTest
Change-Id: I9570a7f33a6ff7dbf7cb7238fa3770dedb990e8c
2024-01-08 15:17:48 +00:00
Jakub Tyszkowski
deecabbd9c Fix LeAudioCodecProvider failing offload setting file parsing
ParseFromLeAudioOffloadSettingFile() fails when `GetLeAudioCodecCapabilities()`
was already called in the past and `leAudioCodecCapabilities` vector is already
populated. That makes some of the VTS tests fail on
`IsOffloadOutputProviderInfoSupported()` and just return and PASS  without
actually checking enything.

The doubtful checks check variables set at parsed content verification,
and should not prevent us from parsing the file again.

Bug: 319090769
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Iab6235b5d265bb254ae6075b8c32d0eae0fc1829
2024-01-08 14:57:45 +00:00
Jakub Tyszkowski
06781c028a Fix the bogus configs default-constructed as a2dp configs
When the xml file contains the "invalid" entry in the scenario record,
which do not refer to any valid config in the 'configurationList`
section, the invalid, default constructed codec configuration (a2dp codec)
was created.

Bug: 319090769
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I19b7d1af81e5f2be3fb7261fba8781b3dc47fa12
2024-01-08 14:57:44 +00:00
Jakub Tyszkowski
0259aafb71 Fix filling the configuration map
Bug: 319090769
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I1806d8a20abb9a9756512ae8d433c6c6ff784159
2024-01-08 14:57:43 +00:00
Jakub Tyszkowski
334bf18f8d Skip unsupported functinality tests
Instead of silently passing the tests when some functionality is
not supported, mark these tests as skipped. This way, when we are sure
that some functionality should be verified in a particular test run,
we are not being falsely reported that all have passed successfully
while in reality, there's an actuall issue in the particular functionality
detection mechanism.

Bug: 319090769
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I8589ef14abfb5af641bc98949de1e1acc21efe1a
2024-01-08 14:57:43 +00:00
George Chang
7653e2653d Merge "Tag vts module VtsHalSecureElementTargetTest with secure element sim" into main 2024-01-08 03:20:39 +00:00
Yahav Nussbaum
31f1ad2409 Clarify that an EID is a Find My Device network EID
Bug: 318931934
Test: m android.hardware.bluetooth.finder-update-api
Change-Id: Ie888bc81bd8b91040aa308b9b0d2be4a6137e483
2024-01-06 16:53:01 +00:00
Spandan Das
9a21c4162c Make apex availability to com.android.wifi explicit
This is done implicitly today via a baseline map in
build/soong/apex/apex.go. Make this explicit in Android.bp

Bug: 281077552
Test: m nothing
Change-Id: I71d9a6ce9707557f8e7652adc7afa3292ef9188d
2024-01-06 00:01:41 +00:00
Devin Moore
9548b5cb98 Merge "Add CtsStrictJavaPackagesTestCases to TEST_MAPPING presubmits" into main 2024-01-05 23:51:44 +00:00