Lines Matching refs:package
265 bool SetUpAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int status_fd, in SetUpAbUpdateCommands() argument
285 "--payload=file://" + package, in SetUpAbUpdateCommands()
293 bool SetUpNonAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int retry_count, in SetUpNonAbUpdateCommands() argument
328 package, in SetUpNonAbUpdateCommands()
356 static InstallResult TryUpdateBinary(Package* package, bool* wipe_cache, in TryUpdateBinary() argument
361 auto zip = package->GetZipArchiveHandle(); in TryUpdateBinary()
380 CHECK(package->GetType() == PackageType::kFile); in TryUpdateBinary()
437 std::string package_path = package->GetPath(); in TryUpdateBinary()
559 static InstallResult VerifyAndInstallPackage(Package* package, bool* wipe_cache, in VerifyAndInstallPackage() argument
569 if (!verify_package(package, ui)) { in VerifyAndInstallPackage()
581 TryUpdateBinary(package, wipe_cache, log_buffer, retry_count, max_temperature, device); in VerifyAndInstallPackage()
588 InstallResult InstallPackage(Package* package, const std::string_view package_id, in InstallPackage() argument
603 if (!package) { in InstallPackage()
611 result = VerifyAndInstallPackage(package, &updater_wipe_cache, &log_buffer, retry_count, in InstallPackage()
677 bool verify_package(Package* package, RecoveryUI* ui) { in verify_package() argument
689 int err = verify_file(package, loaded_keys); in verify_package()