Home
last modified time | relevance | path

Searched defs:callable (Results 1 – 23 of 23) 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/services/Car/service/src/com/android/car/oem/
DCarOemProxyServiceHelper.java163 public <T> T doBinderTimedCallWithDefaultValue(String callerTag, Callable<T> callable, in doBinderTimedCallWithDefaultValue()
203 public <T> T doBinderTimedCallWithTimeout(String callerTag, Callable<T> callable, in doBinderTimedCallWithTimeout()
259 Callable<T> callable, long defaultTimeoutMs, in doBinderCallWithDefaultValueAndDelayedWaitAndCrash()
381 public <T> Optional<T> doBinderCallWithTimeoutCrash(String callerTag, Callable<T> callable) { in doBinderCallWithTimeoutCrash()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDataProcessingAsyncCallableTests.java112 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRun() local
163 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRunOldDataDownloaded() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/oem/
DCarOemProxyServiceHelperTest.java173 Callable<Integer> callable = () -> { in testCircularCallSingleCaller() local
214 Callable<Integer> callable = () -> { in testCircularCallMultipleCaller() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/appsearch/
DAppSearchMeasurementRollbackWorkerTest.java133 Callable<Void> callable = in testClearAdServicesDeletionOccurred_throwsChecked() local
240 Callable<Void> callable = in testRecordAdServicesDeletionOccurred_throwsChecked() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DThreadUtils.java77 public static Future postOnBackgroundThread(Callable callable) { in postOnBackgroundThread()
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDataProcessingAsyncCallableManualTests.java88 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRun() local
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DFederatedExampleIteratorTest.java293 private <T> T runInBackgroundAndWait(Callable<T> callable) throws Exception { in runInBackgroundAndWait()
320 private static <T> Future<T> runInBackground(Callable<T> callable) throws Exception { in runInBackground()
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/simulator_app/src/android/nearby/fastpair/provider/simulator/testing/
DRemoteDevicesManager.java107 private void runInBackground(Callable<Void> callable, FutureCallback<Void> callback) { in runInBackground()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DDlcClient.java143 protected <T> ListenableFuture<T> call(Callable<T> callable) { in call()
/packages/modules/Virtualization/tests/hostside/java/com/android/microdroid/test/
DMicrodroidHostTests.java175 long timeoutMillis, Callable<T> callable, org.hamcrest.Matcher<T> matcher) in assertThatEventually()
/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/services/Car/car-builtin-lib/src/android/car/builtin/app/
DActivityManagerHelper.java178 private static <T> T runRemotely(Callable<T> callable, String format, Object...args) { in runRemotely()
/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/Telecomm/tests/src/com/android/server/telecom/tests/
DTestScheduledExecutorService.java199 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java157 Answer<Void> callable = invocation -> { in setUp() local
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetDataLoader.java313 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
DAlbumDataLoader.java222 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
DPhotoDataAdapter.java912 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java195 Answer<Void> callable = invocation -> { in setUp() local
/packages/services/Car/service/src/com/android/car/
DICarImpl.java1012 Class<T> cls, Callable<T> callable, List<CarSystemService> allServices) { in constructWithTrace()
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java542 public static <T> T syncCallOnMainThread(long timeoutMs, Callable<T> callable) in syncCallOnMainThread()