Home
last modified time | relevance | path

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

123

/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()
51 public LongClick(long timeoutMillis) { in LongClick() argument
52 super(timeoutMillis); in LongClick()
66 public SingleClick(long timeoutMillis) { in SingleClick() argument
67 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()
DBaseDroidDriver.java57 public boolean has(Finder finder, long timeoutMillis) { in has() argument
59 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.java51 public TextAction(String text, long timeoutMillis, boolean checkFocused) {
52 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()
DUiAutomationElement.java185 protected void doPerformAndWait(final FutureTask<Boolean> futureTask, final long timeoutMillis) { in doPerformAndWait() argument
191 uiAutomation.executeAndWaitForEvent(futureTask, ANY_EVENT_FILTER, timeoutMillis); in doPerformAndWait()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordingCallback.java52 long timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS; in await() local
63 if (nowMillis >= timeoutMillis) break; in await()
64 wait(timeoutMillis - nowMillis); in await()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationDriver.java87 long timeoutMillis = getPoller().getTimeoutMillis(); in waitForRunningActivity() local
88 long end = SystemClock.uptimeMillis() + timeoutMillis; in waitForRunningActivity()
96 "Cannot find the running activity after %d milliseconds", timeoutMillis)); in waitForRunningActivity()
/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.java112 public static boolean tryWaitForIdleSync(long timeoutMillis) { in tryWaitForIdleSync() argument
118 emptyTask.get(timeoutMillis, TimeUnit.MILLISECONDS); in tryWaitForIdleSync()
121 "Timed out after " + timeoutMillis + " milliseconds waiting for idle on main looper"); in tryWaitForIdleSync()
/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()
DHttpURLConnectionImpl.java288 @Override public void setConnectTimeout(int timeoutMillis) { in setConnectTimeout() argument
289 client.setConnectTimeout(timeoutMillis, TimeUnit.MILLISECONDS); in setConnectTimeout()
305 @Override public void setReadTimeout(int timeoutMillis) { in setReadTimeout() argument
306 client.setReadTimeout(timeoutMillis, TimeUnit.MILLISECONDS); 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
DDroidDriver.java56 boolean has(Finder finder, long timeoutMillis); in has() argument

123