Home
last modified time | relevance | path

Searched refs:timeoutMillis (Results 1 – 25 of 37) 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/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()
DCloseKeyboardAction.java52 public CloseKeyboardAction(long timeoutMillis, long keyboardDismissalDelayMillis) { in CloseKeyboardAction() argument
53 super(timeoutMillis); in CloseKeyboardAction()
/external/droiddriver/src/io/appium/droiddriver/util/
DInstrumentationUtils.java105 public static boolean tryWaitForIdleSync(long timeoutMillis) { in tryWaitForIdleSync() argument
111 emptyTask.get(timeoutMillis, TimeUnit.MILLISECONDS); in tryWaitForIdleSync()
115 "Timed out after " + timeoutMillis + " milliseconds waiting for idle on main looper"); in tryWaitForIdleSync()
DActivityUtils.java77 public static Activity getRunningActivity(long timeoutMillis) { in getRunningActivity() argument
81 if (InstrumentationUtils.tryWaitForIdleSync(timeoutMillis)) { in getRunningActivity()
/external/volley/src/test/java/com/android/volley/mock/
DWaitableQueue.java35 public void waitUntilEmpty(long timeoutMillis) in waitUntilEmpty() argument
38 if (!mStopEvent.tryAcquire(timeoutMillis, TimeUnit.MILLISECONDS)) { in waitUntilEmpty()
/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/
DSslWrapper.java372 void doHandshake(FileDescriptor fd, int timeoutMillis) in doHandshake() argument
374 NativeCrypto.SSL_do_handshake(ssl, fd, handshakeCallbacks, timeoutMillis); in doHandshake()
382 int read(FileDescriptor fd, byte[] buf, int offset, int len, int timeoutMillis) in read() argument
384 return NativeCrypto.SSL_read(ssl, fd, handshakeCallbacks, buf, offset, len, timeoutMillis); in read()
388 void write(FileDescriptor fd, byte[] buf, int offset, int len, int timeoutMillis) in write() argument
390 NativeCrypto.SSL_write(ssl, fd, handshakeCallbacks, buf, offset, len, timeoutMillis); in write()

12