Home
last modified time | relevance | path

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

/frameworks/av/camera/ndk/impl/
DACameraManager.cpp304 if (mCachedCameraIdList.numCameras == kCameraIdListNotInit) { in getOrCreateCameraIdListLocked()
342 mCachedCameraIdList.numCameras = numCameras; in getOrCreateCameraIdListLocked()
343 mCachedCameraIdList.cameraIds = new const char*[numCameras]; in getOrCreateCameraIdListLocked()
344 if (!mCachedCameraIdList.cameraIds) { in getOrCreateCameraIdListLocked()
349 mCachedCameraIdList.cameraIds[i] = cameraIds[i]; in getOrCreateCameraIdListLocked()
352 *cameraIdList = &mCachedCameraIdList; in getOrCreateCameraIdListLocked()
519 if (mCachedCameraIdList.numCameras != kCameraIdListNotInit) { in ~ACameraManager()
520 for (int i = 0; i < mCachedCameraIdList.numCameras; i++) { in ~ACameraManager()
521 delete[] mCachedCameraIdList.cameraIds[i]; in ~ACameraManager()
523 delete[] mCachedCameraIdList.cameraIds; in ~ACameraManager()
DACameraManager.h160 mCachedCameraIdList({kCameraIdListNotInit, nullptr}), in ACameraManager()
180 ACameraIdList mCachedCameraIdList; // Init by getOrCreateCameraIdListLocked member