Home
last modified time | relevance | path

Searched refs:ActiveDatasetManager (Results 1 – 16 of 16) sorted by relevance

/openthread-3.4.0/src/core/api/
Ddataset_api.cpp47 return AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().IsCommissioned(); in otDatasetIsCommissioned()
52 return AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().Read(AsCoreType(aDataset)); in otDatasetGetActive()
59 return AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().Read(*aDataset); in otDatasetGetActiveTlvs()
64 return AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().Save(AsCoreType(aDataset)); in otDatasetSetActive()
71 return AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().Save(*aDataset); in otDatasetSetActiveTlvs()
104 …return AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().SendGetRequest(AsCoreType(aDatas… in otDatasetSendMgmtActiveGet()
115 …return AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().SendSetRequest(AsCoreType(aDatas… in otDatasetSendMgmtActiveSet()
Ddataset_ftd_api.cpp47 …return AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().CreateNewNetwork(AsCoreType(aDat… in otDatasetCreateNewNetwork()
Dthread_api.cpp73 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetExtendedPanId()
120 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetNetworkKey()
138 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetNetworkKeyRef()
168 AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetMeshLocalPrefix()
213 AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetNetworkName()
Dthread_ftd_api.cpp310 AsCoreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetPskc()
327 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetPskcRef()
Dlink_api.cpp80 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otLinkSetChannel()
140 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otLinkSetPanId()
/openthread-3.4.0/src/core/meshcop/
Ddataset_manager.hpp366 class ActiveDatasetManager : public DatasetManager, private NonCopyable class
377 explicit ActiveDatasetManager(Instance &aInstance);
492 DeclareTmfHandler(ActiveDatasetManager, kUriActiveGet);
494 DeclareTmfHandler(ActiveDatasetManager, kUriActiveSet);
Ddataset_manager.cpp629 ActiveDatasetManager::ActiveDatasetManager(Instance &aInstance) in ActiveDatasetManager() function in ot::MeshCoP::ActiveDatasetManager
630 : DatasetManager(aInstance, Dataset::kActive, ActiveDatasetManager::HandleTimer) in ActiveDatasetManager()
634 bool ActiveDatasetManager::IsPartiallyComplete(void) const { return mLocal.IsSaved() && !mTimestamp… in IsPartiallyComplete()
636 bool ActiveDatasetManager::IsCommissioned(void) const in IsCommissioned()
650 Error ActiveDatasetManager::Save(const Timestamp &aTimestamp, in Save()
667 void ActiveDatasetManager::HandleTmf<kUriActiveGet>(Coap::Message &aMessage, const Ip6::MessageInfo… in HandleTmf()
672 void ActiveDatasetManager::HandleTimer(Timer &aTimer) { aTimer.Get<ActiveDatasetManager>().HandleTi… in HandleTimer()
794 Get<ActiveDatasetManager>().Save(dataset); in HandleDelayTimer()
Ddataset_manager_ftd.cpp162 const Timestamp *localActiveTimestamp = Get<ActiveDatasetManager>().GetTimestamp(); in HandleSet()
187 IgnoreError(Get<ActiveDatasetManager>().Read(dataset)); in HandleSet()
299 Error ActiveDatasetManager::GenerateLocal(void) in GenerateLocal()
397 void ActiveDatasetManager::StartLeader(void) { IgnoreError(GenerateLocal()); } in StartLeader()
400 void ActiveDatasetManager::HandleTmf<kUriActiveSet>(Coap::Message &aMessage, const Ip6::MessageInfo… in HandleTmf()
Ddataset_updater.cpp106 error = Get<ActiveDatasetManager>().Read(dataset); in PreparePendingDataset()
177 …if (aEvents.Contains(kEventActiveDatasetChanged) && Get<ActiveDatasetManager>().Read(dataset) == k… in HandleNotifierEvents()
Djoiner_router.cpp310 IgnoreError(Get<ActiveDatasetManager>().Read(dataset)); in PrepareJoinerEntrustMessage()
Djoiner.cpp536 IgnoreError(Get<ActiveDatasetManager>().Save(datasetInfo)); in HandleTmf()
/openthread-3.4.0/src/core/thread/
Dtmf.cpp125 Case(kUriActiveGet, MeshCoP::ActiveDatasetManager); in HandleResource()
134 Case(kUriActiveSet, MeshCoP::ActiveDatasetManager); in HandleResource()
Dannounce_sender.cpp246 SuccessOrExit(Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask)); in HandleActiveDatasetChanged()
Dmle.cpp236 Get<MeshCoP::ActiveDatasetManager>().HandleDetach(); in Stop()
369 IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Restore()); in Restore()
587 if (Get<MeshCoP::ActiveDatasetManager>().Restore() == kErrorNone) in Attach()
1537 … (Get<MeshCoP::ActiveDatasetManager>().IsPartiallyComplete() || !IsFullThreadDevice())); in PrepareAnnounceState()
1539 if (Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask) != kErrorNone) in PrepareAnnounceState()
1578 IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Restore()); in Reattach()
2279 if (Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask) != kErrorNone) in GetNextAnnounceChannel()
2922 timestamp = Get<MeshCoP::ActiveDatasetManager>().GetTimestamp(); in HandleLeaderData()
2994 … IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Save(activeTimestamp, aRxInfo.mMessage, in HandleLeaderData()
3364 … Get<MeshCoP::ActiveDatasetManager>().Save(timestamp, aRxInfo.mMessage, offset, length)); in HandleChildIdResponse()
[all …]
Dmle_router.cpp242 …VerifyOrExit(!Get<MeshCoP::ActiveDatasetManager>().IsPartiallyComplete(), error = kErrorInvalidSta… in BecomeLeader()
387 IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Restore()); in SetStateRouterOrLeader()
412 Get<MeshCoP::ActiveDatasetManager>().StartLeader(); in SetStateRouterOrLeader()
2072 …(MeshCoP::Timestamp::Compare(&timestamp, Get<MeshCoP::ActiveDatasetManager>().GetTimestamp()) != 0… in HandleChildIdRequest()
2595 …if (MeshCoP::Timestamp::Compare(&timestamp, Get<MeshCoP::ActiveDatasetManager>().GetTimestamp()) =… in HandleDataRequest()
/openthread-3.4.0/src/core/common/
Dinstance.hpp465 MeshCoP::ActiveDatasetManager mActiveDataset;
790 template <> inline MeshCoP::ActiveDatasetManager &Instance::Get(void) { return mActiveDataset; } in Get()