HomeSort by relevance Sort by last modified time
    Searched refs:timeout (Results 1 - 25 of 5704) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CodeGen/
2003-11-04-OutOfMemory.c 3 void schedule_timeout(signed long timeout)
5 switch (timeout)
  /external/valgrind/none/tests/
pselect_sigmask_null.c 13 struct timespec timeout; local
14 timeout.tv_sec = 1;
15 timeout.tv_nsec = 0;
16 switch (pselect (0, 0, 0, 0, &timeout, 0))
  /external/jemalloc/test/src/
mq.c 17 struct timespec timeout; local
20 timeout.tv_sec = 0;
21 timeout.tv_nsec = ns;
23 timeout.tv_sec = 1;
24 timeout.tv_nsec = 0;
26 nanosleep(&timeout, NULL);
  /external/junit/src/main/java/org/junit/runners/model/
TestTimedOutException.java 6 * Exception thrown when a test fails on timeout.
16 private final long timeout; field in class:TestTimedOutException
19 * Creates exception with a standard message "test timed out after [timeout] [timeUnit]"
21 * @param timeout the amount of time passed before the test was interrupted
22 * @param timeUnit the time unit for the timeout value
24 public TestTimedOutException(long timeout, TimeUnit timeUnit) {
26 timeout, timeUnit.name().toLowerCase()));
28 this.timeout = timeout;
35 return timeout;
    [all...]
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
Configurator.java 38 // This short timeout to make sure we get the very last in cases where the above isn't true.
65 * Sets the timeout for waiting for the user interface to go into an idle
71 * timeout elapses (whichever occurs first), the object will start to wait
75 * @param timeout Timeout value in milliseconds
79 public Configurator setWaitForIdleTimeout(long timeout) {
80 mWaitForIdleTimeout = timeout;
85 * Gets the current timeout used for waiting for the user interface to go
91 * timeout elapses (whichever occurs first), the object will start to wait
95 * @return Current timeout value in millisecond
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
FocusIndicator.java 23 void showSuccess(boolean timeout);
25 void showFail(boolean timeout);
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
FocusIndicator.java 21 public void showSuccess(boolean timeout);
22 public void showFail(boolean timeout);
  /external/nist-sip/java/javax/sip/
TimeoutEvent.java 4 private Timeout mTimeout;
7 Timeout timeout) {
9 mTimeout = timeout;
13 Timeout timeout) {
15 mTimeout = timeout;
18 public Timeout getTimeout() {
  /frameworks/support/testutils/src/main/java/android/support/testutils/
PollingCheck.java 22 * Utility used for testing that allows to poll for a certain condition to happen within a timeout.
39 public PollingCheck(long timeout) {
40 mTimeout = timeout;
53 long timeout = mTimeout; local
54 while (timeout > 0) {
65 timeout -= TIME_SLICE;
68 Assert.fail("unexpected timeout");
72 * Instantiate and start polling for a given condition with a default 3000ms timeout.
86 * @param timeout Time out in ms
89 public static void waitFor(long timeout, final PollingCheckCondition condition)
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
PollingCheck.java 34 public PollingCheck(long timeout) {
35 mTimeout = timeout;
45 long timeout = mTimeout; local
46 while (timeout > 0) {
57 timeout -= TIME_SLICE;
60 Assert.fail("unexpected timeout");
63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition)
65 while (timeout > 0) {
71 timeout -= TIME_SLICE;
86 public static void waitFor(long timeout, final PollingCheckCondition condition)
    [all...]
CtsMockitoUtils.java 23 public static VerificationMode within(long timeout) {
24 return new Within(timeout);
  /external/webrtc/webrtc/base/
gunit.h 22 // Wait until "ex" is true, or "timeout" expires.
23 #define WAIT(ex, timeout) \
24 for (uint32_t start = rtc::Time(); !(ex) && rtc::Time() < start + timeout;) \
30 #define WAIT_(ex, timeout, res) \
34 while (!res && rtc::Time() < start + timeout) { \
40 // The typical EXPECT_XXXX and ASSERT_XXXXs, but done until true or a timeout.
41 #define EXPECT_TRUE_WAIT(ex, timeout) \
44 WAIT_(ex, timeout, res); \
48 #define EXPECT_EQ_WAIT(v1, v2, timeout) \
51 WAIT_(v1 == v2, timeout, res);
    [all...]
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
KeepAliveHttpsTransportSE.java 30 private final int timeout; field in class:KeepAliveHttpsTransportSE
33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) {
34 super(host, port, file, timeout);
38 this.timeout = timeout;
52 file, timeout);
  /packages/apps/Stk/src/com/android/stk/
StkApp.java 39 // UI timeout, 30 seconds - used for menues and input
42 // Tone default timeout - 2 seconds
52 int timeout = 0; local
56 timeout = 1000 * 60;
59 timeout = 1000 / 10;
63 timeout = 1000;
66 timeout *= duration.timeInterval;
68 return timeout;
  /external/okhttp/okio/okio/src/test/java/okio/
AsyncTimeoutTest.java 37 private final List<Timeout> timedOut = new CopyOnWriteArrayList<Timeout>();
44 a.timeout( 250, TimeUnit.MILLISECONDS);
45 b.timeout( 500, TimeUnit.MILLISECONDS);
46 c.timeout( 750, TimeUnit.MILLISECONDS);
47 d.timeout(1000, TimeUnit.MILLISECONDS);
51 AsyncTimeout timeout = new RecordingAsyncTimeout(); local
52 timeout.timeout(0, TimeUnit.MILLISECONDS);
53 timeout.enter()
135 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
144 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
154 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
164 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
174 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
192 AsyncTimeout timeout = new AsyncTimeout(); local
213 AsyncTimeout timeout = new AsyncTimeout(); local
234 AsyncTimeout timeout = new AsyncTimeout(); local
252 AsyncTimeout timeout = new AsyncTimeout(); local
    [all...]
  /bionic/libc/bionic/
epoll_wait.cpp 31 int epoll_wait(int fd, struct epoll_event* events, int max_events, int timeout) {
32 return epoll_pwait(fd, events, max_events, timeout, NULL);
  /external/ltp/lib/newlib_tests/
test10.c 17 * Test for watchdog timeout.
32 .timeout = 1,
test12.c 17 * Test for timeout override.
30 .timeout = 2,
  /external/toolchain-utils/cros_utils/
command_executer_unittest.py 16 timeout = 1
21 ce.RunCommand(command, command_timeout=timeout, terminated_timeout=timeout)
23 self.assertTrue(round(end - start) == timeout)
  /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...]

Completed in 868 milliseconds

1 2 3 4 5 6 7 8 91011>>