Commit graph

47551 commits

Author SHA1 Message Date
Shunkai Yao
5b8638c66c Remove unused file EffectWorker.h
Bug: 299213582
Test: m
Change-Id: I9ffd2e4e1cf1fbca69650eb101812db2ed3acc6f
2023-09-07 17:57:45 +00:00
Treehugger Robot
594656ed52 Merge "Migrate from android::String isEmpty to empty" into main 2023-09-07 17:20:14 +00:00
Tomasz Wasilczyk
ad5787ada5 Migrate from android::String isEmpty to empty
Bug: 295394788
Test: make checkbuild
Change-Id: I66604d41926df012fd5834e74818f3179b77eb02
2023-09-07 15:51:14 +00:00
Sunil Ravi
2079fbcd04 wifi: set join to true in p2p connect tests am: 858665687d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2743883

Change-Id: I961f6a8cc9569ad401a1df41f252325f94392350
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 02:41:10 +00:00
Sunil Ravi
858665687d wifi: set join to true in p2p connect tests
After adding ag/21179155, auto join flag is
not set for every p2p connect command. The tests
are passing an unknown peer MAC address to connect(). To
pass the tests, the connect should trigger a scan and
try to find this unknown mac address. So set join flag
to true to run the same scan logic.

Bug: 298310537
Bug: 268236829
Bug: 218608010
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: Id5baa0f599d11a3563780aae15ff3cea0407060c
Merged-In: Id5baa0f599d11a3563780aae15ff3cea0407060c
2023-09-06 23:30:32 +00:00
Nethaji B
37fb2fe77d Skip wifi AP tests, if AP feature is not supported am: 6eab68a9e6 am: 7d5727bf65
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2740896

Change-Id: I4eade72a9c5fa16035382a52ed1d6be69edd67e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 18:00:56 +00:00
Nethaji B
7d5727bf65 Skip wifi AP tests, if AP feature is not supported am: 6eab68a9e6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2740896

Change-Id: I653411aa1c02a8025c145444b6ee1f749116ee39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 17:17:15 +00:00
Alice Wang
01fc1b7279 Merge "Make android.hardware.security.rkp-rust available for virt apex" into main 2023-09-06 07:36:55 +00:00
David Drysdale
06717b5ec2 Merge "Summarize security HALs" into main 2023-09-06 06:04:26 +00:00
Changyeon Jo
bacdd1ec09 Update OWNERS file
This change updates OWNERS file for EVS interface.

Bug: 299195329
Test: Manual
Change-Id: Ife421b8aa4a380d8585e6d8476f0a24f31bc2633
2023-09-06 00:57:59 +00:00
Nethaji B
6eab68a9e6 Skip wifi AP tests, if AP feature is not supported
- Added API to check wifi chip supports AP interface
- Check AP support as a precondition for AP related TCs

Bug: 284925541
Test: atest VtsHalWifiApV1_5TargetTest
Change-Id: I1121d7b787ed972980bab0e05a52f3ca2f3d0a24
2023-09-05 19:56:15 +00:00
Istvan Nador
8f28f8b8ea Enable the keymaster logger in the default Keymint
This solution was adopted from Cuttlefish's host side Keymint
implementation: I22bde00aed311c6774f83acc08a2c21e6e75141f.

Bug: 296983430
Test: Tested with Cuttlefish that the logs are present in logcat.
Change-Id: I942b0200bb164a2a865b255c6f26d628cbd345a4
2023-09-04 12:05:58 +00:00
David Drysdale
1d5b2daffe Summarize security HALs
Test: nope
Change-Id: Ie222c457a7637aa41bafbdb6c875624fbb82a397
2023-09-04 13:04:45 +01:00
Treehugger Robot
f9e524c5b1 Merge "Move CDDL into separate CDDL files" into main 2023-09-01 22:20:54 +00:00
Treehugger Robot
ab10c92241 Merge "Use the PDL library for HCI packets" into main 2023-09-01 21:01:49 +00:00
Andrew Scull
92bd93934a Merge "Test the format of patch level device info" into main 2023-09-01 20:29:31 +00:00
Paul Crowley
6aae9b6432 Move CDDL into separate CDDL files
Move CDDL out of comments and into files, per-method
generateCertificateRequest.cddl
generateCertificateRequestV2.cddl

This makes it easier to read and it means tools can parse it.

Test: Treehugger
Change-Id: I9b71b094d128a5a4566a4d352aaa11d1c9b595ff
2023-09-01 19:27:57 +00:00
William Escande
b94637beae Use the PDL library for HCI packets
Bug: 296427840
Test: mma -j32
Change-Id: I5dc1d6cd24890e4558ace5b8de4ed6d93a6abc86
Merged-In: I5dc1d6cd24890e4558ace5b8de4ed6d93a6abc86
2023-09-01 18:02:53 +00:00
Andrew Scull
e780dbf0d0 Test the format of patch level device info
On top of checking that the patch level are a UINT, also check that they
follow the YYYYMM or YYYYMMDD format in the CSR v3 as is required by the
server validation logic. This check is not applied in the factory as the
value might not yet be correctly provisioned.

Bug: 269813991
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I5c62ba176dae390ea0a387bba6cb975226e3873a
2023-09-01 17:42:31 +00:00
Jooyung Han
bb1e84f27f Merge "Mark neuralnetworks HAL as updatable-via-apex" into main 2023-09-01 08:47:22 +00:00
Treehugger Robot
658276f781 Merge "Add CAS AIDL/HIDL support for Tuner Descrambler Tests" into main 2023-08-31 19:23:29 +00:00
Yixiao Luo
d4a66cb3d0 Add CAS AIDL/HIDL support for Tuner Descrambler Tests
Bug: 266968335
Test: VtsHalTvTunerTargetTest
Change-Id: I55074360587735256c4f0efa8228d28f57b21592
Merged-In: I55074360587735256c4f0efa8228d28f57b21592
2023-08-31 11:39:38 +05:30
Tri Vo
d284817690 Merge "keymint: Clarify usage of certificate tags with importWrappedKey" into main 2023-08-30 15:12:13 +00:00
Tomasz Wasilczyk
750f415a8d Merge "Don't use String8 path functions [cas hidl]" into main 2023-08-30 04:29:48 +00:00
Tomasz Wasilczyk
f23e19a533 Merge "Use String8/16 c_str [cas]" into main 2023-08-30 04:29:16 +00:00
Tomasz Wasilczyk
3eb3155155 Move OWNERS from cas AIDL HAL to general cas folder
Test: N/A
Change-Id: I1fe535e1468e4dd238f238144dc4795d0089fd7c
2023-08-29 22:04:35 +00:00
Tomasz Wasilczyk
e76430d6f8 Merge "Use String8/16 c_str [health]" into main 2023-08-29 22:02:56 +00:00
Treehugger Robot
8d9bd17981 Merge "Move OWNERS from health aidl HAL to general health folder" into main 2023-08-29 21:38:11 +00:00
Tomasz Wasilczyk
4336fc5995 Move OWNERS from health aidl HAL to general health folder
Test: N/A
Change-Id: I01d4b52042d4f9f7b68898e83cb2058e9877a1f0
2023-08-29 21:11:05 +00:00
Sungtak Lee
6e053ee395 Merge "media.c2 aidl: Use IGraphicBufferAllocator for createBlockPool()" into main 2023-08-29 20:04:43 +00:00
Tomasz Wasilczyk
9e53281dc0 Don't use String8 path functions [cas hidl]
Ideally, we should migrate to std::filesystem, but libc++fs is not
available for vendor binaries until b/175635923 lands.

Bug: 295394788
Test: m checkbuild
Change-Id: Ifaec2f93331c780b96f7be5d50655a79aa935457
2023-08-29 15:04:50 +00:00
Alessio Balsini
dbf321c5ee Update bug component from Android Systems to OTA client
It's been a while since the Android Systems bug component does not
access the creation of new bugs for triage, instead, new bugs must
be created in the subcomponents of the team.
This change updates the bug component originally associated to this
subsystem from the Android Systems' 30545 to OTA client's 1014951.

Test: none
Bug: 270571229
Change-Id: I10ea8fba3b7683cf6259394f2163b68bfc96dfb5
Signed-off-by: Alessio Balsini <balsini@google.com>
2023-08-29 15:18:53 +01:00
Jooyung Han
41b170f736 Mark neuralnetworks HAL as updatable-via-apex
Bug: 297786849
Test: m
Merged-In: I80eb731040d23371886213941138bc73c033bb1f
Change-Id: I80eb731040d23371886213941138bc73c033bb1f
2023-08-29 18:16:18 +09:00
Zhanglong Xia
bdf2b0e9ec Merge "order the instance android.hardware.threadnetwork in the matrix XML" into main 2023-08-29 01:48:42 +00:00
Treehugger Robot
c9174b9a18 Merge "Remove PDL from the HAL" into main 2023-08-29 00:24:44 +00:00
Myles Watson
47c0282de8 Remove PDL from the HAL
The benefit is small and it's painful to make libraries
available to apexes and the platform.

Bug: 296427840
Test: mma -j32
Change-Id: I7f2ed8636b90de415b8d5635dcd7c568810323bd
2023-08-28 15:24:36 -07:00
Zhanglong Xia
f52d91b132 order the instance android.hardware.threadnetwork in the matrix XML
Bug: 296965759
Test: m
Change-Id: I1cec104ba851d4ed8684e4c805ac71959eac8b4a
2023-08-28 10:47:56 +08:00
Treehugger Robot
24c2867516 Merge "Don't use String8 path functions" into main 2023-08-25 22:44:37 +00:00
Tomasz Wasilczyk
3e74f0b928 Use String8/16 c_str [cas]
Bug: 295394788
Test: make checkbuild
Change-Id: I1faccac8711d5cccee70443548940d99804c7c2a
2023-08-25 19:41:37 +00:00
Tomasz Wasilczyk
fcaba4b69c Use String8/16 c_str [health]
Bug: 295394788
Test: make checkbuild
Change-Id: I6671af787ca8c687d30d0db8dbb4f639157b5e81
2023-08-25 19:39:33 +00:00
Treehugger Robot
7bed173e4c Merge "Only require RKP on T+ chipsets" into main 2023-08-25 19:08:06 +00:00
Seth Moore
8be875e0d0 Only require RKP on T+ chipsets
It turns out we had a bug (b/263844771) in how RKP support was
detected, and that was fixed. However, due to this bug, some S chipests
shipped without RKP support which is now required by the tests.

This change drops the RKP requirement from S chipsets. There should be
no new S chipsets, so this effectively grandfathers in the previous
ones that were skipped by the RKP VTS tests.

T+ tests (both VTS and other suites) will verify that RKP support is
there, so there is no gap introduced by this change.

Bug: 297139913
Test: VtsAidlKeyMintTargetTest
Change-Id: I387e5f058ada698747aac103c1745682291f2d1c
2023-08-25 11:13:41 -07:00
Treehugger Robot
8a21830735 Merge "Migrate from android::String isEmpty to empty" into main 2023-08-25 16:38:32 +00:00
Alice Wang
d6281e7d82 Make android.hardware.security.rkp-rust available for virt apex
Bug: 274881098
Test: atest MicrodroidHostTests
Change-Id: I5791bc8f0aa4dd5938871edb8b67f4d0d1ee2599
2023-08-25 12:06:08 +00:00
Treehugger Robot
ee6590ef2d Merge "Fix typo in CDDL" into main 2023-08-25 09:52:42 +00:00
David Drysdale
41bbc573f7 Merge "KeyMint: fix auth test HAT" into main 2023-08-25 09:45:42 +00:00
Alan Stokes
5004b8b5ae Fix typo in CDDL
Test: N/A
Change-Id: Iba25acb24306d36c97be07987857237363654bb5
2023-08-25 09:34:35 +01:00
Jooyung Han
de60dd2ae5 Merge changes from topic "threadnetwork-apex" into main
* changes:
  Move threadnetwork HAL to VAPEX
  Mark threadnetwork HAL as updatable-via-apex
  Add apexkey "com.android.hardware"
2023-08-25 07:17:09 +00:00
David Drysdale
97272d8d5f KeyMint: fix auth test HAT
The test case for an auth-per-operation HAT with an invalid HMAC
is wrong -- it is re-using the previous HAT, which fails for a
different reason (has an old challenge).

Fix the test to use the HAT that's wrong in the intended way.

Bug: 297333975
Test: VtsAidlKeyMintTargetTest
Change-Id: I15fe9b0c1b53452df0f67dd44534fdb80a6c2a9c
2023-08-25 07:30:12 +01:00
Jooyung Han
a9c0dda341 Merge "Mark nfc HAL as updatable-via-apex" into main 2023-08-24 23:02:06 +00:00