/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
D | ble_parcel_data.cpp | 38 auto uuids = device.GetServiceUUID(); in ScanResult() local 39 for (auto iter = uuids.begin(); iter != uuids.end(); iter++) { in ScanResult() 45 auto uuids = device.GetServiceDataUUID(); in ScanResult() local 47 for (auto iter = uuids.begin(); iter != uuids.end(); iter++) { in ScanResult()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
D | classic_utils.cpp | 52 std::string ClassicUtils::ConvertUuidToString(const std::vector<Uuid> &uuids) in ConvertUuidToString() argument 55 if (uuids.empty()) { in ConvertUuidToString() 59 for (auto &uuid : uuids) { in ConvertUuidToString() 73 std::vector<Uuid> uuids; in ConvertStringToUuid() local 75 return uuids; in ConvertStringToUuid() 83 uuids.push_back(uuid); in ConvertStringToUuid() 87 return uuids; in ConvertStringToUuid()
|
D | classic_adapter_properties.cpp | 465 std::vector<Uuid> uuids = ClassicUtils::ConvertStringToUuid(uuidVal); in GetPairedDevice() local 466 if (!uuids.empty()) { in GetPairedDevice() 467 remote->SetDeviceUuids(uuids); in GetPairedDevice() 514 std::vector<Uuid> uuids = remote->GetDeviceUuids(); in SavePairedDeviceInfo() local 515 if (uuids.empty()) { in SavePairedDeviceInfo() 518 std::string uuidVal = ClassicUtils::ConvertUuidToString(uuids); in SavePairedDeviceInfo() 534 bool ClassicAdapterProperties::SaveSupportUuids(const std::vector<Uuid> &uuids) in SaveSupportUuids() argument 538 if (uuids.empty()) { in SaveSupportUuids() 546 uuids_ = uuids; in SaveSupportUuids()
|
D | classic_config.cpp | 358 bool ClassicConfig::SetRemoteUuids(const std::string &subSection, const std::string &uuids) const in SetRemoteUuids() 360 if (!config_->SetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_REMOTE_UUIDS, uuids)) { in SetRemoteUuids() 370 std::string uuids = ""; in GetRemoteUuids() local 371 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_REMOTE_UUIDS, uuids)) { in GetRemoteUuids() 375 return uuids; in GetRemoteUuids()
|
D | classic_adapter.cpp | 232 std::vector<Uuid> uuids; in UpdateSupportedUuids() local 235 uuids.push_back(uuid); in UpdateSupportedUuids() 238 bool ret = adapterProperties_.SaveSupportUuids(uuids); in UpdateSupportedUuids() 1268 std::vector<Uuid> uuids; in ParserEirData() local 1287 uuids.insert(uuids.end(), parsedUuids.begin(), parsedUuids.end()); in ParserEirData() 1316 if (!uuids.empty()) { in ParserEirData() 1317 SaveRemoteDeviceUuids(remote, uuids); in ParserEirData() 1318 uuids.clear(); in ParserEirData() 1351 std::vector<Uuid> uuids; in ParserUuidFromEir() local 1354 return uuids; in ParserUuidFromEir() [all …]
|
D | classic_utils.h | 57 static std::string ConvertUuidToString(const std::vector<Uuid> &uuids);
|
D | classic_remote_device.cpp | 166 void ClassicRemoteDevice::SetDeviceUuids(const std::vector<Uuid> &uuids) in SetDeviceUuids() argument 170 uuids_.assign(uuids.begin(), uuids.end()); in SetDeviceUuids()
|
D | classic_adapter_properties.h | 263 bool SaveSupportUuids(const std::vector<Uuid> &uuids);
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
D | bluetooth_host.h | 177 …OnRemoteUuidChanged(const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) = 0; 414 void GetLocalSupportedUuids(std::vector<ParcelUuid> &uuids); 637 int32_t GetDeviceUuids(const std::string &address, std::vector<std::string> &uuids); 645 int32_t GetLocalProfileUuids(std::vector<std::string> &uuids);
|
D | bluetooth_remote_device.h | 241 int GetDeviceUuids(std::vector<std::string> &uuids) const;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/test/unittest/ |
D | device_manager_adapter_test.cpp | 305 auto uuids = DeviceManagerAdapter::GetInstance().ToUUID(devices); variable 306 EXPECT_EQ(uuids.size(), LOCAL_DEVICE_ID_NUM); 307 for (const auto &uuid : uuids) { 328 auto uuids = DeviceManagerAdapter::GetInstance().ToUUID(devices); variable 329 EXPECT_EQ(uuids.size(), LOCAL_UUID_NUM); 330 EXPECT_EQ(uuids[0], INVALID_DEVICE_ID); 331 EXPECT_EQ(uuids[1], dvInfo.uuid);
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
D | napi_native_object.h | 61 NapiNativeUuidsArray(const std::vector<std::string> uuids) : uuids_(uuids) {} in NapiNativeUuidsArray() argument
|
D | napi_bluetooth_remote_device_observer.h | 31 …oteUuidChanged(const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) override;
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
D | bluetooth_remote_device_observer_proxy.cpp | 60 const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) in OnRemoteUuidChanged() argument 62 if (uuids.empty()) { in OnRemoteUuidChanged() 78 size_t uuidSize = uuids.size(); in OnRemoteUuidChanged() 87 for (auto uuid : uuids) { in OnRemoteUuidChanged()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
D | profile_service_manager.cpp | 512 void ProfileServiceManager::GetProfileServicesSupportedUuids(std::vector<std::string> &uuids) const in GetProfileServicesSupportedUuids() 518 (std::find(uuids.begin(), uuids.end(), sp.uuid_) == uuids.end())) { in GetProfileServicesSupportedUuids() 519 uuids.push_back(sp.uuid_); in GetProfileServicesSupportedUuids() 523 (std::find(uuids.begin(), uuids.end(), sp.uuid_) == uuids.end())) { in GetProfileServicesSupportedUuids() 524 uuids.push_back(sp.uuid_); in GetProfileServicesSupportedUuids()
|
D | profile_service_manager.h | 158 void GetProfileServicesSupportedUuids(std::vector<std::string> &uuids) const override;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
D | interface_profile_manager.h | 95 virtual void GetProfileServicesSupportedUuids(std::vector<std::string> &uuids) const = 0;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
D | bluetooth_remote_device_observer_stub.cpp | 111 std::vector<bluetooth::Uuid> uuids; in OnRemoteNameUuidChangedInner() local 117 uuids.push_back(*uuid); in OnRemoteNameUuidChangedInner() 119 OnRemoteUuidChanged(*result, uuids); in OnRemoteNameUuidChangedInner()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
D | bluetooth_host_proxy.h | 89 void GetLocalSupportedUuids(std::vector<std::string> &uuids) override; 90 int32_t GetDeviceUuids(const std::string &address, std::vector<std::string> &uuids) override; 91 int32_t GetLocalProfileUuids(std::vector<std::string> &uuids) override;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
D | i_bluetooth_remote_device_observer.h | 32 …RemoteUuidChanged(const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) = 0;
|
D | i_bluetooth_host.h | 112 virtual void GetLocalSupportedUuids(std::vector<std::string> &uuids) = 0; 113 virtual int32_t GetDeviceUuids(const std::string &address, std::vector<std::string> &uuids) = 0; 114 virtual int32_t GetLocalProfileUuids(std::vector<std::string> &uuids) = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
D | bluetooth_host_server.h | 114 void GetLocalSupportedUuids(std::vector<std::string> &uuids) override; 115 int32_t GetDeviceUuids(const std::string &address, std::vector<std::string> &uuids) override; 116 int32_t GetLocalProfileUuids(std::vector<std::string> &uuids) override;
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/ |
D | bluetooth_remote_device_observer_proxy.h | 33 …eUuidChanged(const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) override;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
D | device_manager_adapter.cpp | 522 std::vector<std::string> uuids; in ToUUID() local 528 uuids.push_back(std::move(uuid)); in ToUUID() 530 return uuids; in ToUUID() 535 std::vector<std::string> uuids; in ToUUID() local 540 uuids.push_back(std::move(device.uuid)); in ToUUID() 542 return uuids; in ToUUID()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/ |
D | napi_bluetooth_remote_device_observer.h | 31 …oteUuidChanged(const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) override;
|