Searched refs:pCameraId (Results 1 – 2 of 2) sorted by relevance
49 sp<StreamHandler> ResourceManager::obtainStreamHandler(string pCameraId) { in obtainStreamHandler() argument55 auto result = mCameraInstances.find(pCameraId); in obtainStreamHandler()63 instance->cameraId = pCameraId; in obtainStreamHandler()66 instance->camera = getEvsEnumerator()->openCamera(pCameraId); in obtainStreamHandler()68 ALOGE("Failed to allocate new EVS Camera interface for %s", pCameraId.c_str()); in obtainStreamHandler()75 ALOGE("Failed to create stream handler for %s", pCameraId.c_str()); in obtainStreamHandler()80 mCameraInstances.emplace(pCameraId, instance); in obtainStreamHandler()91 void ResourceManager::releaseStreamHandler(string pCameraId) { in releaseStreamHandler() argument97 auto result = mCameraInstances.find(pCameraId); in releaseStreamHandler()99 ALOGW("No stream handler is active with camera id %s", pCameraId.c_str()); in releaseStreamHandler()
70 sp<StreamHandler> obtainStreamHandler(string pCameraId);84 void releaseStreamHandler(string pCameraId);