/openthread-2.7.6/src/core/api/ |
D | channel_manager_api.cpp | 50 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 …]
|
D | history_tracker_api.cpp | 48 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()
|
D | srp_client_buffers_api.cpp | 50 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()
|
D | jam_detection_api.cpp | 49 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 …]
|
D | channel_monitor_api.cpp | 47 … Utils::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()
|
D | child_supervision_api.cpp | 51 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()
|
D | ping_sender_api.cpp | 49 …return instance.Get<Utils::PingSender>().Ping(*static_cast<const Utils::PingSender::Config *>(aCon… in otPingSenderPing() 56 instance.Get<Utils::PingSender>().Stop(); in otPingSenderStop()
|
D | ip6_api.cpp | 300 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/ |
D | test_lookup_table.cpp | 40 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()
|
D | test_cmd_line_parser.cpp | 40 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;
|
D | test_heap.cpp | 49 ot::Utils::Heap heap; in TestAllocateSingle() 89 ot::Utils::Heap heap; in TestAllocateRandomly()
|
/openthread-2.7.6/src/core/common/ |
D | instance.hpp | 266 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 …]
|
D | notifier.cpp | 147 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/ |
D | radio.cpp | 43 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/ |
D | thread_netif.hpp | 208 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/ |
D | cli_joiner.hpp | 58 typedef Utils::CmdLineParser::Arg Arg; 100 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
D | cli_srp_server.hpp | 58 typedef Utils::CmdLineParser::Arg Arg; 107 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
D | cli_network_data.hpp | 56 typedef Utils::CmdLineParser::Arg Arg; 136 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
D | cli_udp.hpp | 56 typedef Utils::CmdLineParser::Arg Arg; 105 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
D | cli_history.hpp | 59 typedef Utils::CmdLineParser::Arg Arg; 119 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
D | cli_srp_client.hpp | 60 typedef Utils::CmdLineParser::Arg Arg; 132 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
D | cli_commissioner.hpp | 58 typedef Utils::CmdLineParser::Arg Arg; 135 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
D | cli_dataset.hpp | 58 typedef Utils::CmdLineParser::Arg Arg; 140 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
D | cli_tcp.hpp | 58 using Arg = Utils::CmdLineParser::Arg; 135 static_assert(Utils::LookupTable::IsSorted(sCommands), "Command Table is not sorted");
|
/openthread-2.7.6/src/core/utils/ |
D | ping_sender.cpp | 43 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()
|