Home
last modified time | relevance | path

Searched refs:callable (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteCall.java57 public static RemoteResult execute(RemoteCallable<IBackupCallback> callable, long timeoutMs) in execute() argument
59 return new RemoteCall(callable, timeoutMs).call(); in execute()
75 public RemoteCall(RemoteCallable<IBackupCallback> callable, long timeoutMs) { in RemoteCall() argument
76 this(false, callable, timeoutMs); in RemoteCall()
86 public RemoteCall(boolean cancelled, RemoteCallable<IBackupCallback> callable, long timeoutMs) { in RemoteCall() argument
87 mCallable = callable; in RemoteCall()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ui/view/
DNotificationStatsLoggerTest.kt69 val callable = Callable { locations } in <lambda>() constant
70 underTest.onNotificationLocationsChanged(callable, ranks) in <lambda>()
105 val callable = Callable { locations } in <lambda>() constant
106 underTest.onNotificationLocationsChanged(callable, ranks) in <lambda>()
142 val callable = Callable { locations } in <lambda>() constant
143 underTest.onNotificationLocationsChanged(callable, ranks) in <lambda>()
197 val callable = spy(Callable { locations }) in <lambda>() constant
198 underTest.onNotificationLocationsChanged(callable, ranks) in <lambda>()
200 clearInvocations(callable) in <lambda>()
208 verifyZeroInteractions(callable) in <lambda>()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DMockScheduledExecutorService.java92 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
199 MockScheduledFuture(Callable<V> callable, long delay, TimeUnit timeUnit) { in MockScheduledFuture() argument
200 this(null, callable, delay); in MockScheduledFuture()
203 private MockScheduledFuture(Runnable runnable, Callable<V> callable, long delay) { in MockScheduledFuture() argument
204 mCallable = callable; in MockScheduledFuture()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerGlobalLockRule.java80 <T> T waitForLocked(Callable<T> callable) { in waitForLocked() argument
83 return callable.call(); in waitForLocked()
96 result.set(0, callable.call()); in waitForLocked()
DSystemServiceTestsBase.java76 <T> T awaitInWmLock(Callable<T> callable) { in awaitInWmLock() argument
77 return mLockRule.waitForLocked(callable); in awaitInWmLock()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DThreadUtils.java84 public static <T> ListenableFuture<T> postOnBackgroundThread(@NonNull Callable<T> callable) { in postOnBackgroundThread() argument
85 return getBackgroundExecutor().submit(callable); in postOnBackgroundThread()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DThreadUtils.java86 public static <T> ListenableFuture<T> postOnBackgroundThread(@NonNull Callable<T> callable) { in postOnBackgroundThread() argument
87 return getBackgroundExecutor().submit(callable); in postOnBackgroundThread()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DNotificationStatsLoggerBinder.kt79 NotificationStackScrollLayout.OnNotificationLocationsChangedListener { callable -> in <lambda>() method
80 trySend(callable) in <lambda>()
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DHandlerThreadingDomain.java65 <V> V postAndWait(@NonNull Callable<V> callable, @DurationMillisLong long durationMillis) in postAndWait() argument
75 resultReference.set(callable.call()); in postAndWait()
DThreadingDomain.java107 @NonNull Callable<V> callable, @DurationMillisLong long durationMillis) in postAndWait()
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/
DBroadcastSender.kt116 private fun sendInBackground(reason: String, callable: () -> Unit) { in sendInBackground()
123 callable.invoke() in sendInBackground()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java172 public static <T> T uncheck(Callable<T> callable) { in uncheck() argument
174 return callable.call(); in uncheck()
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DArrayMapWithHistoryTest.java164 String description, Callable<?> callable) throws Exception { in assertThrowsArrayIndexOutOfBoundsException() argument
166 callable.call(); in assertThrowsArrayIndexOutOfBoundsException()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodBindingControllerTest.java220 private static <V> V callOnMainSync(Callable<V> callable) { in callOnMainSync() argument
226 result.set(callable.call()); in callOnMainSync()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestExecutorService.java59 mTask = (Callable<T>) Executors.callable(task); in CompletedFuture()
196 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DTestThreadingDomain.java83 <V> V postAndWait(Callable<V> callable, long durationMillis) { in postAndWait() argument
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DImeStressTestUtil.java138 public static <V> V callOnMainSync(Callable<V> callable) { in callOnMainSync() argument
144 result.set(callable.call()); in callOnMainSync()
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DHibernationStateDiskStoreTest.java149 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java598 CallableSource(@NonNull Callable<AssetFileDescriptor> callable) { in CallableSource() argument
599 mCallable = callable; in CallableSource()
1125 public static Source createSource(@NonNull Callable<AssetFileDescriptor> callable) { in createSource() argument
1126 return new CallableSource(callable); in createSource()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt49420 method public static java.util.concurrent.Callable<T> callable(java.lang.Runnable, T);
49421 … method public static java.util.concurrent.Callable<java.lang.Object> callable(java.lang.Runnable);
49422 …method public static java.util.concurrent.Callable<java.lang.Object> callable(java.security.Privil…
49423 …method public static java.util.concurrent.Callable<java.lang.Object> callable(java.security.Privil…
/frameworks/base/config/
Dboot-image-profile.txt29159 HSPLjava/util/concurrent/Executors;->callable(Ljava/lang/Runnable;)Ljava/util/concurrent/Callable;
29160 HSPLjava/util/concurrent/Executors;->callable(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/con…