/bootable/recovery/ |
D | recovery.cpp | 129 static void FinishRecovery(RecoveryUI* ui) { in FinishRecovery() argument 130 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("E:%s\n", 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/install/ |
D | wipe_data.cpp | 40 static bool EraseVolume(const char* volume, RecoveryUI* ui, bool convert_fbe) { in EraseVolume() argument 44 ui->SetBackground(RecoveryUI::ERASING); in EraseVolume() 45 ui->SetProgressType(RecoveryUI::INDETERMINATE); in EraseVolume() 54 ui->Print("Formatting %s...\n", volume); in EraseVolume() 88 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm_func) { in WipeCache() argument 91 ui->Print("No /cache partition found.\n"); in WipeCache() 99 ui->Print("\n-- Wiping cache...\n"); in WipeCache() 100 bool success = EraseVolume("/cache", ui, false); in WipeCache() 101 ui->Print("Cache wipe %s.\n", success ? "complete" : "failed"); in WipeCache() 106 RecoveryUI* ui = device->GetUI(); in WipeData() local [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() 149 InstallResult InstallWithFuseFromPath(std::string_view path, RecoveryUI* ui) { in InstallWithFuseFromPath() argument 185 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in InstallWithFuseFromPath() 187 InstallPackage(package.get(), FUSE_SIDELOAD_HOST_PATHNAME, false, 0 /* retry_count */, ui); in InstallWithFuseFromPath() 208 auto ui = device->GetUI(); in ApplyFromSdcard() local 214 std::string path = BrowseDirectory(SDCARD_ROOT, device, ui); in ApplyFromSdcard() 226 ui->Print("\n-- Install %s ...\n", path.c_str()); in ApplyFromSdcard() 229 auto result = InstallWithFuseFromPath(path, ui); in ApplyFromSdcard()
|
D | adb_install.cpp | 93 static auto AdbInstallPackageHandler(RecoveryUI* ui, InstallResult* result) { in AdbInstallPackageHandler() argument 109 ui->Print("\nTimed out waiting for fuse to be ready.\n\n"); in AdbInstallPackageHandler() 116 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in AdbInstallPackageHandler() 117 *result = InstallPackage(package.get(), FUSE_SIDELOAD_HOST_PATHNAME, false, 0, ui); in AdbInstallPackageHandler() 189 RecoveryUI* ui, pid_t minadbd_pid, android::base::unique_fd&& socket_fd, in ListenAndExecuteMinadbdCommands() argument 213 ui->SetProgressType(RecoveryUI::EMPTY); in ListenAndExecuteMinadbdCommands() 214 ui->SetBackground(RecoveryUI::NO_COMMAND); in ListenAndExecuteMinadbdCommands() 279 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands() argument 319 std::thread listener_thread(ListenAndExecuteMinadbdCommands, ui, child, in CreateMinadbdServiceAndExecuteCommands() 347 RecoveryUI* ui = device->GetUI(); in ApplyFromAdb() local [all …]
|
D | install.cpp | 331 int* max_temperature, RecoveryUI* ui) { in TryUpdateBinary() argument 460 ui->ShowProgress(fraction * (1 - VERIFICATION_PROGRESS_FRACTION), seconds); in TryUpdateBinary() 468 ui->SetProgress(fraction); in TryUpdateBinary() 473 ui->PrintOnScreenOnly("%s\n", args.c_str()); in TryUpdateBinary() 478 ui->SetBackground(RecoveryUI::NONE); in TryUpdateBinary() 483 ui->SetEnableReboot(true); in TryUpdateBinary() 526 int* max_temperature, RecoveryUI* ui) { in VerifyAndInstallPackage() argument 527 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in VerifyAndInstallPackage() 529 ui->SetProgressType(RecoveryUI::DETERMINATE); in VerifyAndInstallPackage() 530 ui->ShowProgress(VERIFICATION_PROGRESS_FRACTION, VERIFICATION_PROGRESS_TIME); in VerifyAndInstallPackage() [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 | wipe_device.cpp | 149 static bool CheckWipePackage(Package* wipe_package, RecoveryUI* ui) { in CheckWipePackage() argument 150 if (!verify_package(wipe_package, ui)) { in CheckWipePackage() 171 auto ui = device->GetUI(); in WipeAbDevice() local 172 ui->SetBackground(RecoveryUI::ERASING); in WipeAbDevice() 173 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeAbDevice() 181 if (!CheckWipePackage(wipe_package.get(), ui)) { in WipeAbDevice()
|
/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/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()
|
/bootable/recovery/recovery_ui/ |
D | ethernet_device.cpp | 34 explicit EthernetDevice(EthernetRecoveryUI* ui); 49 EthernetDevice::EthernetDevice(EthernetRecoveryUI* ui) in EthernetDevice() argument 50 : Device(ui), ctl_sock_(socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)) { in EthernetDevice()
|
D | device.cpp | 53 Device::Device(RecoveryUI* ui) : ui_(ui) { in Device() argument
|
D | Android.bp | 28 "ui.cpp",
|
/bootable/recovery/install/include/install/ |
D | install.h | 52 bool should_wipe_cache, int retry_count, RecoveryUI* ui); 56 bool verify_package(Package* package, RecoveryUI* ui);
|
D | wipe_data.h | 27 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm);
|
D | fuse_install.h | 28 InstallResult InstallWithFuseFromPath(std::string_view path, RecoveryUI* ui);
|
/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…
|