HomeSort by relevance Sort by last modified time
    Searched defs:timeout (Results 226 - 250 of 1817) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/linux-x86/doc/progs/
go1.go 36 var timeout = flag.Duration("timeout", 30*time.Second, "how long to wait for completion") var
  /system/bt/stack/test/
stack_btu_test.cc 41 struct timespec timeout; local
42 clock_gettime(CLOCK_REALTIME, &timeout);
43 timeout.tv_sec += seconds;
48 // Call the callback if timeout occured
49 if (sem_timedwait(&sem, &timeout) == -1 && !callback.is_null()) {
  /system/bt/vendor_libs/linux/interface/
async_fd_watcher.cc 52 const std::chrono::milliseconds timeout,
54 // Add timeout and callback
58 timeout_ms_ = timeout;
136 struct timeval timeout; local
139 timeout.tv_sec = timeout_ms_.count() / 1000;
140 timeout.tv_usec = (timeout_ms_.count() % 1000) * 1000;
141 timeout_ptr = &timeout;
151 // Timeout.
153 // Allow the timeout callback to modify the timeout
    [all...]
  /system/extras/boottime_tools/bootio/
bootio.cpp 67 int timeout = 0; local
79 timeout = atoi(components.at(LOG_TIMEOUT_INDEX).c_str());
86 if (timeout <= 0 || samples <= 0) {
91 if (samples > timeout || samples > LOG_MAX_SAMPLES || timeout > LOG_MAX_TIMEOUT) {
92 LOG(ERROR) << "Bad values for bootio. timeout=" << timeout <<
93 " samples=" << samples << " Max timeout=" << LOG_MAX_TIMEOUT <<
97 LOG(INFO) << "Boot I/O: collecting data. samples=" << samples << "timeout=" << timeout; local
    [all...]
  /system/extras/simpleperf/
InplaceSamplerClient.cpp 58 uint64_t timeout = GetSystemClock() + 10000000000ull; local
59 while (GetSystemClock() < timeout) {
  /system/gatekeeper/tests/
gatekeeper_device_test.cpp 122 int timeout = 0; local
132 timeout = ret;
136 ASSERT_NE(0, timeout);
138 sleep((timeout + 999)/ 1000);
198 // shoudln't be a timeout
  /system/media/audio_utils/tests/
fifo_threads.cpp 39 struct timespec timeout; local
40 timeout.tv_sec = 30;
41 timeout.tv_nsec = 0;
43 ssize_t actual = context->mInputReader->read(buffer, sizeof(buffer), &timeout);
50 ssize_t actual2 = context->mTransferWriter->write(buffer, actual, &timeout);
74 struct timespec timeout; local
75 timeout.tv_sec = 60;
76 timeout.tv_nsec = 0;
78 ssize_t actual = context->mTransferReader->read(buffer, sizeof(buffer), &timeout);
84 ssize_t actual2 = context->mOutputWriter->write(buffer, actual, NULL /*timeout*/);
    [all...]
  /system/update_engine/update_manager/
evaluation_context_unittest.cc 247 // Test that reevaluation occurs when a polling timeout fires.
254 // Check that the scheduled callback isn't run until the timeout occurs.
271 // Check that the scheduled callback isn't run until the timeout occurs.
345 // 10 seconds to give time to the main loop to trigger the timeout Event (of 1
347 // was removed before the timeout event is attended.
356 // Test that the evaluation timeout calculation uses the default timeout on
367 TimeDelta timeout = default_timeout_ - TimeDelta::FromSeconds(1); local
369 EXPECT_CALL(mock_var_async_, GetValue(timeout, _))
  /test/suite_harness/common/util/src/com/android/compatibility/common/util/
LogcatInspector.java 97 long timeout = System.currentTimeMillis() + TimeUnit.SECONDS.toMillis(timeInSeconds); local
99 while (timeout >= System.currentTimeMillis()) {
  /test/vts/runners/host/tcp_client/
vts_tcp_client.py 57 timeout: tcp connection timeout.
62 timeout=_DEFAULT_SOCKET_TIMEOUT_SECS):
66 self.timeout = timeout
69 def timeout(self): member in class:VtsTcpClient
70 """Get TCP connection timeout.
72 This function assumes timeout property setter is in __init__before
76 int, timeout
80 @timeout.sette
81 def timeout(self, timeout): member in class:VtsTcpClient
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
BluetoothSharingRestrictionTest.java 112 final long timeout = SystemClock.elapsedRealtime() + COMPONENT_STATE_TIMEOUT_MS; local
114 while (SystemClock.elapsedRealtime() < timeout) {
123 + ", it but was " + state + " after timeout.");
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsSyncAdapter.java 80 final long timeout = SystemClock.elapsedRealtime() + (TIMEOUT_SECONDS * 1000); local
88 final long sleep = timeout - SystemClock.elapsedRealtime();
118 final long timeout = SystemClock.elapsedRealtime() + (TIMEOUT_SECONDS * 1000); local
127 final long sleep = timeout - SystemClock.elapsedRealtime();
  /cts/tests/tests/net/src/android/net/wifi/cts/
ConcurrencyTest.java 111 long timeout = System.currentTimeMillis() + TIMEOUT_MSEC; local
112 while (System.currentTimeMillis() < timeout
  /device/google/accessory/arduino/USB_Host_Shield/
Usb.cpp 154 fe USB xfer timeout */
238 unsigned long timeout = millis() + USB_XFER_TIMEOUT; local
255 while( rcode && ( timeout > millis())) {
266 return( rcode ); //return TIMEOUT
289 /* If nak_limit == 0, do not count NAKs, exit after timeout */
290 /* If bus timeout, re-sends up to USB_RETRY_LIMIT times */
291 /* return codes 0x00-0x0f are HRSLT( 0x00 being success ), 0xff means timeout */
294 unsigned long timeout = millis() + USB_XFER_TIMEOUT; local
300 while( timeout > millis() ) {
303 while( millis() < timeout ) { //wait for transfer completion
    [all...]
  /device/google/cuttlefish_common/common/libs/usbforward/
protocol.h 140 uint32_t timeout; member in struct:usb_forward::ControlTransfer
150 uint32_t timeout; member in struct:usb_forward::DataTransfer
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
connection.h 48 /* the timeout value in seconds for database locks */
49 double timeout; member in struct:__anon4706
51 /* for internal use in the timeout handler: when did the timeout handler
  /external/adhd/cras/src/common/
cras_util.c 173 int cras_poll(struct pollfd *fds, nfds_t nfds, struct timespec *timeout,
182 if (timeout) {
183 /* Treat a negative timeout as valid (but timed-out) since
184 * this function could update timeout to have negative tv_sec
186 if (timeout->tv_sec < 0 || timeout->tv_nsec < 0)
191 add_timespecs(&future, timeout);
199 rc = ppoll(fds, nfds, timeout, sigmask);
200 if (rc == 0 && timeout) {
207 if (timeout) {
233 struct timeval timeout; local
    [all...]
  /external/chromium-trace/catapult/third_party/pyserial/serial/
serialjava.py 153 """Read size bytes from the serial port. If a timeout is set it may
154 return less characters as requested. With no timeout it will block
162 if self.timeout >= 0:
249 timeout=3, # set a timeout value, None for waiting forever variable in class:.Serial
  /external/curl/docs/examples/
http2-serverpush.c 231 struct timeval timeout; local
246 /* set a suitable timeout to play around with */
247 timeout.tv_sec = 1;
248 timeout.tv_usec = 0;
252 timeout.tv_sec = curl_timeo / 1000;
253 if(timeout.tv_sec > 1)
254 timeout.tv_sec = 1;
256 timeout.tv_usec = (curl_timeo % 1000) * 1000;
284 /* Note that on some platforms 'timeout' may be modified by select().
286 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
    [all...]
multi-uv.c 42 uv_timer_t timeout; variable
162 uv_timer_stop(&timeout);
168 uv_timer_start(&timeout, on_timeout, timeout_ms, 0);
221 uv_timer_init(loop, &timeout);
  /external/curl/lib/
socks.c 65 /* we already got the timeout */
385 timediff_t timeout; local
404 /* get timeout */
405 timeout = Curl_timeleft(data, NULL, TRUE);
407 if(timeout < 0) {
416 result = SOCKET_WRITABLE(sock, timeout);
423 failf(conn->data, "SOCKS5: connection timeout");
468 result = SOCKET_READABLE(sock, timeout);
475 failf(conn->data, "SOCKS5 read timeout");
  /external/curl/tests/libtest/
lib1900.c 172 long timeout; local
221 curl_multi_timeout(m, &timeout);
223 if(timeout < 0)
224 timeout = 1;
226 interval.tv_sec = timeout / 1000;
227 interval.tv_usec = (timeout % 1000) * 1000;
lib582.c 128 * 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)
177 result = (ssize_t)((timeout->tv_sec - now.tv_sec) * 1000000 +
178 timeout->tv_usec - now.tv_usec);
234 struct timeval timeout = {-1, 0}; local
297 multi_setopt(m, CURLMOPT_TIMERDATA, &timeout);
    [all...]
libntlmconnect.c 129 long timeout = -99; local
184 multi_timeout(multi, &timeout);
186 /* At this point, timeout is guaranteed to be greater or equal than -1. */
188 fprintf(stderr, "%s:%d num_handles %d timeout %ld\n",
189 __FILE__, __LINE__, num_handles, timeout);
191 if(timeout != -1L) {
192 int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeout;
200 /* if there's no timeout and we get here on the last handle, we may
  /external/dhcpcd-6.8.2/
eloop.c 273 /* Remove existing timeout if present */
299 /* The timeout list should be in chronological order,
527 int timeout; local
567 timeout = -1;
571 timeout = INT_MAX;
573 timeout = (int)(tsp->tv_sec * 1000 +
581 n = epoll_pwait(ctx->poll_fd, &epe, 1, timeout,
584 n = epoll_wait(ctx->poll_fd, &epe, 1, timeout);
591 n = poll(ctx->fds, (nfds_t)ctx->events_len, timeout);

Completed in 1445 milliseconds

1 2 3 4 5 6 7 8 91011>>