HomeSort by relevance Sort by last modified time
    Searched full:timeout (Results 26 - 50 of 3462) sorted by null

12 3 4 5 6 7 8 91011>>

  /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;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
Timeout.java 20 * This class holds the remaining timeout value.
22 public class Timeout {
27 * Initialize timeout value.
30 public Timeout(long msec) {
35 * Return true if the timeout has already expired.
43 * Return the remaining timeout value.
ServReqRemoveRequestTestCase.java 56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
90 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
112 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
121 Timeout t = new Timeout(TIMEOUT)
    [all...]
  /external/chromium/third_party/libevent/sample/
time-test.c 36 struct event *timeout = arg; local
45 event_add(timeout, &tv);
51 struct event timeout; local
58 evtimer_set(&timeout, timeout_cb, &timeout);
62 event_add(&timeout, &tv);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDiscoverableEnabler.java 53 // Use the same preference key for discoverable timeout as the old ListPreference.
135 int timeout = getDiscoverableTimeout(); local
136 long endTimestamp = System.currentTimeMillis() + timeout * 1000L;
139 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout);
142 Log.d(TAG, "setEnabled(): enabled = " + enable + "timeout = " + timeout);
144 if (timeout > 0) {
153 private void updateTimerDisplay(int timeout) {
157 String textTimeout = formatTimeRemaining(timeout);
163 private static String formatTimeRemaining(int timeout) {
208 int timeout = SystemProperties.getInt(SYSTEM_PROPERTY_DISCOVERABLE_TIMEOUT, -1); local
228 int timeout = getDiscoverableTimeout(); local
    [all...]
  /external/mockito/src/org/mockito/verification/
VerificationWithTimeout.java 11 * VerificationWithTimeout is a {@link VerificationMode} that allows combining existing verification modes with 'timeout'. E.g:
14 * verify(mock, timeout(100).times(5)).foo();
16 * verify(mock, timeout(100).never()).bar();
18 * verify(mock, timeout(200).atLeastOnce()).baz();
27 * Allows verifying exact number of invocations within given timeout
29 * verify(mock, timeout(100).times(2)).someMethod("some arg");
43 * Verifies that interaction did not happen within given timeout. E.g:
45 * verify(mock, timeout(100).never()).someMethod();
59 * Allows at-least-once verification withing given timeout. E.g:
61 * verify(mock, timeout(100).atLeastOnce()).someMethod("some arg")
    [all...]
  /external/wpa_supplicant_8/src/utils/
eloop.c 70 struct dl_list timeout; member in struct:eloop_data
130 dl_list_init(&eloop.timeout);
481 struct eloop_timeout *timeout, *tmp; local
484 timeout = os_zalloc(sizeof(*timeout));
485 if (timeout == NULL)
487 if (os_get_time(&timeout->time) < 0) {
488 os_free(timeout);
491 now_sec = timeout->time.sec;
492 timeout->time.sec += secs
540 struct eloop_timeout *timeout, *prev; local
563 struct eloop_timeout *timeout, *prev; local
730 struct eloop_timeout *timeout; local
820 struct eloop_timeout *timeout, *prev; local
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
p2p_find.py 3 # Will list all devices found/lost within a time frame (timeout)
17 print " %s -i <interface_name> [-t <timeout>] \ " \
22 print " -t = timeout = 0s (infinite)"
43 global timeout
53 def __init__(self,interface_name,wpas_dbus_interface,timeout):
55 self.timeout = int(timeout)
111 {'Timeout':int(self.timeout)})
117 # Required for timeout implementatio
125 timeout = 0 variable
    [all...]
p2p_listen.py 17 print " %s -i <interface_name> [-t <timeout>] \ " \
22 print " -t = timeout = 0s (infinite)"
41 global timeout
50 def __init__(self,interface_name,wpas_dbus_interface,timeout):
52 self.timeout = int(timeout)
104 self.p2p_interface.Listen(int(self.timeout))
107 # Required for timeout implementation
115 timeout = 0 variable
138 # Timeout
    [all...]
  /cts/libs/util/src/android/cts/util/
TimeoutReq.java 23 * Annotation to specify necessary timeout for the test
24 * timeout is specified in minutes and 0 value means no timeout ( = infinite waiting).
  /external/kernel-headers/original/linux/
genlock.h 14 int genlock_wait(struct genlock_handle *handle, u32 timeout);
17 u32 timeout);
31 int timeout; member in struct:genlock_lock
  /external/smack/src/org/jivesoftware/smackx/bytestreams/
BytestreamSession.java 60 * Returns the timeout for read operations of the input stream associated with this session. 0
61 * returns implies that the option is disabled (i.e., timeout of infinity). Default is 0.
63 * @return the timeout for read operations
69 * Sets the specified timeout, in milliseconds. With this option set to a non-zero timeout, a
71 * of time. If the timeout expires, a java.net.SocketTimeoutException is raised, though the
73 * to have effect. The timeout must be > 0. A timeout of zero is interpreted as an infinite
74 * timeout. Default is 0.
76 * @param timeout the specified timeout, in milliseconds
    [all...]
  /external/webkit/LayoutTests/fast/dom/beforeload/
remove-flash-in-beforeload-listener.html 12 var timeout = 100;
41 setTimeout("checkObjectRemoval()", timeout);
44 setTimeout("checkObjectRemoval()", timeout);
remove-image-in-beforeload-listener.html 12 var timeout = 100;
41 setTimeout("checkObjectRemoval()", timeout);
44 setTimeout("checkObjectRemoval()", timeout);
remove-video-in-beforeload-listener.html 12 var timeout = 100;
41 setTimeout("checkObjectRemoval()", timeout);
44 setTimeout("checkObjectRemoval()", timeout);
  /libcore/luni/src/main/java/java/util/concurrent/
TimeoutException.java 11 * operations for which a timeout is specified need a means to
12 * indicate that the timeout has occurred. For many such operations it
13 * is possible to return a value that indicates timeout; when that is
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpServerSocket.java 34 private int timeout = 8000; field in class:Support_HttpServerSocket
48 instance.setSoTimeout(timeout);
55 * timeout for the server.
57 public void setTimeout(int timeout) {
58 this.timeout = timeout;
  /external/mtpd/
mtpd.h 47 * timeout intervals are in milliseconds, where zero means forever. To indicate
56 /* Connect to the server and return the next timeout interval. */
58 /* Process the incoming packet and return the next timeout interval. */
60 /* Handle the timeout event and return the next timeout interval. */
61 int (*timeout)(); member in struct:protocol
  /external/iptables/extensions/
libxt_IDLETIMER.c 35 {.name = "timeout", .id = O_TIMEOUT, .type = XTTYPE_UINT32,
36 .flags = XTOPT_MAND | XTOPT_PUT, XTOPT_POINTER(s, timeout)},
49 " --timeout time Timeout until the notification is sent (in seconds)\n"
63 printf(" timeout:%u", info->timeout);
74 printf(" --timeout %u", info->timeout);
  /external/nist-sip/java/javax/sip/header/
SubscriptionStateHeader.java 14 String TIMEOUT = "Timeout";
  /external/smack/asmack-master/static-src/custom/org/jivesoftware/smack/
AndroidConnectionConfiguration.java 39 * @param timeout
42 public AndroidConnectionConfiguration(String serviceName, int timeout) throws XMPPException {
44 AndroidInit(serviceName, timeout);
72 * @param timeout
75 private void AndroidInit(String serviceName, int timeout) throws XMPPException {
99 t.join(timeout);
101 throw new XMPPException("DNS lookup timeout after " + timeout + "ms", e);
  /external/smack/src/org/jivesoftware/smack/
AndroidConnectionConfiguration.java 39 * @param timeout
42 public AndroidConnectionConfiguration(String serviceName, int timeout) throws XMPPException {
44 AndroidInit(serviceName, timeout);
72 * @param timeout
75 private void AndroidInit(String serviceName, int timeout) throws XMPPException {
99 t.join(timeout);
101 throw new XMPPException("DNS lookup timeout after " + timeout + "ms", e);
  /external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
timeout.js 1 description("Tests that when timeout is non-zero, the success callback is called as expected.");
26 timeout: 1000
  /external/webkit/Source/WebCore/manual-tests/inspector/
forzen-ui-while-paused.html 3 var timeout = setTimeout(function() { alert("This should not happen. If you do see this alert, then timers on the page are firing while paused!") }, 0);
5 clearTimeout(timeout);
  /packages/apps/Email/src/com/android/email/
Throttle.java 30 * When {@link #onEvent()} is called, it calls the callback in a certain timeout later.
31 * Initially {@link #mMinTimeout} is used as the timeout, but if it gets multiple {@link #onEvent}
32 * calls in a certain amount of time, it extends the timeout, until it reaches {@link #mMaxTimeout}.
57 /** Minimum (default) timeout, in milliseconds. */
60 /** Max timeout, in milliseconds. */
63 /** Current timeout, in milliseconds. */
71 /** Constructor with default timeout */
76 /** Constructor that takes custom timeout */
121 if (DEBUG) debugLog("Timeout extended " + mTimeout);
124 if (DEBUG) debugLog("Timeout reset to " + mTimeout)
    [all...]

Completed in 2707 milliseconds

12 3 4 5 6 7 8 91011>>