Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dcommands.cpp1162 /*out*/ std::vector<fd_t>* profiles_fd, /*out*/ fd_t* reference_profile_fd) { in open_profile_files() argument
1164 *reference_profile_fd = open_reference_profile(uid, pkgname, /*read_write*/ true); in open_profile_files()
1165 if (*reference_profile_fd < 0) { in open_profile_files()
1207 static void run_profman_merge(const std::vector<fd_t>& profiles_fd, fd_t reference_profile_fd) { in run_profman_merge() argument
1218 sprintf(reference_profile_arg, "--reference-profile-file-fd=%d", reference_profile_fd); in run_profman_merge()
1243 fd_t reference_profile_fd = -1; in analyse_profiles() local
1244 open_profile_files(uid, pkgname, &profiles_fd, &reference_profile_fd); in analyse_profiles()
1245 if (profiles_fd.empty() || (reference_profile_fd == -1)) { in analyse_profiles()
1249 if ((reference_profile_fd != - 1) && (close(reference_profile_fd) != 0)) { in analyse_profiles()
1261 run_profman_merge(profiles_fd, reference_profile_fd); in analyse_profiles()
[all …]