Searched refs:deviceVersion (Results 1 – 4 of 4) sorted by relevance
43 bool matchDeviceName(const hidl_string& deviceName, std::string* deviceVersion, in matchDeviceName() argument48 if (deviceVersion != nullptr) { in matchDeviceName()49 *deviceVersion = sm[1]; in matchDeviceName()138 std::string deviceVersion; in getCameraDeviceVersion() local139 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() argument155 if (deviceVersion != CAMERA_DEVICE_API_VERSION_1_0 && in getHidlDeviceName()156 deviceVersion != CAMERA_DEVICE_API_VERSION_3_2 && in getHidlDeviceName()[all …]
99 static std::string getHidlDeviceName(std::string cameraId, int deviceVersion);
33 uint32_t deviceVersion, CameraMetadata &chars) { in deriveCameraCharacteristicsKeys() argument40 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() local303 if (deviceVersion < CAMERA_DEVICE_API_VERSION_3_0) { in getCameraInfo()325 int deviceVersion; in getDeviceVersion() local329 deviceVersion = info.device_version; in getDeviceVersion()331 deviceVersion = CAMERA_DEVICE_API_VERSION_1_0; in getDeviceVersion()333 index = mDeviceVersionMap.add(cameraId, deviceVersion); in getDeviceVersion()
69 static void deriveCameraCharacteristicsKeys(uint32_t deviceVersion, CameraMetadata &chars);