HomeSort by relevance Sort by last modified time
    Searched refs:timeout (Results 701 - 725 of 2223) sorted by null

<<21222324252627282930>>

  /external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
iprofiler_profiler.py 31 timeout=300)
52 util.WaitFor(Echo, timeout=5)
  /external/kernel-headers/original/linux/
usbdevice_fs.h 48 __u32 timeout; /* in milliseconds */ member in struct:usbdevfs_ctrltransfer
55 unsigned int timeout; /* in milliseconds */ member in struct:usbdevfs_bulktransfer
  /external/qemu/telephony/
sysdeps_posix.c 424 struct timeval timeout_tv, *timeout = NULL; local
435 timeout = &timeout_tv;
437 timeout->tv_sec = 0;
438 timeout->tv_usec = 0;
441 timeout->tv_sec = diff / 1000;
442 timeout->tv_usec = (diff - timeout->tv_sec*1000) * 1000;
446 n = select( _s_maxfd+1, &rfd, &wfd, &efd, timeout);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAsyncTask.java 71 public Result get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
72 return future.get(timeout, unit);
  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
Socks5Client.java 62 * @param timeout timeout to connect to SOCKS5 proxy in milliseconds
69 public Socket getSocket(int timeout) throws IOException, XMPPException, InterruptedException,
72 // wrap connecting in future for timeout
99 // get connection to initiator with timeout
101 return futureTask.get(timeout, TimeUnit.MILLISECONDS);
  /external/smack/src/org/jivesoftware/smackx/commands/
RemoteCommand.java 67 * The default value is the default packet reply timeout (5000 ms).
136 * @param timeout the amount of time to wait for a reply.
139 private void executeAction(Action action, Form form, long timeout) throws XMPPException {
159 Packet response = collector.nextResult(timeout);
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
ConnectivityManagerTestBase.java 357 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) {
360 if ((System.currentTimeMillis() - startTime) > timeout) {
393 public boolean waitForWifiState(int expectedState, long timeout) {
396 if ((System.currentTimeMillis() - startTime) > timeout) {
421 public boolean waitForWifiAPState(int expectedState, long timeout) {
424 if ((System.currentTimeMillis() - startTime) > timeout) {
449 * @param timeout is the maximum waiting time
453 public int waitForTetherStateChange(long timeout) {
456 if ((System.currentTimeMillis() - startTime) > timeout) {
543 // ping test timeout
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
CameraDeviceBinderTest.java 51 // Wait for capture result timeout value: 1500ms
53 // Wait for flush timeout value: 1000ms
55 // Wait for idle timeout value: 2000ms
353 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).times(1)).onResultReceived(
358 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED))
372 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).times(1)).onCaptureStarted(
377 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED))
404 verify(mMockCb, timeout(WAIT_FOR_IDLE_TIMEOUT_MS).times(1)).onCameraIdle();
414 verify(mMockCb, timeout(WAIT_FOR_IDLE_TIMEOUT_MS).times(2)).onCameraIdle();
444 verify(mMockCb, timeout(WAIT_FOR_FLUSH_TIMEOUT_MS).times(1)).onCameraIdle()
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkManagementServiceTest.java 30 import static org.mockito.Mockito.timeout;
81 return verify(mock, timeout(100));
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiAutomatorBridge.java 94 public void waitForIdle(long timeout) {
96 mUiAutomation.waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout);
  /frameworks/uiautomator/src/com/android/uiautomator/core/
UiAutomatorBridge.java 94 public void waitForIdle(long timeout) {
96 mUiAutomation.waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout);
  /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 117 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; local
118 while (System.currentTimeMillis() < timeout) {
127 fail(message + ": Timeout");
  /packages/apps/Exchange/src/com/android/exchange/service/
EasServerConnection.java 71 * Timeout for establishing a connection to the server.
76 * Timeout for http requests after the connection has been established.
173 private HttpClient getHttpClient(final long timeout) throws CertificateException {
177 HttpConnectionParams.setSoTimeout(params, (int)(timeout));
331 * @param timeout The timeout for this POST.
336 final long timeout) throws IOException, CertificateException {
377 return executeHttpUriRequest(method, timeout);
381 final long timeout) throws IOException, CertificateException {
388 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 145 void UITestBase::set_action_timeout(base::TimeDelta timeout) {
146 automation()->set_action_timeout(timeout);
147 VLOG(1) << "Automation action timeout set to "
148 << timeout.InMilliseconds() << " ms";
151 void UITestBase::set_action_timeout_ms(int timeout) {
152 set_action_timeout(base::TimeDelta::FromMilliseconds(timeout));
376 ADD_FAILURE() << "Timeout reached in WaitUntilTabCount";
585 base::TimeDelta timeout) {
587 const int kMaxDelays = timeout / kDelay;
603 ADD_FAILURE() << "Timeout reached in WaitUntilJavaScriptCondition"
    [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...]

Completed in 2916 milliseconds

<<21222324252627282930>>