Home
last modified time | relevance | path

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

/hardware/interfaces/camera/provider/2.4/default/
DExternalCameraProviderImpl_2_4.cpp47 bool matchDeviceName(const hidl_string& deviceName, std::string* deviceVersion, in matchDeviceName() argument
49 std::string deviceNameStd(deviceName.c_str()); in matchDeviceName()
204 std::string deviceName; in addExternalCamera() local
206 deviceName = std::string("device@3.5/external/") + devName; in addExternalCamera()
208 deviceName = std::string("device@3.4/external/") + devName; in addExternalCamera()
210 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
212 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
251 std::string deviceName; in deviceRemoved() local
253 deviceName = std::string("device@3.5/external/") + devName; in deviceRemoved()
255 deviceName = std::string("device@3.4/external/") + devName; in deviceRemoved()
[all …]
DLegacyCameraProviderImpl_2_4.cpp49 bool matchDeviceName(const hidl_string& deviceName, std::string* deviceVersion, in matchDeviceName() argument
51 std::string deviceNameStd(deviceName.c_str()); in matchDeviceName()
219 std::string LegacyCameraProviderImpl_2_4::getLegacyCameraId(const hidl_string& deviceName) { in getLegacyCameraId() argument
221 matchDeviceName(deviceName, nullptr, &cameraId); in getLegacyCameraId()
254 char deviceName[kMaxCameraDeviceNameLen]; in getHidlDeviceName() local
255 snprintf(deviceName, sizeof(deviceName), "device@%d.%d/legacy/%s", in getHidlDeviceName()
257 return deviceName; in getHidlDeviceName()
507 std::string deviceName(cameraDeviceName.c_str()); in getCameraDeviceInterface_V1_x() local
508 ssize_t index = mCameraDeviceNames.indexOf(std::make_pair(cameraId, deviceName)); in getCameraDeviceInterface_V1_x()
561 std::string deviceName(cameraDeviceName.c_str()); in getCameraDeviceInterface_V3_x() local
[all …]
DLegacyCameraProviderImpl_2_4.h106 static std::string getLegacyCameraId(const hidl_string& deviceName);
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp216 int deviceName(alsa_handle_t *handle, unsigned flags, char **value) in deviceName() function
697 if (deviceName(handle, flags, &devName) < 0) { in s_open()
744 if (deviceName(handle, flags, &devName) < 0) { in s_start_voip_call()
788 if (deviceName(handle, flags, &devName1) < 0) { in s_start_voip_call()
841 if (deviceName(handle, flags, &devName) < 0) { in s_start_voice_call()
886 if (deviceName(handle, flags, &devName) < 0) { in s_start_voice_call()
961 if (deviceName(handle, flags, &devName) < 0) { in s_start_fm()
1006 if (deviceName(handle, flags, &devName) < 0) { in s_start_fm()
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantP2pIfaceCallback.hal94 * @param deviceName Name of the device.
106 uint8_t[8] primaryDeviceType, string deviceName,
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp175 bool matchDeviceName(const hidl_string& deviceName, in matchDeviceName() argument
182 std::string deviceNameStd(deviceName.c_str()); in matchDeviceName()
196 int getCameraDeviceVersion(const hidl_string& deviceName, in getCameraDeviceVersion() argument
199 bool match = matchDeviceName(deviceName, providerType, &version, nullptr); in getCameraDeviceVersion()
5633 for (auto& deviceName : deviceNames) { in verifyLogicalCameraMetadata() local
5635 ASSERT_TRUE(::matchDeviceName(deviceName, mProviderType, &publicVersion, &publicId)); in verifyLogicalCameraMetadata()