Home
last modified time | relevance | path

Searched refs:mTimer (Results 1 – 25 of 66) sorted by relevance

123

/openthread-2.7.6/src/core/common/
Dtime_ticker.cpp48 , mTimer(aInstance, HandleTimer) in TimeTicker()
56 if (!mTimer.IsRunning()) in RegisterReceiver()
58 mTimer.Start(Random::NonCrypto::GetUint32InRange(0, kTickInterval + 1)); in RegisterReceiver()
68 mTimer.Stop(); in UnregisterReceiver()
79mTimer.FireAt(mTimer.GetFireTime() + Random::NonCrypto::AddJitter(kTickInterval, kRestartJitter)); in HandleTimer()
Dtime_ticker.hpp121 TimerMilli mTimer; member in ot::TimeTicker
/openthread-2.7.6/src/core/thread/
Dnetwork_data_notifier.cpp49 , mTimer(aInstance, Notifier::HandleTimer) in Notifier()
67 VerifyOrExit((mNextDelay == 0) || !mTimer.IsRunning()); in SynchronizeServerData()
88 mTimer.Start(kDelayNoBufs); in SynchronizeServerData()
92 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterSelectionJitterTimeout() + 1)); in SynchronizeServerData()
141 mTimer.Start(mNextDelay + 1); in HandleCoapResponse()
Denergy_scan_server.cpp58 , mTimer(aInstance, EnergyScanServer::HandleTimer) in EnergyScanServer()
93 mTimer.Start(kScanDelay); in HandleRequest()
158 mTimer.Start(mPeriod); in HandleScanResult()
162 mTimer.Start(kReportDelay); in HandleScanResult()
211 mTimer.Stop(); in HandleNotifierEvents()
Dannounce_sender.cpp59 , mTimer(aInstance, aHandler) in AnnounceSenderBase()
78 mTimer.Start(Random::NonCrypto::GetUint32InRange(0, mJitter + 1)); in SendAnnounce()
86 mTimer.Stop(); in Stop()
144 mTimer.Start(Random::NonCrypto::AddJitter(mPeriod, mJitter)); in HandleTimer()
Dannounce_sender.hpp108 bool IsRunning(void) const { return mTimer.IsRunning(); } in IsRunning()
197 TimerMilli mTimer; member in ot::AnnounceSenderBase
Dtime_sync_service.cpp65 , mTimer(aInstance, HandleTimeout) in TimeSync()
222 mTimer.Stop(); in CheckAndHandleChanges()
251 mTimer.Start(resyncNeededThresholdMs - timeSyncLastSyncMs + 1); in CheckAndHandleChanges()
Dpanid_query_server.cpp53 , mTimer(aInstance, PanIdQueryServer::HandleTimer) in PanIdQueryServer()
79 mTimer.Start(kScanDelay); in HandleQuery()
Dnetwork_data_notifier.hpp90 TimerMilli mTimer; member in ot::NetworkData::Notifier
Dpanid_query_server.hpp82 TimerMilli mTimer; member in ot::PanIdQueryServer
Denergy_scan_server.hpp93 TimerMilli mTimer; member in ot::EnergyScanServer
/openthread-2.7.6/src/core/utils/
Djam_detector.cpp52 , mTimer(aInstance, JamDetector::HandleTimer) in JamDetector()
93 mTimer.Stop(); in Stop()
108 VerifyOrExit(mTimer.IsRunning()); in CheckState()
109 mTimer.Stop(); in CheckState()
114 VerifyOrExit(!mTimer.IsRunning()); in CheckState()
120 mTimer.Start(kMinSampleInterval); in CheckState()
202 mTimer.Start(mSampleInterval + Random::NonCrypto::GetUint32InRange(0, kMaxRandomDelay)); in HandleTimer()
Dchannel_manager.cpp57 , mTimer(aInstance, ChannelManager::HandleTimer) in ChannelManager()
82 mTimer.Start(1 + Random::NonCrypto::GetUint32InRange(0, kRequestStartJitterInterval)); in RequestChannelChange()
118 mTimer.Start(kPendingDatasetTxRetryInterval); in StartDatasetUpdate()
299 mTimer.Start(Time::SecToMsec(mAutoSelectInterval)); in StartAutoSelectTimer()
303 mTimer.Stop(); in StartAutoSelectTimer()
329 …if (mAutoSelectEnabled && (mState == kStateIdle) && mTimer.IsRunning() && (prevInterval != aInterv… in SetAutoChannelSelectionInterval()
331mTimer.StartAt(mTimer.GetFireTime() - Time::SecToMsec(prevInterval), Time::SecToMsec(aInterval)); in SetAutoChannelSelectionInterval()
Dping_sender.cpp92 , mTimer(aInstance, PingSender::HandleTimer) in PingSender()
102 VerifyOrExit(!mTimer.IsRunning(), error = kErrorBusy); in Ping()
121 mTimer.Stop(); in Stop()
162 mTimer.Start(mConfig.mInterval); in SendPing()
166 mTimer.Start(mConfig.mTimeout); in SendPing()
204 VerifyOrExit(mTimer.IsRunning()); in HandleIcmpReceive()
229 mTimer.Stop(); in HandleIcmpReceive()
Dchild_supervision.cpp158 , mTimer(aInstance, SupervisionListener::HandleTimer) in SupervisionListener()
170 mTimer.Stop(); in Stop()
186 VerifyOrExit(mTimer.IsRunning() && aIsSecure && Get<Mle::MleRouter>().IsChild() && in UpdateOnReceive()
199 mTimer.Start(Time::SecToMsec(mTimeout)); in RestartTimer()
203 mTimer.Stop(); in RestartTimer()
Dchannel_monitor.cpp65 , mTimer(aInstance, ChannelMonitor::HandleTimer) in ChannelMonitor()
76 mTimer.Start(kTimerInterval); in Start()
88 mTimer.Stop(); in Stop()
125mTimer.StartAt(mTimer.GetFireTime(), Random::NonCrypto::AddJitter(kTimerInterval, kMaxJitterInterv… in HandleTimer()
Dchannel_monitor.hpp133 bool IsRunning(void) const { return mTimer.IsRunning(); } in IsRunning()
207 TimerMilli mTimer; member in ot::Utils::ChannelMonitor
/openthread-2.7.6/src/core/mac/
Ddata_poll_sender.cpp55 , mTimer(aInstance, DataPollSender::HandlePollTimer) in DataPollSender()
87 mTimer.Stop(); in StopPolling()
106 mTimer.Stop(); in SendDataPoll()
450 if (mTimer.IsRunning() && mPollPeriod == GetDefaultPollPeriod()) in ResetKeepAliveTimer()
453 mTimer.StartAt(mTimerStartTime, mPollPeriod); in ResetKeepAliveTimer()
469 if (mTimer.IsRunning()) in ScheduleNextPoll()
484 mTimer.StartAt(now, kMinPollPeriod); in ScheduleNextPoll()
488 mTimer.StartAt(mTimerStartTime, mPollPeriod); in ScheduleNextPoll()
496 mTimer.StartAt(mTimerStartTime, mPollPeriod); in ScheduleNextPoll()
Dsub_mac.cpp68 , mTimer(aInstance, SubMac::HandleTimer) in SubMac()
181 mTimer.Stop(); in Disable()
383mTimer.StartAt(Time(mTransmitFrame.mInfo.mTxInfo.mTxDelayBaseTime) - kCcaSampleInterval, in StartCsmaBackoff()
421 mTimer.Start(backoff); in StartCsmaBackoff()
423 mTimer.Start(backoff / 1000UL); in StartCsmaBackoff()
474 mTimer.Start(kAckTimeout * 1000UL); in HandleTransmitStarted()
476 mTimer.Start(kAckTimeout); in HandleTransmitStarted()
488 mTimer.Stop(); in HandleTransmitDone()
639 mTimer.Start(0); in EnergyScan()
667 mTimer.StartAt(mTimer.GetFireTime(), kEnergyScanRssiSampleInterval * 1000UL); in SampleRssi()
[all …]
/openthread-2.7.6/src/core/meshcop/
Ddataset_updater.cpp52 , mTimer(aInstance, DatasetUpdater::HandleTimer) in DatasetUpdater()
77 mTimer.Start(1); in RequestUpdate()
90 mTimer.Stop(); in CancelUpdate()
126 mTimer.Start(kRetryInterval); in PreparePendingDataset()
Dmeshcop_leader.cpp59 , mTimer(aInstance, HandleTimer) in Leader()
86 if (mTimer.IsRunning()) in HandlePetition()
116 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandlePetition()
136 if (mTimer.IsRunning()) in SendPetitionResponse()
197 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandleKeepAlive()
295 mTimer.Stop(); in ResignCommissioner()
Djoiner_router.cpp58 , mTimer(aInstance, JoinerRouter::HandleTimer) in JoinerRouter()
240 if (!mTimer.IsRunning()) in DelaySendingJoinerEntrust()
242 mTimer.FireAt(metadata.mSendTime); in DelaySendingJoinerEntrust()
266 VerifyOrExit(!mTimer.IsRunning()); in SendDelayedJoinerEntrust()
272 mTimer.FireAt(metadata.mSendTime); in SendDelayedJoinerEntrust()
282 mTimer.Start(0); in SendDelayedJoinerEntrust()
Ddtls.cpp68 , mTimer(aInstance, Dtls::HandleTimer, this) in Dtls()
419 mTimer.Stop(); in Close()
428 mTimer.Start(kGuardTimeNewConnectionMilli); in Disconnect()
668 else if (!mTimer.IsRunning()) in HandleMbedtlsGetTimer()
705 mTimer.Stop(); in HandleMbedtlsSetTimer()
710 mTimer.Start(aFinish); in HandleMbedtlsSetTimer()
772 mTimer.Stop(); in HandleTimer()
Ddataset_updater.hpp136 TimerMilli mTimer; member in ot::MeshCoP::DatasetUpdater
/openthread-2.7.6/src/core/net/
Dtcp6.cpp51 , mTimer(aInstance, Tcp::HandleTimer) in Tcp()
202 GetInstance().Get<Tcp>().mTimer.FireAtIfEarlier(newFireTime); in SetTimer()
327 OT_ASSERT(&aTimer == &aTimer.GetInstance().Get<Tcp>().mTimer); in HandleTimer()
338 OT_ASSERT(!mTimer.IsRunning()); in ProcessTimers()
385 mTimer.FireAtIfEarlier(earliestPendingTimerExpiry); in ProcessTimers()

123