Lines Matching refs:mModule
224 mModule = module; in CameraModule()
249 if (getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_4 && mModule->init != NULL) { in init()
251 res = mModule->init(); in init()
268 int apiVersion = mModule->common.module_api_version; in getCameraInfo()
272 ret = mModule->get_camera_info(cameraId, info); in getCameraInfo()
285 int ret = mModule->get_camera_info(cameraId, &rawInfo); in getCameraInfo()
319 int apiVersion = mModule->common.module_api_version; in getPhysicalCameraInfo()
325 if (mModule->get_physical_camera_info == nullptr) { in getPhysicalCameraInfo()
335 int ret = mModule->get_physical_camera_info(physicalCameraId, &info); in getPhysicalCameraInfo()
376 res = filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device)); in open()
385 return mModule->open_legacy != NULL; in isOpenLegacyDefined()
391 res = mModule->open_legacy(&mModule->common, id, halVersion, device); in openLegacy()
399 numCameras = mModule->get_number_of_cameras(); in getNumberOfCameras()
408 res = mModule->set_callbacks(callbacks); in setCallbacks()
415 return mModule->get_vendor_tag_ops != NULL; in isVendorTagDefined()
419 if (mModule->get_vendor_tag_ops) { in getVendorTagOps()
421 mModule->get_vendor_tag_ops(ops); in getVendorTagOps()
428 if (mModule->set_torch_mode == NULL) { in isSetTorchModeSupported()
439 if (mModule->set_torch_mode != NULL) { in setTorchMode()
441 res = mModule->set_torch_mode(camera_id, enable); in setTorchMode()
449 if (mModule->is_stream_combination_supported != NULL) { in isStreamCombinationSupported()
451 res = mModule->is_stream_combination_supported(cameraId, streams); in isStreamCombinationSupported()
459 mModule->notify_device_state_change != NULL) { in notifyDeviceStateChange()
463 mModule->notify_device_state_change(deviceState); in notifyDeviceStateChange()
543 return mModule->common.module_api_version; in getModuleApiVersion()
547 return mModule->common.name; in getModuleName()
551 return mModule->common.hal_api_version; in getHalApiVersion()
555 return mModule->common.author; in getModuleAuthor()
559 return mModule->common.dso; in getDso()