Lines Matching refs:Device
199 static void ListenRecoverySocket(RecoveryUI* ui, std::atomic<Device::BuiltinAction>& action) { in ListenRecoverySocket()
224 action = Device::BuiltinAction::ENTER_RECOVERY; in ListenRecoverySocket()
227 action = Device::BuiltinAction::ENTER_FASTBOOT; in ListenRecoverySocket()
420 Device* device; in main()
444 device->RemoveMenuItemForAction(Device::WIPE_CACHE); in main()
448 device->RemoveMenuItemForAction(Device::ENTER_FASTBOOT); in main()
452 device->RemoveMenuItemForAction(Device::ENTER_RESCUE); in main()
469 std::atomic<Device::BuiltinAction> action; in main()
494 if (ret == Device::KEY_INTERRUPTED) { in main()
496 if (ret == Device::NO_ACTION) { in main()
501 case Device::SHUTDOWN: in main()
506 case Device::SHUTDOWN_FROM_FASTBOOT: in main()
511 case Device::REBOOT_BOOTLOADER: in main()
516 case Device::REBOOT_FASTBOOT: in main()
521 case Device::REBOOT_RECOVERY: in main()
526 case Device::REBOOT_RESCUE: { in main()
542 case Device::ENTER_FASTBOOT: in main()
552 case Device::ENTER_RECOVERY: in main()
558 case Device::REBOOT: in main()
563 case Device::REBOOT_FROM_FASTBOOT: in main()