/openthread-3.4.0/src/core/utils/ |
D | channel_manager.cpp | 110 dataset.SetDelay(Time::SecToMsec(mDelay)); in StartDatasetUpdate() 294 mTimer.Start(Time::SecToMsec(mAutoSelectInterval)); in StartAutoSelectTimer() 326 … mTimer.StartAt(mTimer.GetFireTime() - Time::SecToMsec(prevInterval), Time::SecToMsec(aInterval)); in SetAutoChannelSelectionInterval()
|
/openthread-3.4.0/tests/unit/ |
D | test_dso.cpp | 539 static constexpr uint32_t kRetryDelayInterval = TimeMilli::SecToMsec(3600); in TestDso() 540 … static constexpr uint32_t kLongResponseTimeout = Dso::kResponseTimeout + TimeMilli::SecToMsec(17); in TestDso() 814 AdvanceTime(TimeMilli::SecToMsec(10)); in TestDso() 816 SuccessOrQuit(serverConn.SetTimeouts(TimeMilli::SecToMsec(20), Dso::kMinKeepAliveInterval)); in TestDso() 818 AdvanceTime(TimeMilli::SecToMsec(10) - 1); in TestDso() 838 AdvanceTime(TimeMilli::SecToMsec(10)); in TestDso() 840 SuccessOrQuit(serverConn.SetTimeouts(TimeMilli::SecToMsec(10), Dso::kMinKeepAliveInterval)); in TestDso() 858 AdvanceTime(TimeMilli::SecToMsec(6)); in TestDso() 862 AdvanceTime(TimeMilli::SecToMsec(4)); in TestDso() 864 SuccessOrQuit(serverConn.SetTimeouts(TimeMilli::SecToMsec(20), Dso::kInfiniteTimeout)); in TestDso() [all …]
|
/openthread-3.4.0/src/core/thread/ |
D | time_sync_service.cpp | 147 (TimerMilli::GetNow() - mLastTimeSyncSent > Time::SecToMsec(mTimeSyncPeriod))) in ProcessTimeSync() 204 const uint32_t resyncNeededThresholdMs = 2 * Time::SecToMsec(mTimeSyncPeriod); in CheckAndHandleChanges()
|
D | child_supervision.cpp | 204 mTimer.Start(Time::SecToMsec(mTimeout)); in RestartTimer()
|
D | network_data_notifier.cpp | 108 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterSelectionJitterTimeout() + 1)); in SynchronizeServerData()
|
D | mle_router.cpp | 456 … mAdvertiseTrickleTimer.Start(TrickleTimer::kModeTrickle, Time::SecToMsec(kAdvertiseIntervalMin), in ResetAdvertiseInterval() 457 Time::SecToMsec(kAdvertiseIntervalMax)); in ResetAdvertiseInterval() 1559 …mAdvertiseTrickleTimer.Start(TrickleTimer::kModePlainTimer, Time::SecToMsec(kReedAdvertiseInterval… in HandleTimeTick() 1560 … Time::SecToMsec(kReedAdvertiseInterval + kReedAdvertiseJitter)); in HandleTimeTick() 1608 timeout = Time::SecToMsec(child.GetTimeout()); in HandleTimeTick() 1618 … TimerMilli::GetNow() - child.GetCslLastHeard() >= Time::SecToMsec(child.GetCslTimeout())) in HandleTimeTick() 1654 if (age >= Time::SecToMsec(kMaxNeighborAge)) in HandleTimeTick() 1663 if (age >= Time::SecToMsec(kMaxNeighborAge)) in HandleTimeTick() 1665 … if (age < Time::SecToMsec(kMaxNeighborAge) + kMaxTransmissionCount * kUnicastRetransmissionDelay) in HandleTimeTick() 1692 age >= Time::SecToMsec(kMaxLeaderToRouterTimeout)) in HandleTimeTick()
|
D | dua_manager.cpp | 379 (TimerMilli::GetNow() > (mLastRegistrationTime + TimeMilli::SecToMsec(Mle::kDuaDadPeriod)))) in HandleTimeTick()
|
D | network_data_leader_ftd.cpp | 1348 SetRemoveTime(aId, TimerMilli::GetNow() + Time::SecToMsec(mReuseDelay)); in ScheduleToRemove()
|
D | mesh_forwarder.cpp | 1519 if (now - message.GetTimestamp() >= TimeMilli::SecToMsec(kReassemblyTimeout)) in UpdateReassemblyList()
|
D | mle.cpp | 1973 …Time::SecToMsec(mTimeout) - static_cast<uint32_t>(kUnicastRetransmissionDelay) * kMaxChildKeepAliv… in ScheduleMessageTransmissionTimer()
|
/openthread-3.4.0/src/core/common/ |
D | uptime.hpp | 124 …static uint64_t SecToMsec(uint32_t aUptimeInSeconds) { return static_cast<uint64_t>(aUptimeInSecon… in SecToMsec() function in ot::Uptime
|
D | time.hpp | 249 static uint32_t constexpr SecToMsec(uint32_t aSeconds) { return aSeconds * 1000u; } in SecToMsec() function in ot::Time
|
/openthread-3.4.0/src/core/meshcop/ |
D | meshcop_leader.cpp | 109 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandleTmf() 182 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandleTmf()
|
D | commissioner.cpp | 482 joiner->mExpirationTime = TimerMilli::GetNow() + Time::SecToMsec(aTimeout); in AddJoiner() 575 TimeMilli newExpirationTime = TimerMilli::GetNow() + Time::SecToMsec(aDelay); in RemoveJoiner() 866 mTimer.Start(Time::SecToMsec(kKeepAliveTimeout) / 2); in HandleLeaderPetitionResponse() 878 mTimer.Start(Time::SecToMsec(kPetitionRetryDelay)); in HandleLeaderPetitionResponse() 936 mTimer.Start(Time::SecToMsec(kKeepAliveTimeout) / 2); in HandleLeaderKeepAliveResponse()
|
/openthread-3.4.0/src/core/net/ |
D | dns_dso.hpp | 97 static constexpr uint32_t kDefaultTimeout = TimeMilli::SecToMsec(15); 105 static constexpr uint32_t kMinKeepAliveInterval = TimeMilli::SecToMsec(10); 126 static constexpr uint32_t kMinServerInactivityWaitTime = TimeMilli::SecToMsec(5);
|
D | srp_server.cpp | 1749 return mUpdateTime + Time::SecToMsec(mDescription->mLease); in GetExpireTime() 1754 return mUpdateTime + Time::SecToMsec(mDescription->mKeyLease); in GetKeyExpireTime() 1762 aLeaseInfo.mLease = Time::SecToMsec(GetLease()); in GetLeaseInfo() 1763 aLeaseInfo.mKeyLease = Time::SecToMsec(GetKeyLease()); in GetLeaseInfo() 1967 return mUpdateTime + Time::SecToMsec(mLease); in GetExpireTime() 1970 TimeMilli Server::Host::GetKeyExpireTime(void) const { return mUpdateTime + Time::SecToMsec(mKeyLea… in GetKeyExpireTime() 1977 aLeaseInfo.mLease = Time::SecToMsec(GetLease()); in GetLeaseInfo() 1978 aLeaseInfo.mKeyLease = Time::SecToMsec(GetKeyLease()); in GetLeaseInfo()
|
D | dhcp6_client.cpp | 209 mTrickleTimer.Start(TrickleTimer::kModeTrickle, Time::SecToMsec(kTrickleTimerImin), in ProcessNextIdentityAssociation() 210 Time::SecToMsec(kTrickleTimerImax)); in ProcessNextIdentityAssociation()
|
D | srp_client.cpp | 1633 mLeaseRenewTime += Time::SecToMsec(mLease - kLeaseRenewGuardInterval); in ProcessResponse() 1637 mLeaseRenewTime += Time::SecToMsec(mLease) / 2; in ProcessResponse() 1893 … earlyRenewInterval = Time::SecToMsec(DetermineLeaseInterval(aService.GetLease(), mDefaultLease)); in ShouldRenewEarly()
|
D | ip6.cpp | 765 if (now - message.GetTimestamp() >= TimeMilli::SecToMsec(kIp6ReassemblyTimeout)) in UpdateReassemblyList()
|
/openthread-3.4.0/src/core/border_router/ |
D | routing_manager.cpp | 517 delay = Random::NonCrypto::GetUint32InRange(Time::SecToMsec(kMinRtrAdvInterval), in ScheduleRoutingPolicyEvaluation() 518 Time::SecToMsec(kMaxRtrAdvInterval)); in ScheduleRoutingPolicyEvaluation() 520 …if (mRaInfo.mTxCount <= kMaxInitRtrAdvertisements && delay > Time::SecToMsec(kMaxInitRtrAdvInterva… in ScheduleRoutingPolicyEvaluation() 522 delay = Time::SecToMsec(kMaxInitRtrAdvInterval); in ScheduleRoutingPolicyEvaluation() 1079 … TimeMilli raStaleTime = Max(now, mRaInfo.mHeaderUpdateTime + Time::SecToMsec(kRtrAdvStaleTime)); in ResetDiscoveredPrefixStaleTimer() 1781 return mLastUpdateTime + TimeMilli::SecToMsec(delay); in GetStaleTime() 1788 return mLastUpdateTime + TimeMilli::SecToMsec(GetPreferredLifetime()) <= TimerMilli::GetNow(); in IsDeprecated() 1818 else if (GetExpireTime() > TimerMilli::GetNow() + TimeMilli::SecToMsec(kTwoHoursInSeconds)) in AdoptValidAndPreferredLifetimesFrom() 2114 entry->mExpireTime = now + Time::SecToMsec(lifetime); in Init() 2349 mExpireTime = aNow + TimeMilli::SecToMsec(kDefaultOnLinkPrefixLifetime); in ResetExpireTime() [all …]
|
/openthread-3.4.0/src/core/mac/ |
D | data_poll_sender.cpp | 548 …period = Time::SecToMsec(Min(Get<Mle::MleRouter>().GetTimeout(), Time::MsecToSec(TimerMilli::kMaxD… in GetDefaultPollPeriod() 553 period = Min(period, Time::SecToMsec(Get<Mle::MleRouter>().GetCslTimeout())); in GetDefaultPollPeriod()
|
/openthread-3.4.0/src/core/api/ |
D | backbone_router_ftd_api.cpp | 170 aTimeout = Time::SecToMsec(aTimeout); in otBackboneRouterMulticastListenerAdd()
|
D | thread_api.cpp | 476 Uptime::UptimeToString(Uptime::SecToMsec(aDuration), writer, /* aIncludeMsec */ false); in otConvertDurationInSecondsToString()
|
/openthread-3.4.0/src/core/backbone_router/ |
D | ndproxy_table.cpp | 72 …mLastRegistrationTime = TimerMilli::GetNow() - TimeMilli::SecToMsec(aTimeSinceLastTransaction); in Update()
|
D | bbr_manager.cpp | 221 expireTime = TimerMilli::GetNow() + TimeMilli::SecToMsec(timeout); in HandleMulticastListenerRegistration()
|