Home
last modified time | relevance | path

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

123

/hardware/google/pixel/powerstats/dataproviders/
DIioEnergyMeterDataSelector.cpp34 std::string deviceName; /* Initialized empty */ in parseConfigData() local
49 if (deviceName.empty() == false) { in parseConfigData()
51 deviceConfigs->emplace(deviceName, deviceConfig); in parseConfigData()
55 deviceName = words[1]; in parseConfigData()
57 if (deviceName.empty() == false) { in parseConfigData()
65 if (deviceName.empty() == false) { in parseConfigData()
66 deviceConfigs->emplace(deviceName, deviceConfig); in parseConfigData()
74 std::string deviceName = devicePathPair.second; in applyConfigToDevices() local
77 if (deviceConfigs.count(deviceName) == 1) { in applyConfigToDevices()
78 LOG(INFO) << "Attempting to configure: " << deviceName; in applyConfigToDevices()
[all …]
DIioEnergyMeterDataProvider.cpp59 for (const auto &deviceName : kDeviceNames) { in findIioEnergyMeterNodes() local
60 if (deviceNameContents.find(deviceName) != std::string::npos) { in findIioEnergyMeterNodes()
61 mDevicePaths.emplace(devicePath, deviceName); in findIioEnergyMeterNodes()
/hardware/interfaces/camera/provider/2.4/default/
DExternalCameraProviderImpl_2_4.cpp51 const hidl_string& deviceName, std::string* deviceVersion, in matchDeviceName() argument
53 std::string deviceNameStd(deviceName.c_str()); in matchDeviceName()
216 std::string deviceName; in addExternalCamera() local
220 deviceName = std::string("device@3.6/external/") + cameraId; in addExternalCamera()
222 deviceName = std::string("device@3.5/external/") + cameraId; in addExternalCamera()
224 deviceName = std::string("device@3.4/external/") + cameraId; in addExternalCamera()
226 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
228 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
267 std::string deviceName; in deviceRemoved() local
271 deviceName = std::string("device@3.6/external/") + cameraId; 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()
509 std::string deviceName(cameraDeviceName.c_str()); in getCameraDeviceInterface_V1_x() local
510 ssize_t index = mCameraDeviceNames.indexOf(std::make_pair(cameraId, deviceName)); in getCameraDeviceInterface_V1_x()
563 std::string deviceName(cameraDeviceName.c_str()); in getCameraDeviceInterface_V3_x() local
[all …]
/hardware/interfaces/camera/provider/2.7/default/
DExternalCameraProviderImpl_2_7.cpp48 bool matchDeviceName(int cameraIdOffset, const hidl_string& deviceName, std::string* deviceVersion, in matchDeviceName() argument
50 std::string deviceNameStd(deviceName.c_str()); in matchDeviceName()
235 std::string deviceName; in addExternalCamera() local
239 deviceName = std::string("device@3.6/external/") + cameraId; in addExternalCamera()
241 deviceName = std::string("device@3.5/external/") + cameraId; in addExternalCamera()
243 deviceName = std::string("device@3.4/external/") + cameraId; in addExternalCamera()
245 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
247 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
286 std::string deviceName; in deviceRemoved() local
290 deviceName = std::string("device@3.6/external/") + cameraId; in deviceRemoved()
[all …]
/hardware/interfaces/camera/provider/default/
DExternalCameraProvider.cpp51 bool matchDeviceName(int cameraIdOffset, const std::string& deviceName, std::string* deviceVersion, in matchDeviceName() argument
54 if (std::regex_match(deviceName, sm, kDeviceNameRE)) { in matchDeviceName()
178 std::string deviceName; in addExternalCamera() local
181 deviceName = in addExternalCamera()
183 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
185 mCallback->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
223 std::string deviceName; in deviceRemoved() local
227 deviceName = in deviceRemoved()
230 if (mCameraStatusMap.erase(deviceName) == 0) { in deviceRemoved()
237 mCallback->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::NOT_PRESENT); in deviceRemoved()
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DEvsEnumerator.h71 void notifyDeviceStatusChange(const std::string_view& deviceName, evs::DeviceStatusType type);
109 static bool qualifyCaptureDevice(const char* deviceName);
112 static bool addCaptureDevice(const std::string& deviceName);
113 static bool removeCaptureDevice(const std::string& deviceName);
DEvsMockCamera.h44 EvsMockCamera(Sigil sigil, const char* deviceName,
70 static std::shared_ptr<EvsMockCamera> Create(const char* deviceName);
72 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo,
DEvsVideoEmulatedCamera.h46 EvsVideoEmulatedCamera(Sigil sigil, const char* deviceName,
75 static std::shared_ptr<EvsVideoEmulatedCamera> Create(const char* deviceName);
77 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo,
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/1/android/hardware/wifi/supplicant/
DISupplicantP2pIfaceCallback.aidl37 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onDeviceFound() argument
49 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onR2DeviceFound() argument
54 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onDeviceFoundWithVendorElements() argument
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/2/android/hardware/wifi/supplicant/
DISupplicantP2pIfaceCallback.aidl37 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onDeviceFound() argument
49 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onR2DeviceFound() argument
54 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onDeviceFoundWithVendorElements() argument
/hardware/interfaces/automotive/evs/1.1/default/
DEvsUltrasonicsArray.cpp135 EvsUltrasonicsArray::EvsUltrasonicsArray(const char* deviceName) in EvsUltrasonicsArray() argument
140 mArrayDesc.ultrasonicsArrayId = deviceName; in EvsUltrasonicsArray()
150 sp<EvsUltrasonicsArray> EvsUltrasonicsArray::Create(const char* deviceName) { in Create() argument
151 return sp<EvsUltrasonicsArray>(new EvsUltrasonicsArray(deviceName)); in Create()
184 UltrasonicsArrayDesc EvsUltrasonicsArray::GetMockArrayDesc(const char* deviceName) { in GetMockArrayDesc() argument
186 ultrasonicsArrayDesc.ultrasonicsArrayId = deviceName; in GetMockArrayDesc()
DEvsUltrasonicsArray.h58 static sp<EvsUltrasonicsArray> Create(const char* deviceName);
100 EvsUltrasonicsArray(const char* deviceName);
/hardware/interfaces/wifi/supplicant/aidl/android/hardware/wifi/supplicant/
DISupplicantP2pIfaceCallback.aidl64 in byte[] primaryDeviceType, in String deviceName, in WpsConfigMethods configMethods, in onDeviceFound() argument
198 in byte[] primaryDeviceType, in String deviceName, in WpsConfigMethods configMethods, in onR2DeviceFound() argument
272 in byte[] primaryDeviceType, in String deviceName, in WpsConfigMethods configMethods, in onDeviceFoundWithVendorElements() argument
DP2pDeviceFoundEventParams.aidl47 String deviceName;
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/3/android/hardware/wifi/supplicant/
DISupplicantP2pIfaceCallback.aidl40 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onDeviceFound() argument
61 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onR2DeviceFound() argument
75 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onDeviceFoundWithVendorElements() argument
DP2pDeviceFoundEventParams.aidl40 String deviceName;
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/
DISupplicantP2pIfaceCallback.aidl40 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onDeviceFound() argument
61 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onR2DeviceFound() argument
75 …ss, in byte[] p2pDeviceAddress, in byte[] primaryDeviceType, in String deviceName, in android.hard… in onDeviceFoundWithVendorElements() argument
DP2pDeviceFoundEventParams.aidl40 String deviceName;
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp88 const std::string deviceName = getName(GetParam()); in TEST_P() local
89 auto pos = deviceName.find('-'); in TEST_P()
93 EXPECT_NE(pos, deviceName.length() - 1); in TEST_P()
95 EXPECT_EQ(std::string::npos, deviceName.find('-', pos + 1)); in TEST_P()
/hardware/interfaces/automotive/ivn_android_device/aidl/aidl_api/android.hardware.automotive.ivn/1/android/hardware/automotive/ivn/
DHardwareIdentifiers.aidl38 @nullable String deviceName;
/hardware/interfaces/automotive/ivn_android_device/aidl/android/hardware/automotive/ivn/
DHardwareIdentifiers.aidl40 @nullable String deviceName;
/hardware/interfaces/automotive/ivn_android_device/aidl/aidl_api/android.hardware.automotive.ivn/current/android/hardware/automotive/ivn/
DHardwareIdentifiers.aidl38 @nullable String deviceName;
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsVideoEmulatedCamera.cpp46 EvsVideoEmulatedCamera::EvsVideoEmulatedCamera(Sigil, const char* deviceName, in EvsVideoEmulatedCamera() argument
48 : mVideoFileName(deviceName), mCameraInfo(camInfo) { in EvsVideoEmulatedCamera()
506 std::shared_ptr<EvsVideoEmulatedCamera> EvsVideoEmulatedCamera::Create(const char* deviceName) { in Create() argument
508 return Create(deviceName, nullCamInfo); in Create()
512 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo, in Create() argument
515 ndk::SharedRefBase::make<EvsVideoEmulatedCamera>(Sigil{}, deviceName, camInfo); in Create()
DEvsMockCamera.cpp348 std::shared_ptr<EvsMockCamera> EvsMockCamera::Create(const char* deviceName) { in Create() argument
351 return Create(deviceName, nullCamInfo); in Create()
355 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo, in Create() argument
358 ndk::SharedRefBase::make<EvsMockCamera>(Sigil{}, deviceName, camInfo); in Create()

123