Searched refs:updater (Results 1 – 14 of 14) sorted by relevance
/bootable/recovery/updater/ |
D | install.cpp | 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() [all …]
|
D | updater_main.cpp | 106 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()
|
D | update_simulator_main.cpp | 155 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()
|
D | dynamic_partitions.cpp | 71 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()
|
D | blockimg.cpp | 1676 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 …]
|
D | Android.mk | 74 LOCAL_MODULE := updater
|
D | Android.bp | 91 "updater.cpp",
|
/bootable/recovery/tests/unit/host/ |
D | update_simulator_test.cpp | 98 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/ |
D | Android.mk | 76 $(LOCAL_PATH)/updater/Android.mk \
|
/bootable/recovery/recovery_utils/ |
D | Android.bp | 42 // recovery_ui lib as well as device-specific updater).
|
/bootable/recovery/edify/include/edify/ |
D | expr.h | 39 UpdaterInterface* updater; member
|
/bootable/recovery/tests/unit/ |
D | updater_test.cpp | 62 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/ |
D | expr.cpp | 425 : script(script), updater(interface), error_code(kNoError), cause_code(kNoCause) {} in State()
|
/bootable/recovery/updater_sample/ |
D | README.md | 78 callback. The second problem is solved by adding `PAUSED` updater state.
|