/external/chromium_org/net/dns/ |
dns_session.cc | 25 // Never exceed max timeout. 27 // Set min timeout, in case we are talking to a local DNS proxy. 32 // Target percentile in the RTT histogram used for retransmission timeout. 41 // Seed histogram with 2 samples at |rtt_estimate| timeout. 48 // Last time when server returned failure or timeout. 94 server_stats_.push_back(new ServerStats(config_.timeout, 214 // Respect config timeout if it exceeds |kMaxTimeoutMs|. 215 if (config_.timeout.InMilliseconds() >= kMaxTimeoutMs) 216 return config_.timeout; 255 base::TimeDelta timeout = server_stats_[server_index]->rtt_estimate local 286 base::TimeDelta timeout = local [all...] |
/external/mtpd/ |
mtpd.c | 158 int timeout; local 175 timeout = initialize(argc, argv); 191 while (timeout >= 0) { 192 if (poll(pollfds, 3, timeout ? timeout : -1) == -1 && errno != EINTR) { 202 timeout = pollfds[0].revents ? 203 the_protocol->process() : the_protocol->timeout(); 208 if (!timeout) { 209 timeout = 5000; 214 if (timeout < 0) [all...] |
/cts/tests/src/android/app/cts/ |
IntentServiceStub.java | 52 public static void waitToFinish(long timeout) throws Throwable { 53 new PollingCheck(timeout) {
|
/external/apache-http/src/org/apache/http/conn/params/ |
ConnManagerParams.java | 56 * Returns the timeout in milliseconds used when retrieving a 60 * @return timeout in milliseconds. 66 return params.getLongParameter(TIMEOUT, 0); 70 * Sets the timeout in milliseconds used when retrieving a 74 * @param timeout the timeout in milliseconds 76 public static void setTimeout(final HttpParams params, long timeout) { 80 params.setLongParameter(TIMEOUT, timeout);
|
/external/apache-http/src/org/apache/http/impl/io/ |
SocketInputBuffer.java | 74 public boolean isDataAvailable(int timeout) throws IOException { 79 this.socket.setSoTimeout(timeout);
|
/external/bluetooth/bluedroid/bta/include/ |
bta_fs_ci.h | 74 UINT32 timeout; member in struct:__anon397 205 UINT32 timeout, UINT32 offset, UINT8 ssn, UINT8 info,
|
/external/chromium/base/synchronization/ |
waitable_event_win.cc | 62 double timeout = ceil(max_time.InMillisecondsF()); local 63 DWORD result = WaitForSingleObject(handle_, static_cast<DWORD>(timeout)); 90 INFINITE); // no timeout
|
/external/chromium_org/base/ |
sync_socket.h | 62 // Same as Receive() but only blocks for data until |timeout| has elapsed or 67 TimeDelta timeout); 115 TimeDelta timeout) OVERRIDE;
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/ |
AndroidProfileOAuth2TokenServiceHelper.java | 48 long timeout, TimeUnit unit) { 50 context, activity, account, scope, timeout, unit);
|
/external/chromium_org/chrome/test/pyautolib/ |
pyautolib.h | 81 int timeout); 105 const base::TimeDelta& timeout,
|
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
JavaScriptUtils.java | 59 final long timeout, final TimeUnit timeoutUnits) 71 helper.waitUntilHasValue(timeout, timeoutUnits);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
syncobj.c | 115 GLbitfield flags, GLuint64 timeout) 120 (void) timeout; 123 * the state of the sync object changes or the timeout expires. 299 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) 323 * if <sync> was signaled, even if the value of <timeout> is zero. 329 if (timeout == 0) { 332 ctx->Driver.ClientWaitSync(ctx, syncObj, flags, timeout); 344 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) 362 * If the value of <timeout> is zero, then WaitSync does nothing. 364 if (timeout == 0) [all...] |
syncobj.h | 72 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); 75 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prtpool.h | 54 PRIntervalTime timeout; member in struct:PRJobIoDesc 92 PR_QueueJob_Timer(PRThreadPool *tpool, PRIntervalTime timeout,
|
/external/chromium_org/third_party/pexpect/ |
fdpexpect.py | 34 def __init__ (self, fd, args=[], timeout=30, maxread=2000, searchwindowsize=None, logfile=None): 56 spawn.__init__(self, None, args, timeout, maxread, searchwindowsize, logfile)
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
loop.py | 11 - wait_timeout: Timeout to wait for media to loop. Default is 34 timeout = (self.wait_timeout if hasattr(self, 'wait_timeout') 39 self.WaitForEvent(tab, selector, 'loop', timeout)
|
seek.py | 16 - wait_timeout: Timeout to wait for seeked event. Only valid with 40 timeout = self.wait_timeout if hasattr(self, 'wait_timeout') else 60 43 self.WaitForEvent(tab, selector, 'seeked', timeout)
|
/external/dropbear/ |
common-session.c | 123 struct timeval timeout; local 129 timeout.tv_sec = SELECT_TIMEOUT; 130 timeout.tv_usec = 0; 149 val = select(ses.maxfd+1, &readfd, &writefd, NULL, &timeout); 176 /* check for auth timeout, rekeying required etc */ 289 struct timeval timeout; local 306 timeout.tv_sec = 1; 307 timeout.tv_usec = 0; 308 if (select(fd+1, &fds, NULL, NULL, &timeout) < 0) { 369 dropbear_close("Timeout before auth") [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractCheckedFuture.java | 105 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X { 107 return get(timeout, unit);
|
ForwardingCheckedFuture.java | 50 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X { 51 return delegate().checkedGet(timeout, unit);
|
ForwardingFuture.java | 67 public V get(long timeout, TimeUnit unit) 69 return delegate().get(timeout, unit);
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSStatefulObject.java | 25 * This class define a semaphore. On this multiple threads can wait the arrival of one event. Thread wait for a maximum defined by the timeout. 27 * Implementation note: this class is based on {@link java.util.concurrent.Semaphore} so that they can be released by the timeout timer. 50 * Blocks the current thread until the event arrives or the timeout expires. 52 * @param timeout 55 public void waitForEvent(long timeout) { 65 semaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS); 379 public boolean waitForAnnounced(long timeout) { 381 _announcing.waitForEvent(timeout); 397 public boolean waitForCanceled(long timeout) { 399 _canceling.waitForEvent(timeout); [all...] |
/external/junit/src/org/junit/internal/runners/statements/ |
FailOnTimeout.java | 13 public FailOnTimeout(Statement originalStatement, long timeout) { 15 fTimeout= timeout;
|
/external/libusb/libusb/os/ |
linux_usbfs.h | 34 uint32_t timeout; /* in milliseconds */ member in struct:usbfs_ctrltransfer 44 unsigned int timeout; /* in milliseconds */ member in struct:usbfs_bulktransfer
|
/external/mesa3d/src/mesa/main/ |
syncobj.c | 115 GLbitfield flags, GLuint64 timeout) 120 (void) timeout; 123 * the state of the sync object changes or the timeout expires. 299 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) 323 * if <sync> was signaled, even if the value of <timeout> is zero. 329 if (timeout == 0) { 332 ctx->Driver.ClientWaitSync(ctx, syncObj, flags, timeout); 344 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) 362 * If the value of <timeout> is zero, then WaitSync does nothing. 364 if (timeout == 0) [all...] |