Home
last modified time | relevance | path

Searched refs:DeviceState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/device/
DSingleDeviceStateMachine.java56 private enum DeviceState { enum in SingleDeviceStateMachine
83 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 …]
/packages/services/Telephony/src/com/android/services/telephony/
DDeviceState.java29 public class DeviceState { class
DTelephonyConnectionService.java176 private DeviceState mDeviceState = new DeviceState();
415 public void setDeviceState(DeviceState state) { in setDeviceState()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java123 @Mock DeviceState mDeviceState;