Home
last modified time | relevance | path

Searched refs:GetState (Results 1 – 25 of 32) sorted by relevance

12

/openthread-2.7.6/src/core/net/
Dsrp_client.cpp72 if (aState != GetState()) in SetState()
74 …otLogInfoSrp("[client] HostInfo %s -> %s", ItemStateToString(GetState()), ItemStateToString(aState… in SetState()
112 VerifyOrExit(GetState() != aState); in SetState()
114 …otLogInfoSrp("[client] Service %s -> %s, \"%s\" \"%s\"", ItemStateToString(GetState()), ItemStateT… in SetState()
214 VerifyOrExit(GetState() == kStateStopped, in Start()
266 VerifyOrExit(GetState() != kStateStopped); in Stop()
368 VerifyOrExit(GetState() == kStatePaused); in HandleRoleChanged()
373 VerifyOrExit(GetState() != kStateStopped); in HandleRoleChanged()
386 …VerifyOrExit((mHostInfo.GetState() == kToAdd) || (mHostInfo.GetState() == kRemoved), error = kErro… in SetDomainName()
402 …VerifyOrExit((mHostInfo.GetState() == kToAdd) || (mHostInfo.GetState() == kRemoved), error = kErro… in SetHostName()
[all …]
Dsrp_client.hpp151 ItemState GetState(void) const { return static_cast<ItemState>(mState); } in GetState() function in ot::Srp::Client::HostInfo
262 ItemState GetState(void) const { return static_cast<ItemState>(mState); } in GetState() function in ot::Srp::Client::Service
809 State GetState(void) const { return mState; } in GetState() function in ot::Srp::Client
Dsrp_server.hpp616 State GetState(void) const { return mState; } in GetState() function in ot::Srp::Server
/openthread-2.7.6/src/core/thread/
Dnetwork_data_publisher.cpp294 switch (GetState()) in UpdateState()
373 VerifyOrExit((GetState() == kAdding) || (GetState() == kRemoving)); in HandleTimer()
377 registerWithLeader = (GetState() == kAdding) ? Add() : Remove(/* aNextState */ kToAdd); in HandleTimer()
472 string.Append(" (state:%s)", StateToString(GetState())); in ToString()
543 if (GetState() != kNoEntry) in Publish()
590 if (GetState() == kAdded) in HandleNotifierEvents()
648 VerifyOrExit((GetState() == kAdded) || (GetState() == kRemoving)); in Remove()
701 VerifyOrExit(GetState() != kNoEntry); in Process()
937 VerifyOrExit((GetState() == kAdded) || (GetState() == kRemoving)); in Remove()
972 VerifyOrExit(GetState() != kNoEntry); in Process()
Dnetwork_data_publisher.hpp295 State GetState(void) const { return mState; } in GetState() function in ot::NetworkData::Publisher::Entry
394 bool IsInUse(void) const { return GetState() != kNoEntry; } in IsInUse()
Dradio_selector.cpp380 preferenceString.AsCString(), Neighbor::StateToString(aNeighbor.GetState())); in Log()
Dtopology.cpp96 switch (GetState()) in IsStateValidOrAttaching()
Dtopology.hpp215 State GetState(void) const { return static_cast<State>(mState); } in GetState() function in ot::Neighbor
/openthread-2.7.6/src/core/api/
Dborder_agent_api.cpp49 return static_cast<otBorderAgentState>(instance.Get<MeshCoP::BorderAgent>().GetState()); in otBorderAgentGetState()
Djoiner_api.cpp72 return static_cast<otJoinerState>(instance.Get<MeshCoP::Joiner>().GetState()); in otJoinerGetState()
Djam_detection_api.cpp114 return instance.Get<Utils::JamDetector>().GetState(); in otJamDetectionGetState()
Dbackbone_router_ftd_api.cpp56 return instance.Get<BackboneRouter::Local>().GetState(); in otBackboneRouterGetState()
Dsrp_server_api.cpp63 return static_cast<otSrpServerState>(instance.Get<Srp::Server>().GetState()); in otSrpServerGetState()
Dcommissioner_api.cpp205 return static_cast<otCommissionerState>(instance.Get<MeshCoP::Commissioner>().GetState()); in otCommissionerGetState()
/openthread-2.7.6/src/core/utils/
Djam_detector.hpp109 bool GetState(void) const { return mJamState; } in GetState() function in ot::Utils::JamDetector
Dotns.cpp106 EmitStatus("joiner_state=%d", Get<MeshCoP::Joiner>().GetState()); in HandleNotifierEvents()
/openthread-2.7.6/src/core/backbone_router/
Dbbr_local.hpp100 BackboneRouterState GetState(void) const { return mState; } in GetState() function in ot::BackboneRouter::Local
/openthread-2.7.6/src/core/radio/
Dradio.hpp368 otRadioState GetState(void);
746 inline otRadioState Radio::GetState(void) in GetState() function in ot::Radio
912 inline otRadioState Radio::GetState(void) in GetState() function in ot::Radio
/openthread-2.7.6/tests/unit/
Dtest_toolchain.cpp102 VerifyOrQuit(neighbor.GetState() == ot::Neighbor::kStateValid, "OT_TOOL_PACKED failed 4"); in test_packed_enum()
Dtest_child_table.cpp65 return (aChild.GetState() == aTestChild.mState) && (aChild.GetRloc16() == aTestChild.mRloc16) && in ChildMatches()
/openthread-2.7.6/src/core/meshcop/
Djoiner.hpp123 State GetState(void) const { return mState; } in GetState() function in ot::MeshCoP::Joiner
Dborder_agent.hpp103 State GetState(void) const { return mState; } in GetState() function in ot::MeshCoP::BorderAgent
Dcommissioner.hpp269 State GetState(void) const { return mState; } in GetState() function in ot::MeshCoP::Commissioner
/openthread-2.7.6/src/lib/spinel/
Dradio_spinel.hpp314 otRadioState GetState(void) const;
/openthread-2.7.6/src/posix/platform/
Dradio.cpp563 return sRadioSpinel.GetState(); in otPlatRadioGetState()

12