No description
Find a file
Eric Biggers 10afa966fa Split Keystore's onLockScreenEvent into onDevice{Unlocked,Locked}
Currently Keystore is notified of the device being unlocked and locked
for each user via onLockScreenEvent(lockScreenEvent, userId, password,
unlockingSids), where lockScreenEvent is UNLOCK or LOCK.  This is a bit
confusing because the password parameter is only meaningful for UNLOCK,
and the unlockingSids parameter is only meaningful for LOCK.  This
problem will get worse when we add a parameter that tells Keystore
whether unlocking via a weak biometric or trust agent is possible, as
that will be another parameter that is only meaningful for LOCK.

Therefore, this CL splits onLockScreenEvent into two methods
onDeviceUnlocked and onDeviceLocked, each with the appropriate
parameters.  No change in behavior intended.

Bug: 296464083
Test: atest -p --include-subdirs system/security/keystore2 \
      && atest CtsKeystoreTestCases \
      && atest TrustTests \
      && atest com.android.server.locksettings
Flag: N/A, straightforward refactoring
Change-Id: Ie2afd118bddca6112a5469558569c63b68ee10fb
2023-12-02 03:05:43 +00:00
fsverity Update fsverity+odsign protos to protobuf3. 2023-06-28 08:05:10 +00:00
fsverity_init Flag guard to make fsverity_init a no-op 2023-10-17 10:54:28 -07:00
identity Restructuring of AAID using aidl_interface build system. 2023-10-06 04:23:41 +00:00
keystore Updated fuzz_config in Android.bp file 2023-11-10 10:26:02 +05:30
keystore-engine Adding tests to verify EVP_PKEY_from_keystore2 API [Keystore2-engine]. 2023-05-23 19:28:24 +00:00
keystore2 Split Keystore's onLockScreenEvent into onDevice{Unlocked,Locked} 2023-12-02 03:05:43 +00:00
ondevice-signing ondevice-signing: merge createCertificate() into createSelfSignedCertificate() 2023-07-05 22:14:36 +00:00
prng_seeder Add safety comments to prng_seeder. 2023-07-24 11:41:27 +01:00
provisioner Skip test case for AVF since those are not supported. 2023-11-15 00:01:17 +00:00
.clang-format Add PREUPLOAD to require clang-format. 2017-12-04 17:06:49 -07:00
.gitignore Add .gitignore. 2020-11-24 09:59:17 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/security 2021-02-14 10:37:25 -08:00
METADATA Add METADATA to system/security: Apache2+BSD=NOTICE 2020-05-04 13:15:58 -07:00
MODULE_LICENSE_APACHE2 Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
NOTICE Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
OWNERS Update system/security owners 2023-07-18 14:51:14 -04:00
PREUPLOAD.cfg Update rustfmt options 2020-08-19 15:19:21 +00:00
rustfmt.toml Enable rustfmt for system/security 2020-06-23 15:50:23 +02:00