• Home
  • Raw
  • Download

Lines Matching refs:userid

135         const char* volume_uuid, userid_t userid, const char* package_name) {  in create_data_user_ce_package_path_as_user_link()  argument
138 return StringPrintf("%s/user/%u/%s", data.c_str(), userid, package_name); in create_data_user_ce_package_path_as_user_link()
180 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid) { in create_data_user_ce_path() argument
182 if (volume_uuid == nullptr && userid == 0) { in create_data_user_ce_path()
190 return StringPrintf("%s/user/%u", data.c_str(), userid); in create_data_user_ce_path()
196 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid) { in create_data_user_de_path() argument
198 return StringPrintf("%s/user_de/%u", data.c_str(), userid); in create_data_user_de_path()
283 std::string create_data_media_path(const char* volume_uuid, userid_t userid) { in create_data_media_path() argument
284 return StringPrintf("%s/media/%u", create_data_path(volume_uuid).c_str(), userid); in create_data_media_path()
287 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, in create_data_media_package_path() argument
289 return StringPrintf("%s/Android/%s/%s", create_data_media_path(volume_uuid, userid).c_str(), in create_data_media_package_path()
293 std::string create_data_misc_legacy_path(userid_t userid) { in create_data_misc_legacy_path() argument
294 return StringPrintf("%s/misc/user/%u", create_data_path(nullptr).c_str(), userid); in create_data_misc_legacy_path()
297 std::string create_primary_cur_profile_dir_path(userid_t userid) { in create_primary_cur_profile_dir_path() argument
298 return StringPrintf("%s/cur/%u", android_profiles_dir.c_str(), userid); in create_primary_cur_profile_dir_path()
1162 int ensure_config_user_dirs(userid_t userid) { in ensure_config_user_dirs() argument
1164 const int uid = multiuser_get_uid(userid, AID_SYSTEM); in ensure_config_user_dirs()
1165 const int gid = multiuser_get_uid(userid, AID_EVERYBODY); in ensure_config_user_dirs()
1168 auto path = create_data_misc_legacy_path(userid); in ensure_config_user_dirs()