Lines Matching refs:mModule
152 mSoundRef(0), mModule(nullptr) { in CameraService()
182 mModule = new CameraModule(rawModule); in onFirstRef()
183 err = mModule->init(); in onFirstRef()
189 delete mModule; in onFirstRef()
190 mModule = nullptr; in onFirstRef()
193 ALOGI("Loaded \"%s\" camera module", mModule->getModuleName()); in onFirstRef()
195 mNumberOfCameras = mModule->getNumberOfCameras(); in onFirstRef()
201 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_2) { in onFirstRef()
205 mFlashlight = new CameraFlashlight(*mModule, *this); in onFirstRef()
220 status_t rc = mModule->getCameraInfo(i, &info); in onFirstRef()
231 delete mModule; in onFirstRef()
232 mModule = nullptr; in onFirstRef()
243 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_4 && haveInfo) { in onFirstRef()
267 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_1) { in onFirstRef()
268 mModule->setCallbacks(this); in onFirstRef()
291 if (mModule) { in ~CameraService()
292 delete mModule; in ~CameraService()
293 mModule = nullptr; in ~CameraService()
450 if (!mModule) { in getCameraInfo()
462 mModule->getCameraInfo(cameraId, &info)); in getCameraInfo()
588 if (!mModule) { in getCameraCharacteristics()
602 if (mModule->getModuleApiVersion() < CAMERA_MODULE_API_VERSION_2_0 || in getCameraCharacteristics()
620 ret = filterGetInfoErrorCode(mModule->getCameraInfo(cameraId, &info)); in getCameraCharacteristics()
664 if (!mModule) { in getCameraVendorTagDescriptor()
678 if (mModule->getCameraInfo(cameraId, &info) != OK) { in getDeviceVersion()
683 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_0) { in getDeviceVersion()
718 if (!mModule->isVendorTagDefined()) { in setUpVendorTags()
723 mModule->getVendorTagOps(&vOps); in setUpVendorTags()
969 if (!mModule) { in validateConnectLocked()
1286 int apiVersion = mModule->getModuleApiVersion(); in connectLegacy()
1712 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_0) { in checkCameraCapabilities()
1739 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_0 in checkCameraCapabilities()
2482 if (!mModule) { in dump()
2493 … result = String8::format("Camera module HAL API version: 0x%x\n", mModule->getHalApiVersion()); in dump()
2494 result.appendFormat("Camera module API version: 0x%x\n", mModule->getModuleApiVersion()); in dump()
2495 result.appendFormat("Camera module name: %s\n", mModule->getModuleName()); in dump()
2496 result.appendFormat("Camera module author: %s\n", mModule->getModuleAuthor()); in dump()
2530 status_t rc = mModule->getCameraInfo(cameraIdToInt(cameraId), &info); in dump()
2539 if (mModule->getModuleApiVersion() < CAMERA_MODULE_API_VERSION_2_0) { in dump()