Searched refs:mock_switches (Results 1 – 1 of 1) sorted by relevance
40 static uint32_t mock_switches[8]; variable92 Memset(mock_switches, 0, sizeof(mock_switches)); in ResetMocks()130 return mock_switches[0] & request_mask; in VbExGetSwitches()131 if (mock_switches_count < ARRAY_SIZE(mock_switches)) in VbExGetSwitches()132 return mock_switches[mock_switches_count++] & request_mask; in VbExGetSwitches()243 mock_switches[0] = VB_INIT_FLAG_REC_BUTTON_PRESSED; in VbUserConfirmsTest()254 mock_switches[0] = VB_INIT_FLAG_REC_BUTTON_PRESSED; in VbUserConfirmsTest()608 mock_switches[0] = VB_INIT_FLAG_REC_BUTTON_PRESSED; in VbBootRecTest()