Searched defs:callable (Results 1 – 20 of 20) 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()
59 private void assertSecurityException(Callable callable, String tag) { in assertSecurityException()
126 public <V> V callAndUnregisterSelf(Callable<V> callable) in callAndUnregisterSelf()
180 T expected, CrossUserCallable<T> callable, UserHandle targetUserHandle) in assertCrossProfileCall()
106 static <T> T callOnHandlerThread(Callable<T> callable) throws Exception { in callOnHandlerThread()
297 public static <T> T callWithShellPermissionIdentity(@NonNull Callable<T> callable) in callWithShellPermissionIdentity()314 public static <T> T callWithShellPermissionIdentity(@NonNull Callable<T> callable, in callWithShellPermissionIdentity()
239 private static <T> T uncheck(Callable<T> callable) { in uncheck()
141 private void runManagedContactsTest(Callable<Void> callable) throws Exception { in runManagedContactsTest()
438 private <T> T callWithRenouncePermissions(@NonNull Callable<T> callable) in callWithRenouncePermissions()
641 private <T> T executeWithShellPermissionIdentity(Callable<T> callable) throws Exception { in executeWithShellPermissionIdentity()
125 SettableFuture(Callable<T> callable) { in SettableFuture()
120 public <T extends Object> T getOnService(Callable<T> callable) { in getOnService()
246 Callable<MediaPlayer> callable = new Callable<MediaPlayer>() { in createMediaPlayerOnMainThread() local
188 protected static <T> T callAsSystemUi(@NonNull Callable<T> callable) { in callAsSystemUi()
63 static void executeInJvm(JavaVM* jvm, jniEnvCallable callable) { in executeInJvm()
317 public SettableFuture(Callable<T> callable) { in SettableFuture()
544 private static Result runInSeparateThread(int allowedTime, final Callable<Result> callable) in runInSeparateThread()
1114 private void runCallable(final Callable<?> callable) throws Exception { in runCallable()