Searched refs:ActivityModel (Results 1 – 5 of 5) sorted by relevance
/system/iorap/src/db/ |
D | clean_up.cc | 64 std::vector<db::ActivityModel> activities = in CleanUpFilesForPackage() 65 db::ActivityModel::SelectByPackageId(db, package_id); in CleanUpFilesForPackage() 67 for (db::ActivityModel activity : activities) { in CleanUpFilesForPackage()
|
D | main.cc | 188 std::optional<ActivityModel> activity = in Main() 189 ActivityModel::SelectOrInsert(db, in Main() 206 std::optional<ActivityModel> activity = in Main() 207 ActivityModel::SelectOrInsert(db, in Main()
|
D | models.h | 676 class ActivityModel : public Model { 678 ActivityModel(DbHandle db) : Model{db} { in ActivityModel() function 682 static std::optional<ActivityModel> SelectById(DbHandle db, int id) { in SelectById() 689 ActivityModel p{db}; in SelectById() 697 static std::optional<ActivityModel> SelectByNameAndPackageId(DbHandle db, in SelectByNameAndPackageId() 705 ActivityModel p{db}; in SelectByNameAndPackageId() 713 static std::vector<ActivityModel> SelectByPackageId(DbHandle db, in SelectByPackageId() 720 std::vector<ActivityModel> activities; in SelectByPackageId() 721 ActivityModel p{db}; in SelectByPackageId() 729 static std::optional<ActivityModel> Insert(DbHandle db, in Insert() [all …]
|
/system/iorap/src/maintenance/ |
D | controller.cc | 314 std::optional<db::ActivityModel> activity = in CompileActivity() 315 db::ActivityModel::SelectByNameAndPackageId(db, activity_name.c_str(), package_id); in CompileActivity() 402 std::vector<db::ActivityModel> activities = in CompilePackage() 403 db::ActivityModel::SelectByPackageId(db, package->id); in CompilePackage() 406 for (db::ActivityModel activity : activities) { in CompilePackage() 519 const db::ActivityModel& activity) { in DumpPackageActivity() 587 std::vector<db::ActivityModel> activities = in DumpPackage() 588 db::ActivityModel::SelectByPackageId(db, package.id); in DumpPackage() 590 for (db::ActivityModel& activity : activities) { in DumpPackage()
|
/system/iorap/src/manager/ |
D | event_manager.cc | 656 std::optional<ActivityModel> activity = in InsertDbLaunchHistory() 657 ActivityModel::SelectOrInsert(db, in InsertDbLaunchHistory()
|