Searched refs:TargetState (Results 1 – 1 of 1) sorted by relevance
64 private enum TargetState { enum in SingleDeviceStateMachine80 private TargetState mTargetState;110 mTargetState = TargetState.CLOSED; in SingleDeviceStateMachine()124 mTargetState = TargetState.OPENED; in requestOpen()141 mTargetState = TargetState.CLOSED; in requestClose()224 mTargetState = TargetState.CLOSED; in onDeviceOpenException()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 …]