Home
last modified time | relevance | path

Searched refs:profile_dir (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/cmds/installd/
Dcommands.cpp75 static std::string create_primary_profile(const std::string& profile_dir) { in create_primary_profile() argument
76 return StringPrintf("%s/%s", profile_dir.c_str(), PRIMARY_PROFILE_NAME); in create_primary_profile()
223 std::string profile_dir = create_data_user_profile_package_path(user, pkgname); in clear_current_profile() local
224 std::string profile = create_primary_profile(profile_dir); in clear_current_profile()
990 static fd_t open_profile_dir(const std::string& profile_dir) { in open_profile_dir() argument
991 fd_t profile_dir_fd = TEMP_FAILURE_RETRY(open(profile_dir.c_str(), in open_profile_dir()
998 PLOG(ERROR) << "Failed to open profile_dir: " << profile_dir; in open_profile_dir()
1004 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() argument
1005 fd_t profile_dir_fd = open_profile_dir(profile_dir); in open_primary_profile_file_from_dir()
1011 std::string profile_file = create_primary_profile(profile_dir); in open_primary_profile_file_from_dir()
[all …]