/bootable/recovery/install/ |
D | wipe_data.cpp | 38 static bool EraseVolume(const char* volume, RecoveryUI* ui) { in EraseVolume() argument 48 ui->Print("Formatting %s...\n", volume); in EraseVolume() 61 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm_func) { in WipeCache() argument 64 ui->Print("No /cache partition found.\n"); in WipeCache() 72 ui->Print("\n-- Wiping cache...\n"); in WipeCache() 73 ui->SetBackground(RecoveryUI::ERASING); in WipeCache() 74 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeCache() 76 bool success = EraseVolume("/cache", ui); in WipeCache() 77 ui->Print("Cache wipe %s.\n", success ? "complete" : "failed"); in WipeCache() 82 RecoveryUI* ui = device->GetUI(); in WipeData() local [all …]
|
D | install.cpp | 359 auto ui = device->GetUI(); in TryUpdateBinary() local 494 ui->ShowProgress(fraction * (1 - VERIFICATION_PROGRESS_FRACTION), seconds); in TryUpdateBinary() 502 ui->SetProgress(fraction); in TryUpdateBinary() 507 ui->PrintOnScreenOnly("%s\n", args.c_str()); in TryUpdateBinary() 512 ui->SetBackground(RecoveryUI::NONE); in TryUpdateBinary() 517 ui->SetEnableReboot(true); in TryUpdateBinary() 562 auto ui = device->GetUI(); in VerifyAndInstallPackage() local 563 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in VerifyAndInstallPackage() 565 ui->SetProgressType(RecoveryUI::DETERMINATE); in VerifyAndInstallPackage() 566 ui->ShowProgress(VERIFICATION_PROGRESS_FRACTION, VERIFICATION_PROGRESS_TIME); in VerifyAndInstallPackage() [all …]
|
D | adb_install.cpp | 98 auto ui = device->GetUI(); in AdbInstallPackageHandler() local 110 ui->Print("\nTimed out waiting for fuse to be ready.\n\n"); in AdbInstallPackageHandler() 117 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in AdbInstallPackageHandler() 190 RecoveryUI* ui, pid_t minadbd_pid, android::base::unique_fd&& socket_fd, in ListenAndExecuteMinadbdCommands() argument 214 ui->SetProgressType(RecoveryUI::EMPTY); in ListenAndExecuteMinadbdCommands() 215 ui->SetBackground(RecoveryUI::NO_COMMAND); in ListenAndExecuteMinadbdCommands() 280 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands() argument 320 std::thread listener_thread(ListenAndExecuteMinadbdCommands, ui, child, in CreateMinadbdServiceAndExecuteCommands() 348 RecoveryUI* ui = device->GetUI(); in ApplyFromAdb() local 367 ui->Print( in ApplyFromAdb() [all …]
|
D | snapshot_utils.cpp | 34 RecoveryUI* ui = device->GetUI(); in FinishPendingSnapshotMerges() local 37 ui->Print("Could not create SnapshotManager.\n"); in FinishPendingSnapshotMerges() 44 ui->Print("Waiting for merge to complete: %.2f\n", progress); in FinishPendingSnapshotMerges() 47 ui->Print("Unable to check merge status and/or complete update merge.\n"); in FinishPendingSnapshotMerges()
|
D | fuse_install.cpp | 58 static std::string BrowseDirectory(const std::string& path, Device* device, RecoveryUI* ui) { in BrowseDirectory() argument 94 chosen_item = ui->ShowMenu( in BrowseDirectory() 113 std::string result = BrowseDirectory(new_path, device, ui); in BrowseDirectory() 153 auto ui = device->GetUI(); in InstallWithFuseFromPath() local 186 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in InstallWithFuseFromPath() 209 auto ui = device->GetUI(); in ApplyFromSdcard() local 215 std::string path = BrowseDirectory(SDCARD_ROOT, device, ui); in ApplyFromSdcard() 227 ui->Print("\n-- Install %s ...\n", path.c_str()); in ApplyFromSdcard()
|
D | wipe_device.cpp | 154 static bool CheckWipePackage(Package* wipe_package, RecoveryUI* ui) { in CheckWipePackage() argument 155 if (!verify_package(wipe_package, ui)) { in CheckWipePackage() 176 auto ui = device->GetUI(); in WipeAbDevice() local 177 ui->SetBackground(RecoveryUI::ERASING); in WipeAbDevice() 178 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeAbDevice() 186 if (!CheckWipePackage(wipe_package.get(), ui)) { in WipeAbDevice()
|
/bootable/recovery/ |
D | recovery.cpp | 129 static void FinishRecovery(RecoveryUI* ui) { in FinishRecovery() argument 130 std::string locale = ui->GetLocale(); in FinishRecovery() 269 static void run_graphics_test(RecoveryUI* ui) { in run_graphics_test() argument 271 ui->ShowText(false); in run_graphics_test() 273 ui->SetProgressType(RecoveryUI::INDETERMINATE); in run_graphics_test() 274 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in run_graphics_test() 277 ui->SetBackground(RecoveryUI::ERROR); in run_graphics_test() 280 ui->SetBackground(RecoveryUI::NO_COMMAND); in run_graphics_test() 283 ui->SetBackground(RecoveryUI::ERASING); in run_graphics_test() 287 ui->SetStage(1, 3); in run_graphics_test() [all …]
|
D | recovery_main.cpp | 66 static RecoveryUI* ui = nullptr; variable 80 if (severity >= android::base::ERROR && ui != nullptr) { in UiLogger() 81 ui->Print("ERROR: %10s: %s\n", tag, message); in UiLogger() 195 static void ListenRecoverySocket(RecoveryUI* ui, std::atomic<Device::BuiltinAction>& action) { in ListenRecoverySocket() argument 229 ui->InterruptKey(); in ListenRecoverySocket() 437 ui = device->GetUI(); in main() 451 ui->SetBackground(RecoveryUI::NONE); in main() 452 if (show_text) ui->ShowText(true); in main() 460 ui->Print("Warning: No file_contexts\n"); in main() 466 std::thread listener_thread(ListenRecoverySocket, ui, std::ref(action)); in main() [all …]
|
/bootable/recovery/fastboot/ |
D | fastboot.cpp | 40 RecoveryUI* ui = device->GetUI(); in StartFastboot() local 52 ui->ResetKeyInterruptStatus(); in StartFastboot() 53 ui->SetTitle(title_lines); in StartFastboot() 54 ui->ShowText(true); in StartFastboot() 71 auto chosen_item = ui->ShowMenu( in StartFastboot()
|
/bootable/recovery/recovery_ui/ |
D | ethernet_device.cpp | 34 EthernetDevice::EthernetDevice(EthernetRecoveryUI* ui) : EthernetDevice(ui, "eth0") {} in EthernetDevice() argument 37 EthernetDevice::EthernetDevice(EthernetRecoveryUI* ui, std::string interface) in EthernetDevice() argument 38 : Device(ui), ctl_sock_(socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)), interface_(interface) { in EthernetDevice()
|
D | device.cpp | 53 Device::Device(RecoveryUI* ui) : ui_(ui) { in Device() argument
|
D | Android.bp | 38 "ui.cpp",
|
/bootable/recovery/recovery_ui/include/recovery_ui/ |
D | device.h | 68 explicit Device(RecoveryUI* ui); 78 virtual void ResetUI(RecoveryUI* ui) { in ResetUI() argument 79 ui_.reset(ui); in ResetUI()
|
D | ethernet_device.h | 29 explicit EthernetDevice(EthernetRecoveryUI* ui); 30 explicit EthernetDevice(EthernetRecoveryUI* ui, std::string interface);
|
/bootable/recovery/tests/fuzz/ |
D | verify_package_fuzzer.cpp | 34 StubRecoveryUI ui; in LLVMFuzzerTestOneInput() local 35 verify_package(package.get(), &ui); in LLVMFuzzerTestOneInput()
|
/bootable/recovery/install/include/install/ |
D | install.h | 54 Device* ui); 58 bool verify_package(Package* package, RecoveryUI* ui);
|
D | wipe_data.h | 27 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm);
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/ui/ |
D | MainActivity.java | 17 package com.example.android.systemupdatersample.ui;
|
/bootable/recovery/tests/testdata/ |
D | recovery_body | 4196 ui�d�Qc �#o��}]��G���Y� 4728 …pI+4�n������T�ձ:ʛ[�s��Buʻ�3"G�����V��g�� �Vhf�/�"zx4�����Zz%Tw#�B��ui2"�.^���r��ճ�QIJ*�… 4758 ��2"���<Ҹ�Pp���m�7&(�������H�rو��7�9���ui]�v��_s� a�������b���X���\�iN���w(śܝHYS@b�$G…
|