Searched refs:callable (Results 1 – 11 of 11) sorted by relevance
32 Instrumentation instrumentation, Callable<T> callable) { in getOnMain() argument37 returnValue.set(callable.call()); in getOnMain()
57 public static void runOnVsyncThread(CallableVoid callable) { in runOnVsyncThread() argument62 callable.call(); in runOnVsyncThread()
180 T expected, CrossUserCallable<T> callable, UserHandle targetUserHandle) in assertCrossProfileCall() argument211 assertEquals(expected, callable.call(crossUserService)); in assertCrossProfileCall()
220 Callable<MediaPlayer> callable = new Callable<MediaPlayer>() { in createMediaPlayerOnMainThread() local226 FutureTask<MediaPlayer> future = new FutureTask<MediaPlayer>(callable); in createMediaPlayerOnMainThread()
976 private void runCallable(final Callable<?> callable) throws Exception { in runCallable() argument984 callable.call(); in runCallable()999 callable.call(); in runCallable()
434 private static Result runInSeparateThread(int allowedTime, final Callable<Result> callable) in runInSeparateThread() argument437 Future<Result> future = service.submit(callable); in runInSeparateThread()
281 public SettableFuture(Callable<T> callable) { in SettableFuture() argument282 super(callable); in SettableFuture()
581 Callable<AccessibilityNodeInfo> callable, boolean retry) throws Exception { in getNodeTimed() argument585 AccessibilityNodeInfo node = callable.call(); in getNodeTimed()
1289 private void runManagedContactsTest(Callable<Void> callable) throws Exception { in runManagedContactsTest() argument1334 callable.call(); in runManagedContactsTest()
META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
... .ListenableScheduledFuture schedule (java.util.concurrent.Callable, long, java.util.concurrent.TimeUnit ...