Home
last modified time | relevance | path

Searched refs:Utils (Results 1 – 25 of 76) sorted by relevance

1234

/openthread-2.7.6/src/core/api/
Dchannel_manager_api.cpp50 instance.Get<Utils::ChannelManager>().RequestChannelChange(aChannel); in otChannelManagerRequestChannelChange()
57 return instance.Get<Utils::ChannelManager>().GetRequestedChannel(); in otChannelManagerGetRequestedChannel()
64 return instance.Get<Utils::ChannelManager>().GetDelay(); in otChannelManagerGetDelay()
71 return instance.Get<Utils::ChannelManager>().SetDelay(aDelay); in otChannelManagerSetDelay()
79 return instance.Get<Utils::ChannelManager>().RequestChannelSelect(aSkipQualityCheck); in otChannelManagerRequestChannelSelect()
87 instance.Get<Utils::ChannelManager>().SetAutoChannelSelectionEnabled(aEnabled); in otChannelManagerSetAutoChannelSelectionEnabled()
94 return instance.Get<Utils::ChannelManager>().GetAutoChannelSelectionEnabled(); in otChannelManagerGetAutoChannelSelectionEnabled()
101 return instance.Get<Utils::ChannelManager>().SetAutoChannelSelectionInterval(aInterval); in otChannelManagerSetAutoChannelSelectionInterval()
108 return instance.Get<Utils::ChannelManager>().GetAutoChannelSelectionInterval(); in otChannelManagerGetAutoChannelSelectionInterval()
115 return instance.Get<Utils::ChannelManager>().GetSupportedChannels(); in otChannelManagerGetSupportedChannels()
[all …]
Dhistory_tracker_api.cpp48 static_cast<Utils::HistoryTracker::Iterator *>(aIterator)->Init(); in otHistoryTrackerInitIterator()
57 return instance.Get<Utils::HistoryTracker>().IterateNetInfoHistory( in otHistoryTrackerIterateNetInfoHistory()
58 *static_cast<Utils::HistoryTracker::Iterator *>(aIterator), *aEntryAge); in otHistoryTrackerIterateNetInfoHistory()
67 return instance.Get<Utils::HistoryTracker>().IterateRxHistory( in otHistoryTrackerIterateRxHistory()
68 *static_cast<Utils::HistoryTracker::Iterator *>(aIterator), *aEntryAge); in otHistoryTrackerIterateRxHistory()
77 return instance.Get<Utils::HistoryTracker>().IterateTxHistory( in otHistoryTrackerIterateTxHistory()
78 *static_cast<Utils::HistoryTracker::Iterator *>(aIterator), *aEntryAge); in otHistoryTrackerIterateTxHistory()
87 return instance.Get<Utils::HistoryTracker>().IterateNeighborHistory( in otHistoryTrackerIterateNeighborHistory()
88 *static_cast<Utils::HistoryTracker::Iterator *>(aIterator), *aEntryAge); in otHistoryTrackerIterateNeighborHistory()
93 Utils::HistoryTracker::EntryAgeToString(aEntryAge, aBuffer, aSize); in otHistoryTrackerEntryAgeToString()
Dsrp_client_buffers_api.cpp50 return instance.Get<Utils::SrpClientBuffers>().GetHostNameString(*aSize); in otSrpClientBuffersGetHostNameString()
57 return instance.Get<Utils::SrpClientBuffers>().GetHostAddressesArray(*aArrayLength); in otSrpClientBuffersGetHostAddressesArray()
64 return instance.Get<Utils::SrpClientBuffers>().AllocateService(); in otSrpClientBuffersAllocateService()
71 instance.Get<Utils::SrpClientBuffers>().FreeService( in otSrpClientBuffersFreeService()
72 *static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aService)); in otSrpClientBuffersFreeService()
79 instance.Get<Utils::SrpClientBuffers>().FreeAllServices(); in otSrpClientBuffersFreeAllServices()
84 … return static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aEntry)->GetServiceNameString(*aSize); in otSrpClientBuffersGetServiceEntryServiceNameString()
89 …return static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aEntry)->GetInstanceNameString(*aSize); in otSrpClientBuffersGetServiceEntryInstanceNameString()
94 return static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aEntry)->GetTxtBuffer(*aSize); in otSrpClientBuffersGetServiceEntryTxtBuffer()
99 …return static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aEntry)->GetSubTypeLabelsArray(*aArray… in otSrpClientBuffersGetSubTypeLabelsArray()
Djam_detection_api.cpp49 instance.Get<Utils::JamDetector>().SetRssiThreshold(aRssiThreshold); in otJamDetectionSetRssiThreshold()
58 return instance.Get<Utils::JamDetector>().GetRssiThreshold(); in otJamDetectionGetRssiThreshold()
65 return instance.Get<Utils::JamDetector>().SetWindow(aWindow); in otJamDetectionSetWindow()
72 return instance.Get<Utils::JamDetector>().GetWindow(); in otJamDetectionGetWindow()
79 return instance.Get<Utils::JamDetector>().SetBusyPeriod(aBusyPeriod); in otJamDetectionSetBusyPeriod()
86 return instance.Get<Utils::JamDetector>().GetBusyPeriod(); in otJamDetectionGetBusyPeriod()
93 return instance.Get<Utils::JamDetector>().Start(aCallback, aContext); in otJamDetectionStart()
100 return instance.Get<Utils::JamDetector>().Stop(); in otJamDetectionStop()
107 return instance.Get<Utils::JamDetector>().IsEnabled(); in otJamDetectionIsEnabled()
114 return instance.Get<Utils::JamDetector>().GetState(); in otJamDetectionGetState()
[all …]
Dchannel_monitor_api.cpp47Utils::ChannelMonitor &monitor = static_cast<Instance *>(aInstance)->Get<Utils::ChannelMonitor>(); in otChannelMonitorSetEnabled()
56 return instance.Get<Utils::ChannelMonitor>().IsRunning(); in otChannelMonitorIsEnabled()
63 return Utils::ChannelMonitor::kSampleInterval; in otChannelMonitorGetSampleInterval()
70 return Utils::ChannelMonitor::kRssiThreshold; in otChannelMonitorGetRssiThreshold()
77 return Utils::ChannelMonitor::kSampleWindow; in otChannelMonitorGetSampleWindow()
84 return instance.Get<Utils::ChannelMonitor>().GetSampleCount(); in otChannelMonitorGetSampleCount()
91 return instance.Get<Utils::ChannelMonitor>().GetChannelOccupancy(aChannel); in otChannelMonitorGetChannelOccupancy()
Dchild_supervision_api.cpp51 return instance.Get<Utils::ChildSupervisor>().GetSupervisionInterval(); in otChildSupervisionGetInterval()
58 instance.Get<Utils::ChildSupervisor>().SetSupervisionInterval(aInterval); in otChildSupervisionSetInterval()
67 return instance.Get<Utils::SupervisionListener>().GetTimeout(); in otChildSupervisionGetCheckTimeout()
74 instance.Get<Utils::SupervisionListener>().SetTimeout(aTimeout); in otChildSupervisionSetCheckTimeout()
Dping_sender_api.cpp49 …return instance.Get<Utils::PingSender>().Ping(*static_cast<const Utils::PingSender::Config *>(aCon… in otPingSenderPing()
56 instance.Get<Utils::PingSender>().Stop(); in otPingSenderStop()
Dip6_api.cpp300 return static_cast<Instance *>(aInstance)->Get<Utils::Slaac>().IsEnabled(); in otIp6IsSlaacEnabled()
309 instance.Get<Utils::Slaac>().Enable(); in otIp6SetSlaacEnabled()
313 instance.Get<Utils::Slaac>().Disable(); in otIp6SetSlaacEnabled()
321 instance.Get<Utils::Slaac>().SetFilter(aFilter); in otIp6SetSlaacPrefixFilter()
/openthread-2.7.6/tests/unit/
Dtest_lookup_table.cpp40 typedef ot::Utils::LookupTable::Entry Entry;
82 static_assert(ot::Utils::LookupTable::IsSorted(kTable), "LookupTable::IsSorted() failed"); in TestLookupTable()
83 static_assert(!ot::Utils::LookupTable::IsSorted(kUnsortedTable), "failed for unsorted table"); in TestLookupTable()
84 …static_assert(!ot::Utils::LookupTable::IsSorted(kDuplicateEntryTable), "failed for table with dupl… in TestLookupTable()
93 entry = ot::Utils::LookupTable::Find(name, kTable); in TestLookupTable()
97 entry = ot::Utils::LookupTable::Find(name, kTable); in TestLookupTable()
101 …VerifyOrQuit(ot::Utils::LookupTable::Find("dragon age", kTable) == nullptr, "failed with non-exiti… in TestLookupTable()
Dtest_cmd_line_parser.cpp40 using ot::Utils::CmdLineParser::ParseAsBool;
41 using ot::Utils::CmdLineParser::ParseAsHexString;
42 using ot::Utils::CmdLineParser::ParseAsHexStringSegment;
43 using ot::Utils::CmdLineParser::ParseAsInt16;
44 using ot::Utils::CmdLineParser::ParseAsInt32;
45 using ot::Utils::CmdLineParser::ParseAsInt8;
46 using ot::Utils::CmdLineParser::ParseAsUint16;
47 using ot::Utils::CmdLineParser::ParseAsUint32;
48 using ot::Utils::CmdLineParser::ParseAsUint64;
49 using ot::Utils::CmdLineParser::ParseAsUint8;
Dtest_heap.cpp49 ot::Utils::Heap heap; in TestAllocateSingle()
89 ot::Utils::Heap heap; in TestAllocateRandomly()
/openthread-2.7.6/src/core/common/
Dinstance.hpp266 Utils::Heap &GetHeap(void) { return sHeap; } in GetHeap()
349 static Utils::Heap sHeap;
383 Utils::PingSender mPingSender;
387 Utils::ChannelMonitor mChannelMonitor;
391 Utils::ChannelManager mChannelManager;
395 Utils::HistoryTracker mHistoryTracker;
407 Utils::Otns mOtns;
742 template <> inline Utils::SrpClientBuffers &Instance::Get(void) in Get()
784 template <> inline Utils::Slaac &Instance::Get(void) in Get()
791 template <> inline Utils::JamDetector &Instance::Get(void) in Get()
[all …]
Dnotifier.cpp147 Get<Utils::ChildSupervisor>().HandleNotifierEvents(events); in EmitEvents()
172 Get<Utils::Slaac>().HandleNotifierEvents(events); in EmitEvents()
175 Get<Utils::JamDetector>().HandleNotifierEvents(events); in EmitEvents()
178 Get<Utils::Otns>().HandleNotifierEvents(events); in EmitEvents()
181 Get<Utils::HistoryTracker>().HandleNotifierEvents(events); in EmitEvents()
/openthread-2.7.6/src/core/radio/
Dradio.cpp43 Get<Utils::Otns>().EmitExtendedAddress(aExtAddress); in SetExtendedAddress()
52 Get<Utils::Otns>().EmitShortAddress(aShortAddress); in SetShortAddress()
59 Get<Utils::Otns>().EmitTransmit(aFrame); in Transmit()
/openthread-2.7.6/src/core/thread/
Dthread_netif.hpp208 Utils::Slaac mSlaac;
217 Utils::SrpClientBuffers mSrpClientBuffers;
269 Utils::JamDetector mJamDetector;
297 Utils::ChildSupervisor mChildSupervisor;
299 Utils::SupervisionListener mSupervisionListener;
/openthread-2.7.6/src/cli/
Dcli_joiner.hpp58 typedef Utils::CmdLineParser::Arg Arg;
100 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
Dcli_srp_server.hpp58 typedef Utils::CmdLineParser::Arg Arg;
107 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
Dcli_network_data.hpp56 typedef Utils::CmdLineParser::Arg Arg;
136 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
Dcli_udp.hpp56 typedef Utils::CmdLineParser::Arg Arg;
105 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
Dcli_history.hpp59 typedef Utils::CmdLineParser::Arg Arg;
119 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
Dcli_srp_client.hpp60 typedef Utils::CmdLineParser::Arg Arg;
132 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
Dcli_commissioner.hpp58 typedef Utils::CmdLineParser::Arg Arg;
135 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
Dcli_dataset.hpp58 typedef Utils::CmdLineParser::Arg Arg;
140 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
Dcli_tcp.hpp58 using Arg = Utils::CmdLineParser::Arg;
135 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
/openthread-2.7.6/src/core/utils/
Dping_sender.cpp43 namespace Utils { namespace
151 …Get<Utils::Otns>().EmitPingRequest(mConfig.GetDestination(), mConfig.mSize, now.GetValue(), mConfi… in SendPing()
224 …Get<Utils::Otns>().EmitPingReply(aMessageInfo.GetPeerAddr(), reply.mSize, timestamp, reply.mHopLim… in HandleIcmpReceive()

1234