Home
last modified time | relevance | path

Searched refs:uuids (Results 1 – 25 of 43) sorted by relevance

12

/foundation/communication/bluetooth/frameworks/inner/ipc/common/
Dble_parcel_data.cpp38 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/
Dclassic_utils.cpp52 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()
Dclassic_adapter_properties.cpp465 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()
Dclassic_config.cpp358 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()
Dclassic_adapter.cpp232 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 …]
Dclassic_utils.h57 static std::string ConvertUuidToString(const std::vector<Uuid> &uuids);
Dclassic_remote_device.cpp166 void ClassicRemoteDevice::SetDeviceUuids(const std::vector<Uuid> &uuids) in SetDeviceUuids() argument
170 uuids_.assign(uuids.begin(), uuids.end()); in SetDeviceUuids()
Dclassic_adapter_properties.h263 bool SaveSupportUuids(const std::vector<Uuid> &uuids);
/foundation/communication/bluetooth/interfaces/inner_api/include/
Dbluetooth_host.h177 …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);
Dbluetooth_remote_device.h241 int GetDeviceUuids(std::vector<std::string> &uuids) const;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/test/unittest/
Ddevice_manager_adapter_test.cpp305 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/
Dnapi_native_object.h61 NapiNativeUuidsArray(const std::vector<std::string> uuids) : uuids_(uuids) {} in NapiNativeUuidsArray() argument
Dnapi_bluetooth_remote_device_observer.h31 …oteUuidChanged(const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) override;
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
Dbluetooth_remote_device_observer_proxy.cpp60 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/
Dprofile_service_manager.cpp512 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()
Dprofile_service_manager.h158 void GetProfileServicesSupportedUuids(std::vector<std::string> &uuids) const override;
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
Dinterface_profile_manager.h95 virtual void GetProfileServicesSupportedUuids(std::vector<std::string> &uuids) const = 0;
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
Dbluetooth_remote_device_observer_stub.cpp111 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/
Dbluetooth_host_proxy.h89 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/
Di_bluetooth_remote_device_observer.h32 …RemoteUuidChanged(const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) = 0;
Di_bluetooth_host.h112 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/
Dbluetooth_host_server.h114 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/
Dbluetooth_remote_device_observer_proxy.h33 …eUuidChanged(const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) override;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
Ddevice_manager_adapter.cpp522 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/
Dnapi_bluetooth_remote_device_observer.h31 …oteUuidChanged(const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) override;

12