Home
last modified time | relevance | path

Searched refs:IsFullThreadDevice (Results 1 – 20 of 20) sorted by relevance

/external/openthread/tests/nexus/
Dtest_form_join.cpp106 VerifyOrQuit(fed.Get<Mle::Mle>().IsFullThreadDevice()); in TestFormJoin()
109 VerifyOrQuit(!med.Get<Mle::Mle>().IsFullThreadDevice()); in TestFormJoin()
113 VerifyOrQuit(!sed.Get<Mle::Mle>().IsFullThreadDevice()); in TestFormJoin()
/external/openthread/src/core/thread/
Dmle_types.cpp51 aModeConfig.mDeviceType = IsFullThreadDevice(); in Get()
67 …ing.Append("rx-on:%s ftd:%s full-net:%s", ToYesNo(IsRxOnWhenIdle()), ToYesNo(IsFullThreadDevice()), in ToString()
Dneighbor.hpp328 bool IsFullThreadDevice(void) const { return GetDeviceMode().IsFullThreadDevice(); } in IsFullThreadDevice() function in ot::Neighbor
Dmle_types.hpp267 bool IsFullThreadDevice(void) const { return (mMode & kModeFullThreadDevice) != 0; } in IsFullThreadDevice() function in ot::Mle::DeviceMode
299 bool IsValid(void) const { return !IsFullThreadDevice() || IsRxOnWhenIdle(); } in IsValid()
Dmle.cpp610 if (IsFullThreadDevice()) in Attach()
749 if (IsFullThreadDevice()) in SetStateChild()
784 …VerifyOrExit(!IsFullThreadDevice() || IsRouter() || !Get<MleRouter>().IsRouterRoleTransitionPendin… in InformPreviousChannel()
833 VerifyOrExit(!aDeviceMode.IsFullThreadDevice(), error = kErrorInvalidArgs); in SetDeviceMode()
853 if (!aDeviceMode.IsFullThreadDevice()) in SetDeviceMode()
865 if (oldMode.IsFullThreadDevice() != mDeviceMode.IsFullThreadDevice()) in SetDeviceMode()
1114 if (IsChild() && !IsFullThreadDevice()) in ScheduleChildUpdateRequestIfMtdChild()
1173 if (IsFullThreadDevice()) in HandleNotifierEvents()
1571 … (Get<MeshCoP::ActiveDatasetManager>().IsPartiallyComplete() || !IsFullThreadDevice())); in PrepareAnnounceState()
1627 …else if (IsFullThreadDevice() && Get<MleRouter>().BecomeLeader(/* aCheckWeight */ false) == kError… in Reattach()
[all …]
Dmlr_manager.cpp220 …VerifyOrExit(mle.IsFullThreadDevice() || mle.GetParent().IsThreadVersion1p1(), error = kErrorInval… in SendMlr()
403 if (!mle.IsFullThreadDevice() && mle.GetParent().IsThreadVersion1p1()) in SendMlrMessage()
612 bool needSendMlr = (mle.IsFullThreadDevice() || mle.GetParent().IsThreadVersion1p1()) && in UpdateReregistrationDelay()
Ddua_manager.cpp350 … if (Get<Mle::Mle>().IsFullThreadDevice() || Get<Mle::Mle>().GetParent().IsThreadVersion1p1()) in HandleBackboneRouterPrimaryUpdate()
443 …VerifyOrExit(mle.IsFullThreadDevice() || mle.GetParent().IsThreadVersion1p1(), error = kErrorInval… in PerformNextRegistration()
503 if (!mle.IsFullThreadDevice() && mle.GetParent().IsThreadVersion1p1()) in PerformNextRegistration()
Dneighbor.cpp101 mFullThreadDevice = aNeighbor.IsFullThreadDevice(); in SetFrom()
Dnetwork_diagnostic_tlvs.cpp51 mFlags |= aChild.IsFullThreadDevice() ? kFlagsFtd : 0; in InitFrom()
Dchild.cpp62 mFullThreadDevice = aChild.IsFullThreadDevice(); in SetFrom()
Daddress_resolver.cpp372 VerifyOrExit(Get<Mle::MleRouter>().IsFullThreadDevice()); in UpdateSnoopedCacheEntry()
811 if (child.IsFullThreadDevice()) in HandleTmf()
864 if (child.IsFullThreadDevice() || child.GetLinkFailures() >= Mle::kFailedChildTransmissions) in HandleTmf()
Dchild_table.cpp326 hasMinimalChild = !child->IsFullThreadDevice(); in HasMinimalChild()
Dmle_router.cpp132 VerifyOrExit(mRouterEligible && IsFullThreadDevice()); in IsRouterEligible()
168 if (!IsFullThreadDevice()) in SetRouterEligible()
1142 VerifyOrExit(IsFullThreadDevice()); in ReadAndProcessRouteTlvOnFtdChild()
1581 … VerifyOrExit(IsFullThreadDevice(), Get<TimeTicker>().UnregisterReceiver(TimeTicker::kMleRouter)); in HandleTimeTick()
2181 if (!mode.IsFullThreadDevice()) in HandleChildIdRequest()
2972 if (!aChild.IsFullThreadDevice()) in SendChildIdResponse()
3293 if (aNeighbor.IsFullThreadDevice()) in RemoveNeighbor()
3938 if (child.IsFullThreadDevice()) in GetMaxChildTimeout()
Dmesh_forwarder_ftd.cpp474 VerifyOrExit((child == nullptr) || child->IsFullThreadDevice()); in SendIcmpErrorIfDstUnreach()
689 VerifyOrExit(neighbor != nullptr && !neighbor->IsFullThreadDevice()); in UpdateRoutes()
Dmle.hpp315 bool IsFullThreadDevice(void) const { return mDeviceMode.IsFullThreadDevice(); } in IsFullThreadDevice() function in ot::Mle::Mle
/external/openthread/src/core/utils/
Dotns.cpp153 …EmitStatus("mode=%s%s%s", aMode.IsRxOnWhenIdle() ? "r" : "", aMode.IsFullThreadDevice() ? "d" : "", in EmitDeviceMode()
Dchannel_manager.cpp71 …if (Get<Mle::Mle>().IsFullThreadDevice() && Get<Mle::Mle>().IsRxOnWhenIdle() && mAutoSelectEnabled) in RequestChannelChange()
/external/openthread/src/core/meshcop/
Djoiner_router.cpp64 VerifyOrExit(Get<Mle::MleRouter>().IsFullThreadDevice()); in Start()
Dtcat_agent.cpp939 tas.mDeviceType = Get<Mle::Mle>().GetDeviceMode().IsFullThreadDevice(); in GetAdvertisementData()
/external/openthread/src/core/mac/
Dmac.cpp1874 … if (neighbor == nullptr && dstaddr.IsBroadcast() && Get<Mle::MleRouter>().IsFullThreadDevice()) in HandleReceivedFrame()