Searched refs:DeviceState (Results 1 – 4 of 4) sorted by relevance
56 private enum DeviceState { enum in SingleDeviceStateMachine83 private DeviceState mDeviceState;111 mDeviceState = DeviceState.CLOSED; in SingleDeviceStateMachine()191 mDeviceState = DeviceState.OPENED; in onDeviceOpened()223 mDeviceState = DeviceState.CLOSING; in onDeviceOpenException()240 mDeviceState = DeviceState.CLOSED; in onDeviceClosed()270 if (mDeviceState == DeviceState.CLOSED && mTargetState == TargetState.OPENED) { in update()272 } else if (mDeviceState == DeviceState.OPENED && mTargetState == TargetState.OPENED) { in update()274 } else if (mDeviceState == DeviceState.OPENED && mTargetState == TargetState.CLOSED) { in update()276 } else if (mDeviceState == DeviceState.CLOSED && mTargetState == TargetState.CLOSED) { in update()[all …]
29 public class DeviceState { class
176 private DeviceState mDeviceState = new DeviceState();415 public void setDeviceState(DeviceState state) { in setDeviceState()
123 @Mock DeviceState mDeviceState;