Searched refs:timeout (Results 151 - 175 of 1476) sorted by relevance

1234567891011>>

/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
H A Dp2p_disconnect.py40 global timeout
49 def __init__(self,interface_name,wpas_dbus_interface,timeout):
53 self.timeout = timeout
104 # Required for timeout implementation
113 timeout = 5 variable
152 wpas_dbus_interface,timeout)
163 time.sleep(int(p2p_disconnect_test.timeout))
H A Dp2p_flush.py40 global timeout
49 def __init__(self,interface_name,wpas_dbus_interface,timeout):
53 self.timeout = timeout
104 # Required for timeout implementation
113 timeout = 5 variable
151 p2p_flush_test = P2P_Flush(interface_name, wpas_dbus_interface,timeout)
162 time.sleep(int(p2p_flush_test.timeout))
H A Dp2p_stop_find.py42 global timeout
51 def __init__(self,interface_name,wpas_dbus_interface,timeout):
55 self.timeout = timeout
109 # Required for timeout implementation
118 timeout = 5 variable
157 wpas_dbus_interface,timeout)
168 time.sleep(int(p2p_stop_find_test.timeout))
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
H A DTestOptions.java64 * <li><code>jpda.settings.timeout</code>
65 * - timeout used in JPDA tests
67 * - timeout for waiting events
77 /** Default timeout value for various operations. */
103 // current timeout value (negative means using default value)
104 private long timeout = -1; field in class:TestOptions
392 * Returns timeout for JPDA tests in milliseconds.
394 * @return option "jpda.settings.timeout" or DEFAULT_TIMEOUT by default.
397 if (timeout < 0) {
398 timeout
417 setTimeout(long timeout) argument
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DUninterruptibles.java36 * continues to block until the result is available or the timeout elapses,
45 // Implementation Note: As of 3-7-11, the logic for each blocking/timeout
73 * await(timeout, unit)} uninterruptibly.
76 long timeout, TimeUnit unit) {
79 long remainingNanos = unit.toNanos(timeout);
151 * {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)}
163 Future<V> future, long timeout, TimeUnit unit)
167 long remainingNanos = unit.toNanos(timeout);
189 * timedJoin(toJoin, timeout)} uninterruptibly.
192 long timeout, TimeUni
75 awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) argument
162 getUninterruptibly( Future<V> future, long timeout, TimeUnit unit) argument
191 joinUninterruptibly(Thread toJoin, long timeout, TimeUnit unit) argument
295 tryAcquireUninterruptibly( Semaphore semaphore, long timeout, TimeUnit unit) argument
306 tryAcquireUninterruptibly( Semaphore semaphore, int permits, long timeout, TimeUnit unit) argument
[all...]
H A DForwardingExecutorService.java48 public boolean awaitTermination(long timeout, TimeUnit unit) argument
50 return delegate().awaitTermination(timeout, unit);
61 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
63 return delegate().invokeAll(tasks, timeout, unit);
74 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
76 return delegate().invokeAny(tasks, timeout, unit);
60 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
73 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/external/autotest/client/site_tests/platform_SuspendStress/
H A Dplatform_SuspendStress.py36 def power_state_cycle(self, timeout=None):
39 if timeout and time.mktime(time.localtime()) > timeout:
40 raise error.TestFail('didn\'t find %s before timeout.' %
55 timeout=30, sleep_interval=1)
/external/curl/tests/libtest/
H A Dlib591.c83 /* server connection timeout */
96 long timeout = -99; local
114 multi_timeout(multi, &timeout);
116 /* At this point, timeout is guaranteed to be greater or equal than -1. */
118 if(timeout != -1L) {
119 int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeout;
H A Dlib597.c97 long timeout = -99; local
115 multi_timeout(multi, &timeout);
117 /* At this point, timeout is guaranteed to be greater or equal than -1. */
119 if(timeout != -1L) {
120 int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeout;
H A Dlib582.c128 * Callback invoked by curl to set a timeout.
132 struct timeval* timeout = userp; local
136 *timeout = tutil_tvnow();
137 timeout->tv_usec += timeout_ms * 1000;
140 timeout->tv_sec = -1;
172 static int getMicroSecondTimeout(struct timeval* timeout) argument
177 result = (timeout->tv_sec - now.tv_sec) * 1000000 +
178 timeout->tv_usec - now.tv_usec;
235 struct timeval timeout = {-1, 0}; local
299 multi_setopt(m, CURLMOPT_TIMERDATA, &timeout);
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
H A Ddevtools_client_backend.py216 def RequestNewTab(self, timeout):
235 return self._devtools_http.Request('new', timeout=timeout)
237 def CloseTab(self, tab_id, timeout):
246 timeout=timeout)
252 def ActivateTab(self, tab_id, timeout):
261 timeout=timeout)
321 self, trace_config, custom_categories=None, timeout
[all...]
/external/dbus/dbus/
H A Ddbus-mainloop.c77 DBusTimeout *timeout; member in struct:__anon3460
85 timeout_callback_new (DBusTimeout *timeout) argument
93 cb->timeout = timeout;
391 DBusTimeout *timeout)
395 tcb = timeout_callback_new (timeout);
415 DBusTimeout *timeout)
425 if (this->timeout == timeout)
438 _dbus_warn ("could not find timeout
390 _dbus_loop_add_timeout(DBusLoop *loop, DBusTimeout *timeout) argument
414 _dbus_loop_remove_timeout(DBusLoop *loop, DBusTimeout *timeout) argument
445 check_timeout(unsigned long tv_sec, unsigned long tv_usec, TimeoutCallback *tcb, int *timeout) argument
600 long timeout; local
[all...]
/external/chromium-trace/catapult/third_party/Paste/paste/auth/
H A Dcookie.py91 The timeout of the cookie is handled on the server side for a few
95 intentionally). The timeout is specified in minutes; and expiration
110 ``timeout``
114 cookie is sent, hence this is effectively a session timeout
116 timeout, it is set at 30 minutes.
128 def __init__(self, secret = None, timeout = None, maxlen = None):
129 self.timeout = timeout or 30
130 if isinstance(timeout, six.string_types):
133 % timeout)
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
H A Dlocked_file.py91 def open_and_lock(self, timeout, delay):
95 timeout: float, How long to try to lock for.
108 def open_and_lock(self, timeout, delay):
114 timeout: float, How long to try to lock for.
148 if (time.time() - start_time) >= timeout:
150 lock_filename, timeout)
180 def open_and_lock(self, timeout, delay):
184 timeout: float, How long to try to lock for.
214 if timeout == 0:
219 if (time.time() - start_time) >= timeout
[all...]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_common.c160 DBusTimeout *timeout = sock_ctx; local
161 dbus_timeout_handle(timeout);
165 static dbus_bool_t add_timeout(DBusTimeout *timeout, void *data) argument
169 if (!dbus_timeout_get_enabled(timeout))
172 eloop_register_timeout(0, dbus_timeout_get_interval(timeout) * 1000,
173 process_timeout, priv, timeout);
175 dbus_timeout_set_data(timeout, priv, NULL);
181 static void remove_timeout(DBusTimeout *timeout, void *data) argument
185 eloop_cancel_timeout(process_timeout, priv, timeout);
186 dbus_timeout_set_data(timeout, NUL
190 timeout_toggled(DBusTimeout *timeout, void *data) argument
[all...]
/external/autotest/client/site_tests/p2p_ShareFiles/
H A Dp2p_ShareFiles.py43 def _run_lansim_loop(self, timeout=None, until=None):
46 self._sim.run(timeout=timeout, until=until)
74 self._run_lansim_loop(timeout=20, until=p2pcli.get_peers())
111 self._run_lansim_loop(timeout=30,
126 self._run_lansim_loop(timeout=3)
/external/jmdns/src/javax/jmdns/
H A DJmDNS.java188 * Get service information. If the information is not cached, the method will block for the given timeout until updated information is received.
190 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
196 * @param timeout
197 * timeout in milliseconds. Typical timeout should be 5s.
200 public abstract ServiceInfo getServiceInfo(String type, String name, long timeout); argument
218 * Get service information. If the information is not cached, the method will block for the given timeout until updated information is received.
220 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
226 * @param timeout
227 * timeout i
232 getServiceInfo(String type, String name, boolean persistent, long timeout) argument
270 requestServiceInfo(String type, String name, long timeout) argument
284 requestServiceInfo(String type, String name, boolean persistent, long timeout) argument
395 list(String type, long timeout) argument
415 listBySubtype(String type, long timeout) argument
[all...]
H A DJmmDNS.java164 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
170 * @param timeout
171 * timeout in milliseconds. Typical timeout should be 5s.
175 public abstract ServiceInfo[] getServiceInfos(String type, String name, long timeout); argument
180 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
196 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
202 * @param timeout
203 * timeout in milliseconds. Typical timeout shoul
209 getServiceInfos(String type, String name, boolean persistent, long timeout) argument
246 requestServiceInfo(String type, String name, long timeout) argument
261 requestServiceInfo(String type, String name, boolean persistent, long timeout) argument
360 list(String type, long timeout) argument
382 listBySubtype(String type, long timeout) argument
[all...]
/external/libdrm/tests/kms/
H A Dkms-steal-crtc.c119 struct timeval timeout; local
122 memset(&timeout, 0, sizeof(timeout));
123 timeout.tv_sec = 5;
124 timeout.tv_usec = 0;
129 err = select(nfds, &fds, NULL, NULL, &timeout);
/external/autotest/client/common_lib/
H A Dpxssh.py73 def __init__ (self, timeout=30, maxread=2000, searchwindowsize=None, logfile=None, cwd=None, env=None):
74 spawn.__init__(self, None, timeout=timeout, maxread=maxread, searchwindowsize=searchwindowsize, logfile=logfile, cwd=cwd, env=env)
136 self.read_nonblocking(size=10000,timeout=1) # GAS: Clear out the cache before getting the prompt
140 x = self.read_nonblocking(size=1000,timeout=1)
144 a = self.read_nonblocking(size=1000,timeout=1)
148 b = self.read_nonblocking(size=1000,timeout=1)
171 a timeout when looking for the prompt we assume that the original
194 i = self.expect(["(?i)are you sure you want to continue connecting", original_prompt, "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT, "(?i)connection closed by remote host"], timeout=login_timeout)
268 def prompt (self, timeout
[all...]
/external/libmicrohttpd/src/examples/
H A Dspdy_event_loop.c357 struct timeval timeout; local
376 timeout.tv_sec = 1;
377 timeout.tv_usec = 0;
381 timeout.tv_sec = timeoutlong / 1000;
382 timeout.tv_usec = (timeoutlong % 1000) * 1000;
385 printf("ret=%i; timeoutlong=%llu; sec=%llu; usec=%llu\n", ret, timeoutlong, (long long unsigned)timeout.tv_sec, (long long unsigned)timeout.tv_usec);
396 rc = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
436 timeout.tv_sec = 1;
437 timeout
[all...]
/external/autotest/client/cros/cellular/
H A Dbase_station_interface.py87 timeout=cellular.DEFAULT_TIMEOUT):
93 timeout: in seconds.
98 timeout=cellular.DEFAULT_TIMEOUT):
102 timeout: in seconds.
/external/autotest/client/site_tests/cellular_Signal/
H A Dcellular_Signal.py36 self, label, condition, exception=None, timeout=10, sleep_interval=0.5):
43 timeout: maximum number of seconds to wait
55 timeout=timeout,
89 service = env.CheckedConnectToCellular(timeout=CELLULAR_TIMEOUT)
103 timeout=CELLULAR_TIMEOUT,
111 timeout=CELLULAR_TIMEOUT,
120 timeout=CELLULAR_TIMEOUT,
131 timeout=CELLULAR_TIMEOUT,
/external/autotest/client/site_tests/desktopui_KillRestart/
H A Ddesktopui_KillRestart.py23 timeout=60)
37 timeout=60)
/external/autotest/client/site_tests/platform_CryptohomeStress/
H A Dplatform_CryptohomeStress.py31 timeout=30, sleep_interval=1)
38 timeout=runtime, sleep_interval=10)

Completed in 704 milliseconds

1234567891011>>