Home
last modified time | relevance | path

Searched refs:Callable (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/StatementService/src/com/android/statementservice/
DExceptionLoggingFutureTask.java21 import java.util.concurrent.Callable;
32 public ExceptionLoggingFutureTask(Callable<V> callable, String tag) { in ExceptionLoggingFutureTask()
DDirectStatementService.java44 import java.util.concurrent.Callable;
224 private class IsAssociatedCallable implements Callable<Void> {
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DBackgroundExecutor.java19 import java.util.concurrent.Callable;
43 public <T> Future<T> submit(Callable<T> callable) { in submit()
/frameworks/base/tests/testables/src/android/testing/
DPollingCheck.java20 import java.util.concurrent.Callable;
62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DThreadUtils.java21 import java.util.concurrent.Callable;
76 public static Future postOnBackgroundThread(Callable callable) { in postOnBackgroundThread()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffTestCase.java24 import java.util.concurrent.Callable;
43 FutureTask<MffContext> task = new FutureTask<MffContext>(new Callable<MffContext>() { in setUp()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DAppTransitionAnimationSpecsFuture.java25 import java.util.concurrent.Callable;
36 new Callable<List<AppTransitionAnimationSpecCompat>>() {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DViewPreviewer.java28 import java.util.concurrent.Callable;
56 FutureTask<Bitmap> task = new FutureTask<>(new Callable<Bitmap>() { in createPreview()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DRemoteCallTest.java43 import java.util.concurrent.Callable;
252 private static <T> Future<T> runInWorkerThreadAsync(Callable<T> supplier) { in runInWorkerThreadAsync()
258 private static <T> T runInWorkerThread(Callable<T> supplier) throws Exception { in runInWorkerThread()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java36 import java.util.concurrent.Callable;
174 public static <T> T uncheck(Callable<T> callable) { in uncheck()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java33 import java.util.concurrent.Callable;
64 new Callable<Boolean>() { in testCancelEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DArrayMapWithHistoryTest.java34 import java.util.concurrent.Callable;
164 String description, Callable<?> callable) throws Exception { in assertThrowsArrayIndexOutOfBoundsException()
/frameworks/base/core/java/android/os/
DAsyncTask.java25 import java.util.concurrent.Callable;
797 private static abstract class WorkerRunnable<Params, Result> implements Callable<Result> {
/frameworks/base/startop/scripts/app_startup/
Dapp_startup_runner.py36 from typing import Any, Callable, Dict, Generic, Iterable, List, NamedTuple, TextIO, Tuple, TypeVar…
58 NamedTupleMeta = Callable[..., T] # approximation of a (S : NamedTuple<T> where S() == T) metatype.
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java51 import java.util.concurrent.Callable;
442 private <T> T runOnHandlerBlocking(Callable<T> c) throws InterruptedException {
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java64 import java.util.concurrent.Callable;
540 CallableSource(@NonNull Callable<AssetFileDescriptor> callable) { in CallableSource()
544 private final Callable<AssetFileDescriptor> mCallable;
1055 public static Source createSource(@NonNull Callable<AssetFileDescriptor> callable) { in createSource()
/frameworks/base/core/java/android/view/
DViewDebug.java60 import java.util.concurrent.Callable;
876 private final Callable<OutputStream> mCallback;
885 Callable<OutputStream> callback, Executor executor) {
995 Callable<OutputStream> callback) {
1399 Callable<Object> callable = new Callable<Object>() {
/frameworks/base/core/java/android/provider/
DCallLog.java34 import android.provider.ContactsContract.CommonDataKinds.Callable;
797 Uri.withAppendedPath(Callable.CONTENT_FILTER_URI, in addCall()
DContactsContract.java7598 public static final class Callable implements DataColumnsWithJoins, CommonColumns, class in ContactsContract.CommonDataKinds
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java35 import java.util.concurrent.Callable;
/frameworks/base/core/java/android/accounts/
DAccountManager.java62 import java.util.concurrent.Callable;
2241 super(new Callable<Bundle>() {
2378 super(new Callable<T>() {
/frameworks/base/api/
Dtest-lint-baseline.txt2082 …(android.view.View, java.util.concurrent.Executor, java.util.concurrent.Callable<java.io.OutputStr…
2084 …(android.view.View, java.util.concurrent.Executor, java.util.concurrent.Callable<java.io.OutputStr…
2086 …(android.view.View, java.util.concurrent.Executor, java.util.concurrent.Callable<java.io.OutputStr…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt23961 …public static final class ContactsContract.CommonDataKinds.Callable implements android.provider.Co…
23962 ctor public ContactsContract.CommonDataKinds.Callable();
49060 …uture<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws java.…
49061 …uture<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.u…
49062 …method public T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws…
49063 …method public T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, …
49065 …thod protected java.util.concurrent.RunnableFuture<T> newTaskFor(java.util.concurrent.Callable<T>);
49068 method public java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T>);
49140 public abstract interface Callable {
49152 method public abstract java.util.concurrent.Future<V> submit(java.util.concurrent.Callable<V>);
[all …]
/frameworks/base/config/
Dpreloaded-classes2984 android.provider.ContactsContract$CommonDataKinds$Callable
6702 java.util.concurrent.Callable
/frameworks/base/non-updatable-api/
Dcurrent.txt14204 …graphics.ImageDecoder.Source createSource(@NonNull java.util.concurrent.Callable<android.content.r…
37541 …public static final class ContactsContract.CommonDataKinds.Callable implements android.provider.Co…
37542 ctor public ContactsContract.CommonDataKinds.Callable();
72319 …uture<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws java.…
72320 …uture<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.u…
72321 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>) th…
72322 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, lo…
72324 … protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(java.util.concurrent.Callable<T>);
72327 method public <T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T>);
72374 @java.lang.FunctionalInterface public interface Callable<V> {
[all …]

12