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

12 3 4 5 6 7 8 91011>>

  /packages/apps/Launcher3/tests/src/com/android/launcher3/util/
Wait.java 12 public static boolean atMost(Condition condition, long timeout) {
13 return atMost(condition, timeout, DEFAULT_SLEEP_MS);
16 public static boolean atMost(Condition condition, long timeout, long sleepMillis) {
17 long endTime = SystemClock.uptimeMillis() + timeout;
  /external/junit/src/main/java/org/junit/rules/
Timeout.java 10 * The Timeout Rule applies the same timeout to all test methods in a class:
15 * public Timeout globalTimeout= new Timeout(20);
29 * Each test is run in a new thread. If the specified timeout elapses before
34 * A specified timeout of 0 will be interpreted as not set, however tests will
40 public class Timeout implements TestRule {
41 private final long timeout; field in class:Timeout
54 * Create a {@code Timeout} instance with the timeout specifie
    [all...]
  /external/strace/tests/
rt_sigtimedwait.c 46 const struct timespec *const timeout, const unsigned long size)
48 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size);
53 const struct timespec *const timeout, unsigned int size)
56 assert(k_sigtimedwait(set, NULL, timeout, size) == -1);
61 (long long) timeout->tv_sec,
62 zero_extend_signed_to_ull(timeout->tv_nsec),
69 set, (long long) timeout->tv_sec,
70 zero_extend_signed_to_ull(timeout->tv_nsec),
76 text, (long long) timeout->tv_sec,
77 zero_extend_signed_to_ull(timeout->tv_nsec)
    [all...]
  /external/strace/tests-m32/
rt_sigtimedwait.c 46 const struct timespec *const timeout, const unsigned long size)
48 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size);
53 const struct timespec *const timeout, unsigned int size)
56 assert(k_sigtimedwait(set, NULL, timeout, size) == -1);
61 (long long) timeout->tv_sec,
62 zero_extend_signed_to_ull(timeout->tv_nsec),
69 set, (long long) timeout->tv_sec,
70 zero_extend_signed_to_ull(timeout->tv_nsec),
76 text, (long long) timeout->tv_sec,
77 zero_extend_signed_to_ull(timeout->tv_nsec)
    [all...]
  /external/strace/tests-mx32/
rt_sigtimedwait.c 46 const struct timespec *const timeout, const unsigned long size)
48 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size);
53 const struct timespec *const timeout, unsigned int size)
56 assert(k_sigtimedwait(set, NULL, timeout, size) == -1);
61 (long long) timeout->tv_sec,
62 zero_extend_signed_to_ull(timeout->tv_nsec),
69 set, (long long) timeout->tv_sec,
70 zero_extend_signed_to_ull(timeout->tv_nsec),
76 text, (long long) timeout->tv_sec,
77 zero_extend_signed_to_ull(timeout->tv_nsec)
    [all...]
  /external/autotest/client/cros/
login.py 36 def wait_for_condition(condition, timeout_msg, timeout, process, crash_msg):
39 Poll for |condition| to become true, for |timeout| seconds. If the timeout
45 @param timeout: float number of seconds to poll on |condition|.
50 @raise: TimeoutError if timeout is reached.
61 timeout=timeout)
71 def wait_for_browser(timeout=cros_ui.RESTART_UI_TIMEOUT):
74 @param timeout: float number of seconds to wait.
76 @raise: TimeoutError: Chrome didn't start before timeout
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpServerSocket.java 34 private int timeout = 8000; field in class:Support_HttpServerSocket
48 instance.setSoTimeout(timeout);
55 * timeout for the server.
57 public void setTimeout(int timeout) {
58 this.timeout = timeout;
  /cts/tests/autofillservice/src/android/autofillservice/cts/
TimeoutTest.java 46 assertThrows(IllegalArgumentException.class, ()-> new Timeout(null, 1, 2, 2));
47 assertThrows(IllegalArgumentException.class, ()-> new Timeout("", 1, 2, 2));
49 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, -1, 2, 2));
50 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 0, 2, 2));
52 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, -1, 2));
53 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 0, 2));
54 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 1, 2));
56 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, -1));
57 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, 0));
59 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 2, 2, 1))
64 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local
73 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local
88 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local
101 final Timeout timeout = new Timeout(NAME, 100, 2, 500); local
109 final Timeout timeout = new Timeout(NAME, 100, 2, 500); local
117 final Timeout timeout = new Timeout(NAME, 100, 2, 500); local
    [all...]
  /external/syslinux/gpxe/src/net/
retry.c 42 * adjust the timeout back down to is seven ticks, so set the minimum
43 * timeout to at least that value for the sake of consistency.
55 * This starts the timer running with the current timeout value. If
65 /* 0 means "use default timeout" */
71 /* Honor user-specified minimum timeout */
72 if ( timer->timeout < timer->min_timeout )
73 timer->timeout = timer->min_timeout;
76 timer, timer->start, ( timer->start + timer->timeout ) );
80 * Start timer with a specified fixed timeout
83 * @v timeout Timeout, in tick
    [all...]
  /bionic/libc/bionic/
sys_epoll.cpp 44 int epoll_pwait(int fd, epoll_event* events, int max_events, int timeout, const sigset_t* ss) {
52 return epoll_pwait64(fd, events, max_events, timeout, ss_ptr);
55 int epoll_pwait64(int fd, epoll_event* events, int max_events, int timeout, const sigset64_t* ss) {
56 return __epoll_pwait(fd, events, max_events, timeout, ss, sizeof(*ss));
59 int epoll_wait(int fd, struct epoll_event* events, int max_events, int timeout) {
60 return epoll_pwait64(fd, events, max_events, timeout, nullptr);
  /external/ltp/testcases/network/tcp_cmds/arping/
arping01.sh 26 timeout="10"
31 tst_resm TINFO "with timeout '$timeout' seconds"
33 arping -w $timeout "$ip_addr" -I $dev -fq
  /packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
UiObject2Asserts.java 39 * Assert that {@code searchCondition} becomes true within {@code timeout} milliseconds.
45 UiObject2 uiObject, SearchCondition<Boolean> searchCondition, long timeout) {
46 long adjustedTimeout = getAdjustedTimeout(timeout);
48 assertTrue(searchCondition + " not true after " + timeout / 1000.0 + " seconds.", result);
51 public static long getAdjustedTimeout(long timeout) {
52 return timeout
55 (long) (timeout * Constants.EXTRA_TIMEOUT_PERCENT));
  /cts/tests/tests/webkit/src/android/webkit/cts/
ChromeClient.java 40 public synchronized ConsoleMessage.MessageLevel getMessageLevel(int timeout) {
41 for(; timeout > 0; timeout -= 1000) {
  /external/guava/guava/src/com/google/common/collect/
ForwardingBlockingDeque.java 65 public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
66 return delegate().offerFirst(e, timeout, unit);
70 public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException {
71 return delegate().offerLast(e, timeout, unit);
85 public E pollFirst(long timeout, TimeUnit unit) throws InterruptedException {
86 return delegate().pollFirst(timeout, unit);
90 public E pollLast(long timeout, TimeUnit unit) throws InterruptedException {
91 return delegate().pollLast(timeout, unit);
100 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException {
101 return delegate().offer(e, timeout, unit)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/testdata/
Makefile 5 cd ..; go test -cover -run 'Objdump.*32' -v -timeout 10h -printtests 2>&1 | tee log
6 cd ..; go test -cover -run 'Objdump.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
7 cd ..; go test -cover -run 'Xed.*32' -v -timeout 10h -printtests 2>&1 | tee -a log
8 cd ..; go test -cover -run 'Xed.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
9 cd ..; go test -cover -run 'Plan9.*32' -v -timeout 10h -printtests 2>&1 | tee -a log
10 cd ..; go test -cover -run 'Plan9.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
  /prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/testdata/
Makefile 5 cd ..; go test -cover -run 'Objdump.*32' -v -timeout 10h -printtests 2>&1 | tee log
6 cd ..; go test -cover -run 'Objdump.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
7 cd ..; go test -cover -run 'Xed.*32' -v -timeout 10h -printtests 2>&1 | tee -a log
8 cd ..; go test -cover -run 'Xed.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
9 cd ..; go test -cover -run 'Plan9.*32' -v -timeout 10h -printtests 2>&1 | tee -a log
10 cd ..; go test -cover -run 'Plan9.*64' -v -timeout 10h -printtests 2>&1 | tee -a log
  /system/chre/platform/linux/include/chre/target_platform/
condition_variable_impl.h 34 inline bool ConditionVariable::wait_for(Mutex& mutex, Nanoseconds timeout) {
36 mutex, std::chrono::nanoseconds(timeout.toRawNanoseconds()));
37 return (result != std::cv_status::timeout);
  /system/netd/server/
IdletimerController.h 31 int addInterfaceIdletimer(const char *iface, uint32_t timeout,
33 int removeInterfaceIdletimer(const char *iface, uint32_t timeout,
44 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
  /cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
BusyWaitUtils.java 41 * @param timeout milliseconds before time out happens.
46 static void pollingCheck(final PollingCondition condition, final long timeout,
48 if (waitFor(condition, timeout)) {
57 * @param timeout milliseconds before time out happens.
61 static boolean waitFor(final PollingCondition condition, final long timeout) throws Exception {
62 for (long remaining = timeout; remaining > 0; remaining -= POLLING_INTERVAL) {
  /external/curl/src/
tool_sleep.c 51 struct timeval timeout;
52 timeout.tv_sec = ms / 1000L;
54 timeout.tv_usec = (int)ms * 1000;
55 select(0, NULL, NULL, NULL, &timeout);
  /external/fio/os/windows/posix/include/sys/
poll.h 13 int poll(struct pollfd fds[], nfds_t nfds, int timeout);
  /external/libcxx/test/std/thread/thread.condition/
cv_status.pass.cpp 14 // enum class cv_status { no_timeout, timeout };
22 assert(static_cast<int>(std::cv_status::timeout) == 1);
  /external/ltp/lib/newlib_tests/
test13.c 17 * Test for timeout & children.
33 .timeout = 1,
  /external/ltp/testcases/commands/tpm-tools/tpm/tpm_clear/
tpm_clear_tests_exp01.sh 22 set timeout 30
28 expect timeout
  /external/ltp/testcases/commands/tpm-tools/tpm/tpm_getpubek/
tpm_getpubek_tests_exp01.sh 22 set timeout 30
35 expect timeout

Completed in 780 milliseconds

12 3 4 5 6 7 8 91011>>