Home
last modified time | relevance | path

Searched refs:duration (Results 1 – 17 of 17) sorted by relevance

/openthread-latest/tools/otci/otci/
Dconnectors.py51 def wait(self, duration: float) -> None:
67 def go(self, duration: float):
92 def wait(self, duration: float):
95 self.__simulator.go(duration)
98 time.sleep(duration)
169 def wait(self, duration: float):
170 time.sleep(duration)
Dcommand_handlers.py67 def wait(self, duration: float) -> List[str]:
143 def wait(self, duration: float) -> List[str]:
144 self.__otcli.wait(duration)
294 def wait(self, duration: float) -> List[str]:
295 time.sleep(duration)
335 def wait(self, duration: float) -> List[str]:
336 time.sleep(duration)
Dotci.py67 …def wait(self, duration: float, expect_line: Optional[Union[str, Pattern, Collection[Any]]] = None…
74 self.log('info', "wait for %.3f seconds", duration)
76 self.__otcmd.wait(duration)
80 while duration > 0:
86 duration -= 1
323 …def scan_energy(self, duration: Optional[float] = None, channel: Optional[int] = None) -> Dict[int…
326 if duration is not None:
/openthread-latest/tests/unit/
Dtest_timer.cpp599 for (uint32_t duration : kDurations) in TestTimerTime() local
601 printf("TestTimerTime() start=%-10x duration=%-10x ", startTime, duration); in TestTimerTime()
617 t2 = t1 + duration; in TestTimerTime()
624 VerifyOrQuit(t2 - t1 == duration, "Time difference failed"); in TestTimerTime()
627 t2 += duration; in TestTimerTime()
634 VerifyOrQuit(t2 - t1 == duration, "Time difference failed"); in TestTimerTime()
636 t2 = t1 - duration; in TestTimerTime()
643 VerifyOrQuit(t1 - t2 == duration, "Time difference failed"); in TestTimerTime()
646 t2 -= duration; in TestTimerTime()
653 VerifyOrQuit(t1 - t2 == duration, "Time difference failed"); in TestTimerTime()
/openthread-latest/tests/scripts/thread-cert/
Dsimulator.py72 def go(self, duration, nodeid=None): argument
111 def go(self, duration, nodeid=None): argument
112 time.sleep(duration)
501 def go(self, duration, nodeid=None): argument
503 duration = int(duration * 1000000)
504 dbg_print('running for %d us' % duration)
505 self._pause_time += duration
514 if duration > 0:
/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_fastopen.c1225 sbintime_t now, duration, limit;
1263 duration = now - cce->disable_time;
1264 if (limit >= duration)
1265 duration = limit - duration;
1267 duration = 0;
1269 duration = 0;
1278 if (duration > 0)
1279 sbuf_printf(&sb, "%7ds ", sbintime_getsec(duration));
/openthread-latest/src/cli/
DREADME_BR.md245duration interval since this BR appeared in Network Data. It is formatted as `{hh}:{mm}:{ss}` for …
260 …`{hh}:{mm}:{ss}` for hours, minutes, seconds, if the duration is less than 24 hours. If the durati…
400 …`{hh}:{mm}:{ss}` for hours, minutes, seconds, if the duration is less than 24 hours. If the durati…
DREADME.md143 Prints the attach time (duration since device was last attached).
147 …ss}` for hours, minutes, and seconds if it is less than one day. If the duration is longer than on…
421 Sets the ephemeral key for a given timeout duration.
2732 …h>:<mm>:<ss>` for hours, minutes, and seconds if the duration is less than one day. If the duratio…
3597 ### scan energy \[duration\] \[channel\]
3601 - duration: The time in milliseconds to spend scanning each channel.
3814 The time-in-queue is tracked for direct transmissions only and is measured as the duration from whe…
3883 The time-in-queue is tracked for direct transmissions only and is measured as the duration from whe…
4093 Print the OpenThread stack uptime (duration since OpenThread stack initialization).
4456 Get the wake-up listen interval and duration.
[all …]
Dcli.cpp7923 uint32_t duration; in Process() local
7927 otLinkGetWakeupListenParameters(GetInstancePtr(), &interval, &duration); in Process()
7929 OutputLine("duration: %luus", ToUlong(duration)); in Process()
7934 SuccessOrExit(error = aArgs[2].ParseAsUint32(duration)); in Process()
7935 error = otLinkSetWakeupListenParameters(GetInstancePtr(), interval, duration); in Process()
/openthread-latest/src/core/net/
Dsrp_client.cpp204 uint32_t duration = TimerMilli::GetNow() - mRequestTime; in Request() local
206 mRequestedMax = (mRequestedMax > duration) ? mRequestedMax - duration : 0; in Request()
220 uint32_t duration = TimerMilli::GetNow() - mRequestTime; in DetermineDelay() local
222 if (duration >= mRequestedMax) in DetermineDelay()
228 maxJitter = Max(mRequestedMax - duration, kMaxTxJitterDefault); in DetermineDelay()
Dmdns.cpp920 uint32_t duration = NumericLimits<uint32_t>::kMax; in GetDurationSinceLastMulticast() local
923 VerifyOrExit(aTime > mLastMulticastTime, duration = 0); in GetDurationSinceLastMulticast()
924 duration = aTime - mLastMulticastTime; in GetDurationSinceLastMulticast()
927 return duration; in GetDurationSinceLastMulticast()
/openthread-latest/tools/harness-thci/
DOpenThread.py396 def sleep(self, duration): argument
397 if duration >= 1:
398 self.log("sleeping for %ss ...", duration)
399 time.sleep(duration)
/openthread-latest/src/ncp/
Dncp_base.cpp1693 uint32_t duration; in HandlePropertySet() local
1697 SuccessOrExit(error = mDecoder.ReadUint32(duration)); in HandlePropertySet()
1707 error = otPlatRadioReceiveAt(mInstance, channel, start, duration); in HandlePropertySet()
/openthread-latest/src/core/border_router/
Drouting_manager.cpp550 uint32_t duration = evaluateTime - now; in ScheduleRoutingPolicyEvaluation() local
552 if (duration == 0) in ScheduleRoutingPolicyEvaluation()
560 Uptime::UptimeToString(duration, string, /* aIncludeMsec */ true); in ScheduleRoutingPolicyEvaluation()
561 …ogInfo("Will evaluate routing policy in %s (%lu msec)", string.AsCString() + 3, ToUlong(duration)); in ScheduleRoutingPolicyEvaluation()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cipher.function28 * not a copy. A copy would have an unknown storage duration. */
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md403 … the key context in bytes. The key context buffer remains valid for the duration of the driver ent…
/openthread-latest/third_party/mbedtls/repo/
DChangeLog153 PSA functions are owned exclusively by the PSA core for the duration of