Lines Matching refs:apk_fds
744 const std::vector<unique_fd>* apk_fds, in run_profman() argument
751 CHECK(apk_fds != nullptr); in run_profman()
752 CHECK_EQ(1u, apk_fds->size()); in run_profman()
762 if (apk_fds != nullptr) { in run_profman()
763 for (size_t k = 0; k < apk_fds->size(); k++) { in run_profman()
764 apk_args.push_back("--apk-fd=" + std::to_string((*apk_fds)[k].get())); in run_profman()
804 const std::vector<unique_fd>* apk_fds = nullptr, in run_profman_merge() argument
806 run_profman(profiles_fd, reference_profile_fd, apk_fds, dex_locations, in run_profman_merge()
817 std::vector<unique_fd> apk_fds; in run_profman_copy_and_update() local
818 apk_fds.push_back(std::move(apk_fd)); in run_profman_copy_and_update()
822 run_profman(profiles_fd, reference_profile_fd, &apk_fds, &dex_locations, in run_profman_copy_and_update()
925 const std::vector<unique_fd>& apk_fds, in run_profman_dump() argument
942 for (size_t i = 0; i < apk_fds.size(); i++) { in run_profman_dump()
943 profman_args.push_back(StringPrintf("--apk-fd=%d", apk_fds[i].get())); in run_profman_dump()
983 std::vector<unique_fd> apk_fds; in dump_profiles() local
990 apk_fds.push_back(std::move(apk_fd)); in dump_profiles()
998 apk_fds, output_fd); in dump_profiles()
2621 bool open_classpath_files(const std::string& classpath, std::vector<unique_fd>* apk_fds, in open_classpath_files() argument
2630 apk_fds->push_back(std::move(fd)); in open_classpath_files()
2660 std::vector<unique_fd> apk_fds; in create_app_profile_snapshot() local
2662 if (!open_classpath_files(classpath, &apk_fds, &dex_locations)) { in create_app_profile_snapshot()
2670 run_profman_merge(profiles_fd, snapshot_fd, &apk_fds, &dex_locations); in create_app_profile_snapshot()
2719 std::vector<unique_fd> apk_fds; in create_boot_image_profile_snapshot() local
2721 if (!open_classpath_files(classpath, &apk_fds, &dex_locations)) { in create_boot_image_profile_snapshot()
2726 if (apk_fds.empty()) { in create_boot_image_profile_snapshot()
2750 run_profman_merge(profiles_fd, snapshot_fd, &apk_fds, &dex_locations); in create_boot_image_profile_snapshot()