Searched refs:target_mode (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/installd/ |
D | utils.cpp | 999 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode, in prepare_app_cache_dir() argument 1006 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, gid) != 0) { in prepare_app_cache_dir() 1024 } else if (st.st_gid == gid && actual_mode == target_mode) { in prepare_app_cache_dir() 1030 << "/" << actual_mode << " but expected " << gid << "/" << target_mode; in prepare_app_cache_dir() 1045 if (chmod(p->fts_path, target_mode) != 0) { in prepare_app_cache_dir()
|
D | utils.h | 150 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode,
|
D | InstalldNativeService.cpp | 364 static int prepare_app_dir(const std::string& path, mode_t target_mode, uid_t uid) { in prepare_app_dir() argument 365 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, uid) != 0) { in prepare_app_dir()
|