Home
last modified time | relevance | path

Searched refs:deviceVersion (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/camera/provider/2.4/default/
DLegacyCameraProviderImpl_2_4.cpp49 bool matchDeviceName(const hidl_string& deviceName, std::string* deviceVersion, in matchDeviceName() argument
54 if (deviceVersion != nullptr) { in matchDeviceName()
55 *deviceVersion = sm[1]; in matchDeviceName()
80 int deviceVersion = mModule->getDeviceVersion(camera_id); in addDeviceNames() local
82 getHidlDeviceName(cameraIdStr, deviceVersion)); in addDeviceNames()
87 if (deviceVersion >= CAMERA_DEVICE_API_VERSION_3_2 && in addDeviceNames()
116 int deviceVersion = mModule->getDeviceVersion(camera_id); in removeDeviceNames() local
118 getHidlDeviceName(cameraIdStr, deviceVersion)); in removeDeviceNames()
121 if (deviceVersion >= CAMERA_DEVICE_API_VERSION_3_2 && in removeDeviceNames()
226 std::string cameraId, int deviceVersion) { in getHidlDeviceName() argument
[all …]
DExternalCameraProviderImpl_2_4.cpp47 bool matchDeviceName(const hidl_string& deviceName, std::string* deviceVersion, in matchDeviceName() argument
52 if (deviceVersion != nullptr) { in matchDeviceName()
53 *deviceVersion = sm[1]; in matchDeviceName()
147 std::string cameraId, deviceVersion; in getCameraDeviceInterface_V3_x() local
148 bool match = matchDeviceName(cameraDeviceName, &deviceVersion, &cameraId); in getCameraDeviceInterface_V3_x()
DLegacyCameraProviderImpl_2_4.h103 std::string getHidlDeviceName(std::string cameraId, int deviceVersion);
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp177 std::string* deviceVersion, in matchDeviceName() argument
185 if (deviceVersion != nullptr) { in matchDeviceName()
186 *deviceVersion = sm[1]; in matchDeviceName()
609 DeviceCb(CameraHidlTest *parent, int deviceVersion, const camera_metadata_t *staticMeta) : in DeviceCb()
610 mParent(parent), mDeviceVersion(deviceVersion) { in DeviceCb()
735 void castSession(const sp<ICameraDeviceSession> &session, int32_t deviceVersion,
739 void castDevice(const sp<device::V3_2::ICameraDevice> &device, int32_t deviceVersion,
748 void configurePreviewStreams3_4(const std::string &name, int32_t deviceVersion,
762 void configurePreviewStream(const std::string &name, int32_t deviceVersion,
776 const CameraMetadata& chars, int deviceVersion,
[all …]
/hardware/interfaces/camera/common/1.0/default/
DCameraModule.cpp33 uint32_t deviceVersion, CameraMetadata &chars) { in deriveCameraCharacteristicsKeys() argument
40 if (deviceVersion < CAMERA_DEVICE_API_VERSION_3_3) { in deriveCameraCharacteristicsKeys()
136 if (deviceVersion < CAMERA_DEVICE_API_VERSION_3_4) { in deriveCameraCharacteristicsKeys()
311 int deviceVersion = rawInfo.device_version; in getCameraInfo() local
312 if (deviceVersion < CAMERA_DEVICE_API_VERSION_3_0) { in getCameraInfo()
380 int deviceVersion; in getDeviceVersion() local
384 deviceVersion = info.device_version; in getDeviceVersion()
386 deviceVersion = CAMERA_DEVICE_API_VERSION_1_0; in getDeviceVersion()
388 index = mDeviceVersionMap.add(cameraId, deviceVersion); in getDeviceVersion()
/hardware/interfaces/camera/common/1.0/default/include/
DCameraModule.h81 static void deriveCameraCharacteristicsKeys(uint32_t deviceVersion, CameraMetadata &chars);