Home
last modified time | relevance | path

Searched refs:KeyCode (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/tests/unit/
Dscreen_ui_test.cpp282 enum class KeyCode : int { enum
292 static const std::map<KeyCode, int> kKeyMapping{
294 { KeyCode::NO_OP, Device::kNoAction },
295 { KeyCode::UP, Device::kHighlightUp },
296 { KeyCode::DOWN, Device::kHighlightDown },
297 { KeyCode::ENTER, Device::kInvokeItem },
298 { KeyCode::MAGIC, kMagicAction },
306 void SetKeyBuffer(const std::vector<KeyCode>& buffer);
317 std::vector<KeyCode> key_buffer_;
321 void TestableScreenRecoveryUI::SetKeyBuffer(const std::vector<KeyCode>& buffer) { in SetKeyBuffer()
[all …]