Lines Matching refs:device
105 def locate_state(device, file_map): argument
106 return file_map[device][f_names.state_f.value]
166 for device in file_map:
167 if (get_test_state(locate_state(device, file_map)) == 1):
169 .format(device.split("/")[5]))
172 .format(device.split("/")[5]))
224 def set_delay_values(device, file_map, delay_length, quiet): argument
227 interrupt = file_map[device][f_names.buff_f.value]
228 message = file_map[device][f_names.mess_f.value]
251 for device in (file_map):
252 set_test_state(locate_state(device, file_map),
255 set_delay_values(device, file_map, delay, quiet)
258 def disable_testing_single_device(device, file_map): argument
260 for name in file_map[device]:
261 file_location = file_map[device][name]
263 print("ALL testing now OFF for {}".format(device.split("/")[-1]))
268 for device in file_map:
269 disable_testing_single_device(device, file_map)