Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/libidmap2/
DFileUtils.cpp33 std::string canonical_path; in UidHasWriteAccessToPath() local
34 if (!base::Realpath(base::Dirname(path), &canonical_path)) { in UidHasWriteAccessToPath()
38 if (base::StartsWith(canonical_path, kIdmapCacheDir) && in UidHasWriteAccessToPath()
39 (canonical_path.size() == kIdmapCacheDir.size() || in UidHasWriteAccessToPath()
40 canonical_path[kIdmapCacheDir.size()] == '/')) { in UidHasWriteAccessToPath()