Lines Matching refs:assert
1183 assert!(LegacyBlobLoader::decode_alias(ENCODED_ALIAS_ERROR_UTF8) in decode_encode_alias_test()
1207 assert!(!blob.is_encrypted()); in read_golden_key_blob_test()
1208 assert!(!blob.is_fallback()); in read_golden_key_blob_test()
1209 assert!(!blob.is_strongbox()); in read_golden_key_blob_test()
1210 assert!(!blob.is_critical_to_device_encryption()); in read_golden_key_blob_test()
1217 assert!(!blob.is_encrypted()); in read_golden_key_blob_test()
1218 assert!(!blob.is_fallback()); in read_golden_key_blob_test()
1219 assert!(!blob.is_strongbox()); in read_golden_key_blob_test()
1220 assert!(!blob.is_critical_to_device_encryption()); in read_golden_key_blob_test()
1253 assert!(blob.is_encrypted()); in read_aes_gcm_encrypted_key_blob_test()
1254 assert!(!blob.is_fallback()); in read_aes_gcm_encrypted_key_blob_test()
1255 assert!(!blob.is_strongbox()); in read_aes_gcm_encrypted_key_blob_test()
1256 assert!(!blob.is_critical_to_device_encryption()); in read_aes_gcm_encrypted_key_blob_test()
1276 assert!(legacy_blob_loader.is_empty().expect("Should succeed and be empty.")); in test_is_empty()
1281 assert!(legacy_blob_loader.is_empty().expect("Should succeed and still be empty.")); in test_is_empty()
1285 assert!(!legacy_blob_loader.is_empty().expect("Should succeed but not be empty.")); in test_is_empty()
1289 assert!(!legacy_blob_loader.is_empty().expect("Should succeed but still not be empty.")); in test_is_empty()
1294 assert!(!legacy_blob_loader.is_empty().expect("Should succeed but still not be empty.")); in test_is_empty()
1299 assert!(legacy_blob_loader.is_empty().expect("Should succeed and be empty again.")); in test_is_empty()
1394 assert!(!legacy_blob_loader.is_empty()?); in test_legacy_blobs()
1395 assert!(!legacy_blob_loader.is_empty_user(0)?); in test_legacy_blobs()
1398 assert!(legacy_blob_loader.is_empty_user(1)?); in test_legacy_blobs()
1403 assert!(legacy_blob_loader.is_empty_user(0)?); in test_legacy_blobs()
1404 assert!(legacy_blob_loader.is_empty()?); in test_legacy_blobs()
1414 assert!(legacy_blob_loader.list_user(20)?.is_empty()); in list_non_existing_user()
1424 assert!(legacy_blob_loader.list_legacy_keystore_entries_for_user(20)?.is_empty()); in list_legacy_keystore_entries_on_non_existing_user()