Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.cpp1216 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode, in prepare_app_cache_dir() argument
1223 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, gid) != 0) { in prepare_app_cache_dir()
1241 } else if (st.st_gid == gid && actual_mode == target_mode) { in prepare_app_cache_dir()
1247 << "/" << actual_mode << " but expected " << gid << "/" << target_mode; in prepare_app_cache_dir()
1262 if (chmod(p->fts_path, target_mode) != 0) { in prepare_app_cache_dir()
Dutils.h171 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode,
DInstalldNativeService.cpp603 static int prepare_app_dir(const std::string& path, mode_t target_mode, uid_t uid, gid_t gid, in prepare_app_dir() argument
607 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, gid) != 0) { in prepare_app_dir()
619 static int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode, in prepare_app_cache_dir() argument
625 ret = prepare_app_cache_dir(parent, name, target_mode, uid, gid); in prepare_app_cache_dir()