Home
last modified time | relevance | path

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

123

/external/openthread/src/core/api/
Dbackbone_router_ftd_api.cpp160 …eRouterMulticastListenerAdd(otInstance *aInstance, const otIp6Address *aAddress, uint32_t aTimeout) in otBackboneRouterMulticastListenerAdd() argument
164 if (aTimeout == 0) in otBackboneRouterMulticastListenerAdd()
168 aTimeout = config.mMlrTimeout; in otBackboneRouterMulticastListenerAdd()
171 aTimeout = in otBackboneRouterMulticastListenerAdd()
172aTimeout > static_cast<uint32_t>(Mle::kMlrTimeoutMax) ? static_cast<uint32_t>(Mle::kMlrTimeoutMax)… in otBackboneRouterMulticastListenerAdd()
173 aTimeout = Time::SecToMsec(aTimeout); in otBackboneRouterMulticastListenerAdd()
176 … TimerMilli::GetNow() + aTimeout); in otBackboneRouterMulticastListenerAdd()
Dcommissioner_api.cpp68 …rAddJoiner(otInstance *aInstance, const otExtAddress *aEui64, const char *aPskd, uint32_t aTimeout) in otCommissionerAddJoiner() argument
75 error = commissioner.AddJoinerAny(aPskd, aTimeout); in otCommissionerAddJoiner()
79 error = commissioner.AddJoiner(AsCoreType(aEui64), aPskd, aTimeout); in otCommissionerAddJoiner()
88 uint32_t aTimeout) in otCommissionerAddJoinerWithDiscerner() argument
90 …oreType(aInstance).Get<MeshCoP::Commissioner>().AddJoiner(AsCoreType(aDiscerner), aPskd, aTimeout); in otCommissionerAddJoinerWithDiscerner()
Dchild_supervision_api.cpp64 void otChildSupervisionSetCheckTimeout(otInstance *aInstance, uint16_t aTimeout) in otChildSupervisionSetCheckTimeout() argument
66 AsCoreType(aInstance).Get<Utils::SupervisionListener>().SetTimeout(aTimeout); in otChildSupervisionSetCheckTimeout()
/external/openthread/src/posix/platform/
Dalarm.cpp207 void platformAlarmUpdateTimeout(struct timeval *aTimeout) in platformAlarmUpdateTimeout() argument
212 assert(aTimeout != nullptr); in platformAlarmUpdateTimeout()
237 aTimeout->tv_sec = 0; in platformAlarmUpdateTimeout()
238 aTimeout->tv_usec = 0; in platformAlarmUpdateTimeout()
249 …if (remaining < static_cast<int64_t>(aTimeout->tv_sec) * US_PER_S + static_cast<int64_t>(aTimeout-… in platformAlarmUpdateTimeout()
251 aTimeout->tv_sec = static_cast<time_t>(remaining / US_PER_S); in platformAlarmUpdateTimeout()
252 aTimeout->tv_usec = static_cast<suseconds_t>(remaining % US_PER_S); in platformAlarmUpdateTimeout()
Dvirtual_time.cpp138 void virtualTimeSendSleepEvent(const struct timeval *aTimeout) in virtualTimeSendSleepEvent() argument
142 event.mDelay = (uint64_t)aTimeout->tv_sec * kUsPerSecond + (uint64_t)aTimeout->tv_usec; in virtualTimeSendSleepEvent()
166 struct timeval *aTimeout) in virtualTimeUpdateFdSet() argument
170 OT_UNUSED_VARIABLE(aTimeout); in virtualTimeUpdateFdSet()
Dplatform-posix.h192 …rmRadioUpdateFdSet(fd_set *aReadFdSet, fd_set *aWriteFdSet, int *aMaxFd, struct timeval *aTimeout);
346 struct timeval *aTimeout);
371 void virtualTimeSendSleepEvent(const struct timeval *aTimeout);
411 …ormTrelUpdateFdSet(fd_set *aReadFdSet, fd_set *aWriteFdSet, int *aMaxFd, struct timeval *aTimeout);
Dradio.cpp302 …ormRadioUpdateFdSet(fd_set *aReadFdSet, fd_set *aWriteFdSet, int *aMaxFd, struct timeval *aTimeout) in platformRadioUpdateFdSet() argument
321 …if (remain < (static_cast<uint64_t>(aTimeout->tv_sec) * US_PER_S + static_cast<uint64_t>(aTimeout-… in platformRadioUpdateFdSet()
323 aTimeout->tv_sec = static_cast<time_t>(remain / US_PER_S); in platformRadioUpdateFdSet()
324 aTimeout->tv_usec = static_cast<suseconds_t>(remain % US_PER_S); in platformRadioUpdateFdSet()
329 aTimeout->tv_sec = 0; in platformRadioUpdateFdSet()
330 aTimeout->tv_usec = 0; in platformRadioUpdateFdSet()
333 sRadioSpinel.GetSpinelInterface().UpdateFdSet(*aReadFdSet, *aWriteFdSet, *aMaxFd, *aTimeout); in platformRadioUpdateFdSet()
337 aTimeout->tv_sec = 0; in platformRadioUpdateFdSet()
338 aTimeout->tv_usec = 0; in platformRadioUpdateFdSet()
Dtrel.cpp391 …relDnssdUpdateFdSet(fd_set *aReadFdSet, fd_set *aWriteFdSet, int *aMaxFd, struct timeval *aTimeout) in trelDnssdUpdateFdSet() argument
399 OT_UNUSED_VARIABLE(aTimeout); in trelDnssdUpdateFdSet()
528 …formTrelUpdateFdSet(fd_set *aReadFdSet, fd_set *aWriteFdSet, int *aMaxFd, struct timeval *aTimeout) in platformTrelUpdateFdSet() argument
530 assert((aReadFdSet != NULL) && (aWriteFdSet != NULL) && (aMaxFd != NULL) && (aTimeout != NULL)); in platformTrelUpdateFdSet()
546 trelDnssdUpdateFdSet(aReadFdSet, aWriteFdSet, aMaxFd, aTimeout); in platformTrelUpdateFdSet()
Dvendor_interface_example.cpp115 …erface::UpdateFdSet(fd_set &aReadFdSet, fd_set &aWriteFdSet, int &aMaxFd, struct timeval &aTimeout) in UpdateFdSet() argument
120 OT_UNUSED_VARIABLE(aTimeout); in UpdateFdSet()
/external/openthread/examples/platforms/simulation/
Dalarm.c236 void platformAlarmUpdateTimeout(struct timeval *aTimeout) in platformAlarmUpdateTimeout() argument
240 assert(aTimeout != NULL); in platformAlarmUpdateTimeout()
261 aTimeout->tv_sec = 0; in platformAlarmUpdateTimeout()
262 aTimeout->tv_usec = 0; in platformAlarmUpdateTimeout()
273 aTimeout->tv_sec = (time_t)(remaining / US_PER_S); in platformAlarmUpdateTimeout()
274 aTimeout->tv_usec = remaining % US_PER_S; in platformAlarmUpdateTimeout()
Dplatform-simulation.h105 void platformAlarmUpdateTimeout(struct timeval *aTimeout);
170 void platformRadioUpdateFdSet(fd_set *aReadFdSet, fd_set *aWriteFdSet, struct timeval *aTimeout, in…
260 void platformTrelUpdateFdSet(fd_set *aReadFdSet, fd_set *aWriteFdSet, struct timeval *aTimeout, int…
/external/openthread/src/core/meshcop/
Dcommissioner.hpp291 …ror AddJoinerAny(const char *aPskd, uint32_t aTimeout) { return AddJoiner(nullptr, nullptr, aPskd,… in AddJoinerAny() argument
305 Error AddJoiner(const Mac::ExtAddress &aEui64, const char *aPskd, uint32_t aTimeout) in AddJoiner() argument
307 return AddJoiner(&aEui64, nullptr, aPskd, aTimeout); in AddJoiner()
322 Error AddJoiner(const JoinerDiscerner &aDiscerner, const char *aPskd, uint32_t aTimeout) in AddJoiner() argument
324 return AddJoiner(nullptr, &aDiscerner, aPskd, aTimeout); in AddJoiner()
538 uint32_t aTimeout);
/external/ot-br-posix/src/sdp_proxy/
Dadvertising_proxy.hpp97 uint32_t aTimeout,
99 …dvertisingHandler(otSrpServerServiceUpdateId aId, const otSrpServerHost *aHost, uint32_t aTimeout);
Dadvertising_proxy.cpp129 uint32_t aTimeout, in AdvertisingHandler() argument
132 static_cast<AdvertisingProxy *>(aContext)->AdvertisingHandler(aId, aHost, aTimeout); in AdvertisingHandler()
137 uint32_t aTimeout) in AdvertisingHandler() argument
139 OTBR_UNUSED_VARIABLE(aTimeout); in AdvertisingHandler()
/external/openthread/src/core/utils/
Dchild_supervision.cpp175 void SupervisionListener::SetTimeout(uint16_t aTimeout) in SetTimeout() argument
177 if (mTimeout != aTimeout) in SetTimeout()
179 mTimeout = aTimeout; in SetTimeout()
/external/ot-br-posix/src/mdns/
Dmdns_avahi.cpp105 …AvahiTimeout(const struct timeval *aTimeout, AvahiTimeoutCallback aCallback, void *aContext, void … in AvahiTimeout()
110 if (aTimeout) in AvahiTimeout()
112 mTimeout = otbr::Clock::now() + otbr::FromTimeval<otbr::Microseconds>(*aTimeout); in AvahiTimeout()
188 const struct timeval *aTimeout,
191 …AvahiTimeout * TimeoutNew(const struct timeval *aTimeout, AvahiTimeoutCallback aCallback, …
192 static void TimeoutUpdate(AvahiTimeout *aTimer, const struct timeval *aTimeout);
261 const struct timeval *aTimeout, in TimeoutNew() argument
266 return static_cast<AvahiPoller *>(aPoller->userdata)->TimeoutNew(aTimeout, aCallback, aContext); in TimeoutNew()
269 AvahiTimeout *AvahiPoller::TimeoutNew(const struct timeval *aTimeout, AvahiTimeoutCallback aCallbac… in TimeoutNew() argument
271 mTimers.push_back(new AvahiTimeout(aTimeout, aCallback, aContext, this)); in TimeoutNew()
[all …]
/external/openthread/src/android/thread_network_hal/
Dvendor_interface.cpp89 …erface::UpdateFdSet(fd_set &aReadFdSet, fd_set &aWriteFdSet, int &aMaxFd, struct timeval &aTimeout) in UpdateFdSet() argument
91 sHalInterface->UpdateFdSet(aReadFdSet, aWriteFdSet, aMaxFd, aTimeout); in UpdateFdSet()
/external/openthread/src/core/thread/
Dmlr_manager.cpp322 const uint32_t * aTimeout, in RegisterMulticastListeners() argument
344 … aAddresses, aAddressNum, aTimeout, &MlrManager::HandleRegisterMulticastListenersResponse, this)); in RegisterMulticastListeners()
393 const uint32_t * aTimeout, in SendMulticastListenerRegistrationMessage() argument
397 OT_UNUSED_VARIABLE(aTimeout); in SendMulticastListenerRegistrationMessage()
422 if (aTimeout != nullptr) in SendMulticastListenerRegistrationMessage()
424 SuccessOrExit(error = Tlv::Append<ThreadTimeoutTlv>(*message, *aTimeout)); in SendMulticastListenerRegistrationMessage()
427 OT_ASSERT(aTimeout == nullptr); in SendMulticastListenerRegistrationMessage()
Dcsl_tx_scheduler.hpp89 void SetCslTimeout(uint32_t aTimeout) { mCslTimeout = aTimeout; } in SetCslTimeout() argument
Dmlr_manager.hpp139 const uint32_t * aTimeout,
150 const uint32_t * aTimeout,
Dmle_router.hpp239 void SetNetworkIdTimeout(uint8_t aTimeout) { mNetworkIdTimeout = aTimeout; } in SetNetworkIdTimeout() argument
482 Error GetMaxChildTimeout(uint32_t &aTimeout) const;
/external/ot-br-posix/src/rest/
Dconnection.cpp95 void Connection::UpdateTimeout(timeval &aTimeout) const in UpdateTimeout()
130 if (timercmp(&timeout, &aTimeout, <)) in UpdateTimeout()
132 aTimeout = timeout; in UpdateTimeout()
/external/openthread/include/openthread/
Dcommissioner.h248 uint32_t aTimeout);
269 uint32_t aTimeout);
Dchild_supervision.h100 void otChildSupervisionSetCheckTimeout(otInstance *aInstance, uint16_t aTimeout);
/external/ot-br-posix/src/web/web-service/
Dot_client.cpp217 char *OpenThreadClient::Read(const char *aResponse, int aTimeout) in Read() argument
224 for (int i = 0; i < aTimeout; ++i) in Read()

123