Home
last modified time | relevance | path

Searched refs:AddService (Results 1 – 17 of 17) sorted by relevance

/openthread-3.4.0/tests/unit/
Dtest_srp_server.cpp411 SuccessOrQuit(srpClient->AddService(service1)); in TestSrpServerBase()
429 SuccessOrQuit(srpClient->AddService(service2)); in TestSrpServerBase()
537 SuccessOrQuit(srpClient->AddService(service1)); in TestSrpServerReject()
556 SuccessOrQuit(srpClient->AddService(service2)); in TestSrpServerReject()
649 SuccessOrQuit(srpClient->AddService(service1)); in TestSrpServerIgnore()
668 SuccessOrQuit(srpClient->AddService(service2)); in TestSrpServerIgnore()
789 SuccessOrQuit(srpClient->AddService(service1)); in TestUpdateLeaseShortVariant()
848 SuccessOrQuit(srpClient->AddService(service1)); in TestUpdateLeaseShortVariant()
Dtest_network_data.cpp502 Error AddService(const ServiceData &aServiceData) in AddService() function in ot::NetworkData::TestNetworkData
504 … return Local::AddService(ServiceTlv::kThreadEnterpriseNumber, aServiceData, true, ServerData()); in AddService()
543 SuccessOrQuit(AddService(serviceData1)); in Test()
544 SuccessOrQuit(AddService(serviceData2)); in Test()
545 SuccessOrQuit(AddService(serviceData3)); in Test()
546 SuccessOrQuit(AddService(serviceData4)); in Test()
547 SuccessOrQuit(AddService(serviceData5)); in Test()
Dtest_dns_client.cpp553 SuccessOrQuit(srpClient->AddService(service1)); in TestDnsClient()
554 SuccessOrQuit(srpClient->AddService(service2)); in TestDnsClient()
/openthread-3.4.0/src/core/thread/
Dnetwork_data_service.hpp446 …return AddService(&ServiceType::kServiceData, sizeof(ServiceType::kServiceData), aServerStable, &a… in Add()
472 return AddService(&aServiceData, aServiceData.GetLength(), aServerStable, nullptr, 0); in Add()
597 Error AddService(const void *aServiceData,
Dnetwork_data_local.hpp151 Error AddService(uint32_t aEnterpriseNumber,
Dnetwork_data_service.cpp57 Error Manager::AddService(const void *aServiceData, in AddService() function in ot::NetworkData::Service::Manager
69 return Get<Local>().AddService(kThreadEnterpriseNumber, serviceData, aServerStable, serverData); in AddService()
Dnetwork_data_local.cpp178 Error Local::AddService(uint32_t aEnterpriseNumber, in AddService() function in ot::NetworkData::Local
Dnetwork_data_leader_ftd.hpp270 Error AddService(const ServiceTlv &aService, ChangedFlags &aChangedFlags);
Dnetwork_data_leader_ftd.cpp700 SuccessOrExit(error = AddService(*As<ServiceTlv>(cur), flags)); in RegisterNetworkData()
764 Error Leader::AddService(const ServiceTlv &aService, ChangedFlags &aChangedFlags) in AddService() function in ot::NetworkData::Leader
Dmle_router.cpp1521 if (Get<BackboneRouter::Local>().AddService() == kErrorNone) in HandleTimeTick()
/openthread-3.4.0/src/core/backbone_router/
Dbbr_local.cpp90 IgnoreError(AddService()); in SetEnabled()
166 IgnoreError(AddService()); in SetConfig()
174 Error Local::AddService(bool aForce) in AddService() function in ot::BackboneRouter::Local
275 … if (AddService(true /* Force registration to refresh and restore Primary state */) == kErrorNone) in HandleBackboneRouterPrimaryUpdate()
Dbbr_local.hpp149 Error AddService(bool aForce = false);
/openthread-3.4.0/src/core/api/
Dserver_api.cpp59 …return AsCoreType(aInstance).Get<NetworkData::Local>().AddService(aConfig->mEnterpriseNumber, serv… in otServerAddService()
Dbackbone_router_ftd_api.cpp72 …return AsCoreType(aInstance).Get<BackboneRouter::Local>().AddService(true /* Force registration */… in otBackboneRouterRegister()
Dsrp_client_api.cpp130 return AsCoreType(aInstance).Get<Srp::Client>().AddService(AsCoreType(aService)); in otSrpClientAddService()
/openthread-3.4.0/src/core/net/
Dsrp_client.hpp625 Error AddService(Service &aService);
Dsrp_client.cpp538 Error Client::AddService(Service &aService) in AddService() function in ot::Srp::Client