/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() 53 public <T> ListenableFuture<T> submitAsync(final AsyncCallable<T> callable, Executor executor) { in submitAsync()
|
/packages/services/Car/service/src/com/android/car/oem/ |
D | CarOemProxyServiceHelper.java | 163 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/services/Car/tests/carservice_unit_test/src/com/android/car/oem/ |
D | CarOemProxyServiceHelperTest.java | 173 Callable<Integer> callable = () -> { in testCircularCallSingleCaller() local 214 Callable<Integer> callable = () -> { in testCircularCallMultipleCaller() local
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDataProcessingAsyncCallableTests.java | 185 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRun() local 245 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRunOldDataDownloaded() local
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | ThreadUtils.java | 77 public static Future postOnBackgroundThread(Callable callable) { in postOnBackgroundThread()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/ |
D | FederatedExampleIteratorTest.java | 312 private <T> T runInBackgroundAndWait(Callable<T> callable) throws Exception { in runInBackgroundAndWait() 339 private static <T> Future<T> runInBackground(Callable<T> callable) throws Exception { in runInBackground()
|
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDataProcessingAsyncCallableManualTests.java | 92 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRun() local
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/ |
D | DlcClient.java | 143 protected <T> ListenableFuture<T> call(Callable<T> callable) { in call()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | ServerAuctionE2ETestBase.java | 133 Callable<T> callable, in retryOnCondition()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerBackgroundUsageDetailTest.java | 184 Answer<Void> callable = in setUp() local
|
D | AdvancedPowerUsageDetailTest.java | 211 Answer<Void> callable = in setUp() local
|
/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()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/app/ |
D | ActivityManagerHelper.java | 171 private static <T> T runRemotely(Callable<T> callable, String format, Object...args) { in runRemotely()
|
/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()
|
/packages/modules/Virtualization/tests/hostside/java/com/android/microdroid/test/ |
D | MicrodroidHostTests.java | 216 long timeoutMillis, Callable<T> callable, org.hamcrest.Matcher<T> matcher) in assertThatEventually()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestExecutorService.java | 214 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TestScheduledExecutorService.java | 199 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/ |
D | AppButtonsPreferenceControllerTest.java | 161 Answer<Void> callable = invocation -> { in setUp() local
|
/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 1060 Class<T> cls, T serviceFromBuilder, Callable<T> callable, in getFromBuilderOrConstruct() 1071 Class<T> cls, Callable<T> callable, List<CarSystemService> allServices) { in constructWithTrace()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumDataLoader.java | 222 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
|
D | AlbumSetDataLoader.java | 313 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
|
D | PhotoDataAdapter.java | 912 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityDiagnosticsManagerTest.java | 188 private <T> T callWithShellPermissionIdentity(Callable<T> callable, String... permissions) in callWithShellPermissionIdentity()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 542 public static <T> T syncCallOnMainThread(long timeoutMs, Callable<T> callable) in syncCallOnMainThread()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothManagerService.java | 2637 private <T> T postAndWait(Callable<T> callable) { in postAndWait()
|