Home
last modified time | relevance | path

Searched defs:callable (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDialerFutureSerializer.java42 public <T> ListenableFuture<T> submit(final Callable<T> callable, Executor executor) { in submit()
53 public <T> ListenableFuture<T> submitAsync(final AsyncCallable<T> callable, Executor executor) { in submitAsync()
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DContactsExecutors.java120 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestScheduledExecutorService.java127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/packages/services/Telephony/tests/src/com/android/
DTestExecutorService.java214 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java272 public static <T> T syncCallOnMainThread(long timeoutMs, Callable<T> callable) in syncCallOnMainThread()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java159 Answer<Void> callable = invocation -> { in setUp() local
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumDataLoader.java222 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
DAlbumSetDataLoader.java313 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
DPhotoDataAdapter.java912 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DLocalSocketTest.java434 private static Result runInSeparateThread(int allowedTime, final Callable<Result> callable) in runInSeparateThread()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java199 Answer<Void> callable = invocation -> { in setUp() local
/packages/services/Car/service/src/com/android/car/
DICarImpl.java904 private <T> T constructWithTrace(LimitedTimingsTraceLog t, Class<T> cls, Callable<T> callable) { in constructWithTrace()