/openthread-2.7.6/tests/unit/ |
D | test_multicast_listeners_table.cpp | 91 SuccessOrQuit(table.Add(static_cast<const Ip6::Address &>(MA401), TimerMilli::GetNow())); in TestMulticastListenersTable() 92 SuccessOrQuit(table.Add(static_cast<const Ip6::Address &>(MA501), TimerMilli::GetNow())); in TestMulticastListenersTable() 96 …VerifyOrQuit(table.Add(static_cast<const Ip6::Address &>(MA201), TimerMilli::GetNow()) == kErrorIn… in TestMulticastListenersTable() 98 …VerifyOrQuit(table.Add(static_cast<const Ip6::Address &>(MA301), TimerMilli::GetNow()) == kErrorIn… in TestMulticastListenersTable() 115 SuccessOrQuit(table.Add(address, TimerMilli::GetNow() + i)); in TestMulticastListenersTable() 120 …VerifyOrQuit(table.Add(static_cast<const Ip6::Address &>(MA501), TimerMilli::GetNow()) == kErrorNo… in TestMulticastListenersTable() 149 OT_ASSERT(listener.GetExpireTime() > TimerMilli::GetNow()); in TestMulticastListenersTable() 155 …IgnoreError(table.Add(address, TimerMilli::GetNow() + Random::NonCrypto::GetUint32InRange(1, 100))… in TestMulticastListenersTable()
|
/openthread-2.7.6/src/core/common/ |
D | timer.cpp | 44 const Timer::Scheduler::AlarmApi TimerMilli::Scheduler::sAlarmMilliApi = { 80 void TimerMilli::Start(uint32_t aDelay) in Start() 85 void TimerMilli::StartAt(TimeMilli aStartTime, uint32_t aDelay) in StartAt() 91 void TimerMilli::FireAt(TimeMilli aFireTime) in FireAt() 97 void TimerMilli::FireAtIfEarlier(TimeMilli aFireTime) in FireAtIfEarlier() 105 void TimerMilli::Stop(void) in Stop() 110 void TimerMilli::RemoveAll(Instance &aInstance) in RemoveAll() 220 instance->Get<TimerMilli::Scheduler>().ProcessTimers(); in otPlatAlarmMilliFired()
|
D | timer.hpp | 160 class TimerMilli : public Timer class 169 friend class TimerMilli; 185 void Add(TimerMilli &aTimer) { Timer::Scheduler::Add(aTimer, sAlarmMilliApi); } in Add() 186 void Remove(TimerMilli &aTimer) { Timer::Scheduler::Remove(aTimer, sAlarmMilliApi); } in Remove() 200 TimerMilli(Instance &aInstance, Handler aHandler) in TimerMilli() function in ot::TimerMilli 266 class TimerMilliContext : public TimerMilli 278 : TimerMilli(aInstance, aHandler) in TimerMilliContext()
|
D | trickle_timer.hpp | 58 class TrickleTimer : public TimerMilli 102 bool IsRunning(void) const { return TimerMilli::IsRunning(); } in IsRunning() 132 void Stop(void) { TimerMilli::Stop(); } in Stop()
|
D | trickle_timer.cpp | 43 : TimerMilli(aInstance, TrickleTimer::HandleTimer) in TrickleTimer() 115 TimerMilli::Start(mTimeInInterval); in StartNewInterval() 142 TimerMilli::Start(mInterval - mTimeInInterval); in HandleTimer()
|
D | time_ticker.hpp | 121 TimerMilli mTimer;
|
/openthread-2.7.6/src/core/border_router/ |
D | routing_manager.hpp | 252 … return mTimeLastUpdate + TimeMilli::SecToMsec(mPreferredLifetime) <= TimerMilli::GetNow(); in IsDeprecated() 356 TimerMilli mOnLinkPrefixDeprecateTimer; 370 TimerMilli mDiscoveredPrefixInvalidTimer; 371 TimerMilli mDiscoveredPrefixStaleTimer; 373 TimerMilli mRouterAdvertisementTimer; 376 TimerMilli mVicariousRouterSolicitTimer; 378 TimerMilli mRouterSolicitTimer; 382 TimerMilli mRoutingPolicyTimer;
|
D | routing_manager.cpp | 67 , mTimeRouterAdvMessageLastUpdate(TimerMilli::GetNow()) in RoutingManager() 647 mTimeRouterSolicitStart = TimerMilli::GetNow(); in StartRouterSolicitationDelay() 705 mTimeAdvertisedOnLinkPrefix = TimerMilli::GetNow(); in SendRouterAdvertisement() 713 …idLifetime(TimeMilli::MsecToSec(mOnLinkPrefixDeprecateTimer.GetFireTime() - TimerMilli::GetNow())); in SendRouterAdvertisement() 944 mTimeVicariousRouterSolicitStart = TimerMilli::GetNow(); in HandleRouterSolicit() 1072 onLinkPrefix.mTimeLastUpdate = TimerMilli::GetNow(); in UpdateDiscoveredPrefixes() 1074 staleTime = TimerMilli::GetNow(); in UpdateDiscoveredPrefixes() 1125 …else if (existingPrefix->GetExpireTime() > TimerMilli::GetNow() + TimeMilli::SecToMsec(kTwoHoursIn… in UpdateDiscoveredPrefixes() 1182 omrPrefix.mTimeLastUpdate = TimerMilli::GetNow(); in UpdateDiscoveredPrefixes() 1226 TimeMilli now = TimerMilli::GetNow(); in InvalidateDiscoveredPrefixes() [all …]
|
/openthread-2.7.6/src/core/thread/ |
D | time_sync_service.cpp | 116 mLastTimeSyncReceived = TimerMilli::GetNow(); in HandleTimeSyncMessage() 154 (TimerMilli::GetNow() - mLastTimeSyncSent > Time::SecToMsec(mTimeSyncPeriod))) in ProcessTimeSync() 166 mLastTimeSyncSent = TimerMilli::GetNow(); in ProcessTimeSync() 220 const uint32_t timeSyncLastSyncMs = TimerMilli::GetNow() - mLastTimeSyncReceived; in CheckAndHandleChanges()
|
D | router_table.cpp | 253 rval->SetLastHeard(TimerMilli::GetNow()); in Allocate() 256 mRouterIdSequenceLastUpdated = TimerMilli::GetNow(); in Allocate() 298 mRouterIdSequenceLastUpdated = TimerMilli::GetNow(); in Release() 313 aRouter.SetLastHeard(TimerMilli::GetNow()); in RemoveRouterLink() 442 …return (mActiveRouterCount > 0) ? Time::MsecToSec(TimerMilli::GetNow() - mRouterIdSequenceLastUpda… in GetLeaderAge() 482 mRouterIdSequenceLastUpdated = TimerMilli::GetNow(); in UpdateRouterIdSet() 519 mRouterIdSequenceLastUpdated = TimerMilli::GetNow(); in HandleTimeTick()
|
D | network_data_notifier.hpp | 90 TimerMilli mTimer;
|
D | panid_query_server.hpp | 82 TimerMilli mTimer;
|
D | energy_scan_server.hpp | 93 TimerMilli mTimer;
|
D | time_sync_service.hpp | 214 TimerMilli mTimer; ///< Timer for checking if a resync is required.
|
/openthread-2.7.6/src/core/meshcop/ |
D | dataset_local.cpp | 111 elapsed = TimerMilli::GetNow() - mUpdateTime; in Read() 123 aDataset.mUpdateTime = TimerMilli::GetNow(); in Read() 209 mUpdateTime = TimerMilli::GetNow(); in Save()
|
D | dataset_manager.hpp | 228 DatasetManager(Instance &aInstance, Dataset::Type aType, TimerMilli::Handler aTimerHandler); 369 TimerMilli mTimer; 633 TimerMilli mDelayTimer;
|
D | dataset_updater.hpp | 136 TimerMilli mTimer;
|
/openthread-2.7.6/src/core/net/ |
D | ip6_mpl.hpp | 296 TimerMilli mSeedSetTimer; 322 TimerMilli mRetransmissionTimer;
|
D | sntp_client.cpp | 142 header.SetTransmitTimestampSeconds(TimerMilli::GetNow().GetValue() / 1000 + kTimeAt1970); in Query() 149 queryMetadata.mTransmissionTime = TimerMilli::GetNow() + kResponseTimeout; in Query() 285 TimeMilli now = TimerMilli::GetNow(); in HandleRetransmissionTimer()
|
/openthread-2.7.6/src/core/utils/ |
D | jam_detector.cpp | 115 mCurSecondStartTime = TimerMilli::GetNow(); in CheckState() 210 uint32_t interval = TimerMilli::GetNow() - mCurSecondStartTime; in UpdateHistory()
|
D | child_supervision.hpp | 241 TimerMilli mTimer;
|
D | channel_monitor.hpp | 207 TimerMilli mTimer;
|
D | jam_detector.hpp | 199 TimerMilli mTimer; // RSSI sample timer
|
D | history_tracker.hpp | 107 void SetInitTime(void) { mData32 = TimerMilli::GetNow().GetValue(); } in SetInitTime() 334 TimerMilli mTimer;
|
/openthread-2.7.6/src/core/backbone_router/ |
D | multicast_listeners_table.cpp | 122 TimeMilli now = TimerMilli::GetNow(); in Expire() 298 now = TimerMilli::GetNow(); in GetNext()
|