/system/iorap/src/db/ |
D | clean_up.cc | 31 namespace iorap::db { namespace 33 void CleanUpFilesForActivity(const db::DbHandle& db, in CleanUpFilesForActivity() 58 void CleanUpFilesForPackage(const db::DbHandle& db, in CleanUpFilesForPackage() 73 void CleanUpFilesForPackage(const db::DbHandle& db, in CleanUpFilesForPackage() 87 void CleanUpFilesForDb(const db::DbHandle& db) { in CleanUpFilesForDb() 97 db::DbHandle db{db_schema.db()}; in CleanUpFilesForPackage() local 102 void CleanUpFilesForPackage(const db::DbHandle& db, in CleanUpFilesForPackage()
|
D | models.h | 51 explicit DbHandle(sqlite3* db) in DbHandle() 92 static DbStatement Prepare(DbHandle db, const std::string& sql, Args&&... args) { in Prepare() 97 static DbStatement Prepare(DbHandle db, const char* sql, Args&&... args) { in Prepare() 113 DbStatement(DbHandle db, sqlite3_stmt* stmt) : db_(db), stmt_(stmt) { in DbStatement() 120 DbHandle db() { in db() function 301 static std::optional<int> Insert(DbHandle db, const std::string& sql, Args&&... args) { in Insert() 318 static bool Delete(DbHandle db, const std::string& sql, Args&&... args) { in Delete() 323 static bool Update(DbHandle db, const std::string& sql, Args&&... args) { in Update() 328 static bool ExecuteOnce(DbHandle db, const std::string& sql, Args&&... args) { in ExecuteOnce() 358 DbHandle db() const { in db() function [all …]
|
D | models.cc | 17 namespace iorap::db { namespace
|
D | file_models.cc | 29 namespace iorap::db { namespace 135 bool PerfettoTraceFileModel::NeedMorePerfettoTraces(DbHandle& db, in NeedMorePerfettoTraces() 148 void PerfettoTraceFileModel::DeleteOlderFiles(DbHandle& db, VersionedComponentName vcn) { in DeleteOlderFiles()
|
D | main.cc | 33 namespace iorap::db { namespace 176 DbHandle db = schema_model.db(); in Main() local
|
/system/security/keystore2/src/ |
D | key_parameter.rs | 1154 let db = init_db()?; in test_new_from_sql_enum_i32() localVariable 1173 let db = init_db()?; in test_new_from_sql_i32() localVariable 1185 let db = init_db()?; in test_new_from_sql_i64() localVariable 1207 let db = init_db()?; in test_new_from_sql_bool() localVariable 1219 let db = init_db()?; in test_new_from_sql_vec_u8() localVariable 1242 let db = init_db()?; in test_to_sql_enum_i32() localVariable 1258 let db = init_db()?; in test_to_sql_i32() localVariable 1271 let db = init_db()?; in test_to_sql_i64() localVariable 1288 let db = init_db()?; in test_to_sql_vec_u8() localVariable 1304 let db = init_db()?; in test_to_sql_bool() localVariable [all …]
|
D | database.rs | 848 let mut db = Self { conn, gc, perboot: perboot::PERBOOT_DB.clone() }; in new() localVariable 3246 let mut db = KeystoreDB { conn, gc: None, perboot: Arc::new(perboot::PerbootDB::new()) }; in new_test_db() localVariable 3319 let db = new_test_db()?; in test_tables() localVariable 3337 let mut db = new_test_db()?; in test_auth_token_table_invariant() localVariable 3395 let mut db = KeystoreDB::new(temp_dir.path(), None)?; in test_persistence_for_files() localVariable 3401 let db = KeystoreDB::new(temp_dir.path(), None)?; in test_persistence_for_files() localVariable 3414 let mut db = new_test_db()?; in test_create_key_entry() localVariable 3443 let mut db = new_test_db()?; in test_add_unsigned_key() localVariable 3461 let mut db = new_test_db()?; in test_store_signed_attestation_certificate_chain() localVariable 3479 let mut db = new_test_db()?; in test_get_attestation_pool_status() localVariable [all …]
|
D | remote_provisioning.rs | 290 let mut db = db.borrow_mut(); in generate_csr() localVariable 346 let mut db = db.borrow_mut(); in provision_cert_chain() localVariable 382 let mut db = db.borrow_mut(); in generate_key_pair() localVariable 401 let mut db = db.borrow_mut(); in delete_all_keys() localVariable 413 let mut db = db.borrow_mut(); in get_pool_status() localVariable
|
D | service.rs | 208 let mut db = db.borrow_mut(); in update_subcomponent() localVariable 298 let mut db = db.borrow_mut(); in list_entries() localVariable
|
D | gc.rs | 88 db: KeystoreDB, field
|
D | globals.rs | 59 let mut db = KeystoreDB::new(&db_path, Some(GC.clone())).expect("Failed to open database."); in create_thread_local_db() localVariable
|
D | security_level.rs | 158 let mut db = db.borrow_mut(); in store_new_key() localVariable 785 let mut db = db.borrow_mut(); in store_upgraded_keyblob() localVariable
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 46 let mut db = Self { in new() localVariable 309 let mut db = self.open_db().context("In get.")?; in get() localVariable 331 let mut db = self.open_db().context("In put.")?; in put() localVariable 337 let mut db = self.open_db().context("In remove.")?; in remove() localVariable 368 let mut db = self.open_db().context("In LegacyKeystore::delete_namespace.")?; in delete_namespace() localVariable 376 let mut db = self.open_db().context("In LegacyKeystore::delete_user.")?; in delete_user() localVariable 381 let mut db = self.open_db().context("In list.")?; in list() localVariable 429 let mut db = DB::new(&state.db_path).context("In open_db: Failed to open db.")?; in get_legacy() localVariable 538 let mut db = DB::new(&test_dir.build().push(LegacyKeystore::LEGACY_KEYSTORE_FILE_NAME)) in test_entry_db() localVariable 581 let mut db = DB::new(&test_dir.build().push(LegacyKeystore::LEGACY_KEYSTORE_FILE_NAME)) in test_delete_uid() localVariable [all …]
|
/system/iorap/src/maintenance/ |
D | controller.cc | 225 const db::DbHandle& db, in GetPerfettoTraceInfo() 281 bool CompileActivity(const db::DbHandle& db, in CompileActivity() 383 bool CompilePackage(const db::DbHandle& db, in CompilePackage() 415 bool CompileAppsOnDevice(const db::DbHandle& db, const ControllerParameters& params) { in CompileAppsOnDevice() 438 bool CompileSingleAppOnDevice(const db::DbHandle& db, in CompileSingleAppOnDevice() 454 db::DbHandle db{db_schema.db()}; in Compile() local 463 db::DbHandle db{db_schema.db()}; in Compile() local 473 db::DbHandle db{db_schema.db()}; in Compile() local 516 void DumpPackageActivity(const db::DbHandle& db, in DumpPackageActivity() 584 void DumpPackage(const db::DbHandle& db, in DumpPackage() [all …]
|
D | db_cleaner.cc | 37 void CleanUpDatabase(const db::DbHandle& db, in CleanUpDatabase()
|
/system/sepolicy/tests/ |
D | sepol_wrap.cpp | 35 policydb_t *db = static_cast<policydb_t *>(policydbp); in init_genfs_iter() local 54 policydb_t *db = static_cast<policydb_t *>(policydbp); in get_genfs() local 100 policydb_t *db = static_cast<policydb_t *>(policydbp); in init_type_iter() local 162 policydb_t *db = static_cast<policydb_t *>(policydbp); in get_type() local 194 policydb_t *db; in load_policy() local 268 static int get_avtab_allow_rule(char *out, size_t max_size, policydb_t *db, in get_avtab_allow_rule() 302 policydb_t *db = static_cast<policydb_t *>(policydbp); in get_allow_rule() local
|
/system/apex/apexd/ |
D | apex_database_test.cpp | 96 size_t CountPackages(const MountedApexDatabase& db) { in CountPackages() 104 bool Contains(const MountedApexDatabase& db, const std::string& package, in Contains() 120 bool ContainsPackage(const MountedApexDatabase& db, const std::string& package, in ContainsPackage() 143 MountedApexDatabase db; in TEST() local 169 MountedApexDatabase db; in TEST() local 212 MountedApexDatabase db; in TEST() local 230 MountedApexDatabase db; in TEST() local
|
D | apexd_test.cpp | 985 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 1026 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 1074 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 1127 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 1175 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 1219 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 1264 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 1908 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 1987 auto& db = GetApexDatabaseForTesting(); in TEST_F() local 2035 auto& db = GetApexDatabaseForTesting(); in TEST_F() local [all …]
|
/system/bt/stack/gatt/ |
D | gatt_db.cc | 54 void gatts_init_service_db(tGATT_SVC_DB& db, const Uuid& service_uuid, in gatts_init_service_db() 326 uint16_t gatts_add_included_service(tGATT_SVC_DB& db, uint16_t s_handle, in gatts_add_included_service() 365 uint16_t gatts_add_characteristic(tGATT_SVC_DB& db, tGATT_PERM perm, in gatts_add_characteristic() 397 tGATT_SVC_DB& db, uint16_t extended_properties) { in gatts_add_char_ext_prop_descr() 425 uint16_t gatts_add_char_descr(tGATT_SVC_DB& db, tGATT_PERM perm, in gatts_add_char_descr() 681 static tGATT_ATTR& allocate_attr_in_db(tGATT_SVC_DB& db, const Uuid& uuid, in allocate_attr_in_db()
|
/system/bt/stack/test/ |
D | stack_gatt_sr_hash_test.cc | 33 tGATT_SVC_DB* db, bool is_primary) { in add_item_to_list()
|
/system/bt/bta/test/gatt/ |
D | database_test.cc | 59 Database db = builder.Build(); in TEST() local 246 Database db = builder.Build(); in TEST() local
|
/system/iorap/src/manager/ |
D | event_manager.cc | 374 db::DbHandle db{db::SchemaModel::GetSingleton()}; in GetCompiledTrace() local 471 db::DbHandle db{db::SchemaModel::GetSingleton()}; in StartTracing() local 546 db::DbHandle db{db::SchemaModel::GetSingleton()}; in StartTracing() local 646 db::DbHandle db{db::SchemaModel::GetSingleton()}; in InsertDbLaunchHistory() local 698 db::DbHandle db{db::SchemaModel::GetSingleton()}; in UpdateReportFullyDrawn() local 1035 db::DbHandle db{db::SchemaModel::GetSingleton()}; in OnPackageChanged() local 1098 db::DbHandle db{db::SchemaModel::GetSingleton()}; in StartMaintenance() local 1268 db::DbHandle db{db::SchemaModel::GetSingleton()}; in PurgePackage() local 1289 db::DbHandle db{db::SchemaModel::GetSingleton()}; in CompilePackage() local
|
/system/sepolicy/tools/ |
D | version_policy.c | 30 static int read_cil_file(struct cil_db **db, char *path) { in read_cil_file()
|
D | check_seapp.c | 148 sepol_policydb_t *db; member 315 static type_datum_t *find_type(sepol_policydb_t *db, char *type, uint32_t flavor) { in find_type() 329 static bool type_has_attribute(sepol_policydb_t *db, type_datum_t *type_dat, in type_has_attribute()
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 195 DmaBuffer& db = dmabufs->emplace_back(inode, size, count, exporter, name); in ReadDmaBufFdRefs() local
|