Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/utils/
Dchannel_manager.cpp110 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/
Dtest_dso.cpp539 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/
Dtime_sync_service.cpp147 (TimerMilli::GetNow() - mLastTimeSyncSent > Time::SecToMsec(mTimeSyncPeriod))) in ProcessTimeSync()
204 const uint32_t resyncNeededThresholdMs = 2 * Time::SecToMsec(mTimeSyncPeriod); in CheckAndHandleChanges()
Dchild_supervision.cpp204 mTimer.Start(Time::SecToMsec(mTimeout)); in RestartTimer()
Dnetwork_data_notifier.cpp108 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterSelectionJitterTimeout() + 1)); in SynchronizeServerData()
Dmle_router.cpp456 … 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()
Ddua_manager.cpp379 (TimerMilli::GetNow() > (mLastRegistrationTime + TimeMilli::SecToMsec(Mle::kDuaDadPeriod)))) in HandleTimeTick()
Dnetwork_data_leader_ftd.cpp1348 SetRemoveTime(aId, TimerMilli::GetNow() + Time::SecToMsec(mReuseDelay)); in ScheduleToRemove()
Dmesh_forwarder.cpp1519 if (now - message.GetTimestamp() >= TimeMilli::SecToMsec(kReassemblyTimeout)) in UpdateReassemblyList()
Dmle.cpp1973 …Time::SecToMsec(mTimeout) - static_cast<uint32_t>(kUnicastRetransmissionDelay) * kMaxChildKeepAliv… in ScheduleMessageTransmissionTimer()
/openthread-3.4.0/src/core/common/
Duptime.hpp124 …static uint64_t SecToMsec(uint32_t aUptimeInSeconds) { return static_cast<uint64_t>(aUptimeInSecon… in SecToMsec() function in ot::Uptime
Dtime.hpp249 static uint32_t constexpr SecToMsec(uint32_t aSeconds) { return aSeconds * 1000u; } in SecToMsec() function in ot::Time
/openthread-3.4.0/src/core/meshcop/
Dmeshcop_leader.cpp109 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandleTmf()
182 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandleTmf()
Dcommissioner.cpp482 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/
Ddns_dso.hpp97 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);
Dsrp_server.cpp1749 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()
Ddhcp6_client.cpp209 mTrickleTimer.Start(TrickleTimer::kModeTrickle, Time::SecToMsec(kTrickleTimerImin), in ProcessNextIdentityAssociation()
210 Time::SecToMsec(kTrickleTimerImax)); in ProcessNextIdentityAssociation()
Dsrp_client.cpp1633 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()
Dip6.cpp765 if (now - message.GetTimestamp() >= TimeMilli::SecToMsec(kIp6ReassemblyTimeout)) in UpdateReassemblyList()
/openthread-3.4.0/src/core/border_router/
Drouting_manager.cpp517 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/
Ddata_poll_sender.cpp548 …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/
Dbackbone_router_ftd_api.cpp170 aTimeout = Time::SecToMsec(aTimeout); in otBackboneRouterMulticastListenerAdd()
Dthread_api.cpp476 Uptime::UptimeToString(Uptime::SecToMsec(aDuration), writer, /* aIncludeMsec */ false); in otConvertDurationInSecondsToString()
/openthread-3.4.0/src/core/backbone_router/
Dndproxy_table.cpp72 …mLastRegistrationTime = TimerMilli::GetNow() - TimeMilli::SecToMsec(aTimeSinceLastTransaction); in Update()
Dbbr_manager.cpp221 expireTime = TimerMilli::GetNow() + TimeMilli::SecToMsec(timeout); in HandleMulticastListenerRegistration()