Lines Matching refs:Device
28 static std::vector<std::pair<std::string, Device::BuiltinAction>> g_menu_actions{
29 { "Reboot system now", Device::REBOOT },
30 { "Reboot to bootloader", Device::REBOOT_BOOTLOADER },
31 { "Enter fastboot", Device::ENTER_FASTBOOT },
32 { "Apply update from ADB", Device::APPLY_ADB_SIDELOAD },
33 { "Apply update from SD card", Device::APPLY_SDCARD },
34 { "Wipe data/factory reset", Device::WIPE_DATA },
35 { "Wipe cache partition", Device::WIPE_CACHE },
36 { "Mount /system", Device::MOUNT_SYSTEM },
37 { "View recovery logs", Device::VIEW_RECOVERY_LOGS },
38 { "Run graphics test", Device::RUN_GRAPHICS_TEST },
39 { "Run locale test", Device::RUN_LOCALE_TEST },
40 { "Enter rescue", Device::ENTER_RESCUE },
41 { "Power off", Device::SHUTDOWN },
52 Device::Device(RecoveryUI* ui) : ui_(ui) { in Device() function in Device
56 void Device::RemoveMenuItemForAction(Device::BuiltinAction action) { in RemoveMenuItemForAction()
66 const std::vector<std::string>& Device::GetMenuItems() { in GetMenuItems()
70 Device::BuiltinAction Device::InvokeMenuItem(size_t menu_position) { in InvokeMenuItem()
74 int Device::HandleMenuKey(int key, bool visible) { in HandleMenuKey()