Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_database.h33 struct MountedApexData { struct
44 MountedApexData() {} in MountedApexData() argument
45 MountedApexData(const std::string& loop_name, const std::string& full_path, in MountedApexData() function
55 inline bool operator<(const MountedApexData& rhs) const {
123 mounted_apexes_.emplace(package, std::map<MountedApexData, bool>()); in AddMountedApex()
129 MountedApexData(std::forward<Args>(args)...), latest); in AddMountedApex()
216 std::map<std::string, std::map<MountedApexData, bool>> mounted_apexes_;
Dapex_database.cpp52 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
129 MountedApexData* apex_data) { in PopulateLoopInfo()
176 void NormalizeIfDeleted(MountedApexData* apex_data) { in NormalizeIfDeleted()
191 Result<MountedApexData> resolveMountInfo(const BlockDevice& block, in resolveMountInfo()
200 auto result = MountedApexData(block.DevPath(), *backingFile, mountPoint, in resolveMountInfo()
211 MountedApexData result; in resolveMountInfo()
Dapexd_private.h41 android::base::Result<MountedApexDatabase::MountedApexData> TempMountPackage(
44 const MountedApexDatabase::MountedApexData& data);
Dapex_database_test.cpp29 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
56 MountedApexData data[kCount]; in TEST()
62 MountedApexData(kLoopName[loop_idx], kPath[path_idx], kMount[mount_idx], in TEST()
98 const MountedApexData& b ATTRIBUTE_UNUSED, in CountPackages()
108 db.ForallMountedApexes([&](const std::string& p, const MountedApexData& d, in Contains()
125 package, [&](const MountedApexData& d, bool b ATTRIBUTE_UNUSED) { in ContainsPackage()
Dapexd_prepostinstall.cpp51 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
81 std::vector<MountedApexData> mounted_apexes; in StageFnInstall()
Dapexd.cpp99 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
360 Result<MountedApexData> MountPackageImpl(const ApexFile& apex, in MountPackageImpl()
414 MountedApexData apex_data(loopbackDevice.name, apex.GetPath(), mountPoint, in MountPackageImpl()
503 Result<MountedApexData> VerifyAndTempMountPackage( in VerifyAndTempMountPackage()
520 Result<void> Unmount(const MountedApexData& data) { in Unmount()
565 Result<MountedApexData> mount_status = in RunVerifyFnInsideTempMount()
849 std::optional<MountedApexData> data; in UnmountPackage()
852 auto fn = [&](const MountedApexData& d, bool l) { in UnmountPackage()
901 Result<MountedApexData> TempMountPackage(const ApexFile& apex, in TempMountPackage()
907 Result<void> Unmount(const MountedApexData& data) { in Unmount()
[all …]
Dapexservice_test.cpp93 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
1145 std::optional<MountedApexData> mounted_apex; in TEST_F()
1147 [&](const MountedApexData& d, bool active) { in TEST_F()
1271 std::optional<MountedApexData> mounted_apex; in TEST_F()
1273 [&](const MountedApexData& d, bool active) { in TEST_F()