Lines Matching refs:chosen_item
165 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()
261 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in choose_recovery_file()
264 if (entries[chosen_item] == "Back") break; in choose_recovery_file()
266 device->GetUI()->ShowFile(entries[chosen_item]); in choose_recovery_file()
350 size_t chosen_item = device->GetUI()->ShowMenu( in AskToReboot() local
354 return (chosen_item == 1); in AskToReboot()
393 size_t chosen_item = ui->ShowMenu( in PromptAndWait() local
397 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in PromptAndWait()
403 (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT)) in PromptAndWait()
405 : device->InvokeMenuItem(chosen_item); in PromptAndWait()