Home
last modified time | relevance | path

Searched refs:PackageModel (Results 1 – 4 of 4) sorted by relevance

/system/iorap/src/db/
Dclean_up.cc76 std::optional<PackageModel> package = in CleanUpFilesForPackage()
77 PackageModel::SelectByNameAndVersion(db, package_name.c_str(), version); in CleanUpFilesForPackage()
88 std::vector<db::PackageModel> packages = db::PackageModel::SelectAll(db); in CleanUpFilesForDb()
89 for (db::PackageModel package : packages) { in CleanUpFilesForDb()
104 std::vector<PackageModel> packages = PackageModel::SelectByName(db, package_name.c_str());; in CleanUpFilesForPackage()
106 for (PackageModel& package : packages) { in CleanUpFilesForPackage()
Dmodels.h569 class PackageModel : public Model {
571 PackageModel(DbHandle db) : Model{db} { in PackageModel() function
575 static std::optional<PackageModel> SelectById(DbHandle db, int id) { in SelectById()
582 PackageModel p{db}; in SelectById()
590 static std::vector<PackageModel> SelectByName(DbHandle db, const char* name) { in SelectByName()
596 std::vector<PackageModel> packages; in SelectByName()
598 PackageModel p{db}; in SelectByName()
606 static std::optional<PackageModel> SelectByNameAndVersion(DbHandle db, in SelectByNameAndVersion()
615 PackageModel p{db}; in SelectByNameAndVersion()
623 static std::vector<PackageModel> SelectAll(DbHandle db) { in SelectAll()
[all …]
/system/iorap/src/maintenance/
Ddb_cleaner.cc39 std::vector<db::PackageModel> packages = db::PackageModel::SelectAll(db); in CleanUpDatabase()
45 for (db::PackageModel package : packages) { in CleanUpDatabase()
Dcontroller.cc391 std::optional<db::PackageModel> package = in CompilePackage()
392 db::PackageModel::SelectByNameAndVersion(db, package_name.c_str(), version); in CompilePackage()
421 std::vector<db::PackageModel> packages = db::PackageModel::SelectAll(db); in CompileAppsOnDevice()
423 for (db::PackageModel package : packages) { in CompileAppsOnDevice()
441 std::vector<db::PackageModel> packages = db::PackageModel::SelectByName(db, package_name.c_str()); in CompileSingleAppOnDevice()
443 for (db::PackageModel package : packages) { in CompileSingleAppOnDevice()
475 std::optional<db::PackageModel> package = in Compile()
476 db::PackageModel::SelectByNameAndVersion(db, package_name.c_str(), version); in Compile()
518 const db::PackageModel& package, in DumpPackageActivity()
586 db::PackageModel package) { in DumpPackage()
[all …]