Home
last modified time | relevance | path

Searched refs:kIdmapCacheDir (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/cmds/idmap2/idmap2d/
H A DIdmap2Service.cpp53 using android::idmap2::utils::kIdmapCacheDir;
85 *_aidl_return = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in getIdmapPath()
94 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in removeIdmap()
115 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in verifyIdmap()
161 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in createIdmap()
251 path = StringPrintf("%s/%s", kIdmapCacheDir, file_name.c_str()); in createFabricatedOverlay()
304 frro_iter_ = std::filesystem::directory_iterator(kIdmapCacheDir); in acquireFabricatedOverlayIterator()
361 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in deleteFabricatedOverlay()
386 const auto idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in dumpIdmap()
/aosp12/frameworks/base/cmds/idmap2/idmap2/
H A DCreateMultiple.cpp46 using android::idmap2::utils::kIdmapCacheDir;
54 std::string idmap_dir = kIdmapCacheDir; in CreateMultiple()
70 kIdmapCacheDir), in CreateMultiple()
/aosp12/frameworks/base/cmds/idmap2/tests/
H A DFileUtilsTests.cpp30 const std::string cache_path(base::StringPrintf("%s/test@idmap", kIdmapCacheDir)); in TEST()
31 const std::string sneaky_cache_path(base::StringPrintf("/data/../%s/test@idmap", kIdmapCacheDir)); in TEST()
/aosp12/frameworks/base/cmds/idmap2/libidmap2/
H A DFileUtils.cpp36 const std::string cache_subdir = base::StringPrintf("%s/", kIdmapCacheDir); in UidHasWriteAccessToPath()
37 if (canonical_path == kIdmapCacheDir || in UidHasWriteAccessToPath()
/aosp12/frameworks/base/cmds/idmap2/include/idmap2/
H A DFileUtils.h25 constexpr const char* kIdmapCacheDir = "/data/resource-cache"; variable