Home
last modified time | relevance | path

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

/bootable/recovery/
Dadb_install.cpp37 static RecoveryUI* ui = NULL; variable
43 ui->Print("failed to open driver control: %s\n", strerror(errno)); in set_usb_driver()
47 ui->Print("failed to set driver control: %s\n", strerror(errno)); in set_usb_driver()
50 ui->Print("failed to close driver control: %s\n", strerror(errno)); in set_usb_driver()
66 ui->Print("Restarting adbd...\n"); in maybe_restart_adbd()
74 ui = ui_; in apply_from_adb()
79 ui->Print("\n\nNow send the package you want to apply\n" in apply_from_adb()
94 ui->Print("status %d\n", WEXITSTATUS(status)); in apply_from_adb()
103 ui->Print("No package received.\n"); in apply_from_adb()
105 ui->Print("Error reading package:\n %s\n", strerror(errno)); in apply_from_adb()
Drecovery.cpp75 RecoveryUI* ui = NULL; variable
335 ui->SetBackground(RecoveryUI::ERASING); in erase_volume()
336 ui->SetProgressType(RecoveryUI::INDETERMINATE); in erase_volume()
337 ui->Print("Formatting %s...\n", volume); in erase_volume()
469 ui->FlushKeys(); in get_menu_selection()
471 ui->StartMenu(headers, items, initial_selection); in get_menu_selection()
476 int key = ui->WaitKey(); in get_menu_selection()
477 int visible = ui->IsTextVisible(); in get_menu_selection()
480 if (ui->WasTextEverVisible()) { in get_menu_selection()
484 ui->EndMenu(); in get_menu_selection()
[all …]
Dinstall.cpp37 extern RecoveryUI* ui;
145 ui->ShowProgress(fraction * (1-VERIFICATION_PROGRESS_FRACTION), seconds); in try_update_binary()
149 ui->SetProgress(fraction); in try_update_binary()
153 ui->Print("%s", str); in try_update_binary()
155 ui->Print("\n"); in try_update_binary()
160 ui->SetBackground(RecoveryUI::NONE); in try_update_binary()
180 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in really_install_package()
181 ui->Print("Finding update package...\n"); in really_install_package()
182 ui->SetProgressType(RecoveryUI::INDETERMINATE); in really_install_package()
190 ui->Print("Opening update package...\n"); in really_install_package()
[all …]
Ddefault_device.cpp47 ui(new DefaultUI) { in DefaultDevice()
50 RecoveryUI* GetUI() { return ui; } in GetUI()
85 RecoveryUI* ui; member in DefaultDevice
Dverifier_test.cpp101 RecoveryUI* ui = NULL; variable
155 ui = new FakeUI(); in main()
DAndroid.mk25 ui.cpp \
88 ui.cpp
Dverifier.cpp28 extern RecoveryUI* ui;
38 ui->SetProgress(0.0); in verify_file()
166 ui->SetProgress(f); in verify_file()
/bootable/recovery/updater/
Dinstall.c327 UpdaterInfo* ui = (UpdaterInfo*)(state->cookie); in ShowProgressFn() local
328 fprintf(ui->cmd_pipe, "progress %f %d\n", frac, sec); in ShowProgressFn()
345 UpdaterInfo* ui = (UpdaterInfo*)(state->cookie); in SetProgressFn() local
346 fprintf(ui->cmd_pipe, "set_progress %f\n", frac); in SetProgressFn()