/external/openthread/src/core/api/ |
D | backbone_router_ftd_api.cpp | 160 …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() 172 …aTimeout > 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()
|
D | commissioner_api.cpp | 68 …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()
|
D | child_supervision_api.cpp | 64 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/ |
D | alarm.cpp | 207 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()
|
D | virtual_time.cpp | 138 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()
|
D | platform-posix.h | 192 …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);
|
D | radio.cpp | 302 …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()
|
D | trel.cpp | 391 …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()
|
D | vendor_interface_example.cpp | 115 …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/ |
D | alarm.c | 236 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()
|
D | platform-simulation.h | 105 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/ |
D | commissioner.hpp | 291 …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/ |
D | advertising_proxy.hpp | 97 uint32_t aTimeout, 99 …dvertisingHandler(otSrpServerServiceUpdateId aId, const otSrpServerHost *aHost, uint32_t aTimeout);
|
D | advertising_proxy.cpp | 129 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/ |
D | child_supervision.cpp | 175 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/ |
D | mdns_avahi.cpp | 105 …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/ |
D | vendor_interface.cpp | 89 …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/ |
D | mlr_manager.cpp | 322 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()
|
D | csl_tx_scheduler.hpp | 89 void SetCslTimeout(uint32_t aTimeout) { mCslTimeout = aTimeout; } in SetCslTimeout() argument
|
D | mlr_manager.hpp | 139 const uint32_t * aTimeout, 150 const uint32_t * aTimeout,
|
D | mle_router.hpp | 239 void SetNetworkIdTimeout(uint8_t aTimeout) { mNetworkIdTimeout = aTimeout; } in SetNetworkIdTimeout() argument 482 Error GetMaxChildTimeout(uint32_t &aTimeout) const;
|
/external/ot-br-posix/src/rest/ |
D | connection.cpp | 95 void Connection::UpdateTimeout(timeval &aTimeout) const in UpdateTimeout() 130 if (timercmp(&timeout, &aTimeout, <)) in UpdateTimeout() 132 aTimeout = timeout; in UpdateTimeout()
|
/external/openthread/include/openthread/ |
D | commissioner.h | 248 uint32_t aTimeout); 269 uint32_t aTimeout);
|
D | child_supervision.h | 100 void otChildSupervisionSetCheckTimeout(otInstance *aInstance, uint16_t aTimeout);
|
/external/ot-br-posix/src/web/web-service/ |
D | ot_client.cpp | 217 char *OpenThreadClient::Read(const char *aResponse, int aTimeout) in Read() argument 224 for (int i = 0; i < aTimeout; ++i) in Read()
|