Home
last modified time | relevance | path

Searched refs:TimerMilli (Results 1 – 25 of 83) sorted by relevance

1234

/openthread-2.7.6/tests/unit/
Dtest_multicast_listeners_table.cpp91 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/
Dtimer.cpp44 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()
Dtimer.hpp160 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()
Dtrickle_timer.hpp58 class TrickleTimer : public TimerMilli
102 bool IsRunning(void) const { return TimerMilli::IsRunning(); } in IsRunning()
132 void Stop(void) { TimerMilli::Stop(); } in Stop()
Dtrickle_timer.cpp43 : TimerMilli(aInstance, TrickleTimer::HandleTimer) in TrickleTimer()
115 TimerMilli::Start(mTimeInInterval); in StartNewInterval()
142 TimerMilli::Start(mInterval - mTimeInInterval); in HandleTimer()
Dtime_ticker.hpp121 TimerMilli mTimer;
/openthread-2.7.6/src/core/border_router/
Drouting_manager.hpp252 … 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;
Drouting_manager.cpp67 , 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/
Dtime_sync_service.cpp116 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()
Drouter_table.cpp253 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()
Dnetwork_data_notifier.hpp90 TimerMilli mTimer;
Dpanid_query_server.hpp82 TimerMilli mTimer;
Denergy_scan_server.hpp93 TimerMilli mTimer;
Dtime_sync_service.hpp214 TimerMilli mTimer; ///< Timer for checking if a resync is required.
/openthread-2.7.6/src/core/meshcop/
Ddataset_local.cpp111 elapsed = TimerMilli::GetNow() - mUpdateTime; in Read()
123 aDataset.mUpdateTime = TimerMilli::GetNow(); in Read()
209 mUpdateTime = TimerMilli::GetNow(); in Save()
Ddataset_manager.hpp228 DatasetManager(Instance &aInstance, Dataset::Type aType, TimerMilli::Handler aTimerHandler);
369 TimerMilli mTimer;
633 TimerMilli mDelayTimer;
Ddataset_updater.hpp136 TimerMilli mTimer;
/openthread-2.7.6/src/core/net/
Dip6_mpl.hpp296 TimerMilli mSeedSetTimer;
322 TimerMilli mRetransmissionTimer;
Dsntp_client.cpp142 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/
Djam_detector.cpp115 mCurSecondStartTime = TimerMilli::GetNow(); in CheckState()
210 uint32_t interval = TimerMilli::GetNow() - mCurSecondStartTime; in UpdateHistory()
Dchild_supervision.hpp241 TimerMilli mTimer;
Dchannel_monitor.hpp207 TimerMilli mTimer;
Djam_detector.hpp199 TimerMilli mTimer; // RSSI sample timer
Dhistory_tracker.hpp107 void SetInitTime(void) { mData32 = TimerMilli::GetNow().GetValue(); } in SetInitTime()
334 TimerMilli mTimer;
/openthread-2.7.6/src/core/backbone_router/
Dmulticast_listeners_table.cpp122 TimeMilli now = TimerMilli::GetNow(); in Expire()
298 now = TimerMilli::GetNow(); in GetNext()

1234