Lines Matching refs:Device
195 static void ListenRecoverySocket(RecoveryUI* ui, std::atomic<Device::BuiltinAction>& action) { in ListenRecoverySocket()
220 action = Device::BuiltinAction::ENTER_RECOVERY; in ListenRecoverySocket()
223 action = Device::BuiltinAction::ENTER_FASTBOOT; in ListenRecoverySocket()
416 Device* device; in main()
440 device->RemoveMenuItemForAction(Device::WIPE_CACHE); in main()
444 device->RemoveMenuItemForAction(Device::ENTER_FASTBOOT); in main()
448 device->RemoveMenuItemForAction(Device::ENTER_RESCUE); in main()
465 std::atomic<Device::BuiltinAction> action; in main()
492 if (ret == Device::KEY_INTERRUPTED) { in main()
494 if (ret == Device::NO_ACTION) { in main()
499 case Device::SHUTDOWN: in main()
504 case Device::SHUTDOWN_FROM_FASTBOOT: in main()
509 case Device::REBOOT_BOOTLOADER: in main()
514 case Device::REBOOT_FASTBOOT: in main()
519 case Device::REBOOT_RECOVERY: in main()
524 case Device::REBOOT_RESCUE: { in main()
540 case Device::ENTER_FASTBOOT: in main()
550 case Device::ENTER_RECOVERY: in main()
555 case Device::REBOOT: in main()
560 case Device::REBOOT_FROM_FASTBOOT: in main()