/external/okhttp/okio/okio/src/main/java/okio/ |
Timeout.java | 30 * This class offers two complementary controls to define a timeout policy. 42 public class Timeout { 44 * An empty timeout that neither tracks nor detects timeouts. Use this when 48 public static final Timeout NONE = new Timeout() { 49 @Override public Timeout timeout(long timeout, TimeUnit unit) { 53 @Override public Timeout deadlineNanoTime(long deadlineNanoTime) { 69 public Timeout() { 80 public Timeout timeout(long timeout, TimeUnit unit) { method in class:Timeout [all...] |
/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);
|
/external/swiftshader/src/Common/ |
Socket.cpp | 76 timeval timeout = {us / 1000000, us % 1000000}; local 78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1;
|
/external/syslinux/gpxe/src/include/gpxe/ |
retry.h | 14 /** Default timeout value */ 17 /** Limit after which the timeout will be deemed permanent */ 26 /** Timeout value (in ticks) */ 27 unsigned long timeout; member in struct:retry_timer 28 /** Minimum timeout value (in ticks) 30 * A value of zero means "use default timeout." 33 /** Maximum timeout value before failure (in ticks) 35 * A value of zero means "use default timeout." 49 * timeout has already exceeded @c MAX_TIMEOUT. 56 unsigned long timeout ); [all...] |
/external/toybox/toys/net/ |
netcat.c | 20 -w SECONDS timeout to establish connection 21 -W SECONDS timeout for idle connection 58 static void timeout(int signum) function 60 if (TT.wait) error_exit("Timeout"); 67 xsignal(SIGALRM, seconds ? timeout : SIG_DFL); 93 // Addjust idle and quit_delay to miliseconds or -1 for no timeout 130 // We have a connection. Disarm timeout. 163 // We have a connection. Disarm timeout.
|
/external/toybox/toys/other/ |
nbd_client.c | 28 -t timeout in seconds 43 unsigned long timeout = 0; local 76 if (timeout && ioctl(nbd, NBD_SET_TIMEOUT, timeout)<0) break;
|
/external/tpm2/ |
PolicySecret_fp.h | 22 TPM2B_TIMEOUT timeout; member in struct:__anon40470
|
PolicySigned_fp.h | 23 TPM2B_TIMEOUT timeout; member in struct:__anon40472
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
main.cc | 90 struct timeval timeout = { 10, 0 }; local 91 if (select(FD_SETSIZE, &socket_set, NULL, NULL, &timeout) == SOCKET_ERROR) {
|
/frameworks/base/core/java/android/app/ |
WaitResult.java | 32 public boolean timeout; field in class:WaitResult 48 dest.writeInt(timeout ? 1 : 0); 69 timeout = source.readInt() != 0; 78 pw.println(prefix + " timeout=" + timeout);
|
/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/base/libs/hwui/thread/ |
ThreadBase.h | 57 int timeout = -1; local 59 timeout = ns2ms(nextWakeup - WorkQueue::clock::now()); 60 if (timeout < 0) timeout = 0; 62 int result = mLooper->pollOnce(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...] |
/frameworks/rs/tests/lldb/ |
config.py | 106 def timeout(self): member in class:Config 107 '''Timeout period for a single command, expressed in seconds'''
|
/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...] |
/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;
|
/hardware/intel/bootstub/ |
spi-uart.c | 101 unsigned int timeout; local 104 timeout = MRST_SPI_TIMEOUT; 106 while (timeout--) { 114 if (timeout == 0xffffffff)
|
/hardware/ril/libril/ |
ril_event.h | 30 struct timeval timeout; member in struct:ril_event
|
/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;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
security.h | 50 unsigned int timeout; member in struct:__anon61945
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
pg.h | 48 int timeout; /* number of seconds before timeout */ member in struct:pg_write_hdr
|
/art/test/030-bad-finalizer/src/ |
Main.java | 24 * and finalizer watchdog daemon enough to reach the timeout and throwing the fatal exception. 42 // Now fall asleep with a timeout. The timeout is large enough that we expect the 44 // Note: the timeout is here (instead of an infinite sleep) to protect the test 45 // environment (e.g., in case this is run without a timeout wrapper). 46 final long timeout = 60 * 1000; // 1 minute. local 47 long remainingWait = timeout; 56 remainingWait = timeout - (System.currentTimeMillis() - waitStart);
|
/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...] |
Within.java | 30 * a certain time interval. Not that unlike {@link Mockito#timeout(int)}, this mode will not 38 public Within(long timeout) { 39 mTimeout = timeout; 44 long timeout = mTimeout; local 48 while (timeout > 0) { 56 // Found our match within our timeout. Mark all invocations as verified 66 timeout -= TIME_SLICE;
|