Home
last modified time | relevance | path

Searched refs:mCameraId (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp91 mCameraId(cameraId), in CameraDevice()
94 mCameraIdInt = atoi(mCameraId.c_str()); in CameraDevice()
97 ALOGE("%s: Invalid camera id: %s", __FUNCTION__, mCameraId.c_str()); in CameraDevice()
104 __FUNCTION__, mCameraId.c_str()); in CameraDevice()
118 ALOGW("%s: camera %s is deleted while open", __FUNCTION__, mCameraId.c_str()); in ~CameraDevice()
132 ALOGW("%s: camera %s is disconneted. Closing", __FUNCTION__, mCameraId.c_str()); in setConnectionStatus()
576 mCameraId.c_str(), resCost.conflictingDevices[i].c_str()); in getResourceCost()
615 status = getHidlStatus(mModule->setTorchMode(mCameraId.c_str(), enable)); in setTorchMode()
642 ALOGI("Opening camera %s", mCameraId.c_str()); in open()
648 ALOGE("Could not get camera info: %s: %d", mCameraId.c_str(), res); in open()
[all …]
DCameraDevice_1_0.h137 const std::string mCameraId; member
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp38 mCameraId(cameraId), in CameraDevice()
41 mCameraIdInt = atoi(mCameraId.c_str()); in CameraDevice()
44 ALOGE("%s: Invalid camera id: %s", __FUNCTION__, mCameraId.c_str()); in CameraDevice()
47 ALOGI("%s: Adding a new camera id: %s", __FUNCTION__, mCameraId.c_str()); in CameraDevice()
53 __FUNCTION__, mCameraId.c_str()); in CameraDevice()
136 mCameraId.c_str(), resCost.conflictingDevices[i].c_str()); in getResourceCost()
171 status = getHidlStatus(mModule->setTorchMode(mCameraId.c_str(), enable)); in setTorchMode()
183 __FUNCTION__, mCameraId.c_str()); in open()
192 __FUNCTION__, mCameraId.c_str()); in open()
212 res = mModule->open(mCameraId.c_str(), in open()
[all …]
DCameraDevice_3_2.h98 const std::string mCameraId; member
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp475 : mCameraId(cameraId), in QCamera3HardwareInterface()
932 mCameraId); in openCamera()
992 mCameraId, rc); in openCamera()
1019 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()
1022 mCameraId); in openCamera()
1026 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera()
1075 &sessionId[mCameraId]); in openCamera()
1108 LOGH("mCameraId=%d",mCameraId); in openCamera()
1131 mCameraId); in closeCamera()
1148 sessionId[mCameraId] = 0xDEADBEEF; in closeCamera()
[all …]
DQCamera3HWI.h545 uint32_t mCameraId; variable
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp51 mCameraId(cameraId), in ExternalCameraDevice()
109 __FUNCTION__, mCameraId.c_str()); in open()
116 __FUNCTION__, mCameraId.c_str()); in open()
123 ALOGV("%s: Initializing device for camera %s", __FUNCTION__, mCameraId.c_str()); in open()
132 unique_fd fd(::open(mCameraId.c_str(), O_RDWR)); in open()
137 __FUNCTION__, mCameraId.c_str()); in open()
139 fd.reset(::open(mCameraId.c_str(), O_RDWR)); in open()
145 __FUNCTION__, mCameraId.c_str(), strerror(errno)); in open()
154 mCameraCharacteristics, mCameraId, std::move(fd)); in open()
206 unique_fd fd(::open(mCameraId.c_str(), O_RDWR)); in initCameraCharacteristics()
[all …]
DExternalCameraDeviceSession.cpp106 mCameraId(cameraId), in ExternalCameraDeviceSession()
234 dprintf(fd, "External camera %s is closed\n", mCameraId.c_str()); in dumpState()
269 mCameraId.c_str(), mV4l2Fd.get(), in dumpState()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
DQCameraHAL3VideoTest.h60 int mCameraId; variable
DQCameraHAL3VideoTest.cpp53 mCameraId(camid), in QCameraHAL3VideoTest()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWI.cpp1617 : mCameraId(cameraId), in QCamera2HardwareInterface()
1844 mCameraId); in openCamera()
1859 mCameraId, rc); in openCamera()
1885 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()
1888 mCameraId); in openCamera()
1901 if (gCamCapability[mCameraId] != NULL) { in openCamera()
1910 gCamCapability[mCameraId]->padding_info.plane_padding; in openCamera()
1923 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera()
1936 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera()
1943 if(NO_ERROR != initCapabilities(mCameraId,mCameraHandle)) { in openCamera()
[all …]
DQCamera2HWI.h320 uint32_t getCameraId() { return mCameraId; }; in getCameraId()
609 uint32_t mCameraId; variable
DQCamera2HWICallbacks.cpp3096 mVFps, mCameraId); in debugShowVideoFPS()
3120 mPFps, mCameraId); in debugShowPreviewFPS()
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDevice.cpp94 ALOGE("%s: camera %s. camera init failed!", __FUNCTION__, mCameraId.c_str()); in isStreamCombinationSupported()
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDevice_3_4.h151 std::string mCameraId; member
DExternalCameraDeviceSession.h348 const std::string& mCameraId; member