Home
last modified time | relevance | path

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

12

/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/exportimport/
DHealthConnectReceiver.java34 public static Void callAndGetResponse(CallableForOutcome<Void, HealthConnectException> callable) in callAndGetResponse()
45 CallableForOutcome<Void, HealthConnectException> callable, String... permissions) in callAndGetResponseWithShellPermissionIdentity()
DTestOutcomeReceiver.java130 Class<E> exceptionType, CallableForOutcome<Void, E> callable) in callAndGetResponse()
142 Class<E> exceptionType, CallableForOutcome<Void, E> callable, String... permissions) in callAndGetResponseWithShellPermissionIdentity()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DHealthConnectReceiver.java34 public static <R> R callAndGetResponse(CallableForOutcome<R, HealthConnectException> callable) in callAndGetResponse()
45 CallableForOutcome<R, HealthConnectException> callable, String... permissions) in callAndGetResponseWithShellPermissionIdentity()
DTestOutcomeReceiver.java130 Class<E> exceptionType, CallableForOutcome<R, E> callable) throws InterruptedException { in callAndGetResponse()
142 Class<E> exceptionType, CallableForOutcome<R, E> callable, String... permissions) in callAndGetResponseWithShellPermissionIdentity()
/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/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/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDataProcessingAsyncCallableTests.java177 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRun() local
237 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRunOldDataDownloaded() local
/packages/modules/AdServices/shared/testing-libraries/device-side/java/com/android/adservices/shared/testing/concurrency/
DCallableSyncCallback.java52 public void injectCallable(ThrowingCallable<R> callable) { in injectCallable()
/packages/modules/Connectivity/staticlibs/testutils/host/python/
Dassert_utils.py47 def expect_throws(runnable: callable, exception_class) -> None:
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DThreadUtils.java77 public static Future postOnBackgroundThread(Callable callable) { in postOnBackgroundThread()
/packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/http/
DHttpClient.java81 Callable<OdpHttpResponse> callable) { in performCallableAsync()
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDataProcessingAsyncCallableManualTests.java92 OnDevicePersonalizationDataProcessingAsyncCallable callable = in testRun() local
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DFederatedExampleIteratorTest.java312 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/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DJobLockHolder.java121 public <T> T callWithLock(String tag, Supplier<T> callable, @Nullable T lockFailureResult) { in callWithLock()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DDlcClient.java143 protected <T> ListenableFuture<T> call(Callable<T> callable) { in call()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DServerAuctionE2ETestBase.java136 Callable<T> callable, in retryOnCondition()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerBackgroundUsageDetailTest.java171 Answer<Void> callable = in setUp() local
DAdvancedPowerUsageDetailTest.java206 Answer<Void> callable = in setUp() local
/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/Car/car-builtin-lib/src/android/car/builtin/app/
DActivityManagerHelper.java171 private static <T> T runRemotely(Callable<T> callable, String format, Object...args) { in runRemotely()
/packages/modules/Virtualization/tests/hostside/java/com/android/microdroid/test/
DMicrodroidHostTests.java216 long timeoutMillis, Callable<T> callable, org.hamcrest.Matcher<T> matcher) in assertThatEventually()
/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()

12