Home
last modified time | relevance | path

Searched refs:timeoutMillis (Results 1 – 25 of 48) sorted by relevance

12

/external/droiddriver/src/io/appium/droiddriver/actions/accessibility/
DAccessibilityClickAction.java35 protected AccessibilityClickAction(long timeoutMillis) { in AccessibilityClickAction() argument
36 super(timeoutMillis); in AccessibilityClickAction()
40 public DoubleClick(long timeoutMillis) { in DoubleClick() argument
41 super(timeoutMillis); in DoubleClick()
52 public LongClick(long timeoutMillis) { in LongClick() argument
53 super(timeoutMillis); in LongClick()
67 public SingleClick(long timeoutMillis) { in SingleClick() argument
68 super(timeoutMillis); in SingleClick()
DAccessibilityAction.java30 protected AccessibilityAction(long timeoutMillis) { in AccessibilityAction() argument
31 super(timeoutMillis); in AccessibilityAction()
DAccessibilityScrollAction.java38 public AccessibilityScrollAction(PhysicalDirection direction, long timeoutMillis) { in AccessibilityScrollAction() argument
39 super(timeoutMillis); in AccessibilityScrollAction()
/external/droiddriver/src/io/appium/droiddriver/base/
DDefaultPoller.java36 private long timeoutMillis = 10000; field in DefaultPoller
51 return timeoutMillis; in getTimeoutMillis()
55 public void setTimeoutMillis(long timeoutMillis) { in setTimeoutMillis() argument
56 this.timeoutMillis = timeoutMillis; in setTimeoutMillis()
61 return pollFor(driver, finder, checker, timeoutMillis); in pollFor()
66 long timeoutMillis) { in pollFor() argument
67 long end = SystemClock.uptimeMillis() + timeoutMillis; in pollFor()
93 "Timed out after %d milliseconds waiting for %s %s", timeoutMillis, finder, checker)); in pollFor()
DAbstractDroidDriver.java47 public boolean has(Finder finder, long timeoutMillis) { in has() argument
49 getPoller().pollFor(this, finder, Poller.EXISTS, timeoutMillis); in has()
/external/droiddriver/src/io/appium/droiddriver/actions/
DClickAction.java38 public DoubleClick(long timeoutMillis) { in DoubleClick() argument
39 super(timeoutMillis); in DoubleClick()
51 public LongClick(long timeoutMillis) { in LongClick() argument
52 super(timeoutMillis); in LongClick()
67 public SingleClick(long timeoutMillis) { in SingleClick() argument
68 super(timeoutMillis); in SingleClick()
83 protected ClickAction(long timeoutMillis) { in ClickAction() argument
84 super(timeoutMillis); in ClickAction()
DBaseAction.java23 private final long timeoutMillis; field in BaseAction
27 return timeoutMillis; in getTimeoutMillis()
30 protected BaseAction(long timeoutMillis) { in BaseAction() argument
31 this.timeoutMillis = timeoutMillis; in BaseAction()
DSwipeAction.java115 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis) { in SwipeAction() argument
116 this(direction, steps, drag, timeoutMillis, 0.1F, 0.1F, 0.1F, 0.1F); in SwipeAction()
131 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis, in SwipeAction() argument
133 super(timeoutMillis); in SwipeAction()
DEventAction.java27 protected EventAction(long timeoutMillis) { in EventAction() argument
28 super(timeoutMillis); in EventAction()
DKeyAction.java28 protected KeyAction(long timeoutMillis, boolean checkFocused) { in KeyAction() argument
29 super(timeoutMillis); in KeyAction()
DTextAction.java48 public TextAction(String text, long timeoutMillis, boolean checkFocused) {
49 super(timeoutMillis, checkFocused);
DSingleKeyAction.java63 public SingleKeyAction(int keyCode, int metaState, long timeoutMillis, boolean checkFocused) { in SingleKeyAction() argument
64 super(timeoutMillis, checkFocused); in SingleKeyAction()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DRequestFutureTarget.java186 …private synchronized R doGet(Long timeoutMillis) throws ExecutionException, InterruptedException, … in doGet() argument
199 if (timeoutMillis == null) { in doGet()
201 } else if (timeoutMillis > 0) { in doGet()
202 waiter.waitForTimeout(this, timeoutMillis); in doGet()
262 … public void waitForTimeout(Object toWaitOn, long timeoutMillis) throws InterruptedException { in waitForTimeout() argument
263 toWaitOn.wait(timeoutMillis); in waitForTimeout()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java286 long timeoutMillis() { in timeoutMillis() method in JSR166TestCase
523 assertThreadStaysAlive(thread, timeoutMillis()); in assertThreadStaysAlive()
544 assertThreadsStayAlive(timeoutMillis(), threads); in assertThreadsStayAlive()
566 assertFutureTimesOut(future, timeoutMillis()); in assertFutureTimesOut()
572 void assertFutureTimesOut(Future future, long timeoutMillis) { in assertFutureTimesOut() argument
575 future.get(timeoutMillis, MILLISECONDS); in assertFutureTimesOut()
581 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in assertFutureTimesOut()
726 void waitForThreadToEnterWaitState(Thread thread, long timeoutMillis) { in waitForThreadToEnterWaitState() argument
736 else if (millisElapsedSince(startTime) > timeoutMillis) { in waitForThreadToEnterWaitState()
776 void awaitTermination(Thread t, long timeoutMillis) { in awaitTermination() argument
[all …]
/external/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/
DPresencePollingTestBase.java57 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() argument
58 waitForHandlerActionDelayed(h, timeoutMillis, 0 /*delayMs*/); in waitForHandlerAction()
61 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument
66 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationDriver.java83 final long timeoutMillis = getPoller().getTimeoutMillis(); in getRootNode() local
88 uiAutomation.waitForIdle(idleTimeoutMillis, timeoutMillis); in getRootNode()
96 long end = SystemClock.uptimeMillis() + timeoutMillis; in getRootNode()
112 timeoutMillis)); in getRootNode()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordingCallback.java48 long timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS; in await() local
59 if (nowMillis >= timeoutMillis) break; in await()
60 wait(timeoutMillis - nowMillis); in await()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationDriver.java87 long timeoutMillis = getPoller().getTimeoutMillis(); in findRootView() local
88 long end = SystemClock.uptimeMillis() + timeoutMillis; in findRootView()
93 String.format("Cannot find the running activity after %d milliseconds", timeoutMillis)); in findRootView()
/external/droiddriver/src/io/appium/droiddriver/actions/view/
DViewAction.java30 protected ViewAction(long timeoutMillis) { in ViewAction() argument
31 super(timeoutMillis); in ViewAction()
/external/droiddriver/src/io/appium/droiddriver/util/
DInstrumentationUtils.java108 public static boolean tryWaitForIdleSync(long timeoutMillis) { in tryWaitForIdleSync() argument
114 emptyTask.get(timeoutMillis, TimeUnit.MILLISECONDS); in tryWaitForIdleSync()
118 "Timed out after " + timeoutMillis + " milliseconds waiting for idle on main looper"); in tryWaitForIdleSync()
DActivityUtils.java79 public static Activity getRunningActivity(long timeoutMillis) { in getRunningActivity() argument
83 if (InstrumentationUtils.tryWaitForIdleSync(timeoutMillis)) { in getRunningActivity()
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java266 @Override public void setConnectTimeout(int timeoutMillis) { in setConnectTimeout() argument
267 delegate.setConnectTimeout(timeoutMillis); in setConnectTimeout()
274 @Override public void setReadTimeout(int timeoutMillis) { in setReadTimeout() argument
275 delegate.setReadTimeout(timeoutMillis); in setReadTimeout()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java265 @Override public void setConnectTimeout(int timeoutMillis) { in setConnectTimeout() argument
266 delegate.setConnectTimeout(timeoutMillis); in setConnectTimeout()
273 @Override public void setReadTimeout(int timeoutMillis) { in setReadTimeout() argument
274 delegate.setReadTimeout(timeoutMillis); in setReadTimeout()
/external/droiddriver/src/io/appium/droiddriver/
DPoller.java138 <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, long timeoutMillis); in pollFor() argument
153 void setTimeoutMillis(long timeoutMillis); in setTimeoutMillis() argument
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeSsl.java379 void doHandshake(FileDescriptor fd, int timeoutMillis) in doHandshake() argument
386 NativeCrypto.SSL_do_handshake(ssl, this, fd, handshakeCallbacks, timeoutMillis); in doHandshake()
402 int read(FileDescriptor fd, byte[] buf, int offset, int len, int timeoutMillis) in read() argument
410 .SSL_read(ssl, this, fd, handshakeCallbacks, buf, offset, len, timeoutMillis); in read()
417 void write(FileDescriptor fd, byte[] buf, int offset, int len, int timeoutMillis) in write() argument
425 .SSL_write(ssl, this, fd, handshakeCallbacks, buf, offset, len, timeoutMillis); in write()

12