Searched refs:mCameraIdList (Results 1 – 5 of 5) sorted by relevance
43 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()
67 ACameraIdList *mCameraIdList{nullptr};
88 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
116 private String[] mCameraIdList; field in CameraBokehActivity220 mCameraIdList = mCameraManager.getCameraIdList(); in onCreate()221 for (String id : mCameraIdList) { in onCreate()595 mCameraId = mCameraIdList[index]; in setUpCamera()
1014 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 …]