/hardware/google/pixel/powerstats/dataproviders/ |
D | IioEnergyMeterDataSelector.cpp | 34 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 …]
|
D | IioEnergyMeterDataProvider.cpp | 59 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/ |
D | ExternalCameraProviderImpl_2_4.cpp | 51 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 …]
|
D | LegacyCameraProviderImpl_2_4.cpp | 49 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/ |
D | ExternalCameraProviderImpl_2_7.cpp | 48 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/ |
D | ExternalCameraProvider.cpp | 51 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/ |
D | EvsEnumerator.h | 71 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);
|
D | EvsMockCamera.h | 44 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,
|
D | EvsVideoEmulatedCamera.h | 46 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/ |
D | ISupplicantP2pIfaceCallback.aidl | 37 …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/ |
D | ISupplicantP2pIfaceCallback.aidl | 37 …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/ |
D | EvsUltrasonicsArray.cpp | 135 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()
|
D | EvsUltrasonicsArray.h | 58 static sp<EvsUltrasonicsArray> Create(const char* deviceName); 100 EvsUltrasonicsArray(const char* deviceName);
|
/hardware/interfaces/wifi/supplicant/aidl/android/hardware/wifi/supplicant/ |
D | ISupplicantP2pIfaceCallback.aidl | 64 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
|
D | P2pDeviceFoundEventParams.aidl | 47 String deviceName;
|
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/3/android/hardware/wifi/supplicant/ |
D | ISupplicantP2pIfaceCallback.aidl | 40 …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
|
D | P2pDeviceFoundEventParams.aidl | 40 String deviceName;
|
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/ |
D | ISupplicantP2pIfaceCallback.aidl | 40 …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
|
D | P2pDeviceFoundEventParams.aidl | 40 String deviceName;
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | BasicTests.cpp | 88 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/ |
D | HardwareIdentifiers.aidl | 38 @nullable String deviceName;
|
/hardware/interfaces/automotive/ivn_android_device/aidl/android/hardware/automotive/ivn/ |
D | HardwareIdentifiers.aidl | 40 @nullable String deviceName;
|
/hardware/interfaces/automotive/ivn_android_device/aidl/aidl_api/android.hardware.automotive.ivn/current/android/hardware/automotive/ivn/ |
D | HardwareIdentifiers.aidl | 38 @nullable String deviceName;
|
/hardware/interfaces/automotive/evs/aidl/impl/default/src/ |
D | EvsVideoEmulatedCamera.cpp | 46 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()
|
D | EvsMockCamera.cpp | 348 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()
|