/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() {
|
Timeout.java | 3 public enum Timeout {
|
/external/clang/test/CodeGen/ |
2003-11-04-OutOfMemory.c | 3 void schedule_timeout(signed long timeout) 5 switch (timeout)
|
/external/chromium_org/build/android/pylib/utils/ |
watchdog_timer.py | 5 """WatchdogTimer timeout objects.""" 11 """A resetable timeout-based watchdog. 16 def __init__(self, timeout): 20 timeout: The timeout in seconds. If timeout is None it will never timeout. 23 self._timeout = timeout 26 """Resets the timeout countdown."""
|
/external/wpa_supplicant_8/src/utils/ |
eloop_none.c | 42 struct dl_list timeout; member in struct:eloop_data 59 dl_list_init(&eloop.timeout); 115 struct eloop_timeout *timeout, *tmp; local 118 timeout = os_zalloc(sizeof(*timeout)); 119 if (timeout == NULL) 121 if (os_get_time(&timeout->time) < 0) { 122 os_free(timeout); 125 now_sec = timeout->time.sec; 126 timeout->time.sec += secs 169 struct eloop_timeout *timeout, *prev; local 192 struct eloop_timeout *timeout, *prev; local 325 struct eloop_timeout *timeout; local 387 struct eloop_timeout *timeout, *prev; local [all...] |
/external/junit/src/org/junit/rules/ |
Timeout.java | 11 * The Timeout Rule applies the same timeout to all test methods in a class: 18 * public MethodRule globalTimeout= new Timeout(20); 36 public class Timeout implements TestRule { 40 * @param millis the millisecond timeout 42 public Timeout(int millis) {
|
/system/core/init/ |
watchdogd.c | 35 int timeout; local 48 timeout = interval + margin; 56 ret = ioctl(fd, WDIOC_SETTIMEOUT, &timeout); 58 ERROR("watchdogd: Failed to set timeout to %d: %s\n", timeout, strerror(errno)); 59 ret = ioctl(fd, WDIOC_GETTIMEOUT, &timeout); 61 ERROR("watchdogd: Failed to get timeout: %s\n", strerror(errno)); 63 if (timeout > margin) 64 interval = timeout - margin; 67 ERROR("watchdogd: Adjusted interval to timeout returned by driver: timeout %d, interval %d, margin %d\n" [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
PollingCheck.java | 30 public PollingCheck(long timeout) { 31 mTimeout = timeout; 41 long timeout = mTimeout; local 42 while (timeout > 0) { 53 timeout -= TIME_SLICE; 56 Assert.fail("unexpected timeout"); 59 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) 61 while (timeout > 0) { 67 timeout -= TIME_SLICE;
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
timeout-test.html | 3 <title>10m10s Timeout Test</title> 6 To run this test, both timeout-test.html and timeout-test.php must be served over http.<br> 9 <form action="timeout-test.php" method="post">
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
if_slip.h | 22 #define SIOCSKEEPALIVE (SIOCDEVPRIVATE) /* Set keepalive timeout in sec */ 23 #define SIOCGKEEPALIVE (SIOCDEVPRIVATE+1) /* Get keepalive timeout */ 24 #define SIOCSOUTFILL (SIOCDEVPRIVATE+2) /* Set outfill timeout */ 25 #define SIOCGOUTFILL (SIOCDEVPRIVATE+3) /* Get outfill timeout */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_slip.h | 22 #define SIOCSKEEPALIVE (SIOCDEVPRIVATE) /* Set keepalive timeout in sec */ 23 #define SIOCGKEEPALIVE (SIOCDEVPRIVATE+1) /* Get keepalive timeout */ 24 #define SIOCSOUTFILL (SIOCDEVPRIVATE+2) /* Set outfill timeout */ 25 #define SIOCGOUTFILL (SIOCDEVPRIVATE+3) /* Get outfill timeout */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_slip.h | 22 #define SIOCSKEEPALIVE (SIOCDEVPRIVATE) /* Set keepalive timeout in sec */ 23 #define SIOCGKEEPALIVE (SIOCDEVPRIVATE+1) /* Get keepalive timeout */ 24 #define SIOCSOUTFILL (SIOCDEVPRIVATE+2) /* Set outfill timeout */ 25 #define SIOCGOUTFILL (SIOCDEVPRIVATE+3) /* Get outfill timeout */
|
/external/chromium_org/chrome/test/remoting/ |
waiter.cc | 11 TimeoutWaiter::TimeoutWaiter(base::TimeDelta timeout) 12 : timeout_(timeout) { 13 DCHECK(timeout > base::TimeDelta::FromSeconds(0)); 40 ConditionalTimeoutWaiter::ConditionalTimeoutWaiter(base::TimeDelta timeout, 43 : TimeoutWaiter(timeout), 47 DCHECK(timeout > interval); 61 // Also call the base class Wait() to start the timeout timer. 70 // Also call the base class CancelWait() to stop the timeout timer.
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
poll.c | 8 int poll(struct pollfd *fds, nfds_t nfds, int timeout) { 9 return ki_poll(fds, nfds, timeout);
|
select.c | 9 fd_set* exceptfds, struct timeval* timeout) { 10 return ki_select(nfds, readfds, writefds, exceptfds, timeout);
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
web_contents.py | 30 timeout=DEFAULT_WEB_CONTENTS_TIMEOUT): 32 'document.readyState == "complete"', timeout) 35 timeout=DEFAULT_WEB_CONTENTS_TIMEOUT): 38 'document.readyState == "complete"', timeout) 40 def WaitForJavaScriptExpression(self, expr, timeout): 49 # If the main thread is busy for longer than Evaluate's timeout, we 51 # timeout of this method. 53 util.WaitFor(IsTrue, timeout) 55 def ExecuteJavaScript(self, expr, timeout=DEFAULT_WEB_CONTENTS_TIMEOUT): 60 self._inspector_backend.ExecuteJavaScript(expr, timeout) [all...] |
/external/mockito/src/org/mockito/verification/ |
Timeout.java | 16 * Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class.
19 public class Timeout implements VerificationWithTimeout {
26 * Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class.
29 public Timeout(int millis, VerificationMode delegate) {
36 Timeout(int treshhold, int millis, VerificationMode delegate) {
51 return new Timeout(impl.getTreshhold(), impl.getTimeout(), VerificationModeFactory.atLeast(minNumberOfInvocations));
58 return new Timeout(impl.getTreshhold(), impl.getTimeout(), VerificationModeFactory.atLeastOnce());
73 return new Timeout(impl.getTreshhold(), impl.getTimeout(), VerificationModeFactory.times(0));
80 return new Timeout(impl.getTreshhold(), impl.getTimeout(), VerificationModeFactory.only());
87 return new Timeout(impl.getTreshhold(), impl.getTimeout(), VerificationModeFactory.times(wantedNumberOfInvocations)); [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
Configurator.java | 35 // This short timeout to make sure we get the very last in cases where the above isn't true. 62 * Sets the timeout for waiting for the user interface to go into an idle 68 * timeout elapses (whichever occurs first), the object will start to wait 72 * @param timeout Timeout value in milliseconds 76 public Configurator setWaitForIdleTimeout(long timeout) { 77 mWaitForIdleTimeout = timeout; 82 * Gets the current timeout used for waiting for the user interface to go 88 * timeout elapses (whichever occurs first), the object will start to wait 92 * @return Current timeout value in millisecond [all...] |
/external/chromium_org/build/android/pylib/device/ |
adb_wrapper.py | 68 def _AdbCmd(cls, arg_list, timeout, retries, check_error=True): 69 """Runs an adb command with a timeout and retries. 73 timeout: Timeout in seconds. 83 # This method runs inside the timeout/retries. 98 return timeout_retry.Run(RunCmd, timeout, retries) 102 def _DeviceAdbCmd(self, arg_list, timeout, retries, check_error=True): 107 timeout: Timeout in seconds. 116 ['-s', self._device_serial] + arg_list, timeout, retries [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
gunit.h | 44 // Wait until "ex" is true, or "timeout" expires. 45 #define WAIT(ex, timeout) \ 47 !(ex) && talk_base::Time() < start + timeout;) \ 53 #define WAIT_(ex, timeout, res) \ 57 while (!res && talk_base::Time() < start + timeout) { \ 63 // The typical EXPECT_XXXX and ASSERT_XXXXs, but done until true or a timeout. 64 #define EXPECT_TRUE_WAIT(ex, timeout) \ 67 WAIT_(ex, timeout, res); \ 71 #define EXPECT_EQ_WAIT(v1, v2, timeout) \ 74 WAIT_(v1 == v2, timeout, res); [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/backends/webdriver/ |
webdriver_tab_backend.py | 38 def WaitForDocumentReadyStateToBeComplete(self, timeout=None): 42 def WaitForDocumentReadyStateToBeInteractiveOrBetter(self, timeout=None): 50 def Screenshot(self, timeout=None): # pylint: disable=W0613 51 if timeout: 52 logging.warning('timeout is not supported') 68 def GetDOMStats(self, timeout=None): 76 def Navigate(self, url, script_to_evaluate_on_commit=None, timeout=None): 80 if timeout: 81 self._browser_backend.driver.set_page_load_timeout(timeout * 1000) 84 def GetCookieByName(self, name, timeout=None) [all...] |
/external/chromium/base/test/ |
test_switches.cc | 8 const char switches::kLiveOperationTimeout[] = "live-operation-timeout"; 12 const char switches::kTestLargeTimeout[] = "test-large-timeout"; 13 const char switches::kTestTinyTimeout[] = "test-tiny-timeout"; 14 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout"; 15 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout"; 16 const char switches::kUiTestTerminateTimeout[] = "ui-test-terminate-timeout"; 17 const char switches::kUiTestTimeout[] = "test-timeout";
|
test_timeouts.h | 18 // Timeout for actions that are expected to finish "almost instantly". 21 // Timeout to wait for something to happen. If you are not sure 22 // which timeout to use, this is the one you want. 25 // Timeout longer than the above, but still suitable to use 26 // multiple times in a single test. Use if the timeout above 30 // Timeout for a large test that may take a few minutes to run. 33 // Timeout for a huge test (like running a layout test inside the browser). 38 // Timeout to wait for a process to terminate. 43 // Timeout to wait for a live operation to complete. Used by tests that access
|
/external/chromium_org/net/socket/ |
client_socket_pool.cc | 13 // TODO(ziadh): Change this timeout after getting histogram data on how long it 30 void ClientSocketPool::set_unused_idle_socket_timeout(base::TimeDelta timeout) { 31 DCHECK_GT(timeout.InSeconds(), 0); 32 g_unused_idle_socket_timeout_s = timeout.InSeconds(); 41 void ClientSocketPool::set_used_idle_socket_timeout(base::TimeDelta timeout) { 42 DCHECK_GT(timeout.InSeconds(), 0); 43 g_used_idle_socket_timeout_s = timeout.InSeconds();
|
/external/chromium/net/socket/ |
client_socket_pool.cc | 11 // TODO(ziadh): Change this timeout after getting histogram data on how long it
25 void ClientSocketPool::set_unused_idle_socket_timeout(int timeout) {
26 g_unused_idle_socket_timeout = timeout;
|