Searched refs:target_mode (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/installd/ |
D | commands.cpp | 154 static int prepare_app_dir(const std::string& path, mode_t target_mode, uid_t uid) { in prepare_app_dir() argument 155 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, uid) != 0) { in prepare_app_dir() 162 static int prepare_app_dir(const std::string& parent, const char* name, mode_t target_mode, in prepare_app_dir() argument 164 return prepare_app_dir(StringPrintf("%s/%s", parent.c_str(), name), target_mode, uid); in prepare_app_dir() 170 mode_t target_mode = target_sdk_version >= MIN_RESTRICTED_HOME_SDK_VERSION ? 0700 : 0751; in create_app_data() local 173 if (prepare_app_dir(path, target_mode, uid) || in create_app_data() 195 if (prepare_app_dir(path, target_mode, uid)) { in create_app_data()
|