Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.cpp999 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()
Dutils.h150 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode,
DInstalldNativeService.cpp364 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()