/prebuilts/ndk/9/platforms/android-5/arch-arm/usr/include/linux/ |
usbdevice_fs.h | 25 __u32 timeout; member in struct:usbdevfs_ctrltransfer 32 unsigned int timeout; member in struct:usbdevfs_bulktransfer
|
/prebuilts/ndk/9/platforms/android-8/arch-arm/usr/include/linux/ |
usbdevice_fs.h | 25 __u32 timeout; member in struct:usbdevfs_ctrltransfer 32 unsigned int timeout; member in struct:usbdevfs_bulktransfer
|
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/linux/ |
usbdevice_fs.h | 25 __u32 timeout; member in struct:usbdevfs_ctrltransfer 32 unsigned int timeout; member in struct:usbdevfs_bulktransfer
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/linux/ |
usbdevice_fs.h | 25 __u32 timeout; member in struct:usbdevfs_ctrltransfer 32 unsigned int timeout; member in struct:usbdevfs_bulktransfer
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/ |
usbdevice_fs.h | 25 __u32 timeout; member in struct:usbdevfs_ctrltransfer 32 unsigned int timeout; member in struct:usbdevfs_bulktransfer
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib2net.py | 12 TIMEOUT = 60 # seconds 218 f = urlopen(url, req, TIMEOUT) 226 if isinstance(err[0], socket.timeout): 227 print >>sys.stderr, "<timeout: %s>" % url 236 except socket.timeout: 237 print >>sys.stderr, "<timeout: %s>" % url 257 with test_support.transient_internet(url, timeout=None): 278 u = _urlopen_with_retry(url, timeout=None) 286 u = _urlopen_with_retry(url, timeout=120) 293 with test_support.transient_internet(self.FTP_HOST, timeout=None) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllib2net.py | 12 TIMEOUT = 60 # seconds 218 f = urlopen(url, req, TIMEOUT) 226 if isinstance(err[0], socket.timeout): 227 print >>sys.stderr, "<timeout: %s>" % url 236 except socket.timeout: 237 print >>sys.stderr, "<timeout: %s>" % url 257 with test_support.transient_internet(url, timeout=None): 278 u = _urlopen_with_retry(url, timeout=None) 286 u = _urlopen_with_retry(url, timeout=120) 293 with test_support.transient_internet(self.FTP_HOST, timeout=None) [all...] |
/system/core/libsync/ |
sync.c | 30 int sync_wait(int fd, int timeout) 32 __s32 to = timeout;
|
/external/chromium_org/build/android/ |
lighttpd_server.py | 121 for timeout in xrange(1, 5): 125 '127.0.0.1', self.port, timeout=timeout)) as http: 126 http.set_debuglevel(timeout > 3) 139 ix = self.process.expect([pexpect.TIMEOUT, pexpect.EOF, '.+'], 140 timeout=timeout) 146 return (client_error or 'Timeout', server_msg)
|
/external/chromium_org/build/android/pylib/base/ |
test_dispatcher.py | 145 watcher: A watchdog_timer.WatchdogTimer object, used as a shared timeout. 221 def _RunAllTests(runners, test_collection_factory, num_retries, timeout=None, 230 timeout: Watchdog timeout in seconds. 243 watcher = watchdog_timer.WatchdogTimer(timeout) 274 def _CreateRunners(runner_factory, devices, timeout=None): 284 timeout: Watchdog timeout in seconds, defaults to the default timeout. 298 threads.JoinAll(watchdog_timer.WatchdogTimer(timeout)) [all...] |
/external/chromium_org/content/gpu/ |
gpu_watchdog_thread.cc | 31 GpuWatchdogThread::GpuWatchdogThread(int timeout) 34 timeout_(base::TimeDelta::FromMilliseconds(timeout)), 43 DCHECK(timeout >= 0); 176 // be pretty sluggish, so allow some extra time before the next timeout. 177 base::TimeDelta timeout = timeout_ * (after_suspend ? 3 : 1); local 178 suspension_timeout_ = base::Time::Now() + timeout * 2; 194 timeout);
|
/external/chromium_org/net/dns/ |
dns_config_service.cc | 14 // Default values are taken from glibc resolv.h except timeout which is set to 21 timeout(base::TimeDelta::FromSeconds(kDnsTimeoutSeconds)), 39 (timeout == d.timeout) && 52 timeout = d.timeout; 75 dict->SetDouble("timeout", timeout.InSecondsF()); 190 // Give it a short timeout to come up with a valid config. Otherwise withdraw
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
OkHttpClient.java | 72 * Sets the default connect timeout for new connections. A value of 0 means no timeout. 76 public void setConnectTimeout(long timeout, TimeUnit unit) { 77 if (timeout < 0) { 78 throw new IllegalArgumentException("timeout < 0"); 83 long millis = unit.toMillis(timeout); 85 throw new IllegalArgumentException("Timeout too large."); 90 /** Default connect timeout (in milliseconds). */ 96 * Sets the default read timeout for new connections. A value of 0 means no timeout [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
TransferPipe.java | 79 String prefix, String[] args, long timeout) throws IOException, RemoteException { 92 tp.go(out, timeout); 104 String[] args, long timeout) throws IOException, RemoteException { 117 tp.go(out, timeout); 127 public void go(FileDescriptor out, long timeout) throws IOException { 131 mEndTime = SystemClock.uptimeMillis() + timeout; 144 if (DEBUG) Slog.i(TAG, "TIMEOUT!"); 146 throw new IOException("Timeout");
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 88 * @param timeout the time to wait if another rendering is happening. 95 public Result init(long timeout) { 98 Result result = acquireLock(timeout); 139 * The preparation can fail if another rendering took too long and the timeout was elapsed. 147 * @param timeout the time to wait if another rendering is happening. 155 public Result acquire(long timeout) { 162 Result result = acquireLock(timeout); 179 * @param timeout the time to wait if another rendering is happening. 185 private Result acquireLock(long timeout) { 189 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS) [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipSession.java | 395 * @param timeout the session will be timed out if the call is not 396 * established within {@code timeout} seconds. Default value (defined 397 * by SIP protocol) is used if {@code timeout} is zero or negative. 401 int timeout) { 403 mSession.makeCall(callee, sessionDescription, timeout); 415 * @param timeout the session will be timed out if the call is not 416 * established within {@code timeout} seconds. Default value (defined 417 * by SIP protocol) is used if {@code timeout} is zero or negative. 419 public void answerCall(String sessionDescription, int timeout) { 421 mSession.answerCall(sessionDescription, timeout); [all...] |
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
timm_osal_pipes.c | 182 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) 225 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) 306 TIMM_OSAL_U32 size, TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout) 318 if ((pHandle->messageCount == 0) && (timeout == TIMM_OSAL_NO_SUSPEND)) 320 /*If timeout is 0 and pipe is empty, return error */ 325 if ((timeout != TIMM_OSAL_NO_SUSPEND) && 326 (timeout != TIMM_OSAL_SUSPEND)) 329 supported. Going to read with infinite timeout now");
|
/libcore/crypto/src/main/java/org/conscrypt/ |
AbstractSessionContext.java | 42 volatile int timeout; field in class:AbstractSessionContext 67 * @param timeout for cache entries 69 AbstractSessionContext(int maximumSize, int timeout) { 71 this.timeout = timeout; 119 return timeout; 145 timeout = seconds; 152 // timeout as part of their validity condition.
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
AbstractPublicApiTest.java | 113 void runUntilStatus(int status, long timeout) throws TimeoutException { 116 waitForStatus(status, startMillis, timeout); 123 void waitForStatus(int expected, long afterMillis, long timeout) throws TimeoutException { 126 final long elapsedTimeout = SystemClock.elapsedRealtime() + timeout; 137 if (timeout > MINUTE_IN_MILLIS) { 145 if (timeout > MINUTE_IN_MILLIS) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_replication.py | 164 # The timeout is necessary in BDB 4.5, since DB_EVENT_REP_STARTUPDONE 168 timeout = time.time()+60 169 while (time.time()<timeout) and not (self.confirmed_master and self.client_startupdone) : 172 # the timeout. On windows this may be a deep issue, on other 175 # the timeout triggers, the rest of this test method usually passes 177 # timeout on stderr and keep soldering on. 178 if time.time()>timeout: 180 print >> sys.stderr, ("XXX: timeout happened before" 210 timeout=time.time()+10 211 while (time.time()<timeout) and [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_replication.py | 164 # The timeout is necessary in BDB 4.5, since DB_EVENT_REP_STARTUPDONE 168 timeout = time.time()+60 169 while (time.time()<timeout) and not (self.confirmed_master and self.client_startupdone) : 172 # the timeout. On windows this may be a deep issue, on other 175 # the timeout triggers, the rest of this test method usually passes 177 # timeout on stderr and keep soldering on. 178 if time.time()>timeout: 180 print >> sys.stderr, ("XXX: timeout happened before" 210 timeout=time.time()+10 211 while (time.time()<timeout) and [all...] |
/external/chromium_org/base/message_loop/ |
message_pump_win.cc | 85 double timeout = local 89 int delay = static_cast<int>(timeout); 539 int timeout = GetCurrentDelay(); local 540 if (timeout < 0) // Negative value means no timers waiting. 541 timeout = INFINITE; 543 WaitForIOCompletion(timeout, NULL); 546 bool MessagePumpForIO::WaitForIOCompletion(DWORD timeout, IOHandler* filter) { 550 if (!GetIOItem(timeout, &item)) 580 bool MessagePumpForIO::GetIOItem(DWORD timeout, IOItem* item) { 585 &overlapped, timeout)) { [all...] |
/external/tcpdump/ |
print-radius.c | 271 "Idle Timeout", 272 "Session Timeout", 370 { "Session Timeout", NULL, 0, 0, print_attr_num }, 371 { "Idle Timeout", NULL, 0, 0, print_attr_num }, 573 u_int32_t timeout; local 625 timeout = EXTRACT_32BITS( data); 626 if ( timeout < 60 ) 627 printf( "%02d secs", timeout); 630 if ( timeout < 3600 ) 632 timeout / 60, timeout % 60) [all...] |
/external/chromium/chrome/browser/sync/engine/ |
syncer_thread2_unittest.cc | 88 TimeDelta timeout() { function in class:browser_sync::SyncerThread2Test 115 done->TimedWait(timeout()); 139 done->TimedWait(timeout()); 215 done.TimedWait(timeout()); 232 done.TimedWait(timeout()); 256 done.TimedWait(timeout()); 285 done.TimedWait(timeout()); 322 done1.TimedWait(timeout()); 324 done.TimedWait(timeout()); 360 done1.TimedWait(timeout()); [all...] |
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
gki_ulinux.c | 451 int timeout = 1000; /* 10 ms per system tick */ local 456 delay.tv_sec = timeout / 1000; 457 delay.tv_nsec = 1000 * 1000 * (timeout%1000); 632 ** timeout - (input) the duration that the task wants to wait 636 ** Returns the event mask of received events or zero if timeout 639 UINT16 GKI_wait (UINT16 flag, UINT32 timeout) 648 GKI_TRACE_3("GKI_wait %d %x %d", rtask, flag, timeout); 685 if (timeout) 687 // timeout = GKI_MS_TO_TICKS(timeout); /* convert from milliseconds to ticks * [all...] |