Home
last modified time | relevance | path

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

/system/core/run-as/
Drun-as.cpp112 char subpath[PATH_MAX]; in check_data_path() local
121 if (nn >= (int)(sizeof subpath)) { in check_data_path()
134 memcpy(subpath, data_path, nn); in check_data_path()
135 subpath[nn] = '\0'; in check_data_path()
137 check_directory(subpath, AID_SYSTEM); in check_data_path()
/system/incremental_delivery/incfs/
Dincfs.cpp327 auto [itemRoot, subpath] = registry().rootAndSubpathFor(item); in makeCommandPath()
332 return android::incfs::path::join(itemRoot, subpath); in makeCommandPath()
659 auto [root, subpath] = registry().rootAndSubpathFor(path); in IncFs_MakeFile()
670 const auto [subdir, name] = android::incfs::path::splitDirBase(subpath); in IncFs_MakeFile()
693 if (::chmod(android::incfs::path::join(root, subpath).c_str(), mode)) { in IncFs_MakeFile()
1153 auto [sourceRoot, subpath] = registry().rootAndSubpathFor(sourceDir); in IncFs_BindMount()
1157 if (subpath.empty()) { in IncFs_BindMount()
DMountRegistry.cpp249 auto [root, subpath] = mMounts.rootAndSubpathFor(path); in rootAndSubpathFor()
250 return {std::string(root), std::move(subpath)}; in rootAndSubpathFor()