Home
last modified time | relevance | path

Searched refs:mDeviceRequest (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/device/
DSingleDeviceStateMachine.java87 private SingleDeviceRequest<TDevice> mDeviceRequest; field in SingleDeviceStateMachine
160 SingleDeviceRequest<TDevice> previous = mDeviceRequest; in setRequest()
161 mDeviceRequest = deviceRequest; in setRequest()
171 mDeviceRequest.set(mOpenDevice); in setRequest()
295 if(mDeviceRequest != null) { in executeOpened()
296 mDeviceRequest.set(mOpenDevice); in executeOpened()
333 if (mDeviceRequest == null || mDeviceRequest == request) { in requestCloseIfCurrentRequest()
341 if (mDeviceRequest != null) { in closeRequestWithException()
344 mDeviceRequest.closeWithException(exception); in closeRequestWithException()
345 mDeviceRequest = null; in closeRequestWithException()
[all …]
DCameraDeviceLifecycle.java45 private SingleDeviceRequest<TDevice> mDeviceRequest; field in CameraDeviceLifecycle
64 mDeviceRequest = new SingleDeviceRequest<>(lifetime); in createRequest()
65 lifetime.add(mDeviceRequest); in createRequest()
66 mDeviceState.setRequest(mDeviceRequest); in createRequest()
68 return mDeviceRequest.getFuture(); in createRequest()
90 if (mDeviceRequest != null) { in close()
91 mDeviceRequest.close(); in close()
92 mDeviceRequest = null; in close()