Searched defs:callable (Results 1 – 14 of 14) sorted by relevance
60 public static <T> Future<T> onMainThread(final Callable<T> callable) { in onMainThread()95 public static <T> T onMainThreadSync(final Callable<T> callable) { in onMainThreadSync()
32 Instrumentation instrumentation, Callable<T> callable) { in getOnMain()
57 public static void runOnVsyncThread(CallableVoid callable) { in runOnVsyncThread()
180 T expected, CrossUserCallable<T> callable, UserHandle targetUserHandle) in assertCrossProfileCall()
196 public static <T> T callWithShellPermissionIdentity(@NonNull Callable<T> callable) in callWithShellPermissionIdentity()
210 public static <T> T callWithShellPermissionIdentity(@NonNull Callable<T> callable) in callWithShellPermissionIdentity()
119 public <T extends Object> T getOnService(Callable<T> callable) { in getOnService()
221 Callable<MediaPlayer> callable = new Callable<MediaPlayer>() { in createMediaPlayerOnMainThread() local
999 private void runCallable(final Callable<?> callable) throws Exception { in runCallable()
281 public SettableFuture(Callable<T> callable) { in SettableFuture()
434 private static Result runInSeparateThread(int allowedTime, final Callable<Result> callable) in runInSeparateThread()
728 Callable<AccessibilityNodeInfo> callable, boolean retry) throws Exception { in getNodeTimed()
525 private <T> T executeWithShellPermissionIdentity(Callable<T> callable) throws Exception { in executeWithShellPermissionIdentity()
1711 private void runManagedContactsTest(Callable<Void> callable) throws Exception { in runManagedContactsTest()