Searched refs:device_state (Results 1 – 6 of 6) sorted by relevance
32 def get_test_device_state(device_state): argument33 if device_state is None:35 elif device_state == DeviceState.ONLINE:37 elif device_state == DeviceState.CONNECTED:39 elif device_state == DeviceState.OFFLINE:41 elif device_state == DeviceState.RECOVERY:43 elif device_state == DeviceState.BOOTLOADER:59 for device_state in DeviceState:60 if device_state.value == state.lower():61 return device_state
22 from _core.environment.device_state import TestDeviceState50 self.device_state = device.test_device_state57 if self.device_state == state:70 return self.device_state == state119 self.device_state = new_state
29 from _core.environment.device_state import DeviceAllocationState
129 from _core.environment.device_state import DeviceEvent130 from _core.environment.device_state import TestDeviceState131 from _core.environment.device_state import DeviceState132 from _core.environment.device_state import \134 from _core.environment.device_state import \
237 device_instance.device_state = idevice.device_state240 device_instance.device_state)243 if idevice.device_state == DeviceState.ONLINE or \244 idevice.device_state == DeviceState.CONNECTED:348 new_state = TestDeviceState.get_test_device_state(idevice.device_state)367 new_state = TestDeviceState.get_test_device_state(idevice.device_state)
147 local_device1.device_state = DeviceState.OFFLINE238 device_instance.device_state = DeviceState.get_state(items[3])251 if local_device1.device_state != \252 local_device2.device_state:253 local_device1.device_state = local_device2.device_state