Lines Matching refs:MockHost
129 class MockHost(object): class
146 class MockHostWithoutAFE(MockHost):
158 host = MockHost([], MockCmd(mosys_cmd, 0, '27\n'))
163 host = MockHost([], MockCmd(mosys_cmd, 1, '27\n'))
167 host = MockHost(['device-sku:48'])
181 host = MockHost([], MockCmd(cros_config_cmd, 0, 'XXYZ\n'))
186 host = MockHost([], MockCmd(cros_config_cmd, 1, 'XXYZ\n'))
190 host = MockHost(['brand-code:ABCD'])
198 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PVT))
202 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PREPVT))
206 host = MockHost([], MockCmd('gsctool -a -f', 1, ''))
214 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PVT))
219 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_DEV_RW))
224 host = MockHost([], MockCmd('gsctool -a -f', 1, ''))
232 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PREPVT))
237 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_DEV_RO))
242 host = MockHost([], MockCmd('gsctool -a -f', 1, ''))
304 host = MockHost(['servo_type:Some_interesting'])
310 host = MockHost(['servo_state:Some_interesting'])
317 host = MockHost(['servo_type'])