HomeSort by relevance Sort by last modified time
    Searched refs:timeout (Results 726 - 750 of 2264) sorted by null

<<21222324252627282930>>

  /libcore/luni/src/main/java/java/net/
InetAddress.java 641 * @param timeout
642 * timeout in milliseconds before the test fails if no connection
649 * if timeout is less than zero.
651 public boolean isReachable(int timeout) throws IOException {
652 return isReachable(null, 0, timeout);
665 * @param timeout
666 * timeout in milliseconds before the test fails if no connection
673 * if ttl or timeout is less than zero.
675 public boolean isReachable(NetworkInterface networkInterface, final int ttl, final int timeout) throws IOException {
676 if (ttl < 0 || timeout < 0)
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
CyclicBarrier.java 88 * point prematurely because of interruption, failure, or timeout, all
344 * <li>The specified timeout elapses; or
383 * @param timeout the time to wait for the barrier
384 * @param unit the time unit of the timeout parameter
390 * @throws TimeoutException if the specified timeout elapses
397 public int await(long timeout, TimeUnit unit)
401 return dowait(true, unit.toNanos(timeout));
408 * barrier due to interruption or timeout since
  /packages/apps/Email/tests/src/com/android/email/
TestUtils.java 118 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; local
119 while (System.currentTimeMillis() < timeout) {
128 fail(message + ": Timeout");
  /packages/apps/Exchange/src/com/android/exchange/service/
EasServerConnection.java 72 * Timeout for establishing a connection to the server.
77 * Timeout for http requests after the connection has been established.
174 private HttpClient getHttpClient(final long timeout) throws CertificateException {
178 HttpConnectionParams.setSoTimeout(params, (int)(timeout));
335 * @param timeout The timeout for this POST.
340 final long timeout) throws IOException, CertificateException {
382 return executeHttpUriRequest(method, timeout);
386 final long timeout) throws IOException, CertificateException {
393 return sendHttpClientPost(cmd, entity, timeout);
    [all...]
  /packages/apps/Nfc/nci/jni/
NativeSecureElement.cpp 154 int timeout = NfcTag::getInstance ().getTransceiveTimeout (TARGET_TYPE_ISO14443_4); //NFC service expects JNI to use ISO-DEP's timeout local
158 SecureElement::getInstance().transceive(reinterpret_cast<UINT8*>(&bytes[0]), bytes.size(), recvBuffer, recvBufferMaxSize, recvBufferActualSize, timeout); local
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothAdapter.java 125 void setDiscoverableTimeout(int timeout) {
126 mAdapter.setDiscoverableTimeout(timeout);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DictionaryPool.java 34 * As a deadlock-detecting device, if waiting for more than TIMEOUT = 3 seconds, we
43 private final static int TIMEOUT = 3;
82 public DictAndKeyboard poll(final long timeout, final TimeUnit unit)
88 // Our pool is already full. Wait until some dictionary is ready, or TIMEOUT
90 final DictAndKeyboard result = super.poll(timeout, unit);
109 return poll(TIMEOUT, TimeUnit.SECONDS);
  /system/core/include/usbhost/
usbhost.h 200 unsigned int timeout);
209 unsigned int timeout);
  /external/chromium_org/chrome/test/ui/
ui_test.cc 146 void UITestBase::set_action_timeout(base::TimeDelta timeout) {
147 automation()->set_action_timeout(timeout);
148 VLOG(1) << "Automation action timeout set to "
149 << timeout.InMilliseconds() << " ms";
152 void UITestBase::set_action_timeout_ms(int timeout) {
153 set_action_timeout(base::TimeDelta::FromMilliseconds(timeout));
377 ADD_FAILURE() << "Timeout reached in WaitUntilTabCount";
586 base::TimeDelta timeout) {
588 const int kMaxDelays = timeout / kDelay;
604 ADD_FAILURE() << "Timeout reached in WaitUntilJavaScriptCondition"
    [all...]
  /external/chromium_org/components/autofill/content/browser/risk/
fingerprint.cc 190 const base::TimeDelta& timeout,
205 // Timer to enforce a maximum timeout before the |callback_| is called, even
211 const base::TimeDelta& timeout,
214 timeout_timer_.Start(FROM_HERE, timeout,
246 const base::TimeDelta& timeout,
249 new GeopositionLoader(timeout, callback);
266 const base::TimeDelta& timeout,
312 // Timer to enforce a maximum timeout before the |callback_| is called, even
339 const base::TimeDelta& timeout,
356 timeout_timer_.Start(FROM_HERE, timeout,
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
asyncore.py 125 def poll(timeout=0.0, map=None):
141 time.sleep(timeout)
145 r, w, e = select.select(r, w, e, timeout)
170 def poll2(timeout=0.0, map=None):
174 if timeout is not None:
175 # timeout is in milliseconds
176 timeout = int(timeout*1000)
192 r = pollster.poll(timeout)
205 def loop(timeout=30.0, use_poll=False, map=None, count=None)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
asyncore.py 125 def poll(timeout=0.0, map=None):
141 time.sleep(timeout)
145 r, w, e = select.select(r, w, e, timeout)
170 def poll2(timeout=0.0, map=None):
174 if timeout is not None:
175 # timeout is in milliseconds
176 timeout = int(timeout*1000)
192 r = pollster.poll(timeout)
205 def loop(timeout=30.0, use_poll=False, map=None, count=None)
    [all...]
  /external/bluetooth/bluedroid/gki/ulinux/
gki_ulinux.c 610 struct timespec timeout; local
665 /* Compute next timeout:
666 * timeout = (next theoretical expiration) - current time
667 * timeout = (previous time + timeout + delay) - current time
668 * timeout = timeout + delay - (current time - previous time)
669 * timeout += delay - delta */
675 timeout.tv_sec = 0;
679 possible that the timeout value is negative. To protec
    [all...]
  /external/libusb-compat/libusb/
core.c 747 int size, int timeout)
751 usbi_dbg("endpoint %x size %d timeout %d", ep, size, timeout);
753 &actual_length, timeout);
764 int size, int timeout)
774 return usb_bulk_io(dev, ep, bytes, size, timeout);
778 int size, int timeout)
788 return usb_bulk_io(dev, ep, bytes, size, timeout);
792 int size, int timeout)
796 usbi_dbg("endpoint %x size %d timeout %d", ep, size, timeout)
    [all...]
  /bionic/libc/netbsd/resolv/
res_send.c 721 int timeout = (statp->retrans << ns); local
723 timeout /= statp->nscount;
725 if (timeout <= 0) {
726 timeout = 1;
729 __libc_format_log(ANDROID_LOG_DEBUG, "libc", "using timeout of %d sec\n", timeout);
732 return timeout;
948 struct timespec now, timeout, finish; local
960 timeout = evConsTime((long)sec, 0L);
961 finish = evAddTime(now, timeout);
983 struct timespec now, timeout; local
1055 struct timespec now, timeout, finish; local
    [all...]
  /bootable/recovery/minui/
minui.h 61 /* timeout has the same semantics as for poll
64 * > 0 : block for 'timeout' milliseconds
66 int ev_wait(int timeout);
  /cts/tests/tests/content/src/android/content/cts/
BroadcastReceiverTest.java 109 public synchronized void waitForReceiver(long timeout)
112 wait(timeout);
244 public synchronized boolean waitForService(long timeout) {
247 wait(timeout);
  /dalvik/vm/
Sync.h 89 s8 timeout, s4 nanos, bool interruptShouldThrow);
  /device/generic/goldfish/camera/
EmulatedCameraDevice.cpp 347 EmulatedCameraDevice::WorkerThread::Select(int fd, int timeout)
359 if (timeout) {
360 tv.tv_sec = timeout / 1000000;
361 tv.tv_usec = timeout % 1000000;
370 /* Timeout. */
371 return TIMEOUT;
  /device/generic/goldfish/camera/fake-pipeline2/
JpegCompressor.h 69 bool waitForDone(nsecs_t timeout);
  /external/apache-http/src/org/apache/http/impl/conn/
AbstractClientConnAdapter.java 190 public void setSocketTimeout(int timeout) {
193 conn.setSocketTimeout(timeout);
226 public boolean isResponseAvailable(int timeout)
233 return conn.isResponseAvailable(timeout);
  /external/arduino/hardware/arduino/cores/arduino/
WProgram.h 22 unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
  /external/chromium/net/proxy/
proxy_script_fetcher_impl.h 41 base::TimeDelta SetTimeoutConstraint(base::TimeDelta timeout);
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
socketmonitor.h 45 bool timeout; member in struct:cricket::ConnectionInfo
  /external/chromium_org/base/process/
kill.h 110 base::TimeDelta timeout);

Completed in 758 milliseconds

<<21222324252627282930>>