Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 11 of 11) sorted by relevance

/bootable/recovery/
Dadb_install.cpp36 static RecoveryUI* ui = NULL; variable
42 ui->Print("failed to open driver control: %s\n", strerror(errno)); in set_usb_driver()
46 ui->Print("failed to set driver control: %s\n", strerror(errno)); in set_usb_driver()
49 ui->Print("failed to close driver control: %s\n", strerror(errno)); in set_usb_driver()
63 ui->Print("Restarting adbd...\n"); in maybe_restart_adbd()
77 ui = ui_; in apply_from_adb()
82 ui->Print("\n\nNow send the package you want to apply\n" in apply_from_adb()
110 ui->Print("\nTimed out waiting for package.\n\n"); in apply_from_adb()
134 ui->Print("\nYou need adb 1.0.32 or newer to sideload\nto this device.\n\n"); in apply_from_adb()
136 ui->Print("\n(adbd status %d)\n", WEXITSTATUS(status)); in apply_from_adb()
Dinstall.cpp38 extern RecoveryUI* ui;
159 ui->ShowProgress(fraction * (1-VERIFICATION_PROGRESS_FRACTION), seconds); in try_update_binary()
163 ui->SetProgress(fraction); in try_update_binary()
167 ui->Print("%s", str); in try_update_binary()
169 ui->Print("\n"); in try_update_binary()
175 ui->SetBackground(RecoveryUI::NONE); in try_update_binary()
180 ui->SetEnableReboot(true); in try_update_binary()
200 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in really_install_package()
201 ui->Print("Finding update package...\n"); in really_install_package()
203 ui->SetProgressType(RecoveryUI::DETERMINATE); in really_install_package()
[all …]
Drecovery.cpp85 RecoveryUI* ui = NULL; variable
423 ui->SetBackground(RecoveryUI::ERASING); in erase_volume()
424 ui->SetProgressType(RecoveryUI::INDETERMINATE); in erase_volume()
473 ui->Print("Formatting %s...\n", volume); in erase_volume()
509 ui->FlushKeys(); in get_menu_selection()
511 ui->StartMenu(headers, items, initial_selection); in get_menu_selection()
516 int key = ui->WaitKey(); in get_menu_selection()
517 int visible = ui->IsTextVisible(); in get_menu_selection()
520 if (ui->WasTextEverVisible()) { in get_menu_selection()
524 ui->EndMenu(); in get_menu_selection()
[all …]
Ddevice.h24 Device(RecoveryUI* ui) : ui_(ui) { } in Device() argument
DAndroid.mk42 ui.cpp \
116 ui.cpp
Dverifier_test.cpp121 RecoveryUI* ui = NULL; variable
237 ui = new FakeUI(); in main()
Dverifier.cpp34 extern RecoveryUI* ui;
117 ui->SetProgress(0.0); in verify_file()
220 ui->SetProgress(f); in verify_file()
Dui.h145 RecoveryUI* ui; member
Dui.cpp150 info->ui = this; in ProcessKey()
190 info->ui->time_key(info->key_code, info->count); in time_key_helper()
/bootable/recovery/updater/
Dinstall.c58 UpdaterInfo* ui = (UpdaterInfo*)(state->cookie); in uiPrint() local
60 fprintf(ui->cmd_pipe, "ui_print %s\n", line); in uiPrint()
63 fprintf(ui->cmd_pipe, "ui_print\n"); in uiPrint()
459 UpdaterInfo* ui = (UpdaterInfo*)(state->cookie); in ShowProgressFn() local
460 fprintf(ui->cmd_pipe, "progress %f %d\n", frac, sec); in ShowProgressFn()
477 UpdaterInfo* ui = (UpdaterInfo*)(state->cookie); in SetProgressFn() local
478 fprintf(ui->cmd_pipe, "set_progress %f\n", frac); in SetProgressFn()
520 UpdaterInfo* ui = (UpdaterInfo*)(state->cookie); in PackageExtractFileFn() local
1538 UpdaterInfo* ui = (UpdaterInfo*)(state->cookie); in EnableRebootFn() local
1539 fprintf(ui->cmd_pipe, "enable_reboot\n"); in EnableRebootFn()
Dblockimg.c1541 UpdaterInfo* ui = NULL; in PerformBlockImageUpdate() local
1575 ui = (UpdaterInfo*) state->cookie; in PerformBlockImageUpdate()
1577 if (ui == NULL) { in PerformBlockImageUpdate()
1581 cmd_pipe = ui->cmd_pipe; in PerformBlockImageUpdate()
1582 za = ui->package_zip; in PerformBlockImageUpdate()
1595 params.patch_start = ui->package_zip_addr + mzGetZipEntryOffset(patch_entry); in PerformBlockImageUpdate()