Home
last modified time | relevance | path

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

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java56 private final CameraStateHolder mCameraState; field in AndroidCameraAgentImpl
85 mCameraState = new AndroidCameraStateHolder(); in AndroidCameraAgentImpl()
94 mCameraState.invalidate(); in recycle()
114 return mCameraState; in getCameraState()
340 mCameraState.getState()); in onError()
364 if (mCameraState.getState() != AndroidCameraStateHolder.CAMERA_UNOPENED) { in handleMessage()
382 mCameraState.setState(AndroidCameraStateHolder.CAMERA_IDLE); in handleMessage()
399 mCameraState.setState(AndroidCameraStateHolder.CAMERA_UNOPENED); in handleMessage()
421 mCameraState.setState(AndroidCameraStateHolder.CAMERA_IDLE); in handleMessage()
432 mCameraState.setState(AndroidCameraStateHolder.CAMERA_UNLOCKED); in handleMessage()
[all …]
DAndroidCamera2AgentImpl.java64 private final CameraStateHolder mCameraState; field in AndroidCamera2AgentImpl
91 mCameraState = new AndroidCamera2StateHolder(); in AndroidCamera2AgentImpl()
161 return mCameraState; in getCameraState()
233 if (mCameraState.getState() > AndroidCamera2StateHolder.CAMERA_UNOPENED) { in handleMessage()
255 if (mCameraState.getState() == AndroidCamera2StateHolder.CAMERA_UNOPENED) { in handleMessage()
302 if (mCameraState.getState() != in handleMessage()
328 if (mCameraState.getState() < in handleMessage()
391 if (mCameraState.getState() < in handleMessage()
464 if (mCameraState.getState() < in handleMessage()
539 if (mCameraState.getState() < in handleMessage()
[all …]
/frameworks/av/media/utils/
DBatteryNotifier.cpp152 if (!mCameraState[k]) { in noteStartCamera()
153 mCameraState[k] = true; in noteStartCamera()
164 if (mCameraState[k]) { in noteStopCamera()
165 mCameraState[k] = false; in noteStopCamera()
175 mCameraState.clear(); in noteResetCamera()
/frameworks/av/media/utils/include/mediautils/
DBatteryNotifier.h64 std::map<std::pair<String8, uid_t>, bool> mCameraState; variable