Home
last modified time | relevance | path

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

/hardware/interfaces/camera/provider/2.4/default/
DCameraProvider.cpp44 std::string* cameraId) { in matchDeviceName() argument
51 if (cameraId != nullptr) { in matchDeviceName()
52 *cameraId = sm[2]; in matchDeviceName()
80 char cameraId[kMaxCameraIdLen]; in sCameraDeviceStatusChange() local
81 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in sCameraDeviceStatusChange()
82 std::string cameraIdStr(cameraId); in sCameraDeviceStatusChange()
132 std::string cameraId; in getLegacyCameraId() local
133 matchDeviceName(deviceName, nullptr, &cameraId); in getLegacyCameraId()
134 return cameraId; in getLegacyCameraId()
153 std::string cameraId, int deviceVersion) { in getHidlDeviceName() argument
[all …]
DCameraProvider.h99 static 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/
DVtsEvsV1_0TargetTest.cpp85 ALOGI("Found camera %s", cam.cameraId.c_str()); in loadCameraList()
118 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_F()
123 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
124 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_F()
149 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_F()
154 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
155 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_F()
159 sp<IEvsCamera> pCam2 = pEnumerator->openCamera(cam.cameraId); in TEST_F()
172 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
173 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);
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp35 sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument
38 mCameraId(cameraId), in CameraDevice()
116 std::string cameraId(info.conflicting_devices[i]); in getResourceCost() local
118 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);
Dtypes.hal27 string cameraId;
/hardware/interfaces/media/1.0/
Dmedia_profiles.dtd8 <!ATTLIST CamcorderProfiles cameraId (0|1) #REQUIRED> attribute
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp88 sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument
91 mCameraId(cameraId), in CameraDevice()
551 std::string cameraId(info.conflicting_devices[i]); in getResourceCost() local
553 if (cameraId == pair.first) { in getResourceCost()
DCameraDevice_1_0.h69 const std::string& cameraId,