Lines Matching refs:volume_uuid

75 std::string create_data_app_package_path(const char* volume_uuid,  in create_data_app_package_path()  argument
79 create_data_app_path(volume_uuid).c_str(), package_name); in create_data_app_package_path()
87 std::string create_data_user_ce_package_path(const char* volume_uuid, in create_data_user_ce_package_path() argument
91 create_data_user_ce_path(volume_uuid, user).c_str(), package_name); in create_data_user_ce_package_path()
102 const char* volume_uuid, userid_t userid, const char* package_name) { in create_data_user_ce_package_path_as_user_link() argument
104 std::string data(create_data_path(volume_uuid)); in create_data_user_ce_package_path_as_user_link()
108 std::string create_data_user_ce_package_path(const char* volume_uuid, userid_t user, in create_data_user_ce_package_path() argument
112 auto fallback = create_data_user_ce_package_path(volume_uuid, user, package_name); in create_data_user_ce_package_path()
114 auto user_path = create_data_user_ce_path(volume_uuid, user); in create_data_user_ce_package_path()
143 std::string create_data_user_de_package_path(const char* volume_uuid, in create_data_user_de_package_path() argument
147 create_data_user_de_path(volume_uuid, user).c_str(), package_name); in create_data_user_de_package_path()
150 std::string create_data_path(const char* volume_uuid) { in create_data_path() argument
151 if (volume_uuid == nullptr) { in create_data_path()
153 } else if (!strcmp(volume_uuid, "TEST")) { in create_data_path()
157 CHECK(is_valid_filename(volume_uuid)); in create_data_path()
158 return StringPrintf("/mnt/expand/%s", volume_uuid); in create_data_path()
165 std::string create_data_app_path(const char* volume_uuid) { in create_data_app_path() argument
166 return StringPrintf("%s/app", create_data_path(volume_uuid).c_str()); in create_data_app_path()
173 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid) { in create_data_user_ce_path() argument
174 std::string data(create_data_path(volume_uuid)); in create_data_user_ce_path()
175 if (volume_uuid == nullptr && userid == 0) { in create_data_user_ce_path()
189 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid) { in create_data_user_de_path() argument
190 std::string data(create_data_path(volume_uuid)); in create_data_user_de_path()
197 std::string create_data_media_path(const char* volume_uuid, userid_t userid) { in create_data_media_path() argument
198 return StringPrintf("%s/media/%u", create_data_path(volume_uuid).c_str(), userid); in create_data_media_path()
201 std::string create_data_media_obb_path(const char* volume_uuid, const char* package_name) { in create_data_media_obb_path() argument
202 return StringPrintf("%s/media/obb/%s", create_data_path(volume_uuid).c_str(), package_name); in create_data_media_obb_path()
205 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, in create_data_media_package_path() argument
207 return StringPrintf("%s/Android/%s/%s", create_data_media_path(volume_uuid, userid).c_str(), in create_data_media_package_path()
305 std::vector<userid_t> get_known_users(const char* volume_uuid) { in get_known_users() argument
311 std::string path(create_data_path(volume_uuid) + "/" + SECONDARY_USER_PREFIX); in get_known_users()
816 const char* volume_uuid, int uid, int storage_flag) { in validate_secondary_dex_path() argument
833 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()) in validate_secondary_dex_path()
835 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
841 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()