Home
last modified time | relevance | path

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

/hardware/interfaces/camera/provider/2.4/default/
DCameraProvider.cpp43 bool matchDeviceName(const hidl_string& deviceName, std::string* deviceVersion, in matchDeviceName() argument
48 if (deviceVersion != nullptr) { in matchDeviceName()
49 *deviceVersion = sm[1]; in matchDeviceName()
138 std::string deviceVersion; in getCameraDeviceVersion() local
139 bool match = matchDeviceName(deviceName, &deviceVersion, nullptr); in getCameraDeviceVersion()
143 if (deviceVersion == kHAL3_2) { in getCameraDeviceVersion()
146 } else if (deviceVersion == kHAL1_0) { in getCameraDeviceVersion()
153 std::string cameraId, int deviceVersion) { in getHidlDeviceName() argument
155 if (deviceVersion != CAMERA_DEVICE_API_VERSION_1_0 && in getHidlDeviceName()
156 deviceVersion != CAMERA_DEVICE_API_VERSION_3_2 && in getHidlDeviceName()
[all …]
DCameraProvider.h99 static std::string getHidlDeviceName(std::string cameraId, int deviceVersion);
/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()
302 int deviceVersion = rawInfo.device_version; in getCameraInfo() local
303 if (deviceVersion < CAMERA_DEVICE_API_VERSION_3_0) { in getCameraInfo()
325 int deviceVersion; in getDeviceVersion() local
329 deviceVersion = info.device_version; in getDeviceVersion()
331 deviceVersion = CAMERA_DEVICE_API_VERSION_1_0; in getDeviceVersion()
333 index = mDeviceVersionMap.add(cameraId, deviceVersion); in getDeviceVersion()
/hardware/interfaces/camera/common/1.0/default/include/
DCameraModule.h69 static void deriveCameraCharacteristicsKeys(uint32_t deviceVersion, CameraMetadata &chars);