Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/utils/
Dchannel_manager.cpp107 dataset.SetDelay(Time::SecToMsec(mDelay)); in StartDatasetUpdate()
299 mTimer.Start(Time::SecToMsec(mAutoSelectInterval)); in StartAutoSelectTimer()
331 … mTimer.StartAt(mTimer.GetFireTime() - Time::SecToMsec(prevInterval), Time::SecToMsec(aInterval)); in SetAutoChannelSelectionInterval()
Dchild_supervision.cpp199 mTimer.Start(Time::SecToMsec(mTimeout)); in RestartTimer()
/openthread-2.7.6/src/core/thread/
Dtime_sync_service.cpp154 (TimerMilli::GetNow() - mLastTimeSyncSent > Time::SecToMsec(mTimeSyncPeriod))) in ProcessTimeSync()
219 const uint32_t resyncNeededThresholdMs = 2 * Time::SecToMsec(mTimeSyncPeriod); in CheckAndHandleChanges()
Dnetwork_data_notifier.cpp92 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterSelectionJitterTimeout() + 1)); in SynchronizeServerData()
Dmle_router.cpp438 … mAdvertiseTrickleTimer.Start(TrickleTimer::kModeTrickle, Time::SecToMsec(kAdvertiseIntervalMin), in ResetAdvertiseInterval()
439 Time::SecToMsec(kAdvertiseIntervalMax)); in ResetAdvertiseInterval()
1763 …mAdvertiseTrickleTimer.Start(TrickleTimer::kModePlainTimer, Time::SecToMsec(kReedAdvertiseInterval… in HandleTimeTick()
1764 … Time::SecToMsec(kReedAdvertiseInterval + kReedAdvertiseJitter)); in HandleTimeTick()
1810 timeout = Time::SecToMsec(child.GetTimeout()); in HandleTimeTick()
1821 … TimerMilli::GetNow() - child.GetCslLastHeard() >= Time::SecToMsec(child.GetCslTimeout())) in HandleTimeTick()
1857 if (age >= Time::SecToMsec(kMaxNeighborAge)) in HandleTimeTick()
1866 if (age >= Time::SecToMsec(kMaxNeighborAge)) in HandleTimeTick()
1868 … if (age < Time::SecToMsec(kMaxNeighborAge) + kMaxTransmissionCount * kUnicastRetransmissionDelay) in HandleTimeTick()
1895 …mRouterTable.GetLinkCost(router) >= kMaxRouteCost && age >= Time::SecToMsec(kMaxLeaderToRouterTime… in HandleTimeTick()
Ddua_manager.cpp361 (TimerMilli::GetNow() > (mLastRegistrationTime + TimeMilli::SecToMsec(Mle::kDuaDadPeriod)))) in HandleTimeTick()
Dnetwork_data_leader_ftd.cpp1337 if (TimerMilli::GetNow() - mContextLastUsed[i] >= Time::SecToMsec(mContextIdReuseDelay)) in HandleTimer()
Dmle.cpp2239 …Time::SecToMsec(mTimeout) - static_cast<uint32_t>(kUnicastRetransmissionDelay) * kMaxChildKeepAliv… in ScheduleMessageTransmissionTimer()
/openthread-2.7.6/src/core/border_router/
Drouting_manager.cpp568 TimeMilli::SecToMsec(kDefaultOnLinkPrefixLifetime)); in DeprecateOnLinkPrefix()
612 mRouterAdvertisementTimer.Start(Time::SecToMsec(nextSendTime)); in EvaluateRoutingPolicy()
627 randomDelay = Random::NonCrypto::GetUint32InRange(0, Time::SecToMsec(kMaxRoutingPolicyDelay)); in StartRoutingPolicyEvaluationDelay()
644 randomDelay = Random::NonCrypto::GetUint32InRange(0, Time::SecToMsec(kMaxRtrSolicitationDelay)); in StartRouterSolicitationDelay()
870 mRouterSolicitTimer.Start(Time::SecToMsec(nextSolicitationDelay)); in HandleRouterSolicitTimer()
945 mVicariousRouterSolicitTimer.Start(Time::SecToMsec(kVicariousSolicitationTime)); in HandleRouterSolicit()
1125 …else if (existingPrefix->GetExpireTime() > TimerMilli::GetNow() + TimeMilli::SecToMsec(kTwoHoursIn… in UpdateDiscoveredPrefixes()
1312 Time::SecToMsec(kRtrAdvStaleTime)); in UpdateRouterAdvMessage()
Drouting_manager.hpp252 … return mTimeLastUpdate + TimeMilli::SecToMsec(mPreferredLifetime) <= TimerMilli::GetNow(); in IsDeprecated()
260 return mTimeLastUpdate + TimeMilli::SecToMsec(delay); in GetStaleTime()
/openthread-2.7.6/src/core/common/
Dtime.hpp241 static uint32_t SecToMsec(uint32_t aSeconds) { return aSeconds * 1000u; } in SecToMsec() function in ot::Time
/openthread-2.7.6/src/core/meshcop/
Dmeshcop_leader.cpp116 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandlePetition()
197 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandleKeepAlive()
Dcommissioner.cpp477 joiner->mExpirationTime = TimerMilli::GetNow() + Time::SecToMsec(aTimeout); in AddJoiner()
570 TimeMilli newExpirationTime = TimerMilli::GetNow() + Time::SecToMsec(aDelay); in RemoveJoiner()
897 mTimer.Start(Time::SecToMsec(kKeepAliveTimeout) / 2); in HandleLeaderPetitionResponse()
909 mTimer.Start(Time::SecToMsec(kPetitionRetryDelay)); in HandleLeaderPetitionResponse()
974 mTimer.Start(Time::SecToMsec(kKeepAliveTimeout) / 2); in HandleLeaderKeepAliveResponse()
/openthread-2.7.6/src/core/mac/
Ddata_poll_sender.cpp539 uint32_t period = Time::SecToMsec(Get<Mle::MleRouter>().GetTimeout()); in GetDefaultPollPeriod()
545 period = OT_MIN(period, Time::SecToMsec(Get<Mle::MleRouter>().GetCslTimeout())); in GetDefaultPollPeriod()
/openthread-2.7.6/src/core/api/
Dbackbone_router_ftd_api.cpp207 aTimeout = Time::SecToMsec(aTimeout); in otBackboneRouterMulticastListenerAdd()
/openthread-2.7.6/src/core/net/
Ddhcp6_client.cpp206 mTrickleTimer.Start(TrickleTimer::kModeTrickle, Time::SecToMsec(kTrickleTimerImin), in ProcessNextIdentityAssociation()
207 Time::SecToMsec(kTrickleTimerImax)); in ProcessNextIdentityAssociation()
Dsrp_server.cpp1374 return mTimeLastUpdate + Time::SecToMsec(mDescription.mLease); in GetExpireTime()
1379 return mTimeLastUpdate + Time::SecToMsec(mDescription.mKeyLease); in GetKeyExpireTime()
1610 return mTimeLastUpdate + Time::SecToMsec(mLease); in GetExpireTime()
1615 return mTimeLastUpdate + Time::SecToMsec(mKeyLease); in GetKeyExpireTime()
Dsrp_client.cpp1306 mLeaseRenewTime += Time::SecToMsec(mAcceptedLeaseInterval - kLeaseRenewGuardInterval); in ProcessResponse()
1310 mLeaseRenewTime += Time::SecToMsec(mAcceptedLeaseInterval) / 2; in ProcessResponse()
1586 …Time::SecToMsec(mAcceptedLeaseInterval) / kEarlyLeaseRenewFactorDenominator * kEarlyLeaseRenewFact… in ShouldRenewEarly()
/openthread-2.7.6/src/core/backbone_router/
Dndproxy_table.cpp69 mLastRegistrationTime = TimerMilli::GetNow() - TimeMilli::SecToMsec(aTimeSinceLastTransaction); in Update()
Dbbr_manager.cpp235 expireTime = TimerMilli::GetNow() + TimeMilli::SecToMsec(timeout); in HandleMulticastListenerRegistration()