Lines Matching refs:commandPath
700 static IncFsErrorCode makeDir(const char* commandPath, int32_t mode, bool allowExisting) { in makeDir() argument
701 if (!::mkdir(commandPath, mode)) { in makeDir()
702 if (::chmod(commandPath, mode)) { in makeDir()
711 static IncFsErrorCode makeDirs(std::string_view commandPath, std::string_view path, in makeDirs() argument
713 auto commandCPath = android::incfs::details::c_str(commandPath); in makeDirs()
723 const auto parent = android::incfs::path::dirName(commandPath); in makeDirs()
744 auto commandPath = makeCommandPath(root, path); in IncFs_MakeDir() local
745 if (commandPath.empty()) { in IncFs_MakeDir()
749 if (auto res = makeDir(commandPath.c_str(), mode, false)) { in IncFs_MakeDir()
750 LOG(ERROR) << __func__ << "(): mkdir failed for " << commandPath << " - " << res; in IncFs_MakeDir()
765 auto commandPath = makeCommandPath(root, path); in IncFs_MakeDirs() local
766 if (commandPath.empty()) { in IncFs_MakeDirs()
770 return makeDirs(commandPath, path, root, mode); in IncFs_MakeDirs()