Lines Matching refs:Device
189 static void ListenRecoverySocket(RecoveryUI* ui, std::atomic<Device::BuiltinAction>& action) { in ListenRecoverySocket()
214 action = Device::BuiltinAction::ENTER_RECOVERY; in ListenRecoverySocket()
217 action = Device::BuiltinAction::ENTER_FASTBOOT; in ListenRecoverySocket()
400 Device* device; in main()
421 device->RemoveMenuItemForAction(Device::WIPE_CACHE); in main()
425 device->RemoveMenuItemForAction(Device::ENTER_FASTBOOT); in main()
429 device->RemoveMenuItemForAction(Device::ENTER_RESCUE); in main()
446 std::atomic<Device::BuiltinAction> action; in main()
466 if (ret == Device::KEY_INTERRUPTED) { in main()
468 if (ret == Device::NO_ACTION) { in main()
473 case Device::SHUTDOWN: in main()
479 case Device::REBOOT_BOOTLOADER: in main()
484 case Device::REBOOT_FASTBOOT: in main()
489 case Device::REBOOT_RECOVERY: in main()
494 case Device::REBOOT_RESCUE: { in main()
510 case Device::ENTER_FASTBOOT: in main()
520 case Device::ENTER_RECOVERY: in main()