Commit graph

33560 commits

Author SHA1 Message Date
Yiming Pan
b2e850284a Update OWNERS for VtsHalCas* tests.
Added a bug component where issues seen on this test are triaged. This
will affect the following tests:

VtsHalCasV1_0TargetTest
VtsHalCasV1_1TargetTest
VtsHalCasV1_2TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: I03c7b69a7db49d6793ea023691312be8bcfc7195
2021-11-03 11:23:01 -07:00
Treehugger Robot
b27df86140 Merge "Update OWNERS for VtsHalWifiSupplicant tests." 2021-10-19 00:55:03 +00:00
Michael Butler
68e98f40dc Merge "Allow implicit conversions for NN errors -- hal" 2021-10-18 22:45:51 +00:00
Treehugger Robot
b350c7cf49 Merge "Revert "VTS: Test that configs in a group differ only by vsync period"" 2021-10-18 21:39:37 +00:00
Treehugger Robot
184c1b546c Merge "Revert "Clarify the ComposerClient comment for CONFIG_GROUP"" 2021-10-18 20:56:12 +00:00
Snild Dolkow
0e9328e213 Revert "Clarify the ComposerClient comment for CONFIG_GROUP"
This reverts commit 37c5495c52.

This "clarification" was in fact a change of the HAL interface,
introducing a new requirement which was not present in earlier
Android releases. There are devices on the market that switch
seamlessly between configs that differ in resolution and DPI,
and therefore have those configs in a config group.

Bug: 200184776
Merged-In: I5bba1c6532f5f46da874385164a0bc0cc0435225
Change-Id: I5bba1c6532f5f46da874385164a0bc0cc0435225
2021-10-18 20:55:31 +00:00
Snild Dolkow
bf484a6adb Revert "VTS: Test that configs in a group differ only by vsync period"
This reverts commit 6f36dd6e31.

Differing only by vsync period was not a requirement on Android R, and
it shouldn't be added after-the-fact to an existing HAL version.

There are devices on the market that switch seamlessly between configs
that differ in resolution/dpi, and therefore have those configs in a
common group.

Bug: 200184776
Change-Id: Id0bfc67e55d5139fddb2b359cabafd9281c33734
2021-10-18 20:31:52 +00:00
Ian Hua
5dc5f2633f Merge "AIDL interface changes for NNAPI feature level 6." 2021-10-18 20:03:59 +00:00
Treehugger Robot
ad56c830f3 Merge "Backfill owner information for VtsHalVibrator*." 2021-10-18 18:09:23 +00:00
Treehugger Robot
cd6ab41533 Merge "Backfill OWNERS for VtsHalGraphicsMapper tests." 2021-10-18 17:41:51 +00:00
Ian Hua
068df81ab6 AIDL interface changes for NNAPI feature level 6.
- Add BATCH_MATMUL operation
- Support TENSOR_INT32 for RESHAPE operation.

Also update "current" version snapshot and use
android.hardware.neuralnetworks-V2-ndk since AIDL v1 has been frozen.

Bug: 193012662
Bug: 200281183
Test: mm
Change-Id: Iabe45c57e2306d61055f711eda03b80b9cbe906d
Merged-In: Iabe45c57e2306d61055f711eda03b80b9cbe906d
2021-10-18 11:38:55 +01:00
Yomna Nasser
b1e7ca32c6 Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" 2021-10-16 02:21:12 +00:00
Michael Butler
ff9a5a527a Allow implicit conversions for NN errors -- hal
This change allows GeneralErrors to be created from a string and allows
ExecutionErrors to be created from a string or a GeneralError.
This makes error handling more terse, removing the need for helper
functions such as makeGeneralFailure or makeExecutionFailure.

Bug: N/A
Test: mma
Change-Id: I8c5e80a2eb4f399fad64aab763fe6fa08cf8d1db
2021-10-15 16:37:09 -07:00
Yiming Pan
f3f344a134 Backfill owner information for VtsHalVibrator*.
Owner information is backfilled for the following modules:
VtsHalVibratorTargetTest
VtsHalVibratorV1_0TargetTest
VtsHalVibratorV1_1TargetTest
VtsHalVibratorV1_2TargetTest
VtsHalVibratorV1_3TargetTest

Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I72b6f2312cd1863e24a05160d688bac86378e37a
2021-10-15 16:29:59 -07:00
Przemyslaw Szczepaniak
996054b24f Merge "Update OWNERS file" 2021-10-15 11:02:37 +00:00
Roshan Pius
274eadd581 wifi(vts): Precondition AP tests on existence of hostapd HAL
cp: aosp/1428863 to master branch

This used to be present on the old host side VTS tests, port the feature to
target side since host side VTS tests are deprecated.

Also,
i) Added a separate test: VtsHalWifiV1_4TargetTest to test the wifi
chip methods. Putting them in VtsHalWifiApV1_4TargetTest will prevent
these from running on devices without AP feature.
ii) Ensured all the non-NAN, non-RTT tests disable framework for
testing. NAN/RTT tests uses framework to check if the corresponding
package manager feature exists.

Bug: 166529516
Test: atest \
VtsHalWifiApV1_0TargetTest \
VtsHalWifiApV1_4TargetTest \
VtsHalWifiV1_0TargetTest \
VtsHalWifiV1_4TargetTest

Change-Id: I05aab6992277601633a0f926a8262c4c27402e93
2021-10-15 09:48:23 +08:00
Yiming Pan
af359f3acf Backfill OWNERS for VtsHalGraphicsMapper tests.
Done for the following tests:
VtsHalGraphicsMapperV2_0TargetTest
VtsHalGraphicsMapperV2_1TargetTest
VtsHalGraphicsMapperV3_0TargetTest
VtsHalGraphicsMapperV4_0TargetTest

Deleted the OWNERS file I created earlier to comply to your team's
convention.

Test: Tree Hugger
Bug: 143903671
Change-Id: I07790171fc1a42da37a43f590d8c5c2876ad1bfe
2021-10-14 17:45:53 -07:00
Treehugger Robot
1caa761eeb Merge "Backfill owner information for VtsHalWifi tests." 2021-10-14 21:34:00 +00:00
Michael Butler
f3bd4751a3 Merge "Handle error returned by IBurstContext::freeMemory" 2021-10-14 21:30:33 +00:00
Treehugger Robot
7f13389b5b Merge "Backfill VTS owner information." 2021-10-14 19:25:59 +00:00
Treehugger Robot
93fb77744d Merge "Backfill owner information for VTS module VtsHalRenderscriptV1_0TargetTest." 2021-10-14 18:56:30 +00:00
Treehugger Robot
f2f815c4cf Merge "Backfill VTS owner information." 2021-10-14 18:42:48 +00:00
Treehugger Robot
dac860a21d Merge "Backfill owner information for VtsHalAutomotiveVehicleV2_0TargetTest." 2021-10-14 18:42:17 +00:00
Yiming Pan
90a97607a2 Backfill owner information for VtsHalWifi tests.
Done for the following tests:
VtsHalWifiApV1_0TargetTest
VtsHalWifiApV1_4TargetTest
VtsHalWifiApV1_5TargetTest
VtsHalWifiNanV1_0TargetTest
VtsHalWifiNanV1_2TargetTest
VtsHalWifiV1_0TargetTest
VtsHalWifiV1_1TargetTest
VtsHalWifiV1_2TargetTest
VtsHalWifiV1_3TargetTest
VtsHalWifiV1_4TargetTest
VtsHalWifiV1_5TargetTest
VtsHalWifiOffloadV1_0TargetTest

Each VTS module is required to have an OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I4acdb9a3f7a81f078e4c60d7892a72a16f7ae9d2
2021-10-14 11:25:14 -07:00
Treehugger Robot
f78f24e2fe Merge "Backfill VTS owner information." 2021-10-14 18:21:37 +00:00
Yiming Pan
683a4841bd Update OWNERS for VtsHalWifiSupplicant tests.
This is done for the following test modules:
VtsHalWifiSupplicantP2pV1_0TargetTest
VtsHalWifiSupplicantP2pV1_2TargetTest
VtsHalWifiSupplicantV1_0TargetTest
VtsHalWifiSupplicantV1_1TargetTest
VtsHalWifiSupplicantV1_2TargetTest
VtsHalWifiSupplicantV1_3TargetTest
VtsHalWifiSupplicantV1_4TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: Ia2259c6d62223317f5d5c5aee8ae55655972180b
2021-10-14 18:10:04 +00:00
Yiming Pan
b80b5a28cf Backfill owner information for VtsHalAutomotiveVehicleV2_0TargetTest.
Each VTS module is required to have an OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I6684b5d14d8bf31a2183a68a4d5f39b7b3da022c
2021-10-14 17:14:20 +00:00
Przemysław Szczepaniak
ddaa1ec97d Update OWNERS file
Bug: 201534535
Test: -
Change-Id: If4071e59baebd9d98b6c591e897206ad43439bd7
2021-10-14 15:54:11 +01:00
David Drysdale
f46b2d5402 Merge "KeyMint VTS: improve ATTESTATION_ID_ tests" 2021-10-14 13:33:41 +00:00
David Drysdale
c53b7d9da8 KeyMint VTS: improve ATTESTATION_ID_ tests
Existing comment is incorrect: the ATTESTATION_ID_* values that the test
provided are rejected because they do not match the device values, not
because the tags are specific to device-unique attestation.

Fix the test comment (and make the values more obviously wrong), and
add a separate test that includes correct values of ATTESTATION_ID_*
values.

Test: VtsAidlKeyMintTargetTest
Change-Id: I5c5f5ef6a228990c9e46f90727e0f135dfc2c528
2021-10-14 14:32:04 +01:00
David Drysdale
c8520ad895 Merge "KeyMint VTS: use GTEST_SKIP for optional fn" 2021-10-14 12:20:55 +00:00
Treehugger Robot
1c71faa2f2 Merge "Add a bug component for VtsHalWifiHostapd tests." 2021-10-14 04:30:24 +00:00
Yiming Pan
b64be08607 Backfill VTS owner information.
Backfill owner information for VTS module VtsHalAudioControlV2_0TargetTest.

Each VTS module is required to have an OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I12d40e94e6eb5f8b8731a4a7bce66ec78259742d
2021-10-13 16:50:34 -07:00
Yiming Pan
488e204c98 Backfill VTS owner information.
Backfill owner information for VTS module VtsHalAudioControlV1_0TargetTest.

Each VTS module is required to have an OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I51dce04a5ea9d80297d5e33fe8e7a4be4646635b
2021-10-13 16:50:22 -07:00
Yiming Pan
507b4604bb Add a bug component for VtsHalWifiHostapd tests.
This is done for the following test modules:
VtsHalWifiHostapdV1_0TargetTest
VtsHalWifiHostapdV1_1TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: I26b7981e340ac2fc9009f8741fc9e415d1a3c8f0
2021-10-13 15:18:51 -07:00
Guang Zhu
6c602e4ead Merge "Merge fix to AOSP: Report default location when location is not available in /dev/gnss0" 2021-10-13 21:29:09 +00:00
Michael Butler
1b09ea9224 Handle error returned by IBurstContext::freeMemory
Unhandled HIDL errors result in a crash. This CL handles any errors from
IBurstContext::freeMemory by logging the error and continuing with the
rest of the function.

Bug: N/A
Test: mma
Change-Id: Ic433a627137df4d275a1b0d2d800d592afc1a18c
2021-10-13 13:47:07 -07:00
Treehugger Robot
176144714e Merge "Backfill OWNERS for VtsHalRadio*." 2021-10-12 23:30:58 +00:00
Treehugger Robot
426724b959 Merge "Backfill owner information for VTS module VtsHalWeaverV1_0TargetTest." 2021-10-12 23:15:23 +00:00
Lais Andrade
157418535e Update haptic owners to include frameworks file
Change-Id: I4c089df77dc2b8cf5d43535fbc9dc5f80cd4ca9c
2021-10-12 14:44:23 +00:00
David Drysdale
513bf12932 KeyMint VTS: use GTEST_SKIP for optional fn
When a KeyMint VTS exercises optional functionality, where possible
use GTEST_SKIP() when that functionality is absent, so the test
summary includes information about what is present and what isn't.

This should not affect the overall test result.

Test: VtsAidlKeyMintTargetTest
Change-Id: I62d244d2e4ecc67737906009575e64b50450d4c4
2021-10-12 07:22:28 +01:00
Yuchen He
a662140c68 Merge fix to AOSP: Report default location when location is not available in /dev/gnss0
Change-Id: I3ce672aa1a7a39c256dd1396658859c205b61399
Test: atest VtsHalGnssTargetTest
Bug: 197579774
2021-10-11 21:15:24 +00:00
Jim Blackler
0531c94771 Merge "Revert "Delete KM1"" 2021-10-11 14:04:30 +00:00
Jim Blackler
a08ea2d23f Revert "Delete KM1"
Revert "Delete KM1"

Revert "Delete KM1"

Revert "Delete KM1"

Revert submission 1844016-delkm1

Reason for revert: b/202675261
Reverted Changes:
Iba996962b:Delete KM1
Ia4c5359cd:Delete KM1
Iee6ec9816:Delete KM1
I6058e4d86:Delete KM1
I8abb9c570:Delete KM1
I9c4dc5c9e:Delete KM1

Change-Id: I2a2d4b737a90f8ce31cd14b68f64564d8d245ab3
2021-10-11 13:38:59 +00:00
Shawn Willden
13274fa22d Merge "Delete KM1" 2021-10-09 00:46:52 +00:00
Shuo Qian
1ea58ef3a4 Merge "Config the number of live modems based on current multisim number." 2021-10-08 18:32:00 +00:00
Shuo Qian
07f1c21f4a Skip slot 2 for other radio modules in single sim mode
Bug: 199986032
Test: atest
Change-Id: Idc115954c8ccb26a6127a80d466f22559be641d2
Merged-In: Idc115954c8ccb26a6127a80d466f22559be641d2
(cherry picked from commit c6a7143b1d)
2021-10-08 16:26:21 +00:00
Shuo Qian
b96b0ec884 Config the number of live modems based on current multisim number.
Test: atest VtsHalRadioConfigV1_1TargetTest
Bug: 200889748
Change-Id: If2aca6add38b801be011797c1da4c8de32f1bef6
Merged-In: If2aca6add38b801be011797c1da4c8de32f1bef6
(cherry picked from commit 400ce4ff76)
2021-10-08 16:25:26 +00:00
Yiming Pan
54ac1cbb35 Merge "Add OWNERS for VTS module VtsHalAuthSecretV1_0TargetTest" 2021-10-08 00:24:16 +00:00
Xin Li
59772dd098 Merge "Merge Android 12" 2021-10-07 23:49:53 +00:00