Searched refs:callable (Results 1 – 13 of 13) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | DialerFutureSerializer.java | 42 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/ |
D | PrioritizedFutureTask.java | 34 public PrioritizedFutureTask(Callable<T> callable, int priority) { in PrioritizedFutureTask() argument 35 super(callable); in PrioritizedFutureTask()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/ |
D | IntegrationTestUtils.java | 89 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/ |
D | ContactsExecutors.java | 120 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/ |
D | AdvancedPowerUsageDetailTest.java | 201 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/ |
D | AlbumDataLoader.java | 222 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait() argument 223 FutureTask<T> task = new FutureTask<T>(callable); in executeAndWait()
|
D | AlbumSetDataLoader.java | 313 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait() argument 314 FutureTask<T> task = new FutureTask<T>(callable); in executeAndWait()
|
D | PhotoDataAdapter.java | 912 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/ |
D | AppButtonsPreferenceControllerTest.java | 152 Answer<Void> callable = invocation -> { in setUp() local 156 doAnswer(callable).when(mFragment).startActivityForResult(captor.capture(), anyInt()); in setUp()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestScheduledExecutorService.java | 127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_US_wordlist.combined.gz |
|
D | en_GB_wordlist.combined.gz |
|
D | en_wordlist.combined.gz |
|