/bootable/recovery/install/ |
D | wipe_data.cpp | 38 static bool EraseVolume(const char* volume, RecoveryUI* ui, std::string_view new_fstype) { in EraseVolume() argument 49 ui->Print("Formatting %s...\n", volume); in EraseVolume() 62 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm_func, in WipeCache() argument 66 ui->Print("No /cache partition found.\n"); in WipeCache() 74 ui->Print("\n-- Wiping cache...\n"); in WipeCache() 75 ui->SetBackground(RecoveryUI::ERASING); in WipeCache() 76 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeCache() 78 bool success = EraseVolume("/cache", ui, new_fstype); in WipeCache() 79 ui->Print("Cache wipe %s.\n", success ? "complete" : "failed"); in WipeCache() 84 RecoveryUI* ui = device->GetUI(); in WipeData() local [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 | 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 | 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() 189 auto ui = device->GetUI(); in WipeAbDevice() local 190 if (!CheckWipePackage(wipe_package, ui)) { in WipeAbDevice()
|
D | install.cpp | 391 auto ui = device->GetUI(); in TryUpdateBinary() local 539 ui->ShowProgress(fraction * (1 - VERIFICATION_PROGRESS_FRACTION), seconds); in TryUpdateBinary() 547 ui->SetProgress(fraction); in TryUpdateBinary() 552 ui->PrintOnScreenOnly("%s\n", args.c_str()); in TryUpdateBinary() 557 ui->SetBackground(RecoveryUI::NONE); in TryUpdateBinary() 562 ui->SetEnableReboot(true); in TryUpdateBinary() 609 auto ui = device->GetUI(); in VerifyAndInstallPackage() local 610 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in VerifyAndInstallPackage() 612 ui->SetProgressType(RecoveryUI::DETERMINATE); in VerifyAndInstallPackage() 613 ui->ShowProgress(VERIFICATION_PROGRESS_FRACTION, VERIFICATION_PROGRESS_TIME); in VerifyAndInstallPackage() [all …]
|
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()
|
/bootable/recovery/ |
D | recovery.cpp | 125 static void FinishRecovery(RecoveryUI* ui) { in FinishRecovery() argument 126 std::string locale = ui->GetLocale(); in FinishRecovery() 270 static void run_graphics_test(RecoveryUI* ui) { in run_graphics_test() argument 272 ui->ShowText(false); in run_graphics_test() 274 ui->SetProgressType(RecoveryUI::INDETERMINATE); in run_graphics_test() 275 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in run_graphics_test() 278 ui->SetBackground(RecoveryUI::ERROR); in run_graphics_test() 281 ui->SetBackground(RecoveryUI::NO_COMMAND); in run_graphics_test() 284 ui->SetBackground(RecoveryUI::ERASING); in run_graphics_test() 288 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() 199 static void ListenRecoverySocket(RecoveryUI* ui, std::atomic<Device::BuiltinAction>& action) { in ListenRecoverySocket() argument 233 ui->InterruptKey(); in ListenRecoverySocket() 441 ui = device->GetUI(); in main() 455 ui->SetBackground(RecoveryUI::NONE); in main() 456 if (show_text) ui->ShowText(true); in main() 464 ui->Print("Warning: No file_contexts\n"); in main() 470 std::thread listener_thread(ListenRecoverySocket, ui, std::ref(action)); in main() [all …]
|
/bootable/recovery/fastboot/ |
D | fastboot.cpp | 67 RecoveryUI* ui = device->GetUI(); in StartFastboot() local 70 if (ui->IsWearable()) { in StartFastboot() 73 ui->SetEnableFastbootdLogo(true); in StartFastboot() 77 ui->ResetKeyInterruptStatus(); in StartFastboot() 78 ui->SetTitle(title_lines); in StartFastboot() 79 ui->ShowText(true); in StartFastboot() 96 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…
|