Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery.cpp165 size_t chosen_item = device->GetUI()->ShowMenu( in yes_no() local
168 return (chosen_item == 1); in yes_no()
175 size_t chosen_item = device->GetUI()->ShowPromptWipeDataConfirmationMenu( in ask_to_wipe_data() local
179 return (chosen_item == 1); in ask_to_wipe_data()
197 size_t chosen_item = device->GetUI()->ShowPromptWipeDataMenu( in prompt_and_wipe_data() local
201 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in prompt_and_wipe_data()
204 if (chosen_item != 1) { in prompt_and_wipe_data()
254 size_t chosen_item = 0; in choose_recovery_file() local
256 chosen_item = device->GetUI()->ShowMenu( in choose_recovery_file()
257 headers, entries, chosen_item, true, in choose_recovery_file()
[all …]
/bootable/recovery/fastboot/
Dfastboot.cpp71 auto chosen_item = ui->ShowMenu( in StartFastboot() local
75 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in StartFastboot()
78 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT)) { in StartFastboot()
81 return kFastbootMenuActions[chosen_item].second; in StartFastboot()
/bootable/recovery/install/
Dfuse_install.cpp92 size_t chosen_item = 0; in BrowseDirectory() local
94 chosen_item = ui->ShowMenu( in BrowseDirectory()
95 headers, entries, chosen_item, true, in BrowseDirectory()
99 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory()
103 const std::string& item = entries[chosen_item]; in BrowseDirectory()
104 if (chosen_item == 0) { in BrowseDirectory()
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp1238 int chosen_item = -1; in ShowMenu() local
1239 while (chosen_item < 0) { in ShowMenu()
1266 chosen_item = selected; in ShowMenu()
1272 chosen_item = action; in ShowMenu()
1279 return chosen_item; in ShowMenu()