/external/clang/test/CodeGen/ |
2003-11-04-OutOfMemory.c | 3 void schedule_timeout(signed long timeout) 5 switch (timeout)
|
/art/test/961-default-iface-resolution-gen/ |
run | 17 # Run with a 2 minute default dex2oat timeout and a 2.5 minute hard dex2oat timeout. 18 ./default-run "$@" --dex2oat-timeout 120 --dex2oat-rt-timeout 180
|
/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...] |
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
PollingCheck.java | 33 public PollingCheck(long timeout) { 34 mTimeout = timeout; 44 long timeout = mTimeout; local 45 while (timeout > 0) { 56 timeout -= TIME_SLICE; 59 Assert.fail("unexpected timeout"); 62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) 64 while (timeout > 0) { 70 timeout -= TIME_SLICE;
|
/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/base/core/tests/coretests/src/android/util/ |
PollingCheck.java | 22 * Utility used for testing that allows to poll for a certain condition to happen within a timeout. 43 public PollingCheck(long timeout) { 44 mTimeout = timeout; 57 long timeout = mTimeout; local 58 while (timeout > 0) { 69 timeout -= TIME_SLICE; 72 Assert.fail("unexpected timeout"); 76 * Instantiate and start polling for a given condition with a default 3000ms timeout. 92 * @param timeout Time out in ms 95 public static void waitFor(long timeout, final PollingCheckCondition condition) [all...] |
/frameworks/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/util/ |
PollingCheck.java | 22 * Utility used for testing that allows to poll for a certain condition to happen within a timeout. 40 public PollingCheck(long timeout) { 41 mTimeout = timeout; 54 long timeout = mTimeout; local 55 while (timeout > 0) { 66 timeout -= TIME_SLICE; 69 fail("unexpected timeout"); 73 * Instantiate and start polling for a given condition with a default 3000ms timeout. 87 * @param timeout Time out in ms 90 public static void waitFor(long timeout, final PollingCheckCondition condition) [all...] |
/frameworks/support/testutils/src/main/java/androidx/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);
|
/frameworks/base/tests/testables/src/android/testing/ |
PollingCheck.java | 33 public PollingCheck(long timeout) { 34 mTimeout = timeout; 44 long timeout = mTimeout; local 45 while (timeout > 0) { 56 timeout -= TIME_SLICE; 59 Assert.fail("unexpected timeout"); 62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) 64 while (timeout > 0) { 70 timeout -= TIME_SLICE; 85 public static void waitFor(long timeout, final PollingCheckCondition condition) [all...] |
/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...] |
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/testdata/ |
Makefile | 2 cd ..; go test -run 'ObjdumpARM64Cond' -v -timeout 10h -long 2>&1 | tee log 3 cd ..; go test -run 'ObjdumpARM64Testdata' -v -timeout 10h -long 2>&1 | tee -a log 4 cd ..; go test -run 'ObjdumpARM64' -v -timeout 10h -long 2>&1 | tee -a log 5 cd ..; go test -run 'ObjdumpARM64Manual' -v -timeout 10h -long 2>&1 | tee -a log
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/testdata/ |
Makefile | 2 cd ..; go test -run 'ObjdumpARM64Cond' -v -timeout 10h -long 2>&1 | tee log 3 cd ..; go test -run 'ObjdumpARM64Testdata' -v -timeout 10h -long 2>&1 | tee -a log 4 cd ..; go test -run 'ObjdumpARM64' -v -timeout 10h -long 2>&1 | tee -a log 5 cd ..; go test -run 'ObjdumpARM64Manual' -v -timeout 10h -long 2>&1 | tee -a log
|
/external/ltp/lib/newlib_tests/ |
test10.c | 17 * Test for watchdog timeout. 31 .timeout = 1,
|
test12.c | 17 * Test for timeout override. 29 .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)
|