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