Home
last modified time | relevance | path

Searched refs:DbHandle (Results 1 – 12 of 12) sorted by relevance

/system/iorap/src/db/
Dclean_up.h30 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,
Dmodels.h48 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 …]
Dclean_up.cc33 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()
Dfile_models.h88 class DbHandle; variable
101 static void DeleteOlderFiles(DbHandle& db, VersionedComponentName vcn);
102 static bool NeedMorePerfettoTraces(DbHandle& db, VersionedComponentName vcn);
Dmodels.cc19 std::optional<DbHandle> SchemaModel::s_singleton_;
Dfile_models.cc135 bool PerfettoTraceFileModel::NeedMorePerfettoTraces(DbHandle& db, in NeedMorePerfettoTraces()
148 void PerfettoTraceFileModel::DeleteOlderFiles(DbHandle& db, VersionedComponentName vcn) { in DeleteOlderFiles()
Dmain.cc176 DbHandle db = schema_model.db(); in Main()
/system/iorap/src/maintenance/
Dcontroller.h106 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);
Dcontroller.cc225 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 …]
Ddb_cleaner.h30 void CleanUpDatabase(const db::DbHandle& db,
Ddb_cleaner.cc37 void CleanUpDatabase(const db::DbHandle& db, in CleanUpDatabase()
/system/iorap/src/manager/
Devent_manager.cc374 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()