Lines Matching refs:volume_uuid

110 std::string create_data_app_package_path(const char* volume_uuid,  in create_data_app_package_path()  argument
114 create_data_app_path(volume_uuid).c_str(), package_name); in create_data_app_package_path()
122 std::string create_data_user_ce_package_path(const char* volume_uuid, in create_data_user_ce_package_path() argument
126 create_data_user_ce_path(volume_uuid, user).c_str(), package_name); in create_data_user_ce_package_path()
137 const char* volume_uuid, userid_t userid, const char* package_name) { in create_data_user_ce_package_path_as_user_link() argument
139 std::string data(create_data_path(volume_uuid)); in create_data_user_ce_package_path_as_user_link()
143 std::string create_data_user_ce_package_path(const char* volume_uuid, userid_t user, in create_data_user_ce_package_path() argument
147 auto fallback = create_data_user_ce_package_path(volume_uuid, user, package_name); in create_data_user_ce_package_path()
148 auto user_path = create_data_user_ce_path(volume_uuid, user); in create_data_user_ce_package_path()
152 std::string create_data_user_de_package_path(const char* volume_uuid, in create_data_user_de_package_path() argument
156 create_data_user_de_path(volume_uuid, user).c_str(), package_name); in create_data_user_de_package_path()
159 std::string create_data_path(const char* volume_uuid) { in create_data_path() argument
160 if (volume_uuid == nullptr) { in create_data_path()
162 } else if (!strcmp(volume_uuid, "TEST")) { in create_data_path()
166 CHECK(is_valid_filename(volume_uuid)); in create_data_path()
167 return StringPrintf("/mnt/expand/%s", volume_uuid); in create_data_path()
174 std::string create_data_app_path(const char* volume_uuid) { in create_data_app_path() argument
175 return StringPrintf("%s/app", create_data_path(volume_uuid).c_str()); in create_data_app_path()
182 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid) { in create_data_user_ce_path() argument
183 std::string data(create_data_path(volume_uuid)); in create_data_user_ce_path()
184 if (volume_uuid == nullptr && userid == 0) { in create_data_user_ce_path()
198 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid) { in create_data_user_de_path() argument
199 std::string data(create_data_path(volume_uuid)); in create_data_user_de_path()
203 std::string create_data_misc_ce_rollback_base_path(const char* volume_uuid, userid_t user) { in create_data_misc_ce_rollback_base_path() argument
204 return StringPrintf("%s/misc_ce/%u/rollback", create_data_path(volume_uuid).c_str(), user); in create_data_misc_ce_rollback_base_path()
207 std::string create_data_misc_de_rollback_base_path(const char* volume_uuid, userid_t user) { in create_data_misc_de_rollback_base_path() argument
208 return StringPrintf("%s/misc_de/%u/rollback", create_data_path(volume_uuid).c_str(), user); in create_data_misc_de_rollback_base_path()
211 std::string create_data_misc_ce_rollback_path(const char* volume_uuid, userid_t user, in create_data_misc_ce_rollback_path() argument
213 return StringPrintf("%s/%d", create_data_misc_ce_rollback_base_path(volume_uuid, user).c_str(), in create_data_misc_ce_rollback_path()
217 std::string create_data_misc_de_rollback_path(const char* volume_uuid, userid_t user, in create_data_misc_de_rollback_path() argument
219 return StringPrintf("%s/%d", create_data_misc_de_rollback_base_path(volume_uuid, user).c_str(), in create_data_misc_de_rollback_path()
223 std::string create_data_misc_ce_rollback_package_path(const char* volume_uuid, in create_data_misc_ce_rollback_package_path() argument
226 create_data_misc_ce_rollback_path(volume_uuid, user, snapshot_id).c_str(), package_name); in create_data_misc_ce_rollback_package_path()
229 std::string create_data_misc_ce_rollback_package_path(const char* volume_uuid, in create_data_misc_ce_rollback_package_path() argument
231 auto fallback = create_data_misc_ce_rollback_package_path(volume_uuid, user, snapshot_id, in create_data_misc_ce_rollback_package_path()
233 auto user_path = create_data_misc_ce_rollback_path(volume_uuid, user, snapshot_id); in create_data_misc_ce_rollback_package_path()
237 std::string create_data_misc_de_rollback_package_path(const char* volume_uuid, in create_data_misc_de_rollback_package_path() argument
240 create_data_misc_de_rollback_path(volume_uuid, user, snapshot_id).c_str(), package_name); in create_data_misc_de_rollback_package_path()
246 std::string create_data_media_path(const char* volume_uuid, userid_t userid) { in create_data_media_path() argument
247 return StringPrintf("%s/media/%u", create_data_path(volume_uuid).c_str(), userid); in create_data_media_path()
250 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, in create_data_media_package_path() argument
252 return StringPrintf("%s/Android/%s/%s", create_data_media_path(volume_uuid, userid).c_str(), in create_data_media_package_path()
350 std::vector<userid_t> get_known_users(const char* volume_uuid) { in get_known_users() argument
356 std::string path(create_data_path(volume_uuid) + "/" + SECONDARY_USER_PREFIX); in get_known_users()
885 const char* volume_uuid, int uid, int storage_flag) { in validate_secondary_dex_path() argument
902 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()) in validate_secondary_dex_path()
904 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
910 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()