Searched refs:MsecToSec (Results 1 – 15 of 15) sorted by relevance
249 static uint32_t MsecToSec(uint32_t aMilliseconds) { return aMilliseconds / 1000u; } in MsecToSec() function in ot::Time
71 mAge = Time::MsecToSec(TimerMilli::GetNow() - aNeighbor.GetLastHeard()); in SetFrom()226 mAge = Time::MsecToSec(TimerMilli::GetNow() - aChild.GetLastHeard()); in SetFrom()504 …mAge = static_cast<uint8_t>(Time::MsecToSec(TimerMilli::GetNow() - aRouter.GetLastHear… in SetFrom()
442 …return (mActiveRouterCount > 0) ? Time::MsecToSec(TimerMilli::GetNow() - mRouterIdSequenceLastUpda… in GetLeaderAge()
499 lastTransactionTime = Time::MsecToSec(TimerMilli::GetNow() - child->GetLastHeard()); in PerformNextRegistration()
815 lastTransactionTime = Time::MsecToSec(TimerMilli::GetNow() - child.GetLastHeard()); in HandleAddressQuery()
1675 child->SetTimeout(Time::MsecToSec(kMaxChildIdRequestTimeout)); in HandleParentRequest()
86 return TimeMilli::MsecToSec(TimerMilli::GetNow() - mLastRegistrationTime); in GetTimeSinceLastTransaction()
302 …Time::MsecToSec(mListeners[aIterator].mExpireTime > now ? mListeners[aIterator].mExpireTime - now … in GetNext()
325 …VerifyOrExit((aInterval != 0) && (aInterval <= Time::MsecToSec(Timer::kMaxDelay)), error = kErrorI… in SetAutoChannelSelectionInterval()
310 … option.SetElapsedTime(static_cast<uint16_t>(Time::MsecToSec(TimerMilli::GetNow() - mStartTime))); in AppendElapsedTime()
692 …uint32_t instanceTtl = TimeMilli::MsecToSec(service->GetExpireTime() - TimerMilli::GetN… in ResolveQuestionBySrp()743 uint32_t hostTtl = TimeMilli::MsecToSec(host->GetExpireTime() - now); in ResolveQuestionBySrp()
145 VerifyOrExit(mMaxKeyLease <= Time::MsecToSec(TimerMilli::kMaxDelay)); in IsValid()1276 …otLogInfoSrp("[server] lease timer is scheduled for %u seconds", Time::MsecToSec(earliestExpireTim… in HandleLeaseTimer()
1917 …client] Retry interval %u %s", (interval < kLogInMsecLimit) ? interval : Time::MsecToSec(interval), in LogRetryWaitInterval()
408 …aParentInfo->mAge = static_cast<uint8_t>(Time::MsecToSec(TimerMilli::GetNow() - parent-… in otThreadGetParentInfo()
713 …pio.SetValidLifetime(TimeMilli::MsecToSec(mOnLinkPrefixDeprecateTimer.GetFireTime() - TimerMilli::… in SendRouterAdvertisement()