Home
last modified time | relevance | path

Searched refs:TempDir (Results 1 – 5 of 5) sorted by relevance

/system/security/keystore2/test_utils/
Dlib.rs32 pub struct TempDir { struct
37 impl TempDir { impl
87 impl Drop for TempDir { implementation
/system/security/keystore2/src/
Did_rotation.rs78 use keystore2_test_utils::TempDir;
86 let temp_dir = TempDir::new("test_had_factory_reset_since_id_rotation_") in test_had_factory_reset_since_id_rotation()
Dlegacy_blob.rs1657 use keystore2_test_utils::TempDir;
1786 let temp_dir = TempDir::new("test_is_empty").expect("Failed to create temp dir."); in test_is_empty()
1817 let temp_dir = TempDir::new("legacy_blob_test").unwrap(); in test_legacy_blobs()
1952 let temp_dir = TempDir::new("test_with_encrypted_characteristics").unwrap(); in test_with_encrypted_characteristics()
2039 let temp_dir = TempDir::new("test_with_encrypted_certificates").unwrap(); in test_with_encrypted_certificates()
2127 let temp_dir = TempDir::new("test_in_place_key_migration").unwrap(); in test_in_place_key_migration()
2247 let temp_dir = TempDir::new("list_non_existing_user").unwrap(); in list_non_existing_user()
2257 let temp_dir = TempDir::new("list_legacy_keystore_entries_on_non_existing_user").unwrap(); in list_legacy_keystore_entries_on_non_existing_user()
2267 let temp_dir = TempDir::new("test_move_keystore_entry").unwrap(); in test_move_keystore_entry()
Ddatabase.rs3274 use keystore2_test_utils::TempDir;
3446 let temp_dir = TempDir::new("persistent_db_test")?; in test_persistence_for_files()
3535 TempDir::new("test_remove_expired_certs_").expect("Failed to create temp dir."); in test_remove_expired_certs()
3612 TempDir::new("test_remove_expired_certs_").expect("Failed to create temp dir."); in test_dont_remove_valid_certs()
4554 let temp_dir = Arc::new(TempDir::new("test_upgrade_0_to_1").unwrap()); in test_upgrade_0_to_1()
4699 let temp_dir = Arc::new(TempDir::new("id_lock_test")?); in test_insert_and_load_full_keyentry_domain_app_concurrently()
4773 TempDir::new("test_database_busy_error_code_").expect("Failed to create temp dir."); in test_database_busy_error_code()
4806 TempDir::new("test_large_number_of_concurrent_db_manipulations_") in test_large_number_of_concurrent_db_manipulations()
4915 let temp_dir = TempDir::new("list_test")?; in list()
/system/security/keystore2/legacykeystore/
Dlib.rs555 use keystore2_test_utils::TempDir;
569 let test_dir = TempDir::new("entrydb_test_").expect("Failed to create temp dir."); in test_entry_db()
612 let test_dir = TempDir::new("test_delete_uid_").expect("Failed to create temp dir."); in test_delete_uid()
630 let test_dir = TempDir::new("test_delete_user_").expect("Failed to create temp dir."); in test_delete_user()
659 TempDir::new("concurrent_legacy_keystore_entry_test_") in concurrent_legacy_keystore_entry_test()