Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvboot_api_kernel2_tests.c37 static uint32_t mock_keypress[8]; variable
88 Memset(mock_keypress, 0, sizeof(mock_keypress)); in ResetMocks()
119 if (mock_keypress_count < ARRAY_SIZE(mock_keypress)) { in VbExKeyboardReadWithFlags()
122 return mock_keypress[mock_keypress_count++]; in VbExKeyboardReadWithFlags()
210 mock_keypress[0] = '\r'; in VbUserConfirmsTest()
214 mock_keypress[0] = 0x1b; in VbUserConfirmsTest()
218 mock_keypress[0] = ' '; in VbUserConfirmsTest()
224 mock_keypress[0] = ' '; in VbUserConfirmsTest()
229 mock_keypress[0] = '\r'; in VbUserConfirmsTest()
235 mock_keypress[0] = '\r'; /* untrusted */ in VbUserConfirmsTest()
[all …]