Home
last modified time | relevance | path

Searched refs:package_id (Results 1 – 7 of 7) sorted by relevance

/system/iorap/src/db/
Dmodels.h690 if (!DbQueryBuilder::SelectOnce(stmt, p.id, p.name, p.package_id)) { in SelectById()
699 int package_id) { in SelectByNameAndPackageId() argument
703 DbStatement stmt = DbStatement::Prepare(db, query, name, package_id); in SelectByNameAndPackageId()
706 if (!DbQueryBuilder::SelectOnce(stmt, p.id, p.name, p.package_id)) { in SelectByNameAndPackageId()
714 int package_id) { in SelectByPackageId() argument
718 DbStatement stmt = DbStatement::Prepare(db, query, package_id); in SelectByPackageId()
722 while (DbQueryBuilder::SelectOnce(stmt, p.id, p.name, p.package_id)) { in SelectByPackageId()
731 int package_id) { in Insert() argument
735 DbQueryBuilder::Insert(db, sql, name, package_id); in Insert()
743 p.package_id = package_id; in Insert()
[all …]
Dclean_up.h35 int package_id,
Dclean_up.cc59 int package_id, in CleanUpFilesForPackage() argument
65 db::ActivityModel::SelectByPackageId(db, package_id); in CleanUpFilesForPackage()
/system/apex/apexd/
Dapex_database.cpp115 auto package_id = fs::path(mount_point).filename(); in ParseMountPoint() local
116 auto split = Split(package_id, "@"); in ParseMountPoint()
124 return std::make_pair(package_id, -1); in ParseMountPoint()
Dapexservice_test.cpp503 Result<std::string> GetBlockDeviceForApex(const std::string& package_id) { in GetBlockDeviceForApex() argument
504 std::string mount_point = std::string(kApexRoot) + "/" + package_id; in GetBlockDeviceForApex()
1183 std::string package_id = in TEST_F() local
1187 ASSERT_TRUE(dm.GetDmDevicePathByName(package_id, &dm_path)) in TEST_F()
1188 << "Failed to get path of dm device " << package_id; in TEST_F()
1196 std::string expected_mount = std::string(kApexRoot) + "/" + package_id; in TEST_F()
1198 ASSERT_EQ(package_id, mounted_apex->device_name); in TEST_F()
1225 std::string package_id = in TEST_F() local
1230 std::string(kApexHashTreeDir) + "/" + package_id; in TEST_F()
1237 auto block_device = GetBlockDeviceForApex(package_id); in TEST_F()
[all …]
Dapexd.cpp594 const std::string& package_id = GetPackageId(apex.GetManifest()); in VerifyAndTempMountPackage() local
595 LOG(DEBUG) << "Temp mounting " << package_id << " to " << mount_point; in VerifyAndTempMountPackage()
596 const std::string& temp_device_name = package_id + ".tmp"; in VerifyAndTempMountPackage()
/system/iorap/src/maintenance/
Dcontroller.cc282 int package_id, in CompileActivity() argument
315 db::ActivityModel::SelectByNameAndPackageId(db, activity_name.c_str(), package_id); in CompileActivity()
317 LOG(ERROR) << "Cannot find activity for package_id: " << package_id in CompileActivity()
343 LOG(DEBUG) << "Try to compiled package_id: " << package_id in CompileActivity()
366 LOG(ERROR) << "Compilation failed for package_id:" << package_id in CompileActivity()
520 int package_id = package.id; in DumpPackageActivity() local