HomeSort by relevance Sort by last modified time
    Searched refs:timeout (Results 201 - 225 of 4818) sorted by null

1 2 3 4 5 6 7 891011>>

  /tools/test/connectivity/tools/lab/utils/
time_limit.py 37 self.timeout = False
40 self.timeout = True
48 return self.timeout
  /external/chromium-trace/catapult/devil/devil/android/
decorators_test.py 27 """Tests that the base decorator handles the timeout logic."""
31 def alwaysTimesOut(timeout=None, retries=None):
37 alwaysTimesOut(timeout=1, retries=0)
47 def alwaysRaisesCommandFailedError(timeout=None, retries=None):
52 alwaysRaisesCommandFailedError(timeout=30, retries=10)
56 """Tests that the base decorator requires timeout and retries params."""
58 def requiresExplicitTimeoutAndRetries(timeout=None, retries=None):
59 return (timeout, retries)
64 requiresExplicitTimeoutAndRetries(timeout=10)
70 requiresExplicitTimeoutAndRetries(timeout=expected_timeout
    [all...]
  /external/libmojo/third_party/catapult/devil/devil/android/
decorators_test.py 27 """Tests that the base decorator handles the timeout logic."""
31 def alwaysTimesOut(timeout=None, retries=None):
37 alwaysTimesOut(timeout=1, retries=0)
47 def alwaysRaisesCommandFailedError(timeout=None, retries=None):
52 alwaysRaisesCommandFailedError(timeout=30, retries=10)
56 """Tests that the base decorator requires timeout and retries params."""
58 def requiresExplicitTimeoutAndRetries(timeout=None, retries=None):
59 return (timeout, retries)
64 requiresExplicitTimeoutAndRetries(timeout=10)
70 requiresExplicitTimeoutAndRetries(timeout=expected_timeout
    [all...]
  /external/chromium-trace/catapult/devil/devil/utils/
lsusb_test.py 226 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
228 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
234 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
236 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
242 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
244 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
watchdog_timer.py 5 """WatchdogTimer timeout objects."""
11 """A resetable timeout-based watchdog.
16 def __init__(self, timeout):
20 timeout: The timeout in seconds. If timeout is None it will never timeout.
23 self._timeout = timeout
26 """Resets the timeout countdown."""
  /external/curl/docs/cmdline-opts/
max-time.d 5 See-also: connect-timeout
10 values, but the actual timeout will decrease in accuracy as the specified
11 timeout increases in decimal precision.
connect-timeout.d 1 Long: connect-timeout
  /external/libevent/sample/
time-test.c 46 struct event *timeout = arg; local
62 event_add(timeout, &tv);
69 struct event timeout; local
95 event_assign(&timeout, base, -1, flags, timeout_cb, (void*) &timeout);
99 event_add(&timeout, &tv);
  /external/libmojo/third_party/catapult/devil/devil/utils/
lsusb_test.py 226 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
228 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
234 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
236 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
242 ['lsusb'], timeout=10), (None, DEVICE_LIST)),
244 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))):
watchdog_timer.py 5 """WatchdogTimer timeout objects."""
11 """A resetable timeout-based watchdog.
16 def __init__(self, timeout):
20 timeout: The timeout in seconds. If timeout is None it will never timeout.
23 self._timeout = timeout
26 """Resets the timeout countdown."""
  /external/strace/
futex.c 50 const kernel_ulong_t timeout = tcp->u_arg[3]; local
64 print_timespec(tcp, timeout);
68 print_timespec(tcp, timeout);
73 print_timespec(tcp, timeout);
113 print_timespec(tcp, timeout);
127 printaddr(timeout);
  /tools/tradefederation/core/src/com/android/tradefed/util/
DeviceConcurrentUtil.java 50 * @param timeout timeout for waiting on the task
55 public static <T> T joinFuture(String taskDesc, Future<T> task, long timeout)
58 T ret = task.get(timeout, TimeUnit.MILLISECONDS);
94 public ShellCommandCallable(ITestDevice device, String command, long timeout) {
97 mTimeout = timeout;
106 public ShellCommandCallable<V> setTimeout(long timeout) {
107 mTimeout = timeout;
  /external/apache-http/src/org/apache/http/conn/params/
ConnManagerParamBean.java 53 public void setTimeout (final long timeout) {
54 params.setLongParameter(ConnManagerPNames.TIMEOUT, timeout);
  /external/chromium-trace/catapult/systrace/profile_chrome/
ui.py 15 def WaitForEnter(timeout):
16 select.select([sys.stdin], [], [], timeout)
  /external/curl/docs/examples/
multi-app.c 78 struct timeval timeout; local
93 /* set a suitable timeout to play around with */
94 timeout.tv_sec = 1;
95 timeout.tv_usec = 0;
99 timeout.tv_sec = curl_timeo / 1000;
100 if(timeout.tv_sec > 1)
101 timeout.tv_sec = 1;
103 timeout.tv_usec = (curl_timeo % 1000) * 1000;
131 /* Note that on some platforms 'timeout' may be modified by select().
133 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
    [all...]
smtp-multi.c 159 struct timeval timeout; local
174 /* Set a suitable timeout to play around with */
175 timeout.tv_sec = 1;
176 timeout.tv_usec = 0;
180 timeout.tv_sec = curl_timeo / 1000;
181 if(timeout.tv_sec > 1)
182 timeout.tv_sec = 1;
184 timeout.tv_usec = (curl_timeo % 1000) * 1000;
212 /* Note that on some platforms 'timeout' may be modified by select().
214 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
    [all...]
  /external/devlib/devlib/utils/
uefi.py 22 from devlib.utils.serial_port import write_characters, TIMEOUT
72 def wait(self, timeout=default_timeout):
78 self.conn.expect(self.start_prompt, timeout)
81 def connect(self, timeout=default_timeout):
84 self.read_menu(timeout=timeout)
120 def select(self, option, timeout=default_timeout):
126 :param timeout: If a non-``int`` option is specified, the option list may need
128 and the timeout is used to cap that , resulting in a ``TIMEOUT``
    [all...]
  /external/okhttp/okio/okio/src/main/java/okio/
ForwardingSink.java 42 @Override public Timeout timeout() { method in class:ForwardingSink
43 return delegate.timeout();
ForwardingSource.java 38 @Override public Timeout timeout() { method in class:ForwardingSource
39 return delegate.timeout();
  /external/strace/tests/
libmmsg.c 47 struct timespec *const timeout)
50 fd, (long) vec, vlen, flags, (long) timeout);
  /external/strace/tests-m32/
libmmsg.c 47 struct timespec *const timeout)
50 fd, (long) vec, vlen, flags, (long) timeout);
  /external/strace/tests-mx32/
libmmsg.c 47 struct timespec *const timeout)
50 fd, (long) vec, vlen, flags, (long) timeout);
  /external/syslinux/core/include/
mbox.h 35 int mbox_post(struct mailbox *mbox, void *msg, mstime_t timeout);
36 mstime_t mbox_fetch(struct mailbox *mbox, void **msg, mstime_t timeout);
  /external/syslinux/core/lwip/src/core/
timers.c 61 /** The one and only timeout list */
251 * Create a one-shot timer (aka timeout). Timeouts are processed in the
268 struct sys_timeo *timeout, *t; local
270 timeout = (struct sys_timeo *)memp_malloc(MEMP_SYS_TIMEOUT);
271 if (timeout == NULL) {
272 LWIP_ASSERT("sys_timeout: timeout != NULL, pool MEMP_SYS_TIMEOUT is empty", timeout != NULL);
275 timeout->next = NULL;
276 timeout->h = handler;
277 timeout->arg = arg
    [all...]
  /external/syslinux/gpxe/src/core/
getkey.c 36 * Read character from console if available within timeout period
38 * @v timeout Timeout period, in ticks
41 static int getchar_timeout ( unsigned long timeout ) {
42 unsigned long expiry = ( currticks() + timeout );

Completed in 1216 milliseconds

1 2 3 4 5 6 7 891011>>