/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebkitUtils.java | 60 public static <T> Future<T> onMainThread(final Callable<T> callable) { in onMainThread() argument 66 future.set(callable.call()); in onMainThread() 95 public static <T> T onMainThreadSync(final Callable<T> callable) { in onMainThreadSync() argument 99 return waitForFuture(onMainThread(callable)); in onMainThreadSync()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | RunOnMainUtils.java | 32 Instrumentation instrumentation, Callable<T> callable) { in getOnMain() argument 37 returnValue.set(callable.call()); in getOnMain()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | MockVsyncHelper.java | 57 public static void runOnVsyncThread(CallableVoid callable) { in runOnVsyncThread() argument 62 callable.call(); in runOnVsyncThread()
|
/cts/tests/suspendapps/permission/src/android/suspendapps/permission/cts/ |
D | NegativePermissionsTest.java | 59 private void assertSecurityException(Callable callable, String tag) { in assertSecurityException() argument 61 callable.call(); in assertSecurityException()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 297 public static <T> T callWithShellPermissionIdentity(@NonNull Callable<T> callable) in callWithShellPermissionIdentity() argument 302 return callable.call(); in callWithShellPermissionIdentity() 314 public static <T> T callWithShellPermissionIdentity(@NonNull Callable<T> callable, in callWithShellPermissionIdentity() argument 319 return callable.call(); in callWithShellPermissionIdentity()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | UserActionCallback.java | 126 public <V> V callAndUnregisterSelf(Callable<V> callable) in callAndUnregisterSelf() argument 129 return callable.call(); in callAndUnregisterSelf()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | Utils.java | 100 static <T> T callOnHandlerThread(Callable<T> callable) throws Exception { in callOnHandlerThread() argument 110 T result = callable.call(); in callOnHandlerThread()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | BackupPreparer.java | 238 private static <T> T uncheck(Callable<T> callable) { in uncheck() argument 240 return callable.call(); in uncheck()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | BindDeviceAdminServiceGoodSetupTest.java | 180 T expected, CrossUserCallable<T> callable, UserHandle targetUserHandle) in assertCrossProfileCall() argument 211 assertEquals(expected, callable.call(crossUserService)); in assertCrossProfileCall()
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | InstrumentedAccessibilityService.java | 120 public <T extends Object> T getOnService(Callable<T> callable) { in getOnService() argument 126 returnValue.set(callable.call()); in getOnService()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileContactsTest.java | 137 private void runManagedContactsTest(Callable<Void> callable) throws Exception { in runManagedContactsTest() argument 180 callable.call(); in runManagedContactsTest()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerFlakyNetworkTest.java | 223 Callable<MediaPlayer> callable = new Callable<MediaPlayer>() { in createMediaPlayerOnMainThread() local 229 FutureTask<MediaPlayer> future = new FutureTask<MediaPlayer>(callable); in createMediaPlayerOnMainThread()
|
D | VideoCodecTestBase.java | 1043 private void runCallable(final Callable<?> callable) throws Exception { in runCallable() argument 1051 callable.call(); in runCallable() 1066 callable.call(); in runCallable()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | ErrorLoggingService.java | 281 public SettableFuture(Callable<T> callable) { in SettableFuture() argument 282 super(callable); in SettableFuture()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsManagerTest.java | 586 private <T> T executeWithShellPermissionIdentity(Callable<T> callable) throws Exception { in executeWithShellPermissionIdentity() argument 588 return callable.call(); in executeWithShellPermissionIdentity() 595 return callable.call(); in executeWithShellPermissionIdentity()
|