Home
last modified time | relevance | path

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

/system/iorap/src/maintenance/
Dcontroller.h89 bool Compile(const std::string& db_path, const ControllerParameters& params);
93 bool Compile(const std::string& db_path,
100 bool Compile(const std::string& db_path,
Dmain.cc150 std::string db_path = arg_input_filenames[0]; in Main() local
162 db::CleanUpFilesForPackage(db_path, *arg_purge_package); in Main()
178 ret_code = !Compile(std::move(db_path), in Main()
184 ret_code = !Compile(std::move(db_path), std::move(*arg_package), arg_version, params); in Main()
186 ret_code = !Compile(std::move(db_path), params); in Main()
Dcontroller.cc452 bool Compile(const std::string& db_path, const ControllerParameters& params) { in Compile() argument
453 iorap::db::SchemaModel db_schema = db::SchemaModel::GetOrCreate(db_path); in Compile()
458 bool Compile(const std::string& db_path, in Compile() argument
462 iorap::db::SchemaModel db_schema = db::SchemaModel::GetOrCreate(db_path); in Compile()
467 bool Compile(const std::string& db_path, in Compile() argument
472 iorap::db::SchemaModel db_schema = db::SchemaModel::GetOrCreate(db_path); in Compile()
/system/security/keystore2/legacykeystore/
Dlib.rs250 db_path: PathBuf, field
257 db_path: PathBuf, field
272 let mut db_path = path.to_path_buf(); in new_native_binder() localVariable
273 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in new_native_binder()
275 let legacy_keystore = Arc::new(Self { db_path, async_task: Default::default() }); in new_native_binder()
285 DB::new(&self.db_path).context("In open_db: Failed to open db.") in open_db()
392 let mut db_path = path.to_path_buf(); in init_shelf() localVariable
394 let legacy_loader = LegacyBlobLoader::new(&db_path); in init_shelf()
395 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in init_shelf()
397 shelf.put(AsyncState { legacy_loader, db_path, recently_imported: Default::default() }); in init_shelf()
[all …]
/system/security/keystore2/src/
Dkeystore2_main.rs63 let db_path = Path::new(&dir); in main() localVariable
65 db_path.to_path_buf(); in main()
66 IdRotationState::new(&db_path) in main()
Dglobals.rs57 let db_path = DB_PATH.read().expect("Could not get the database directory."); in create_thread_local_db() localVariable
59 let mut db = KeystoreDB::new(&db_path, Some(GC.clone())).expect("Failed to open database."); in create_thread_local_db()
/system/iorap/src/db/
Dclean_up.h40 void CleanUpFilesForPackage(const std::string& db_path,
Dclean_up.cc94 void CleanUpFilesForPackage(const std::string& db_path, in CleanUpFilesForPackage() argument
96 iorap::db::SchemaModel db_schema = db::SchemaModel::GetOrCreate(db_path); in CleanUpFilesForPackage()