/external/libchrome/base/test/ |
H A D | test_timeouts.cc | 26 // timeout multiplier. See http://crbug.com/412471 48 int timeout; local 49 base::StringToInt(string_value, &timeout); 50 *value = std::max(*value, timeout); 70 // The timeout values should increase in the order they appear in this block. 105 // Test launcher timeout is independent from anything above action timeout. 109 // The timeout values should be increasing in the right order.
|
/external/linux-kselftest/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 18 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout) 29 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout 39 # Turn down the timeout so failures don't take so long. 40 echo 1 >/sys/class/firmware/timeout 71 echo "$0: timeout works"
|
/external/ltp/testcases/kernel/syscalls/select/ |
H A D | select04.c | 51 struct timeval timeout; local 60 tst_brkm(TBROK, NULL, "Invalid timeout '%s'", 73 timeout = tst_us_to_timeval(sleep_us); 76 TEST(select(1, &sfds, NULL, NULL, &timeout)); 127 printf(" -s select() timeout lenght in us\n");
|
/external/rmi4utils/rmidevice/ |
H A D | hiddevice.h | 41 virtual int WaitForAttention(struct timeval * timeout = NULL, 43 virtual int GetAttentionReport(struct timeval * timeout, unsigned int source_mask, 76 int GetReport(int *reportId, struct timeval * timeout = NULL);
|
/external/skia/experimental/tools/ |
H A D | android_skp_capture.sh | 51 timeout=$(( $(date +%s) + $phase1_timeout_seconds)) 54 if [ $(date +%s) -gt $timeout ] ; then 71 timeout=$(( $(date +%s) + $phase2_timeout_seconds)) 74 if [ $(date +%s) -gt $timeout ] ; then
|
/external/tpm2/ |
H A D | PolicySecret.c | 69 // Create ticket and timeout buffer if in->expiration < 0 and this is not 77 // Generate timeout buffer. The format of output timeout buffer is 83 out->timeout.t.size = sizeof(UINT64); 84 UINT64_TO_BYTE_ARRAY(authTimeout, out->timeout.t.buffer); 93 // timeout buffer is null 94 out->timeout.t.size = 0;
|
/external/v8/tools/ |
H A D | update-wasm-fuzzers.sh | 21 ./tools/run-tests.py -j8 --variants=default --timeout=10 --arch=x64 \ 24 ./tools/run-tests.py -j8 --variants=default --timeout=10 --arch=x64 \ 27 ./tools/run-tests.py -j8 --variants=default --timeout=10 --arch=x64 \ 31 ./tools/run-tests.py -j8 --variants=default --timeout=10 --arch=x64 \ 34 ./tools/run-tests.py -j8 --variants=default --timeout=10 --arch=x64 \ 37 ./tools/run-tests.py -j8 --variants=default --timeout=10 --arch=x64 \
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | WrappingExecutorServiceTest.java | 107 long timeout = 5; 109 List<Future<String>> futures = testExecutor.invokeAll(tasks, timeout, unit); 110 mock.assertMethodWithTimeout("invokeAll", timeout, unit); 127 long timeout = 5; 129 String s = testExecutor.invokeAny(tasks, timeout, unit); 131 mock.assertMethodWithTimeout("invokeAny", timeout, unit); 201 public void assertMethodWithTimeout(String method, long timeout, TimeUnit unit) { argument 203 assertEquals(unit.toMillis(timeout), lastTimeoutInMillis); 207 public boolean awaitTermination(long timeout, TimeUnit unit) { argument 222 Collection<? extends Callable<T>> tasks, long timeout, TimeUni 221 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 240 invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument [all...] |
/external/autotest/client/cros/cellular/ |
H A D | environment.py | 53 response = urllib2.urlopen(http_config['url'], timeout=TIMEOUT).read() 61 def CheckedConnectToCellular(self, timeout=TIMEOUT): 63 (service, _) = cell_tools.ConnectToCellular(self.flim, timeout=timeout) 80 timeout=20,
|
/external/autotest/client/site_tests/video_VimeoVideo/ |
H A D | video_VimeoVideo.py | 39 timeout=self._WAIT_TIMEOUT_S) 52 timeout=self._WAIT_TIMEOUT_S, 60 timeout=self._WAIT_TIMEOUT_S) 80 timeout=self._WAIT_TIMEOUT_S, 99 timeout=self._WAIT_TIMEOUT_S,
|
/external/chromium-trace/catapult/devil/devil/android/ |
H A D | battery_utils.py | 192 def SupportsFuelGauge(self, timeout=None, retries=None): 196 timeout: timeout in seconds 208 def GetFuelGaugeChargeCounter(self, timeout=None, retries=None): 215 timeout: timeout in seconds 231 def GetNetworkData(self, package, timeout=None, retries=None): 236 timeout: timeout in seconds 269 def GetPowerData(self, timeout [all...] |
H A D | decorators.py | 6 Function/method decorators that provide timeout and retry logic. 25 """ Wraps a funcion with timeout and retry handling logic. 29 timeout_func: A callable that returns the timeout value. 32 |retries_func| to the wrapped function as 'timeout' and 39 timeout = timeout_func(*args, **kwargs) 42 kwargs['timeout'] = timeout 50 # Don't wrap if there's already an outer timeout thread. 56 return timeout_retry.Run(impl, timeout, retries, desc=desc, 70 'timeout' an [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | timeout_retry.py | 20 def __init__(self, timeout, threads=None): 22 self._watcher = watchdog_timer.WatchdogTimer(timeout) 34 Useful to send as the |timeout| parameter of async IO operations. 95 TimeoutRetryThreadGroup and the timeout expires. 122 def Run(func, timeout, retries, args=None, kwargs=None, desc=None, 128 timeout: the timeout in seconds for each try. 155 thread_group = TimeoutRetryThreadGroup(timeout, threads=[child_thread]) 158 thread_group.JoinAll(watcher=thread_group.GetWatcher(), timeout=60,
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
H A D | key_event.py | 74 def __init__(self, dom_key, timeout=60): 80 self._timeout = timeout 86 timeout=self._timeout) 92 timeout=self._timeout) 96 timeout=self._timeout)
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/ |
H A D | serialutil.py | 108 writeTimeoutError = SerialTimeoutException('Write timeout') 120 Note that when the serial port was opened with _NO_ timeout that 164 ('\n' by default) or until timeout.""" 180 """read a list of lines, until timeout. 182 if self.timeout is None: 183 raise ValueError("Serial port MUST have enabled timeout for this function!") 190 if line[-leneol:] != eol: # was the line received with a timeout? 198 timeout (empty read). sizehint is ignored.""" 244 timeout=None, # set a timeout valu 408 timeout = property(getTimeout, setTimeout, doc="Timeout setting for read()") variable in class:SerialBase [all...] |
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
H A D | HttpsServiceConnectionSE.java | 49 * @param timeout the timeout for the connection in milliseconds 53 int timeout) throws IOException { 56 updateConnectionParameters(timeout); 59 private void updateConnectionParameters(int timeout) { argument 60 connection.setConnectTimeout(timeout); 61 connection.setReadTimeout(timeout); // even if we connect fine we want to time out if we cant read anything.. 52 HttpsServiceConnectionSE(String host, int port, String file, int timeout) argument
|
H A D | ServiceConnectionSE.java | 57 * @param timeout the connection and read timeout for the http connection in milliseconds 60 public ServiceConnectionSE(String url, int timeout) throws IOException { argument 61 this(null, url, timeout); 64 public ServiceConnectionSE(Proxy proxy, String url, int timeout) throws IOException { argument 71 connection.setConnectTimeout(timeout); 72 connection.setReadTimeout(timeout); // even if we connect fine we want to time out if we cant read anything..
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
H A D | battery_utils.py | 160 def SupportsFuelGauge(self, timeout=None, retries=None): 164 timeout: timeout in seconds 176 def GetFuelGaugeChargeCounter(self, timeout=None, retries=None): 183 timeout: timeout in seconds 199 def GetNetworkData(self, package, timeout=None, retries=None): 204 timeout: timeout in seconds 237 def GetPowerData(self, timeout [all...] |
H A D | decorators.py | 6 Function/method decorators that provide timeout and retry logic. 25 """ Wraps a funcion with timeout and retry handling logic. 29 timeout_func: A callable that returns the timeout value. 32 |retries_func| to the wrapped function as 'timeout' and 39 timeout = timeout_func(*args, **kwargs) 42 kwargs['timeout'] = timeout 50 # Don't wrap if there's already an outer timeout thread. 56 return timeout_retry.Run(impl, timeout, retries, desc=desc, 70 'timeout' an [all...] |
/external/libmojo/third_party/catapult/devil/devil/utils/ |
H A D | timeout_retry.py | 18 def __init__(self, timeout, threads=None): 20 self._watcher = watchdog_timer.WatchdogTimer(timeout) 32 Useful to send as the |timeout| parameter of async IO operations. 93 TimeoutRetryThreadGroup and the timeout expires. 120 def Run(func, timeout, retries, args=None, kwargs=None, desc=None, 126 timeout: the timeout in seconds for each try. 153 thread_group = TimeoutRetryThreadGroup(timeout, threads=[child_thread]) 156 thread_group.JoinAll(watcher=thread_group.GetWatcher(), timeout=60,
|
/external/testng/src/main/java/org/testng/internal/thread/ |
H A D | ThreadUtil.java | 35 * @param timeout a maximum timeout to wait for tasks finalization
39 long timeout, boolean triggerAtOnce) {
43 Utils.log("ThreadUtil", 2, "Starting executor timeOut:" + timeout + "ms"
47 timeout, TimeUnit.MILLISECONDS,
71 if (timeout != 0) {
72 pooledExecutor.invokeAll(callables, timeout, TimeUnit.MILLISECONDS);
38 execute(List<? extends Runnable> tasks, int threadPoolSize, long timeout, boolean triggerAtOnce) argument
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
H A D | tracing_backend.py | 109 def StartTracing(self, chrome_trace_config, timeout=10): 137 response = self._inspector_websocket.SyncRequest(req, timeout) 156 rc = self._inspector_websocket.SyncRequest(req, timeout=2) 187 def DumpMemory(self, timeout=30): 194 TracingTimeoutException: If more than |timeout| seconds has passed 204 response = self._inspector_websocket.SyncRequest(request, timeout) 227 def CollectTraceData(self, trace_data_builder, timeout=60): 230 self._CollectTracingData(trace_data_builder, timeout) 233 def _CollectTracingData(self, trace_data_builder, timeout): 238 timeout [all...] |
/external/strace/tests/ |
H A D | poll.c | 183 const int timeout = 42; local 184 int rc = syscall(__NR_poll, tail_fds0, 0, timeout); 187 tprintf("poll([], 0, %d) = %d (Timeout)\n", timeout, rc); 189 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 195 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 202 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 208 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 214 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 220 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 229 rc = syscall(__NR_poll, tail_fds1, ARRAY_SIZE(pfds1), timeout); [all...] |
/external/strace/tests-m32/ |
H A D | poll.c | 183 const int timeout = 42; local 184 int rc = syscall(__NR_poll, tail_fds0, 0, timeout); 187 tprintf("poll([], 0, %d) = %d (Timeout)\n", timeout, rc); 189 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 195 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 202 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 208 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 214 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 220 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 229 rc = syscall(__NR_poll, tail_fds1, ARRAY_SIZE(pfds1), timeout); [all...] |
/external/strace/tests-mx32/ |
H A D | poll.c | 183 const int timeout = 42; local 184 int rc = syscall(__NR_poll, tail_fds0, 0, timeout); 187 tprintf("poll([], 0, %d) = %d (Timeout)\n", timeout, rc); 189 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 195 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 202 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 208 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 214 rc = syscall(__NR_poll, tail_fds0, ARRAY_SIZE(pfds0), timeout); 220 tprintf(", %u, %d) = %d (", ARRAY_SIZE(pfds0), timeout, rc); 229 rc = syscall(__NR_poll, tail_fds1, ARRAY_SIZE(pfds1), timeout); [all...] |