HomeSort by relevance Sort by last modified time
    Searched defs:timeout (Results 126 - 150 of 1817) sorted by null

1 2 3 4 56 7 8 91011>>

  /cts/tests/autofillservice/src/android/autofillservice/cts/
RetryRuleTest.java 71 final Timeout timeout = new Timeout("YOUR TIME IS GONE", 1, 2, 10); local
72 final RetryableException exception = new RetryableException(timeout, "Y U NO?");
76 // Assert timeout was increased
77 assertThat(timeout.ms()).isEqualTo(2);
  /cts/tests/framework/base/activitymanager/src/android/server/am/lifecycle/
LifecycleTracker.java 73 /** Blocking call to wait for a condition to become true with max timeout. */
76 final long timeout = System.currentTimeMillis() + timeoutMs; local
78 final long waitMs = timeout - System.currentTimeMillis();
80 // Timeout expired.
  /external/autotest/client/cros/
mainloop.py 44 logging.warning('ExceptionForwardingMainLoop: No timeout specified.')
45 logging.warning('(Specify timeout_s=0 explicitly for no timeout.)')
51 def timeout(self): member in class:ExceptionForwardingMainLoop
56 self.timeout()
125 def timeout(self): member in class:GenericTesterMainLoop
126 logging.error('Requirements unsatisfied upon timeout: %s' %
  /external/curl/docs/examples/
imap-multi.c 92 struct timeval timeout; local
107 /* Set a suitable timeout to play around with */
108 timeout.tv_sec = 1;
109 timeout.tv_usec = 0;
113 timeout.tv_sec = curl_timeo / 1000;
114 if(timeout.tv_sec > 1)
115 timeout.tv_sec = 1;
117 timeout.tv_usec = (curl_timeo % 1000) * 1000;
145 /* Note that on some platforms 'timeout' may be modified by select().
147 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
    [all...]
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...]
multi-debugcallback.c 154 struct timeval timeout; local
169 /* set a suitable timeout to play around with */
170 timeout.tv_sec = 1;
171 timeout.tv_usec = 0;
175 timeout.tv_sec = curl_timeo / 1000;
176 if(timeout.tv_sec > 1)
177 timeout.tv_sec = 1;
179 timeout.tv_usec = (curl_timeo % 1000) * 1000;
207 /* Note that on some platforms 'timeout' may be modified by select().
209 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
    [all...]
pop3-multi.c 92 struct timeval timeout; local
107 /* Set a suitable timeout to play around with */
108 timeout.tv_sec = 1;
109 timeout.tv_usec = 0;
113 timeout.tv_sec = curl_timeo / 1000;
114 if(timeout.tv_sec > 1)
115 timeout.tv_sec = 1;
117 timeout.tv_usec = (curl_timeo % 1000) * 1000;
145 /* Note that on some platforms 'timeout' may be modified by select().
147 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
    [all...]
  /external/curl/tests/libtest/
lib1507.c 85 struct timeval timeout; local
99 /* set a suitable timeout to play around with */
100 timeout.tv_sec = 1;
101 timeout.tv_usec = 0;
105 timeout.tv_sec = curl_timeo / 1000;
106 if(timeout.tv_sec > 1)
107 timeout.tv_sec = 1;
109 timeout.tv_usec = (curl_timeo % 1000) * 1000;
121 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
133 case 0: /* timeout */
    [all...]
lib1531.c 63 struct timeval timeout; local
78 /* set a suitable timeout to play around with */
79 timeout.tv_sec = 1;
80 timeout.tv_usec = 0;
84 timeout.tv_sec = curl_timeo / 1000;
85 if(timeout.tv_sec > 1)
86 timeout.tv_sec = 1;
88 timeout.tv_usec = (curl_timeo % 1000) * 1000;
116 /* Note that on some platforms 'timeout' may be modified by select().
118 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
    [all...]
lib597.c 92 long timeout = -99; local
110 multi_timeout(multi, &timeout);
112 /* At this point, timeout is guaranteed to be greater or equal than
115 if(timeout != -1L) {
116 int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeout;
  /external/curl/tests/unit/
unit1303.c 54 #define TIMEOUTS(x,y) data->set.timeout = x; data->set.connecttimeout = y
78 time_t timeout; variable
85 {BASE + 10, 0, 10000, 8000, FALSE, -1, "timeout is -1, expired"},
91 {BASE + 8, 0, 10000, 8000, TRUE, -1, "timeout is -1, expired"},
94 /* no connect timeout set, not connecting */
97 {BASE + 10, 0, 10000, 0, FALSE, -1, "timeout is -1, expired"},
100 /* no connect timeout set, connecting */
103 {BASE + 10, 0, 10000, 0, FALSE, -1, "timeout is -1, expired"},
106 /* only connect timeout set, not connecting */
107 {BASE + 4, 0, 0, 10000, FALSE, 0, "no timeout active"}
    [all...]
  /external/drm_hwcomposer/tests/
queue_worker_test.cpp 70 auto timeout = std::chrono::milliseconds(timeout_ms); local
71 return qw.cond.wait_for(lk, timeout, [&] { return qw.value == val; });
132 auto timeout = std::chrono::milliseconds(100);
134 qw.cond.wait_for(lock, timeout, [&] { return qw.value != 1; }));
173 auto timeout = std::chrono::milliseconds(200);
174 std::this_thread::sleep_for(timeout);
183 auto timeout = std::chrono::milliseconds(kIdleTimeoutMs + 10);
184 std::this_thread::sleep_for(timeout);
190 std::this_thread::sleep_for(3 * timeout);
  /external/junit/src/main/java/org/junit/internal/runners/
TestMethod.java 38 long timeout = annotation.timeout(); local
39 return timeout;
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
HttpsTransportSE.java 22 private final int timeout; field in class:HttpsTransportSE
24 public HttpsTransportSE(String host, int port, String file, int timeout) {
31 this.timeout = timeout;
41 serviceConnection = new HttpsServiceConnectionSE(host, port, file, timeout);
  /external/libmicrohttpd/src/examples/
spdy_response_with_callback.c 158 struct timeval timeout; local
199 timeout.tv_sec = 1;
200 timeout.tv_usec = 0;
204 timeout.tv_sec = timeoutlong / 1000;
205 timeout.tv_usec = (timeoutlong % 1000) * 1000;
213 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
  /external/linux-kselftest/tools/testing/selftests/android/ion/
ipcsocket.c 113 struct timeval timeout; local
124 timeout.tv_sec = 20;
125 timeout.tv_usec = 0;
127 ret = select(sockfd+1, NULL, &selFDs, NULL, &timeout);
  /external/ltp/testcases/cve/
cve-2016-7117.c 95 static struct timespec timeout = { .tv_sec = RECV_TIMEOUT }; variable in typeref:struct:timespec
147 socket_fds[1], msghdrs, 2, 0, &timeout);
  /external/ltp/testcases/kernel/containers/pidns/
pidns13.c 76 struct timespec timeout; local
118 /* Set timeout for sigtimedwait */
119 timeout.tv_sec = 10;
120 timeout.tv_nsec = 0;
127 if (sigtimedwait(&newset, &info, &timeout) != SIGUSR1) {
  /external/ltp/testcases/kernel/syscalls/pselect/
pselect02.c 28 * if the value contained within timeout was invalid.
43 struct timespec *timeout; member in struct:test_case_t
98 TEST(pselect(test->nfds, test->readfds, NULL, NULL, test->timeout,
  /external/ltp/testcases/kernel/syscalls/times/
times03.c 43 static volatile int timeout; variable
48 timeout = 1;
57 while (!timeout)
61 timeout = 0;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
2-2.c 25 #define TIMEOUT (THREAD_NUM * 2)
38 struct timespec timeout; local
55 timeout.tv_sec = curtime.tv_sec + TIMEOUT;
56 timeout.tv_nsec = curtime.tv_usec * 1000;
59 "most %d secs\n", (void *)self, TIMEOUT);
60 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
2-2.c 25 #define TIMEOUT THREAD_NUM * 2
38 struct timespec timeout; local
55 timeout.tv_sec = curtime.tv_sec + TIMEOUT;
56 timeout.tv_nsec = curtime.tv_usec * 1000;
60 (void *)self, TIMEOUT);
61 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
1-1.c 12 * shall be terminated when the specified timeout expires.
45 #define TIMEOUT 3
55 struct timespec timeout; local
61 timeout.tv_sec = currsec1.tv_sec + TIMEOUT;
62 timeout.tv_nsec = currsec1.tv_usec * 1000;
64 printf("thread: attempt timed read lock, %d secs\n", TIMEOUT);
65 rc = pthread_rwlock_timedrdlock(&rwlock, &timeout);
157 /* we expect rd_thread2 to block and timeout. */
172 if (time_diff.tv_sec < TIMEOUT) {
    [all...]
3-1.c 12 * shall be terminated when the specified timeout expires.
48 #define TIMEOUT 3
58 struct timespec timeout, ts; local
69 timeout.tv_sec = currsec1.tv_sec + TIMEOUT;
70 timeout.tv_nsec = currsec1.tv_usec * 1000;
72 printf("thread: attempt timed read lock, %d secs\n", TIMEOUT);
73 rc = pthread_rwlock_timedrdlock(&rwlock, &timeout);
171 /* we expect rd_thread2 to block and timeout. */
186 if (time_diff.tv_sec < TIMEOUT) {
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
1-1.c 12 * unlock the lock, this wait shall be terminate when the specified timeout expires.
38 #define TIMEOUT 3
57 struct timespec timeout; local
64 timeout.tv_sec = currsec1.tv_sec + TIMEOUT;
65 timeout.tv_nsec = currsec1.tv_usec * 1000;
67 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT);
68 rc = pthread_rwlock_timedwrlock(&rwlock, &timeout);
115 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT);
153 /* If the shared data is not altered by child after TIMEOUT*2 seconds
    [all...]

Completed in 387 milliseconds

1 2 3 4 56 7 8 91011>>