Searched refs:reference_profile_fd (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/installd/ |
D | commands.cpp | 1050 /*out*/ std::vector<fd_t>* profiles_fd, /*out*/ fd_t* reference_profile_fd) { in open_profile_files() argument 1052 *reference_profile_fd = open_reference_profile(uid, pkgname, /*read_write*/ true); in open_profile_files() 1053 if (*reference_profile_fd < 0) { in open_profile_files() 1095 static void run_profman_merge(const std::vector<fd_t>& profiles_fd, fd_t reference_profile_fd) { in run_profman_merge() argument 1106 sprintf(reference_profile_arg, "--reference-profile-file-fd=%d", reference_profile_fd); in run_profman_merge() 1131 fd_t reference_profile_fd = -1; in analyse_profiles() local 1132 open_profile_files(uid, pkgname, &profiles_fd, &reference_profile_fd); in analyse_profiles() 1133 if (profiles_fd.empty() || (reference_profile_fd == -1)) { in analyse_profiles() 1137 if ((reference_profile_fd != - 1) && (close(reference_profile_fd) != 0)) { in analyse_profiles() 1149 run_profman_merge(profiles_fd, reference_profile_fd); in analyse_profiles() [all …]
|