Lines Matching refs:reference_profile_fd

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()
1197 if (close(reference_profile_fd) != 0) { in analyse_profiles()
1210 fd_t reference_profile_fd, in run_profman_dump() argument
1219 if (reference_profile_fd != -1) { in run_profman_dump()
1221 reference_profile_fd)); in run_profman_dump()
1259 fd_t reference_profile_fd = -1; in dump_profile() local
1264 open_profile_files(uid, pkgname, &profile_fds, &reference_profile_fd); in dump_profile()
1266 const bool has_reference_profile = (reference_profile_fd != -1); in dump_profile()
1297 run_profman_dump(profile_fds, reference_profile_fd, dex_locations, in dump_profile()
1304 if (close(reference_profile_fd) != 0) { in dump_profile()
1413 fd_t reference_profile_fd = -1; in dexopt() local
1418 reference_profile_fd = open_reference_profile(uid, pkgname, /*read_write*/ false); in dexopt()
1540 reference_profile_fd, shared_libraries); in dexopt()
1565 if (reference_profile_fd >= 0) { in dexopt()
1566 close(reference_profile_fd); in dexopt()
1581 if (reference_profile_fd >= 0) { in dexopt()
1582 close(reference_profile_fd); in dexopt()