Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/jni/
DCameraTestHelpers.cpp43 int ret = ACameraManager_getCameraIdList(mCameraManager, &mCameraIdList); in initCamera()
48 if (mCameraIdList->numCameras < 1) { in initCamera()
52 ALOGI("Found %d camera(s).", mCameraIdList->numCameras); in initCamera()
55 mCameraId = mCameraIdList->cameraIds[0]; in initCamera()
173 if (mCameraIdList) { in closeCamera()
174 ACameraManager_deleteCameraIdList(mCameraIdList); in closeCamera()
175 mCameraIdList = nullptr; in closeCamera()
DCameraTestHelpers.h67 ACameraIdList *mCameraIdList{nullptr};
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp88 ret = ACameraManager_getCameraIdList(mCameraManager, &mCameraIdList); in initCamera()
93 if (mCameraIdList->numCameras < 1) { in initCamera()
99 mCameraId = mCameraIdList->cameraIds[0]; in initCamera()
213 if (mCameraIdList) { in closeCamera()
214 ACameraManager_deleteCameraIdList(mCameraIdList); in closeCamera()
215 mCameraIdList = nullptr; in closeCamera()
249 ACameraIdList* mCameraIdList = nullptr; member in __anond2bb31fa0111::CameraHelper
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp900 mCameraManager, &mCameraIdList); in initWithErrorLog()
926 if (mCameraIdList) { in deInit()
927 ACameraManager_deleteCameraIdList(mCameraIdList); in deInit()
928 mCameraIdList = nullptr; in deInit()
935 if (!mMgrInited || !mCameraIdList) { in getNumCameras()
938 return mCameraIdList->numCameras; in getNumCameras()
942 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraId()
945 return mCameraIdList->cameraIds[idx]; in getCameraId()
950 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraChars()
956 mCameraManager, mCameraIdList->cameraIds[idx], &chars); in getCameraChars()
[all …]