Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.cpp996 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode, in prepare_app_cache_dir() argument
1003 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, gid) != 0) { in prepare_app_cache_dir()
1021 } else if (st.st_gid == gid && actual_mode == target_mode) { in prepare_app_cache_dir()
1027 << "/" << actual_mode << " but expected " << gid << "/" << target_mode; in prepare_app_cache_dir()
1042 if (chmod(p->fts_path, target_mode) != 0) { in prepare_app_cache_dir()
Dutils.h150 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode,
DInstalldNativeService.cpp356 static int prepare_app_dir(const std::string& path, mode_t target_mode, uid_t uid) { in prepare_app_dir() argument
357 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, uid) != 0) { in prepare_app_dir()