/external/openthread/tests/unit/ |
D | test_dso.cpp | 544 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/ |
D | channel_manager.cpp | 110 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()
|
D | child_supervision.cpp | 201 mTimer.Start(Time::SecToMsec(mTimeout)); in RestartTimer()
|
/external/openthread/src/core/thread/ |
D | time_sync_service.cpp | 155 (TimerMilli::GetNow() - mLastTimeSyncSent > Time::SecToMsec(mTimeSyncPeriod))) in ProcessTimeSync() 220 const uint32_t resyncNeededThresholdMs = 2 * Time::SecToMsec(mTimeSyncPeriod); in CheckAndHandleChanges()
|
D | network_data_notifier.cpp | 110 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterSelectionJitterTimeout() + 1)); in SynchronizeServerData()
|
D | mle_router.cpp | 480 … 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()
|
D | dua_manager.cpp | 364 (TimerMilli::GetNow() > (mLastRegistrationTime + TimeMilli::SecToMsec(Mle::kDuaDadPeriod)))) in HandleTimeTick()
|
D | network_data_leader_ftd.cpp | 1364 if (TimerMilli::GetNow() - mContextLastUsed[i] >= Time::SecToMsec(mContextIdReuseDelay)) in HandleTimer()
|
D | mesh_forwarder.cpp | 1652 if (now - message.GetTimestamp() >= TimeMilli::SecToMsec(kReassemblyTimeout)) in UpdateReassemblyList()
|
D | mle.cpp | 1891 …Time::SecToMsec(mTimeout) - static_cast<uint32_t>(kUnicastRetransmissionDelay) * kMaxChildKeepAliv… in ScheduleMessageTransmissionTimer()
|
/external/openthread/src/core/net/ |
D | dns_dso.hpp | 96 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);
|
D | srp_server.cpp | 1678 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()
|
D | dhcp6_client.cpp | 209 mTrickleTimer.Start(TrickleTimer::kModeTrickle, Time::SecToMsec(kTrickleTimerImin), in ProcessNextIdentityAssociation() 210 Time::SecToMsec(kTrickleTimerImax)); in ProcessNextIdentityAssociation()
|
D | srp_client.cpp | 1487 mLeaseRenewTime += Time::SecToMsec(mAcceptedLeaseInterval - kLeaseRenewGuardInterval); in ProcessResponse() 1491 mLeaseRenewTime += Time::SecToMsec(mAcceptedLeaseInterval) / 2; in ProcessResponse() 1748 …Time::SecToMsec(mAcceptedLeaseInterval) / kEarlyLeaseRenewFactorDenominator * kEarlyLeaseRenewFact… in ShouldRenewEarly()
|
D | ip6.cpp | 825 if (now - message.GetTimestamp() >= TimeMilli::SecToMsec(kIp6ReassemblyTimeout)) in UpdateReassemblyList()
|
/external/openthread/src/core/border_router/ |
D | routing_manager.cpp | 583 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/ |
D | meshcop_leader.cpp | 118 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandlePetition() 196 mTimer.Start(Time::SecToMsec(kTimeoutLeaderPetition)); in HandleKeepAlive()
|
D | commissioner.cpp | 500 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/ |
D | time.hpp | 249 static uint32_t constexpr SecToMsec(uint32_t aSeconds) { return aSeconds * 1000u; } in SecToMsec() function in ot::Time
|
/external/openthread/src/core/mac/ |
D | data_poll_sender.cpp | 542 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/ |
D | backbone_router_ftd_api.cpp | 173 aTimeout = Time::SecToMsec(aTimeout); in otBackboneRouterMulticastListenerAdd()
|
/external/openthread/src/core/backbone_router/ |
D | ndproxy_table.cpp | 72 mLastRegistrationTime = TimerMilli::GetNow() - TimeMilli::SecToMsec(aTimeSinceLastTransaction); in Update()
|
D | bbr_manager.cpp | 236 expireTime = TimerMilli::GetNow() + TimeMilli::SecToMsec(timeout); in HandleMulticastListenerRegistration()
|