Home
last modified time | relevance | path

Searched refs:cameraId (Results 1 – 25 of 36) sorted by relevance

12

/hardware/interfaces/camera/provider/2.4/default/
DCameraProvider.cpp51 std::string* cameraId) { in matchDeviceName() argument
58 if (cameraId != nullptr) { in matchDeviceName()
59 *cameraId = sm[2]; in matchDeviceName()
73 char cameraId[kMaxCameraIdLen]; in addDeviceNames() local
74 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in addDeviceNames()
75 std::string cameraIdStr(cameraId); in addDeviceNames()
92 int ret = mModule->openLegacy(cameraId, CAMERA_DEVICE_API_VERSION_1_0, &halDev); in addDeviceNames()
152 char cameraId[kMaxCameraIdLen]; in sCameraDeviceStatusChange() local
153 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in sCameraDeviceStatusChange()
154 std::string cameraIdStr(cameraId); in sCameraDeviceStatusChange()
[all …]
DExternalCameraProvider.cpp44 std::string* cameraId) { in matchDeviceName() argument
51 if (cameraId != nullptr) { in matchDeviceName()
52 *cameraId = sm[2]; in matchDeviceName()
125 std::string cameraId, deviceVersion; in getCameraDeviceInterface_V3_x() local
126 bool match = matchDeviceName(cameraDeviceName, &deviceVersion, &cameraId); in getCameraDeviceInterface_V3_x()
142 cameraId, mCfg); in getCameraDeviceInterface_V3_x()
144 ALOGE("%s: camera device %s init failed!", __FUNCTION__, cameraId.c_str()); in getCameraDeviceInterface_V3_x()
DCameraProvider.h97 std::string getHidlDeviceName(std::string cameraId, int deviceVersion);
/hardware/interfaces/automotive/evs/1.0/default/
DEvsEnumerator.cpp75 Return<sp<IEvsCamera>> EvsEnumerator::openCamera(const hidl_string& cameraId) { in openCamera() argument
81 if (cam.desc.cameraId == cameraId) { in openCamera()
90 ALOGE("Requested camera %s not found", cameraId.c_str()); in openCamera()
102 pActiveCamera = new EvsCamera(cameraId.c_str()); in openCamera()
105 ALOGE("Failed to allocate new EvsCamera object for %s\n", cameraId.c_str()); in openCamera()
121 std::string cameraId; in closeCamera() local
122 pCamera->getCameraInfo([&cameraId](CameraDesc desc) { in closeCamera()
125 cameraId.assign(desc.cameraId.c_str()); in closeCamera()
132 if (cam.desc.cameraId == cameraId) { in closeCamera()
DEvsEnumerator.h42 Return<sp<IEvsCamera>> openCamera(const hidl_string& cameraId) override;
59 CameraRecord(const char *cameraId) : desc() { desc.cameraId = cameraId; } in CameraRecord()
DEvsCamera.cpp50 mDescription.cameraId = id; in EvsCamera()
53 if (mDescription.cameraId == kCameraName_Backup) { in EvsCamera()
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DVtsHalEvsV1_0TargetTest.cpp105 ALOGI("Found camera %s", cam.cameraId.c_str()); in loadCameraList()
138 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_F()
143 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
144 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_F()
169 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_F()
174 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
175 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_F()
179 sp<IEvsCamera> pCam2 = pEnumerator->openCamera(cam.cameraId); in TEST_F()
192 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
193 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_F()
[all …]
/hardware/interfaces/camera/common/1.0/default/
DCameraModule.cpp271 int CameraModule::getCameraInfo(int cameraId, struct camera_info *info) { in getCameraInfo() argument
274 if (cameraId < 0) { in getCameraInfo()
275 ALOGE("%s: Invalid camera ID %d", __FUNCTION__, cameraId); in getCameraInfo()
284 ret = mModule->get_camera_info(cameraId, info); in getCameraInfo()
292 ssize_t index = mCameraInfoMap.indexOfKey(cameraId); in getCameraInfo()
297 int ret = mModule->get_camera_info(cameraId, &rawInfo); in getCameraInfo()
313 index = mCameraInfoMap.add(cameraId, cameraInfo); in getCameraInfo()
322 int CameraModule::getDeviceVersion(int cameraId) { in getDeviceVersion() argument
323 ssize_t index = mDeviceVersionMap.indexOfKey(cameraId); in getDeviceVersion()
328 getCameraInfo(cameraId, &info); in getDeviceVersion()
[all …]
/hardware/interfaces/camera/common/1.0/default/include/
DCameraModule.h49 int getCameraInfo(int cameraId, struct camera_info *info);
50 int getDeviceVersion(int cameraId);
67 void removeCamera(int cameraId);
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp451 QCamera3HardwareInterface::QCamera3HardwareInterface(uint32_t cameraId, in QCamera3HardwareInterface() argument
453 : mCameraId(cameraId), in QCamera3HardwareInterface()
540 mCommon.init(gCamCapability[cameraId]); in QCamera3HardwareInterface()
550 gCamCapability[cameraId]->version = CAM_HAL_V3; in QCamera3HardwareInterface()
553 gCamCapability[cameraId]->min_num_pp_bufs = 3; in QCamera3HardwareInterface()
621 mPDIndex = getPDStatIndex(gCamCapability[cameraId]); in QCamera3HardwareInterface()
9264 int QCamera3HardwareInterface::initCapabilities(uint32_t cameraId) in initCapabilities() argument
9270 rc = camera_open((uint8_t)cameraId, &cameraHandle); in initCapabilities()
9281 gCamCapability[cameraId] = getCapabilities(cameraHandle->ops, handle); in initCapabilities()
9282 if (gCamCapability[cameraId] == NULL) { in initCapabilities()
[all …]
DQCamera3HWI.h256 QCamera3HardwareInterface(uint32_t cameraId,
270 static int getCamInfo(uint32_t cameraId, struct camera_info *info);
273 static int initCapabilities(uint32_t cameraId);
274 static int initStaticMetadata(uint32_t cameraId);
344 static void getFlashInfo(const int cameraId,
493 static bool supportBurstCapture(uint32_t cameraId);
/hardware/qcom/camera/msm8998/QCamera2/
DQCamera2Factory.h39 uint32_t cameraId; member
65 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device);
/hardware/interfaces/camera/device/3.4/default/
DCameraDevice.cpp36 sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument
38 V3_2::implementation::CameraDevice(module, cameraId, cameraDeviceNames) { in CameraDevice()
/hardware/interfaces/camera/device/3.3/default/
DCameraDevice.cpp36 sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument
38 V3_2::implementation::CameraDevice(module, cameraId, cameraDeviceNames) { in CameraDevice()
DCameraDevice_3_3.h57 const std::string& cameraId,
/hardware/google/easel/amber/camera/libhdrplusclient/include/
DEaselManagerClient.h86 virtual status_t startMipi(uint32_t cameraId, uint32_t outputPixelClkHz,
94 virtual status_t stopMipi(uint32_t cameraId) = 0;
/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/
DQualcommCamera.cpp83 int cameraId; member
135 int cameraId = atoi(id); in camera_device_open() local
146 camHal->hardware = new QCamera2HardwareInterface((uint32_t)cameraId); in camera_device_open()
148 camHal->cameraId = cameraId; in camera_device_open()
DQualcommCamera.h44 hw_device_t * open_camera_device(int cameraId);
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp35 sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument
38 mCameraId(cameraId), in CameraDevice()
118 std::string cameraId(info.conflicting_devices[i]); in getResourceCost() local
120 if (cameraId == pair.first) { in getResourceCost()
DCameraDevice_3_2.h61 const std::string& cameraId,
/hardware/interfaces/automotive/evs/1.0/
DIEvsEnumerator.hal35 * Get the IEvsCamera associated with a cameraId from a CameraDesc
37 * Given a camera's unique cameraId from CameraDesc, returns the
44 openCamera(string cameraId) generates (IEvsCamera carCamera);
/hardware/interfaces/camera/device/3.4/default/include/device_v3_4_impl/
DCameraDevice_3_4.h57 const std::string& cameraId,
/hardware/qcom/camera/msm8998/usbcamcore/inc/
DQualcommUsbCamera.h48 hw_device_t * usbcam_open_camera_device(int cameraId);
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDevice_3_4.h59 ExternalCameraDevice(const std::string& cameraId, const ExternalCameraConfig& cfg);
/hardware/interfaces/media/1.0/xml/
Dmedia_profiles.dtd8 <!ATTLIST CamcorderProfiles cameraId (0|1) #REQUIRED> attribute

12