Home
last modified time | relevance | path

Searched refs:uuids (Results 1 - 25 of 55) sorted by relevance

123

/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A 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/
H A 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()
H A Dclassic_adapter_properties.cpp467 std::vector<Uuid> uuids = ClassicUtils::ConvertStringToUuid(uuidVal); in GetPairedDevice() local
468 if (!uuids.empty()) { in GetPairedDevice()
469 remote->SetDeviceUuids(uuids); in GetPairedDevice()
516 std::vector<Uuid> uuids = remote->GetDeviceUuids(); in SavePairedDeviceInfo() local
517 if (uuids.empty()) { in SavePairedDeviceInfo()
520 std::string uuidVal = ClassicUtils::ConvertUuidToString(uuids); in SavePairedDeviceInfo()
536 bool ClassicAdapterProperties::SaveSupportUuids(const std::vector<Uuid> &uuids) in SaveSupportUuids() argument
540 if (uuids.empty()) { in SaveSupportUuids()
541 LOG_DEBUG("ClassicAdapterProperties::%{public}s input parameter(uuids) is null.", __func__); in SaveSupportUuids()
548 uuids_ = uuids; in SaveSupportUuids()
[all...]
H A 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()
1271 std::vector<Uuid> uuids; in ParserEirData() local
1290 uuids.insert(uuids.end(), parsedUuids.begin(), parsedUuids.end()); in ParserEirData()
1319 if (!uuids.empty()) { in ParserEirData()
1320 SaveRemoteDeviceUuids(remote, uuids); in ParserEirData()
1321 uuids.clear(); in ParserEirData()
1354 std::vector<Uuid> uuids; in ParserUuidFromEir() local
1387 std::vector<Uuid> uuids; Parser16BitUuidFromEir() local
1412 std::vector<Uuid> uuids; Parser32BitUuidFromEir() local
1437 std::vector<Uuid> uuids; Parser128BitUuidFromEir() local
1652 std::vector<Uuid> uuids; GetDeviceUuids() local
1709 SearchAttributeEnd(const RawAddress &device, const std::vector<Uuid> &uuids) SearchAttributeEnd() argument
[all...]
H A 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()
H A Dclassic_remote_device.cpp166 void ClassicRemoteDevice::SetDeviceUuids(const std::vector<Uuid> &uuids) in SetDeviceUuids() argument
170 uuids_.assign(uuids.begin(), uuids.end()); in SetDeviceUuids()
H A Dclassic_utils.h54 * @param uuids: the Uuid list
57 static std::string ConvertUuidToString(const std::vector<Uuid> &uuids);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/
H A Dupgrade_manager.cpp92 const std::vector<std::string> &uuids, int32_t authType) in GetIdentifierParams()
94 for (const auto &devId : uuids) { in GetIdentifierParams()
112 auto uuids = DmAdapter::ToUUID(DmAdapter::GetInstance().GetRemoteDevices()); in SetCompatibleIdentifyByType() local
113 if (uuids.empty()) { in SetCompatibleIdentifyByType()
120 GetIdentifierParams(sameAccountDevs, uuids, IDENTICAL_ACCOUNT); in SetCompatibleIdentifyByType()
121 GetIdentifierParams(defaultAccountDevs, uuids, NO_ACCOUNT); in SetCompatibleIdentifyByType()
91 GetIdentifierParams(std::vector<std::string> &devices, const std::vector<std::string> &uuids, int32_t authType) GetIdentifierParams() argument
H A Dupgrade_manager.h39 const std::vector<std::string> &uuids, int32_t authType);
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_remote_device_observer_proxy.cpp64 const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) in OnRemoteUuidChanged()
66 if (uuids.empty()) { in OnRemoteUuidChanged()
67 HILOGE("[OnRemoteUuidChanged] fail: uuids is empty."); in OnRemoteUuidChanged()
82 size_t uuidSize = uuids.size(); in OnRemoteUuidChanged()
88 HILOGE("[OnRemoteUuidChanged] fail: write uuids size failed"); in OnRemoteUuidChanged()
91 for (auto uuid : uuids) { in OnRemoteUuidChanged()
63 OnRemoteUuidChanged( const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) OnRemoteUuidChanged() argument
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_host.h181 * @param uuids Remote device uuids.
184 virtual void OnRemoteUuidChanged(const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) = 0;
481 * @brief Get local device supported uuids.
483 * @param[out] Vector which use to return support uuids.
486 void GetLocalSupportedUuids(std::vector<ParcelUuid> &uuids);
705 * @brief Get local profile uuids.
707 * @return Returns local profile uuids.
710 int32_t GetLocalProfileUuids(std::vector<std::string> &uuids);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A 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()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/test/unittest/
H A Ddevice_manager_adapter_test.cpp306 auto uuids = DeviceManagerAdapter::GetInstance().ToUUID(devices); in HWTEST_F() local
307 EXPECT_EQ(uuids.size(), LOCAL_DEVICE_ID_NUM); in HWTEST_F()
308 for (const auto &uuid : uuids) { in HWTEST_F()
329 auto uuids = DeviceManagerAdapter::GetInstance().ToUUID(devices); in HWTEST_F() local
330 EXPECT_EQ(uuids.size(), LOCAL_UUID_NUM); in HWTEST_F()
331 EXPECT_EQ(uuids[0], INVALID_DEVICE_ID); in HWTEST_F()
332 EXPECT_EQ(uuids[1], dvInfo.uuid); in HWTEST_F()
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_manager.h90 * @brief Get local device supported uuids.
92 * @param[out] Vector which use to return support uuids.
95 virtual void GetProfileServicesSupportedUuids(std::vector<std::string> &uuids) const = 0;
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_remote_device_observer_stub.cpp117 std::vector<bluetooth::Uuid> uuids; in OnRemoteNameUuidChangedInner() local
123 uuids.push_back(*uuid); in OnRemoteNameUuidChangedInner()
125 stub->OnRemoteUuidChanged(*result, uuids); in OnRemoteNameUuidChangedInner()
/foundation/filemanagement/storage_service/services/storage_daemon/mtp/src/
H A Dmtp_device_monitor.cpp77 std::vector<std::string> uuids; in MonitorDevice() local
78 ForkExec(cmd, &uuids); in MonitorDevice()
81 devInfo.uuid = uuids.front(); in MonitorDevice()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_remote_device_observer.h34 virtual void OnRemoteUuidChanged(const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) = 0;
H A Di_bluetooth_host.h118 virtual void GetLocalSupportedUuids(std::vector<std::string> &uuids) = 0;
119 virtual int32_t GetDeviceUuids(const std::string &address, std::vector<std::string> &uuids) = 0;
120 virtual int32_t GetLocalProfileUuids(std::vector<std::string> &uuids) = 0;
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_remote_device_observer.h31 void OnRemoteUuidChanged(const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) override;
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_remote_device_observer.h33 void OnRemoteUuidChanged(const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) override;
/foundation/communication/nfc/services/src/tag/
H A Dndef_bt_data_parser.cpp168 // uuids can have several groups, uuidsSize is the size of each group in GetUuidFromPayload()
170 std::vector<Bluetooth::UUID> uuids; in GetUuidFromPayload() local
186 return uuids; in GetUuidFromPayload()
189 return uuids; in GetUuidFromPayload()
195 uuids.push_back(FormatUuidTo128Bit(uuid)); in GetUuidFromPayload()
197 return uuids; in GetUuidFromPayload()
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/
H A Dbluetooth_remote_device_observer_proxy.h34 void OnRemoteUuidChanged(const BluetoothRawAddress &device, const std::vector<bluetooth::Uuid> uuids) override;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_host_server.h116 void GetLocalSupportedUuids(std::vector<std::string> &uuids) override;
117 int32_t GetDeviceUuids(const std::string &address, std::vector<std::string> &uuids) override;
118 int32_t GetLocalProfileUuids(std::vector<std::string> &uuids) override;
/foundation/communication/bluetooth/frameworks/cj/connection/src/
H A Dbluetooth_connection_impl.cpp92 std::vector<std::string> uuids{}; in GetRemoteProfileUuids()
94 *errCode = remoteDevice.GetDeviceUuids(uuids); in GetRemoteProfileUuids()
95 ret = Convert2CArrString(uuids); in GetRemoteProfileUuids()
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_host_proxy.h93 void GetLocalSupportedUuids(std::vector<std::string> &uuids) override;
94 int32_t GetDeviceUuids(const std::string &address, std::vector<std::string> &uuids) override;
95 int32_t GetLocalProfileUuids(std::vector<std::string> &uuids) override;

Completed in 15 milliseconds

123