Home
last modified time | relevance | path

Searched refs:updater (Results 1 – 14 of 14) sorted by relevance

/bootable/recovery/updater/
Dinstall.cpp70 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()
[all …]
Dupdater_main.cpp106 Updater updater(std::make_unique<UpdaterRuntime>(sehandle)); in main() local
107 if (!updater.Init(fd, package_name, is_retry)) { in main()
111 if (!updater.RunUpdate()) { in main()
Dupdate_simulator_main.cpp155 Updater updater(std::make_unique<SimulatorRuntime>(&source_build_info)); in main() local
156 if (!updater.Init(cmd_pipe.release(), package_name, false)) { in main()
160 if (!updater.RunUpdate()) { in main()
164 LOG(INFO) << "\nscript succeeded, result: " << updater.GetResult(); in main()
Ddynamic_partitions.cpp71 auto updater_runtime = state->updater->GetRuntime(); in UnmapPartitionFn()
82 auto updater_runtime = state->updater->GetRuntime(); in MapPartitionFn()
123 auto updater_runtime = state->updater->GetRuntime(); in UpdateDynamicPartitionsFn()
Dblockimg.cpp1676 auto updater = state->updater; in PerformBlockImageUpdate() local
1677 auto block_device_path = updater->FindBlockDeviceName(blockdev_filename->data); in PerformBlockImageUpdate()
1684 ZipArchiveHandle za = updater->GetPackageHandle(); in PerformBlockImageUpdate()
1695 params.patch_start = updater->GetMappedPackageAddress() + patch_entry.offset; in PerformBlockImageUpdate()
1895 updater->WriteToCommandPipe( in PerformBlockImageUpdate()
1925 updater->WriteToCommandPipe( in PerformBlockImageUpdate()
1928 updater->WriteToCommandPipe( in PerformBlockImageUpdate()
2091 auto block_device_path = state->updater->FindBlockDeviceName(blockdev_filename->data); in RangeSha1Fn()
2162 auto block_device_path = state->updater->FindBlockDeviceName(arg_filename->data); in CheckFirstBlockFn()
2198 state->updater->UiPrint( in CheckFirstBlockFn()
[all …]
DAndroid.mk74 LOCAL_MODULE := updater
DAndroid.bp91 "updater.cpp",
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp98 Updater updater(std::make_unique<SimulatorRuntime>(&build_info)); in RunSimulation() local
99 ASSERT_TRUE(updater.Init(cmd_pipe.release(), ota_package, false)); in RunSimulation()
100 ASSERT_EQ(expected, updater.RunUpdate()); in RunSimulation()
319 { "META-INF/com/google/android/updater-script", updater_script },
344 { "META-INF/com/google/android/updater-script", R"(bad_function("");)" },
395 { "META-INF/com/google/android/updater-script", updater_script },
/bootable/recovery/
DAndroid.mk76 $(LOCAL_PATH)/updater/Android.mk \
/bootable/recovery/recovery_utils/
DAndroid.bp42 // recovery_ui lib as well as device-specific updater).
/bootable/recovery/edify/include/edify/
Dexpr.h39 UpdaterInterface* updater; member
/bootable/recovery/tests/unit/
Dupdater_test.cpp62 Updater* updater) { in expect() argument
68 State state(expr_str, updater); in expect()
88 Updater updater(std::make_unique<UpdaterRuntime>(nullptr)); in expect() local
89 expect(expected, expr_str, cause_code, &updater); in expect()
/bootable/recovery/edify/
Dexpr.cpp425 : script(script), updater(interface), error_code(kNoError), cause_code(kNoCause) {} in State()
/bootable/recovery/updater_sample/
DREADME.md78 callback. The second problem is solved by adding `PAUSED` updater state.