Searched refs:DbHandle (Results 1 – 12 of 12) sorted by relevance
/system/iorap/src/db/ |
D | clean_up.h | 30 void CleanUpFilesForDb(const db::DbHandle& db); 34 void CleanUpFilesForPackage(const db::DbHandle& db, 44 void CleanUpFilesForPackage(const db::DbHandle& db, 49 void CleanUpFilesForPackage(const db::DbHandle& db,
|
D | models.h | 48 class DbHandle { 51 explicit DbHandle(sqlite3* db) in DbHandle() function 79 ScopedLockDb(DbHandle& handle) : ScopedLockDb(handle.mutex()) { in ScopedLockDb() 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() 269 other.db_ = DbHandle{nullptr}; 290 DbHandle db_; 301 static std::optional<int> Insert(DbHandle db, const std::string& sql, Args&&... args) { in Insert() [all …]
|
D | clean_up.cc | 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() 102 void CleanUpFilesForPackage(const db::DbHandle& db, in CleanUpFilesForPackage()
|
D | file_models.h | 88 class DbHandle; variable 101 static void DeleteOlderFiles(DbHandle& db, VersionedComponentName vcn); 102 static bool NeedMorePerfettoTraces(DbHandle& db, VersionedComponentName vcn);
|
D | models.cc | 19 std::optional<DbHandle> SchemaModel::s_singleton_;
|
D | file_models.cc | 135 bool PerfettoTraceFileModel::NeedMorePerfettoTraces(DbHandle& db, in NeedMorePerfettoTraces() 148 void PerfettoTraceFileModel::DeleteOlderFiles(DbHandle& db, VersionedComponentName vcn) { in DeleteOlderFiles()
|
D | main.cc | 176 DbHandle db = schema_model.db(); in Main()
|
/system/iorap/src/maintenance/ |
D | controller.h | 106 bool CompileAppsOnDevice(const db::DbHandle& db, const ControllerParameters& params); 108 bool CompileSingleAppOnDevice(const db::DbHandle& db, 112 void Dump(const db::DbHandle& db, ::android::Printer& printer);
|
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() 463 db::DbHandle db{db_schema.db()}; in Compile() 473 db::DbHandle db{db_schema.db()}; in Compile() 516 void DumpPackageActivity(const db::DbHandle& db, in DumpPackageActivity() 584 void DumpPackage(const db::DbHandle& db, in DumpPackage() [all …]
|
D | db_cleaner.h | 30 void CleanUpDatabase(const db::DbHandle& db,
|
D | db_cleaner.cc | 37 void CleanUpDatabase(const db::DbHandle& db, in CleanUpDatabase()
|
/system/iorap/src/manager/ |
D | event_manager.cc | 374 db::DbHandle db{db::SchemaModel::GetSingleton()}; in GetCompiledTrace() 471 db::DbHandle db{db::SchemaModel::GetSingleton()}; in StartTracing() 546 db::DbHandle db{db::SchemaModel::GetSingleton()}; in StartTracing() 646 db::DbHandle db{db::SchemaModel::GetSingleton()}; in InsertDbLaunchHistory() 698 db::DbHandle db{db::SchemaModel::GetSingleton()}; in UpdateReportFullyDrawn() 1035 db::DbHandle db{db::SchemaModel::GetSingleton()}; in OnPackageChanged() 1098 db::DbHandle db{db::SchemaModel::GetSingleton()}; in StartMaintenance() 1268 db::DbHandle db{db::SchemaModel::GetSingleton()}; in PurgePackage() 1289 db::DbHandle db{db::SchemaModel::GetSingleton()}; in CompilePackage()
|