/openthread-2.7.6/src/core/common/ |
D | time_ticker.cpp | 48 , 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() 79 … mTimer.FireAt(mTimer.GetFireTime() + Random::NonCrypto::AddJitter(kTickInterval, kRestartJitter)); in HandleTimer()
|
D | time_ticker.hpp | 121 TimerMilli mTimer; member in ot::TimeTicker
|
/openthread-2.7.6/src/core/thread/ |
D | network_data_notifier.cpp | 49 , 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()
|
D | energy_scan_server.cpp | 58 , 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()
|
D | announce_sender.cpp | 59 , 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()
|
D | announce_sender.hpp | 108 bool IsRunning(void) const { return mTimer.IsRunning(); } in IsRunning() 197 TimerMilli mTimer; member in ot::AnnounceSenderBase
|
D | time_sync_service.cpp | 65 , mTimer(aInstance, HandleTimeout) in TimeSync() 222 mTimer.Stop(); in CheckAndHandleChanges() 251 mTimer.Start(resyncNeededThresholdMs - timeSyncLastSyncMs + 1); in CheckAndHandleChanges()
|
D | panid_query_server.cpp | 53 , mTimer(aInstance, PanIdQueryServer::HandleTimer) in PanIdQueryServer() 79 mTimer.Start(kScanDelay); in HandleQuery()
|
D | network_data_notifier.hpp | 90 TimerMilli mTimer; member in ot::NetworkData::Notifier
|
D | panid_query_server.hpp | 82 TimerMilli mTimer; member in ot::PanIdQueryServer
|
D | energy_scan_server.hpp | 93 TimerMilli mTimer; member in ot::EnergyScanServer
|
/openthread-2.7.6/src/core/utils/ |
D | jam_detector.cpp | 52 , 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()
|
D | channel_manager.cpp | 57 , 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() 331 … mTimer.StartAt(mTimer.GetFireTime() - Time::SecToMsec(prevInterval), Time::SecToMsec(aInterval)); in SetAutoChannelSelectionInterval()
|
D | ping_sender.cpp | 92 , 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()
|
D | child_supervision.cpp | 158 , 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()
|
D | channel_monitor.cpp | 65 , mTimer(aInstance, ChannelMonitor::HandleTimer) in ChannelMonitor() 76 mTimer.Start(kTimerInterval); in Start() 88 mTimer.Stop(); in Stop() 125 …mTimer.StartAt(mTimer.GetFireTime(), Random::NonCrypto::AddJitter(kTimerInterval, kMaxJitterInterv… in HandleTimer()
|
D | channel_monitor.hpp | 133 bool IsRunning(void) const { return mTimer.IsRunning(); } in IsRunning() 207 TimerMilli mTimer; member in ot::Utils::ChannelMonitor
|
/openthread-2.7.6/src/core/mac/ |
D | data_poll_sender.cpp | 55 , 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()
|
D | sub_mac.cpp | 68 , mTimer(aInstance, SubMac::HandleTimer) in SubMac() 181 mTimer.Stop(); in Disable() 383 … mTimer.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/ |
D | dataset_updater.cpp | 52 , mTimer(aInstance, DatasetUpdater::HandleTimer) in DatasetUpdater() 77 mTimer.Start(1); in RequestUpdate() 90 mTimer.Stop(); in CancelUpdate() 126 mTimer.Start(kRetryInterval); in PreparePendingDataset()
|
D | meshcop_leader.cpp | 59 , 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()
|
D | joiner_router.cpp | 58 , 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()
|
D | dtls.cpp | 68 , 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()
|
D | dataset_updater.hpp | 136 TimerMilli mTimer; member in ot::MeshCoP::DatasetUpdater
|
/openthread-2.7.6/src/core/net/ |
D | tcp6.cpp | 51 , 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()
|