No description
Find a file
Eric Biggers 86b9048544 Don't overwrite in-use Weaver slots during VTS
VtsHalWeaverTargetTest always overwrote the first and last Weaver slots.
Before Android 14, apparently this didn't cause problems because Android
didn't use Weaver for users that never had an LSKF set.  However, now
users get a Weaver slot right away.  That typically means that the first
Weaver slot will be used by user 0.

Fix the test to read /metadata/password_slots/slot_map to determine
which slots are in use by the system, and only write to unused slots.

Bug: 291284381
Test: 'atest -v VtsHalWeaverTargetTest'.  Checked for INFO messages
      showing that slots 1 and 63 were used by the test.  Then rebooted
      and verified that the device can still be unlocked.
Change-Id: Id2cce4240d68999471e7d1e8fc7a8449587eed97
(cherry picked from commit 31380e7bc9)
Merged-In: Id2cce4240d68999471e7d1e8fc7a8449587eed97
2023-07-20 17:35:59 +00:00
atrace/1.0 Allow atrace hal tracefs access 2022-01-14 14:02:42 -08:00
audio Implement AIDL effect IFacotry::queryProcessing 2023-05-12 14:36:23 +00:00
authsecret Remove AIDL-libs from VNDK 2022-06-14 16:42:42 +09:00
automotive Increase frame counters in the same critical section am: 928a4535c8 am: a343d0cf0c am: c070b5a14b am: 55baee93d6 am: e0868c4484 am: ca64f5b140 2023-06-16 02:24:19 +00:00
biometrics Merge "Close the session if Fingerprint servers die" into udc-dev 2023-05-08 19:21:19 +00:00
bluetooth BluetoothAudio: Statically link HAL dependencies 2023-07-12 17:07:14 +00:00
boot UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
broadcastradio Fix wrong timeout and mock method in radio VTS 2023-07-14 00:09:26 +00:00
camera Camera VTS: Properly initialize Stream in various places 2023-06-29 00:49:17 +00:00
cas UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
common Merge "Update common.fmq aidl_interface with versions_with_info" am: 35d4efc9e9 am: d4d38f8116 am: 3d96c8e4de 2023-03-21 03:17:05 +00:00
compatibility_matrices Add IRemotelyProvisionedComponent widevine HAL to compat matrix 2023-05-12 19:38:48 +00:00
configstore Add OWNERS for VTS module VtsHalConfigstoreV1_0TargetTest 2021-08-11 16:38:55 -07:00
confirmationui UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
contexthub Ignore NanSessionStateChange test for old HAL 2023-06-16 00:42:41 +00:00
drm Merge "Update OWNERS file" into udc-dev 2023-03-30 23:53:17 +00:00
dumpstate Enable java backend for IDumpstateDevice HAL 2022-10-26 10:24:13 -05:00
fastboot UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
gatekeeper UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
gnss UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
graphics [VTS 2.3] Add length check before reading blob 2023-05-25 22:12:24 +00:00
health UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
identity identity: Set testMode to false for RKP. 2023-05-24 23:48:38 +00:00
input Add cpp20 to input vts test 2023-04-21 01:51:49 +00:00
ir ir impl point fixes 2022-10-31 20:43:43 +00:00
keymaster KM 4 test fix Root-of-Trust parsing 2023-05-24 17:08:53 -04:00
light Rename Light HAL default implementation variable. 2022-08-26 15:00:15 -07:00
media UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
memtrack vndk libs - frozen true 2022-11-18 23:40:59 +00:00
neuralnetworks Merge "Fix VTS generated test with reusable execution." am: c2f025e250 am: c6d9dfa6df am: 3917606102 2023-03-24 02:24:35 +00:00
nfc Remove AIDL-libs from VNDK 2022-06-14 16:42:42 +09:00
oemlock Implement oemlock AIDL default 2022-11-15 17:37:08 +00:00
power Avoid skipping test if it's supported. 2023-06-14 18:12:39 +00:00
radio Return INVALID_ ARGUMENTS is the expected result am: 7ddd478150 2023-07-12 03:02:37 +00:00
rebootescrow/aidl Remove AIDL-libs from VNDK 2022-06-14 16:42:42 +09:00
renderscript/1.0 Backfill owner information for VTS module VtsHalRenderscriptV1_0TargetTest. 2021-09-03 16:33:59 -07:00
scripts Update ANAPIC reviews to be easier to manage in gerrit 2023-02-22 23:01:48 +00:00
secure_element UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
security Merge "Skip ATTEST_KEY using variant on waivered devices" into stage-aosp-udc-ts-dev 2023-07-14 06:25:50 +00:00
sensors UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
soundtrigger Merge changes from topic "media_common_types_version_bump" 2022-09-07 23:30:55 +00:00
staging [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2023-02-23 08:56:44 -08:00
tests Update vibrator example extension aidl_interface with versions_with_info 2023-03-21 16:08:08 +00:00
tetheroffload Freeze android.hardware.tetheroffload 2023-04-25 16:45:28 +00:00
thermal UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
threadnetwork add OWNERS file for the threadnetwork HAL project 2022-12-14 14:42:14 +08:00
tv Add fix vts fail when configureMonitorEvent am: b79cbf50f1 am: d8baeb3916 2023-06-30 00:05:48 +00:00
usb UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
uwb Merge "Revert "Revert "uwb(hal): Implement UCI over serial in the defau..."" am: 29567e796b am: 57cccf0cd7 am: 33fc82390c 2023-04-18 00:07:08 +00:00
vibrator Revert "Revert "vib example client on product"" am: 3e776b9e04 am: b192b1cec2 am: a38302413a 2023-03-14 00:59:29 +00:00
vr/1.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
weaver Don't overwrite in-use Weaver slots during VTS 2023-07-20 17:35:59 +00:00
wifi Use a 64-bit instance of 0x1 when creating 2023-07-13 19:46:59 +00:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
.gitignore Add .gitignore 2021-10-28 22:04:46 +00:00
Android.bp Stop using group_static_libs property 2021-08-30 23:20:08 +00:00
CleanSpec.mk wifi adapter cleanspec 2019-12-13 14:24:23 -08:00
current.txt Fix inconsistencies in VehicleArea HAL documentation 2023-03-29 20:12:05 +00:00
METADATA Add METADATA to interfaces: Apache2=NOTICE 2020-05-01 10:59:55 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS remove guangzhu from OWNERS 2022-08-01 16:19:14 +00:00
PREUPLOAD.cfg Turn aidl_format on 2021-01-21 15:06:51 +09:00
TEST_MAPPING Add hal_implementation_test on automotive cf to test_mapping 2023-04-03 17:08:37 +00:00
update-base-files.sh Generate constants from the audio HAL V7.1 enums 2022-02-14 19:08:09 +00:00
update-makefiles.sh Remove update scripts for VTS makefiles. 2019-02-28 10:32:51 -08:00