Home
last modified time | relevance | path

Searched refs:mCameraIdList (Results 1 – 5 of 5) 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/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java116 private String[] mCameraIdList; field in CameraBokehActivity
220 mCameraIdList = mCameraManager.getCameraIdList(); in onCreate()
221 for (String id : mCameraIdList) { in onCreate()
595 mCameraId = mCameraIdList[index]; in setUpCamera()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp1014 mCameraManager, &mCameraIdList); in initWithErrorLog()
1046 if (mCameraIdList) { in deInit()
1047 ACameraManager_deleteCameraIdList(mCameraIdList); in deInit()
1048 mCameraIdList = nullptr; in deInit()
1061 if (!mMgrInited || !mCameraIdList) { in getNumCameras()
1067 return mCameraIdList->numCameras; in getNumCameras()
1071 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraId()
1081 return mCameraIdList->cameraIds[idx]; in getCameraId()
1086 if (!mMgrInited || !mCameraIdList || idx < 0 || idx >= mCameraIdList->numCameras) { in getCameraChars()
1089 const char* cameraId = mCameraIdList->cameraIds[idx]; in getCameraChars()
[all …]