/external/openthread/src/core/thread/ |
D | network_data_service.hpp | 469 Error Add(const typename ServiceType::ServiceData &aServiceData, bool aServerStable = true) in Add() argument 471 return AddService(&aServiceData, aServiceData.GetLength(), aServerStable, nullptr, 0); in Add() 512 …template <typename ServiceType> Error Remove(const typename ServiceType::ServiceData &aServiceData) in Remove() argument 514 return RemoveService(&aServiceData, aServiceData.GetLength()); in Remove() 596 Error AddService(const void *aServiceData, 601 Error RemoveService(const void *aServiceData, uint8_t aServiceDataLength); 604 Error GetServiceId(const void *aServiceData,
|
D | network_data_tlvs.cpp | 97 …d ServiceTlv::Init(uint8_t aServiceId, uint32_t aEnterpriseNumber, const ServiceData &aServiceData) in Init() argument 108 mServiceDataLength = aServiceData.GetLength(); in Init() 109 aServiceData.CopyBytesTo(&mServiceDataLength + sizeof(uint8_t)); in Init() 113 mShared.mServiceDataLengthThreadEnterprise = aServiceData.GetLength(); in Init() 114 aServiceData.CopyBytesTo(&mShared.mServiceDataLengthThreadEnterprise + sizeof(uint8_t)); in Init()
|
D | network_data_local.cpp | 180 const ServiceData &aServiceData, in AddService() argument 187 …uint16_t serviceTlvSize = ServiceTlv::CalculateSize(aEnterpriseNumber, aServiceData.GetLength()… in AddService() 190 IgnoreError(RemoveService(aEnterpriseNumber, aServiceData)); in AddService() 197 serviceTlv->Init(/* aServiceId */ 0, aEnterpriseNumber, aServiceData); in AddService() 218 Error Local::RemoveService(uint32_t aEnterpriseNumber, const ServiceData &aServiceData) in RemoveService() argument 223 … VerifyOrExit((tlv = FindService(aEnterpriseNumber, aServiceData, kServiceExactMatch)) != nullptr, in RemoveService()
|
D | network_data.hpp | 450 const ServiceData &aServiceData, 470 const ServiceData &aServiceData, 488 const ServiceData &aServiceData, 583 const ServiceData &aServiceData, 709 const ServiceData &aServiceData, in FindService() argument 712 … return AsNonConst(AsConst(this)->FindService(aEnterpriseNumber, aServiceData, aServiceMatchMode)); in FindService()
|
D | network_data_service.cpp | 57 Error Manager::AddService(const void *aServiceData, in AddService() argument 66 serviceData.Init(aServiceData, aServiceDataLength); in AddService() 72 Error Manager::RemoveService(const void *aServiceData, uint8_t aServiceDataLength) in RemoveService() argument 76 serviceData.Init(aServiceData, aServiceDataLength); in RemoveService() 83 Error Manager::GetServiceId(const void *aServiceData, in GetServiceId() argument 90 serviceData.Init(aServiceData, aServiceDataLength); in GetServiceId()
|
D | network_data.cpp | 526 const ServiceData &aServiceData, in FindService() argument 534 if (MatchService(*serviceTlv, aEnterpriseNumber, aServiceData, aServiceMatchMode)) in FindService() 545 const ServiceData &aServiceData, in FindNextService() argument 562 …return NetworkData(GetInstance(), tlvs, length).FindService(aEnterpriseNumber, aServiceData, aServ… in FindNextService() 566 const ServiceData &aServiceData, in FindNextThreadService() argument 569 …return FindNextService(aPrevServiceTlv, ServiceTlv::kThreadEnterpriseNumber, aServiceData, aServic… in FindNextThreadService() 574 const ServiceData &aServiceData, in MatchService() argument 587 match = (serviceData == aServiceData); in MatchService() 591 match = serviceData.StartsWith(aServiceData); in MatchService()
|
D | network_data_local.hpp | 149 const ServiceData &aServiceData, 163 Error RemoveService(uint32_t aEnterpriseNumber, const ServiceData &aServiceData);
|
D | network_data_types.hpp | 348 …void GetServiceData(ServiceData &aServiceData) const { aServiceData.Init(mServiceData, mServiceDat… in GetServiceData()
|
D | network_data_leader.hpp | 266 const ServiceData &aServiceData,
|
D | network_data_tlvs.hpp | 1318 void Init(uint8_t aServiceId, uint32_t aEnterpriseNumber, const ServiceData &aServiceData); 1363 void GetServiceData(ServiceData &aServiceData) const in GetServiceData() 1365 aServiceData.Init(GetServiceData(), GetServiceDataLength()); in GetServiceData()
|
D | network_data_leader.cpp | 67 const ServiceData &aServiceData, in GetServiceId() argument 80 if (aEnterpriseNumber == serviceConfig.mEnterpriseNumber && aServiceData == serviceData && in GetServiceId()
|
/external/openthread/src/core/api/ |
D | server_api.cpp | 65 const uint8_t *aServiceData, in otServerRemoveService() argument 70 serviceData.Init(aServiceData, aServiceDataLength); in otServerRemoveService()
|
/external/openthread/include/openthread/ |
D | server.h | 99 const uint8_t *aServiceData,
|
/external/openthread/tests/unit/ |
D | test_network_data.cpp | 502 Error AddService(const ServiceData &aServiceData) in AddService() argument 504 … return Local::AddService(ServiceTlv::kThreadEnterpriseNumber, aServiceData, true, ServerData()); in AddService() 507 Error ValidateServiceData(const ServiceTlv *aServiceTlv, const ServiceData &aServiceData) const in ValidateServiceData() 515 VerifyOrExit(aServiceData == serviceData); in ValidateServiceData()
|