Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/services/backup/java/com/android/server/backup/remote/
H A DRemoteCall.java57 public static RemoteResult execute(RemoteCallable<IBackupCallback> callable, long timeoutMs) in execute()
75 public RemoteCall(RemoteCallable<IBackupCallback> callable, long timeoutMs) { in RemoteCall()
86 public RemoteCall(boolean cancelled, RemoteCallable<IBackupCallback> callable, long timeoutMs) { in RemoteCall()
/aosp12/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
H A 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()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DThreadUtils.java76 public static Future postOnBackgroundThread(Callable callable) { in postOnBackgroundThread()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DMockScheduledExecutorService.java92 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
199 MockScheduledFuture(Callable<V> callable, long delay, TimeUnit timeUnit) { in MockScheduledFuture()
203 private MockScheduledFuture(Runnable runnable, Callable<V> callable, long delay) { in MockScheduledFuture()
/aosp12/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DHandlerThreadingDomain.java65 <V> V postAndWait(@NonNull Callable<V> callable, @DurationMillisLong long durationMillis) in postAndWait()
H A DThreadingDomain.java106 abstract <V> V postAndWait( in postAndWait()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSystemServiceTestsBase.java67 <T> T awaitInWmLock(Callable<T> callable) { in awaitInWmLock()
H A DWindowManagerGlobalLockRule.java80 <T> T waitForLocked(Callable<T> callable) { in waitForLocked()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DTestThreadingDomain.java83 <V> V postAndWait(Callable<V> callable, long durationMillis) { in postAndWait()
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
H A DTestUtils.java172 public static <T> T uncheck(Callable<T> callable) { in uncheck()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Devent_impl.h202 if (auto callable = it->lock()) { in Invoke() local
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
H A DArrayMapWithHistoryTest.java164 String description, Callable<?> callable) throws Exception { in assertThrowsArrayIndexOutOfBoundsException()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
H A DContactsExecutors.java120 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
H A DHibernationStateDiskStoreTest.java149 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestScheduledExecutorService.java127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/aosp12/packages/services/Telephony/tests/src/com/android/
H A DTestExecutorService.java214 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestExecutorService.java196 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
H A DAppButtonsPreferenceControllerTest.java159 Answer<Void> callable = invocation -> { in setUp() local
/aosp12/packages/services/Car/car-test-lib/src/android/car/test/mocks/
H A DAndroidMockitoHelper.java283 public static <T> T syncCallOnMainThread(long timeoutMs, Callable<T> callable) in syncCallOnMainThread()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumDataLoader.java222 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
H A DAlbumSetDataLoader.java313 private <T> T executeAndWait(Callable<T> callable) { in executeAndWait()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DLocalSocketTest.java434 private static Result runInSeparateThread(int allowedTime, final Callable<Result> callable) in runInSeparateThread()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DAdvancedPowerUsageDetailTest.java205 Answer<Void> callable = invocation -> { in setUp() local
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DImageDecoder.java540 CallableSource(@NonNull Callable<AssetFileDescriptor> callable) { in CallableSource()
1075 public static Source createSource(@NonNull Callable<AssetFileDescriptor> callable) { in createSource()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DICarImpl.java913 private <T> T constructWithTrace(LimitedTimingsTraceLog t, Class<T> cls, Callable<T> callable) { in constructWithTrace()

12