Home
last modified time | relevance | path

Searched refs:futureTask (Results 1 – 5 of 5) sorted by relevance

/external/droiddriver/src/io/appium/droiddriver/util/
DInstrumentationUtils.java149 final RunOnMainSyncFutureTask<V> futureTask = new RunOnMainSyncFutureTask<>(callable); in runOnMainSyncWithTimeout() local
153 futureTask.runOnMainSyncNoThrow(); in runOnMainSyncWithTimeout()
159 futureTask.runOnMainSyncNoThrow(); in runOnMainSyncWithTimeout()
165 return futureTask.get(runOnMainSyncTimeoutMillis, TimeUnit.MILLISECONDS); in runOnMainSyncWithTimeout()
175 futureTask.cancel(false); in runOnMainSyncWithTimeout()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/
DRoboExecutorService.java99 private <T> Future<T> schedule(final FutureTask<T> futureTask) { in schedule() argument
103 futureTask.run(); in schedule()
110 return futureTask; in schedule()
/external/droiddriver/src/io/appium/droiddriver/base/
DBaseUiElement.java190 protected abstract void doPerformAndWait(FutureTask<Boolean> futureTask, long timeoutMillis); in doPerformAndWait() argument
193 FutureTask<Boolean> futureTask = new FutureTask<Boolean>(new Callable<Boolean>() { in performAndWait() local
199 doPerformAndWait(futureTask, action.getTimeoutMillis()); in performAndWait()
202 return futureTask.get(); in performAndWait()
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
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/droiddriver/src/io/appium/droiddriver/instrumentation/
DViewElement.java108 protected void doPerformAndWait(FutureTask<Boolean> futureTask, long timeoutMillis) { in doPerformAndWait() argument
109 futureTask.run(); in doPerformAndWait()