Lines Matching refs:apex_files

840   Result<std::vector<ApexFile>> apex_files = OpenApexFiles(paths);  in VerifyPackages()  local
841 if (!apex_files.ok()) { in VerifyPackages()
842 return apex_files.error(); in VerifyPackages()
847 for (const ApexFile& apex_file : *apex_files) { in VerifyPackages()
853 return std::move(*apex_files); in VerifyPackages()
2091 Result<std::vector<ApexFile>> apex_files = OpenApexFiles(paths); in PreinstallPackages() local
2092 if (!apex_files.ok()) { in PreinstallPackages()
2093 return apex_files.error(); in PreinstallPackages()
2096 return PreinstallPackages(*apex_files); in PreinstallPackages()
2100 Result<std::vector<ApexFile>> apex_files = OpenApexFiles(paths); in PostinstallPackages() local
2101 if (!apex_files.ok()) { in PostinstallPackages()
2102 return apex_files.error(); in PostinstallPackages()
2105 return PostinstallPackages(*apex_files); in PostinstallPackages()
2127 Result<std::vector<ApexFile>> apex_files = OpenApexFiles(tmp_paths); in StagePackages() local
2128 if (!apex_files.ok()) { in StagePackages()
2129 return apex_files.error(); in StagePackages()
2131 for (const ApexFile& apex_file : *apex_files) { in StagePackages()
2169 for (const ApexFile& apex_file : *apex_files) { in StagePackages()
2487 const std::vector<ApexFileRef>& apex_files = apex_it.second; in SelectApexForActivation() local
2489 if (apex_files.size() > 2 || apex_files.size() == 0) { in SelectApexForActivation()
2503 if (apex_files.size() == 1) { in SelectApexForActivation()
2505 << apex_files[0].get().GetPath(); in SelectApexForActivation()
2506 activation_list.emplace_back(apex_files[0]); in SelectApexForActivation()
2562 const int version_0 = apex_files[0].get().GetManifest().version(); in SelectApexForActivation()
2563 const int version_1 = apex_files[1].get().GetManifest().version(); in SelectApexForActivation()
2564 select_apex(apex_files[0].get(), version_1); in SelectApexForActivation()
2565 select_apex(apex_files[1].get(), version_0); in SelectApexForActivation()