Home
last modified time | relevance | path

Searched refs:is_empty_user (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/system/security/keystore2/src/legacy_blob/
H A Dtests.rs280 assert!(!legacy_blob_loader.is_empty_user(0)?); in test_legacy_blobs()
283 assert!(legacy_blob_loader.is_empty_user(1)?); in test_legacy_blobs()
288 assert!(legacy_blob_loader.is_empty_user(0)?); in test_legacy_blobs()
382 assert!(!legacy_blob_loader.is_empty_user(0).unwrap()); in test_with_encrypted_characteristics()
385 assert!(legacy_blob_loader.is_empty_user(1).unwrap()); in test_with_encrypted_characteristics()
390 assert!(legacy_blob_loader.is_empty_user(0).unwrap()); in test_with_encrypted_characteristics()
470 assert!(!legacy_blob_loader.is_empty_user(0).unwrap()); in test_with_encrypted_certificates()
473 assert!(legacy_blob_loader.is_empty_user(1).unwrap()); in test_with_encrypted_certificates()
478 assert!(legacy_blob_loader.is_empty_user(0).unwrap()); in test_with_encrypted_certificates()
590 assert!(!legacy_blob_loader.is_empty_user(0).unwrap()); in test_in_place_key_migration()
[all …]
/aosp_15_r20/system/security/keystore2/src/
H A Dlegacy_blob.rs986 pub fn is_empty_user(&self, user_id: u32) -> Result<bool> { in is_empty_user() method
1227 if self.is_empty_user(user_id).context(ks_err!("Trying to check for empty user dir."))? { in remove_user_dir_if_empty()
1346 if self.is_empty_user(user_id).ok().unwrap_or(false) { in remove_super_key()