Home
last modified time | relevance | path

Searched refs:chosen_item (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/fastboot/
Dfastboot.cpp70 auto chosen_item = ui->ShowMenu( in StartFastboot() local
74 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in StartFastboot()
77 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT)) { in StartFastboot()
80 return kFastbootMenuActions[chosen_item].second; in StartFastboot()
/bootable/recovery/install/
Dfuse_sdcard_install.cpp90 size_t chosen_item = 0; in BrowseDirectory() local
92 chosen_item = ui->ShowMenu( in BrowseDirectory()
93 headers, entries, chosen_item, true, in BrowseDirectory()
97 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory()
101 const std::string& item = entries[chosen_item]; in BrowseDirectory()
102 if (chosen_item == 0) { in BrowseDirectory()
/bootable/recovery/
Drecovery.cpp170 size_t chosen_item = ui->ShowMenu( in yes_no() local
173 return (chosen_item == 1); in yes_no()
180 size_t chosen_item = ui->ShowPromptWipeDataConfirmationMenu( in ask_to_wipe_data() local
184 return (chosen_item == 1); in ask_to_wipe_data()
202 size_t chosen_item = ui->ShowPromptWipeDataMenu( in prompt_and_wipe_data() local
206 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in prompt_and_wipe_data()
209 if (chosen_item != 1) { in prompt_and_wipe_data()
417 size_t chosen_item = 0; in choose_recovery_file() local
419 chosen_item = ui->ShowMenu( in choose_recovery_file()
420 headers, entries, chosen_item, true, in choose_recovery_file()
[all …]
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp1203 int chosen_item = -1; in ShowMenu() local
1204 while (chosen_item < 0) { in ShowMenu()
1231 chosen_item = selected; in ShowMenu()
1237 chosen_item = action; in ShowMenu()
1244 return chosen_item; in ShowMenu()