Lines Matching refs:updater

70 static bool UpdateBlockDeviceNameForPartition(UpdaterInterface* updater, Partition* partition) {  in UpdateBlockDeviceNameForPartition()  argument
71 CHECK(updater); in UpdateBlockDeviceNameForPartition()
72 std::string name = updater->FindBlockDeviceName(partition->name); in UpdateBlockDeviceNameForPartition()
91 state->updater->UiPrint(buffer); in UIPrintFn()
117 ZipArchiveHandle za = state->updater->GetPackageHandle(); in PackageExtractFileFn()
126 if (std::string block_device_name = state->updater->FindBlockDeviceName(dest_path); in PackageExtractFileFn()
167 ZipArchiveHandle za = state->updater->GetPackageHandle(); in PackageExtractFileFn()
222 if (!UpdateBlockDeviceNameForPartition(state->updater, &source) || in PatchPartitionCheckFn()
223 !UpdateBlockDeviceNameForPartition(state->updater, &target)) { in PatchPartitionCheckFn()
268 if (!UpdateBlockDeviceNameForPartition(state->updater, &source) || in PatchPartitionFn()
269 !UpdateBlockDeviceNameForPartition(state->updater, &target)) { in PatchPartitionFn()
316 auto updater = state->updater; in MountFn() local
317 if (updater->GetRuntime()->Mount(location, mount_point, fs_type, mount_options) != 0) { in MountFn()
318 updater->UiPrint(android::base::StringPrintf("%s: Failed to mount %s at %s: %s", name, in MountFn()
343 auto updater_runtime = state->updater->GetRuntime(); in IsMountedFn()
365 auto updater = state->updater; in UnmountFn() local
366 auto [mounted, result] = updater->GetRuntime()->Unmount(mount_point); in UnmountFn()
368 updater->UiPrint( in UnmountFn()
372 updater->UiPrint(android::base::StringPrintf("Failed to unmount %s: %s", mount_point.c_str(), in UnmountFn()
423 auto updater_runtime = state->updater->GetRuntime(); in FormatFn()
502 state->updater->WriteToCommandPipe(android::base::StringPrintf("progress %f %d", frac, sec)); in ShowProgressFn()
525 state->updater->WriteToCommandPipe(android::base::StringPrintf("set_progress %f", frac)); in SetProgressFn()
539 auto updater_runtime = state->updater->GetRuntime(); in GetPropFn()
565 auto updater_runtime = state->updater->GetRuntime(); in FileGetPropFn()
628 state->updater->WriteToCommandPipe("wipe_cache"); in WipeCacheFn()
642 auto updater_runtime = state->updater->GetRuntime(); in RunProgramFn()
661 auto updater_runtime = state->updater->GetRuntime(); in ReadFileFn()
691 auto updater_runtime = state->updater->GetRuntime(); in WriteValueFn()
822 auto updater_runtime = state->updater->GetRuntime(); in WipeBlockDeviceFn()
832 state->updater->WriteToCommandPipe("enable_reboot"); in EnableRebootFn()
848 auto updater_runtime = state->updater->GetRuntime(); in Tune2FsFn()
865 auto updater_runtime = state->updater->GetRuntime(); in AddSlotSuffixFn()