Home
last modified time | relevance | path

Searched refs:callable (Results 1 – 13 of 13) 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() argument
43 return submitAsync(() -> immediateFuture(callable.call()), executor); in submit()
53 public <T> ListenableFuture<T> submitAsync(final AsyncCallable<T> callable, Executor executor) { in submitAsync() argument
60 return callable.call(); in submitAsync()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPrioritizedFutureTask.java34 public PrioritizedFutureTask(Callable<T> callable, int priority) { in PrioritizedFutureTask() argument
35 super(callable); in PrioritizedFutureTask()
/packages/apps/Contacts/tests/src/com/android/contacts/test/
DIntegrationTestUtils.java89 public <T> T runOnUiThreadAndGetTheResult(Callable<T> callable) throws Throwable {
90 FutureTask<T> future = new FutureTask<T>(callable);
/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() argument
121 final HandlerFuture<V> future = new HandlerFuture<>(mHandler, delay, unit, callable); in schedule()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java201 Answer<Void> callable = invocation -> { in setUp() local
205 doAnswer(callable).when(mActivity).startActivityAsUser(captor.capture(), in setUp()
207 doAnswer(callable).when(mActivity).startActivity(captor.capture()); in setUp()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumDataLoader.java222 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait() argument
223 FutureTask<T> task = new FutureTask<T>(callable); in executeAndWait()
DAlbumSetDataLoader.java313 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait() argument
314 FutureTask<T> task = new FutureTask<T>(callable); in executeAndWait()
DPhotoDataAdapter.java912 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait() argument
913 FutureTask<T> task = new FutureTask<T>(callable); in executeAndWait()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java156 Answer<Void> callable = invocation -> { in setUp() local
160 doAnswer(callable).when(mFragment).startActivityForResult(captor.capture(), anyInt()); in setUp()
/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() argument
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...