Home
last modified time | relevance | path

Searched refs:db_path (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore2/legacykeystore/
Dlib.rs260 db_path: PathBuf, field
267 db_path: PathBuf, field
282 let mut db_path = path.to_path_buf(); in new_native_binder() localVariable
283 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in new_native_binder()
285 let legacy_keystore = Arc::new(Self { db_path, async_task: Default::default() }); in new_native_binder()
295 DB::new(&self.db_path).context("In open_db: Failed to open db.") in open_db()
403 let mut db_path = path.to_path_buf(); in init_shelf() localVariable
405 let legacy_loader = LegacyBlobLoader::new(&db_path); in init_shelf()
406 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in init_shelf()
408 shelf.put(AsyncState { legacy_loader, db_path, recently_imported: Default::default() }); in init_shelf()
[all …]
/system/security/keystore2/src/
Dkeystore2_main.rs82 let db_path = Path::new(&dir); in main() localVariable
84 db_path.to_path_buf(); in main()
85 IdRotationState::new(db_path) in main()
Dglobals.rs61 let db_path = DB_PATH.read().expect("Could not get the database directory."); in create_thread_local_db() localVariable
63 let mut db = KeystoreDB::new(&db_path, Some(GC.clone())).expect("Failed to open database."); in create_thread_local_db()