Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_database.h37 struct MountedApexData { struct
50 MountedApexData() {} in MountedApexData() argument
51 MountedApexData(const std::string& loop_name, const std::string& full_path,
63 inline bool operator<(const MountedApexData& rhs) const { argument
99 mounted_apexes_.emplace(package, std::map<MountedApexData, bool>()); in AddMountedApexLocked()
105 MountedApexData(std::forward<Args>(args)...), latest); in AddMountedApexLocked()
201 inline std::optional<MountedApexData> GetLatestMountedApex( in GetLatestMountedApex()
203 std::optional<MountedApexData> ret; in GetLatestMountedApex()
205 [&ret](const MountedApexData& data, bool latest) { in GetLatestMountedApex()
230 std::map<std::string, std::map<MountedApexData, bool>> mounted_apexes_
Dapex_database.cpp55 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
135 MountedApexData* apex_data) { in PopulateLoopInfo()
186 void NormalizeIfDeleted(MountedApexData* apex_data) { in NormalizeIfDeleted()
201 Result<MountedApexData> ResolveMountInfo( in ResolveMountInfo()
213 auto result = MountedApexData(block.DevPath(), *backing_file, mount_point, in ResolveMountInfo()
225 MountedApexData result; in ResolveMountInfo()
Dapex_database_test.cpp29 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
57 MountedApexData data[kCount]; in TEST()
63 MountedApexData(kLoopName[loop_idx], kPath[path_idx], kMount[mount_idx], in TEST()
99 const MountedApexData& b ATTRIBUTE_UNUSED, in CountPackages()
109 db.ForallMountedApexes([&](const std::string& p, const MountedApexData& d, in Contains()
126 package, [&](const MountedApexData& d, bool b ATTRIBUTE_UNUSED) { in ContainsPackage()
219 MountedApexData expected(kLoopName, kPath, kMountPoint, kDeviceName, in TEST()
Dapexd_test.cpp44 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
988 "test.apex.rebootless", [&](const MountedApexData& data, bool latest) { in TEST_F()
1029 "test.apex.rebootless", [&](const MountedApexData& data, bool latest) { in TEST_F()
1077 "test.apex.rebootless", [&](const MountedApexData& data, bool latest) { in TEST_F()
1130 "test.apex.rebootless", [&](const MountedApexData& data, bool latest) { in TEST_F()
1178 "test.apex.rebootless", [&](const MountedApexData& data, bool latest) { in TEST_F()
1222 [&](const MountedApexData& data, bool latest) { in TEST_F()
1266 "test.apex.rebootless", [&](const MountedApexData& data, bool latest) { in TEST_F()
1912 [&](const MountedApexData& data, bool latest) { in TEST_F()
1991 [&](const MountedApexData& data, bool latest) { in TEST_F()
[all …]
Dapexd_private.h43 android::base::Result<MountedApexDatabase::MountedApexData>
Dapexd.h64 const MountedApexDatabase::MountedApexData& data, bool deferred);
167 android::base::Result<MountedApexDatabase::MountedApexData>
Dapexd_prepostinstall.cpp53 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
Dapexd.cpp112 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
423 Result<MountedApexData> MountPackageImpl(const ApexFile& apex, in MountPackageImpl()
494 MountedApexData apex_data(loopback_device.name, apex.GetPath(), mount_point, in MountPackageImpl()
592 Result<MountedApexData> VerifyAndTempMountPackage( in VerifyAndTempMountPackage()
620 Result<void> Unmount(const MountedApexData& data, bool deferred) { in Unmount()
675 Result<MountedApexData> mount_status = in RunVerifyFnInsideTempMount()
732 Result<MountedApexData> mount_data = in PrePostinstallPackages()
1001 std::optional<MountedApexData> data; in UnmountPackage()
1004 auto fn = [&](const MountedApexData& d, bool l) { in UnmountPackage()
1066 Result<MountedApexData> data = in UnmountTempMount()
[all …]
Dapexservice_test.cpp96 using MountedApexData = MountedApexDatabase::MountedApexData; typedef
1171 std::optional<MountedApexData> mounted_apex; in TEST_F()
1173 [&](const MountedApexData& d, bool active) { in TEST_F()
1298 std::optional<MountedApexData> mounted_apex; in TEST_F()
1300 [&](const MountedApexData& d, bool active) { in TEST_F()