Home
last modified time | relevance | path

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

/external/openthread/tests/unit/
Dtest_dso.cpp544 static constexpr uint32_t kRetryDelayInterval = TimeMilli::SecToMsec(3600); in TestDso()
545 … static constexpr uint32_t kLongResponseTimeout = Dso::kResponseTimeout + TimeMilli::SecToMsec(17); in TestDso()
819 AdvanceTime(TimeMilli::SecToMsec(10)); in TestDso()
821 SuccessOrQuit(serverConn.SetTimeouts(TimeMilli::SecToMsec(20), Dso::kMinKeepAliveInterval)); in TestDso()
823 AdvanceTime(TimeMilli::SecToMsec(10) - 1); in TestDso()
843 AdvanceTime(TimeMilli::SecToMsec(10)); in TestDso()
845 SuccessOrQuit(serverConn.SetTimeouts(TimeMilli::SecToMsec(10), Dso::kMinKeepAliveInterval)); in TestDso()
863 AdvanceTime(TimeMilli::SecToMsec(6)); in TestDso()
867 AdvanceTime(TimeMilli::SecToMsec(4)); in TestDso()
869 SuccessOrQuit(serverConn.SetTimeouts(TimeMilli::SecToMsec(20), Dso::kInfiniteTimeout)); in TestDso()
[all …]
/external/openthread/src/core/utils/
Dchannel_manager.cpp110 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.cpp201 mTimer.Start(Time::SecToMsec(mTimeout)); in RestartTimer()
/external/openthread/src/core/thread/
Dtime_sync_service.cpp155 (TimerMilli::GetNow() - mLastTimeSyncSent > Time::SecToMsec(mTimeSyncPeriod))) in ProcessTimeSync()
220 const uint32_t resyncNeededThresholdMs = 2 * Time::SecToMsec(mTimeSyncPeriod); in CheckAndHandleChanges()
Dnetwork_data_notifier.cpp110 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterSelectionJitterTimeout() + 1)); in SynchronizeServerData()
Dmle_router.cpp480 … mAdvertiseTrickleTimer.Start(TrickleTimer::kModeTrickle, Time::SecToMsec(kAdvertiseIntervalMin), in ResetAdvertiseInterval()
481 Time::SecToMsec(kAdvertiseIntervalMax)); in ResetAdvertiseInterval()
1904 …mAdvertiseTrickleTimer.Start(TrickleTimer::kModePlainTimer, Time::SecToMsec(kReedAdvertiseInterval… in HandleTimeTick()
1905 … Time::SecToMsec(kReedAdvertiseInterval + kReedAdvertiseJitter)); in HandleTimeTick()
1950 timeout = Time::SecToMsec(child.GetTimeout()); in HandleTimeTick()
1961 … TimerMilli::GetNow() - child.GetCslLastHeard() >= Time::SecToMsec(child.GetCslTimeout())) in HandleTimeTick()
1997 if (age >= Time::SecToMsec(kMaxNeighborAge)) in HandleTimeTick()
2006 if (age >= Time::SecToMsec(kMaxNeighborAge)) in HandleTimeTick()
2008 … if (age < Time::SecToMsec(kMaxNeighborAge) + kMaxTransmissionCount * kUnicastRetransmissionDelay) in HandleTimeTick()
2035 …mRouterTable.GetLinkCost(router) >= kMaxRouteCost && age >= Time::SecToMsec(kMaxLeaderToRouterTime… in HandleTimeTick()
Ddua_manager.cpp364 (TimerMilli::GetNow() > (mLastRegistrationTime + TimeMilli::SecToMsec(Mle::kDuaDadPeriod)))) in HandleTimeTick()
Dnetwork_data_leader_ftd.cpp1364 if (TimerMilli::GetNow() - mContextLastUsed[i] >= Time::SecToMsec(mContextIdReuseDelay)) in HandleTimer()
Dmesh_forwarder.cpp1652 if (now - message.GetTimestamp() >= TimeMilli::SecToMsec(kReassemblyTimeout)) in UpdateReassemblyList()
Dmle.cpp1891 …Time::SecToMsec(mTimeout) - static_cast<uint32_t>(kUnicastRetransmissionDelay) * kMaxChildKeepAliv… in ScheduleMessageTransmissionTimer()
/external/openthread/src/core/net/
Ddns_dso.hpp96 static constexpr uint32_t kDefaultTimeout = TimeMilli::SecToMsec(15);
104 static constexpr uint32_t kMinKeepAliveInterval = TimeMilli::SecToMsec(10);
125 static constexpr uint32_t kMinServerInactivityWaitTime = TimeMilli::SecToMsec(5);
Dsrp_server.cpp1678 return mUpdateTime + Time::SecToMsec(mDescription->mLease); in GetExpireTime()
1683 return mUpdateTime + Time::SecToMsec(mDescription->mKeyLease); in GetKeyExpireTime()
1692 aLeaseInfo.mLease = Time::SecToMsec(GetLease()); in GetLeaseInfo()
1693 aLeaseInfo.mKeyLease = Time::SecToMsec(GetKeyLease()); in GetLeaseInfo()
1892 return mUpdateTime + Time::SecToMsec(mLease); in GetExpireTime()
1897 return mUpdateTime + Time::SecToMsec(mKeyLease); in GetKeyExpireTime()
1906 aLeaseInfo.mLease = Time::SecToMsec(GetLease()); in GetLeaseInfo()
1907 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.cpp1487 mLeaseRenewTime += Time::SecToMsec(mAcceptedLeaseInterval - kLeaseRenewGuardInterval); in ProcessResponse()
1491 mLeaseRenewTime += Time::SecToMsec(mAcceptedLeaseInterval) / 2; in ProcessResponse()
1748 …Time::SecToMsec(mAcceptedLeaseInterval) / kEarlyLeaseRenewFactorDenominator * kEarlyLeaseRenewFact… in ShouldRenewEarly()
Dip6.cpp825 if (now - message.GetTimestamp() >= TimeMilli::SecToMsec(kIp6ReassemblyTimeout)) in UpdateReassemblyList()
/external/openthread/src/core/border_router/
Drouting_manager.cpp583 TimeMilli::SecToMsec(kDefaultOnLinkPrefixLifetime)); in DeprecateOnLinkPrefix()
667 StartRoutingPolicyEvaluationDelay(Time::SecToMsec(nextSendDelay)); in EvaluateRoutingPolicy()
702 randomDelay = Random::NonCrypto::GetUint32InRange(0, Time::SecToMsec(kMaxRtrSolicitationDelay)); in StartRouterSolicitationDelay()
1041 mRouterSolicitTimer.Start(Time::SecToMsec(nextSolicitationDelay)); in HandleRouterSolicitTimer()
1290 …TimeMilli raStaleTime = OT_MAX(now, mTimeRouterAdvMessageLastUpdate + Time::SecToMsec(kRtrAdvStale… in ResetDiscoveredPrefixStaleTimer()
1958 return mLastUpdateTime + TimeMilli::SecToMsec(delay); in GetStaleTime()
1965 return mLastUpdateTime + TimeMilli::SecToMsec(GetPreferredLifetime()) <= TimerMilli::GetNow(); in IsDeprecated()
1995 else if (GetExpireTime() > TimerMilli::GetNow() + TimeMilli::SecToMsec(kTwoHoursInSeconds)) in AdoptValidAndPreferredLiftimesFrom()
/external/openthread/src/core/meshcop/
Dmeshcop_leader.cpp118 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandlePetition()
196 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandleKeepAlive()
Dcommissioner.cpp500 joiner->mExpirationTime = TimerMilli::GetNow() + Time::SecToMsec(aTimeout); in AddJoiner()
593 TimeMilli newExpirationTime = TimerMilli::GetNow() + Time::SecToMsec(aDelay); in RemoveJoiner()
902 mTimer.Start(Time::SecToMsec(kKeepAliveTimeout) / 2); in HandleLeaderPetitionResponse()
914 mTimer.Start(Time::SecToMsec(kPetitionRetryDelay)); in HandleLeaderPetitionResponse()
975 mTimer.Start(Time::SecToMsec(kKeepAliveTimeout) / 2); in HandleLeaderKeepAliveResponse()
/external/openthread/src/core/common/
Dtime.hpp249 static uint32_t constexpr SecToMsec(uint32_t aSeconds) { return aSeconds * 1000u; } in SecToMsec() function in ot::Time
/external/openthread/src/core/mac/
Ddata_poll_sender.cpp542 uint32_t period = Time::SecToMsec(Get<Mle::MleRouter>().GetTimeout()); in GetDefaultPollPeriod()
548 period = OT_MIN(period, Time::SecToMsec(Get<Mle::MleRouter>().GetCslTimeout())); in GetDefaultPollPeriod()
/external/openthread/src/core/api/
Dbackbone_router_ftd_api.cpp173 aTimeout = Time::SecToMsec(aTimeout); in otBackboneRouterMulticastListenerAdd()
/external/openthread/src/core/backbone_router/
Dndproxy_table.cpp72 mLastRegistrationTime = TimerMilli::GetNow() - TimeMilli::SecToMsec(aTimeSinceLastTransaction); in Update()
Dbbr_manager.cpp236 expireTime = TimerMilli::GetNow() + TimeMilli::SecToMsec(timeout); in HandleMulticastListenerRegistration()