Searched refs:profile_dir (Results 1 – 1 of 1) sorted by relevance
98 static std::string create_primary_profile(const std::string& profile_dir) { in create_primary_profile() argument99 return StringPrintf("%s/%s", profile_dir.c_str(), PRIMARY_PROFILE_NAME); in create_primary_profile()321 std::string profile_dir = create_data_user_profile_package_path(user, pkgname); in clear_current_profile() local322 std::string profile = create_primary_profile(profile_dir); in clear_current_profile()1102 static fd_t open_profile_dir(const std::string& profile_dir) { in open_profile_dir() argument1103 fd_t profile_dir_fd = TEMP_FAILURE_RETRY(open(profile_dir.c_str(), in open_profile_dir()1110 PLOG(ERROR) << "Failed to open profile_dir: " << profile_dir; in open_profile_dir()1116 static fd_t open_primary_profile_file_from_dir(const std::string& profile_dir, mode_t open_mode) { in open_primary_profile_file_from_dir() argument1117 fd_t profile_dir_fd = open_profile_dir(profile_dir); in open_primary_profile_file_from_dir()1123 std::string profile_file = create_primary_profile(profile_dir); in open_primary_profile_file_from_dir()[all …]