/frameworks/support/compat/src/androidTest/java/androidx/core/provider/ |
D | SelfDestructiveThreadTest.java | 38 import java.util.concurrent.Callable; 91 thread.postAndWait(new Callable<Object>() { in testDestruction() 106 Integer generation = thread.postAndWait(new Callable<Integer>() { in testReconstruction() 114 Integer nextGeneration = thread.postAndWait(new Callable<Integer>() { in testReconstruction() 129 Integer generation = thread.postAndWait(new Callable<Integer>() { in testReuseSameThread() 136 Integer nextGeneration = thread.postAndWait(new Callable<Integer>() { in testReuseSameThread() 153 Integer generation = thread.postAndWait(new Callable<Integer>() { in testReuseSameThread_Multiple() 164 Integer nextGeneration = thread.postAndWait(new Callable<Integer>() { in testReuseSameThread_Multiple() 184 thread.postAndWait(new Callable<Object>() { in testTimeout() 259 final Callable<Integer> callable = new Callable<Integer>() { in testPostAndReply()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
D | BrNameUtil.java | 19 import android.databinding.tool.reflection.Callable; 43 public static String brKey(Callable callable) { in brKey() 44 if (callable.type == Callable.Type.FIELD) { in brKey() 62 private static boolean isGetter(Callable callable) { in isGetter() 69 private static boolean isSetter(Callable callable) { in isSetter() 76 private static boolean isBooleanGetter(Callable callable) { in isBooleanGetter()
|
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
D | ServiceWorkerClientCompatTest.java | 37 import java.util.concurrent.Callable; 155 Callable<Boolean> registrationSuccess = new Callable<Boolean>() { in testServiceWorkerClientInterceptCallback() 164 Callable<Boolean> receivedRequest = new Callable<Boolean>() { in testServiceWorkerClientInterceptCallback() 180 Callable<Boolean> unregisterSuccess = new Callable<Boolean>() { in testServiceWorkerClientInterceptCallback()
|
D | PollingCheck.java | 21 import java.util.concurrent.Callable; 62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
|
D | WebViewOnUiThread.java | 35 import java.util.concurrent.Callable; 209 new Callable<Boolean>() { 218 private void waitForCriteria(long timeout, Callable<Boolean> doneCriteria) { 339 private void waitOnUiThread(long timeout, final Callable<Boolean> doneCriteria) { 357 private synchronized void waitOnTestThread(long timeout, Callable<Boolean> doneCriteria) {
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | ModelClass.java | 18 import android.databinding.tool.reflection.Callable.Type; 28 import static android.databinding.tool.reflection.Callable.CAN_BE_INVALIDATED; 29 import static android.databinding.tool.reflection.Callable.DYNAMIC; 30 import static android.databinding.tool.reflection.Callable.STATIC; 394 public Callable findGetterOrField(String name, boolean staticOnly) { in findGetterOrField() 396 return new Callable(Type.FIELD, name, null, in findGetterOrField() 428 final Callable result = new Callable(Callable.Type.METHOD, methodName, in findGetterOrField() 464 return new Callable(Callable.Type.FIELD, name, setterFieldName, fieldType, 0, flags, null); in findGetterOrField()
|
D | Callable.java | 20 public class Callable { class 45 public Callable(Type type, String name, String setterName, ModelClass resolvedType, in Callable() method in Callable
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | MethodCallExpr.java | 20 import android.databinding.tool.reflection.Callable; 21 import android.databinding.tool.reflection.Callable.Type; 33 import static android.databinding.tool.reflection.Callable.DYNAMIC; 34 import static android.databinding.tool.reflection.Callable.STATIC; 39 Callable mGetter; 164 mGetter = new Callable(Type.METHOD, method.getName(), null, method.getReturnType(args), in resolveType() 199 public Callable getGetter() { in getGetter()
|
D | FieldAccessExpr.java | 25 import android.databinding.tool.reflection.Callable; 26 import android.databinding.tool.reflection.Callable.Type; 43 Callable mGetter; 52 public Callable getGetter() { in getGetter() 284 if (getGetter().type == Callable.Type.FIELD) { in generateCode() 296 if (getGetter().type == Callable.Type.FIELD) { in generateInverse()
|
/frameworks/support/app-toolkit/core-testing/src/test/java/androidx/arch/core/executor/testing/ |
D | InstantTaskExecutorRuleTest.java | 28 import java.util.concurrent.Callable; 42 FutureTask<Void> check = new FutureTask<>(new Callable<Void>() { in executeOnMain() 56 FutureTask<Void> check = new FutureTask<>(new Callable<Void>() { in executeOnIO()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | ExceptionLoggingFutureTask.java | 21 import java.util.concurrent.Callable; 32 public ExceptionLoggingFutureTask(Callable<V> callable, String tag) { in ExceptionLoggingFutureTask()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | BackgroundExecutor.java | 19 import java.util.concurrent.Callable; 43 public <T> Future<T> submit(Callable<T> callable) { in submit()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | PollingCheck.java | 20 import java.util.concurrent.Callable; 62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
D | ExpressionVisitorTest.java | 33 import android.databinding.tool.reflection.Callable; 150 Callable getter = parsed.getGetter(); in testInheritedFieldResolution() 151 assertEquals(Callable.Type.METHOD, getter.type); in testInheritedFieldResolution() 166 Callable getter = parsed.getGetter(); in testGetterResolution() 167 assertEquals(Callable.Type.METHOD, getter.type); in testGetterResolution()
|
D | LayoutBinderTest.java | 22 import android.databinding.tool.reflection.Callable; 103 final Callable getter = fa.getGetter(); in testParseWithMethods() 104 assertTrue(getter.type == Callable.Type.METHOD); in testParseWithMethods()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
D | MffTestCase.java | 24 import java.util.concurrent.Callable; 43 FutureTask<MffContext> task = new FutureTask<MffContext>(new Callable<MffContext>() { in setUp()
|
/frameworks/base/services/robotests/src/com/android/server/backup/testing/ |
D | TestUtils.java | 26 import java.util.concurrent.Callable; 65 public static <T> T uncheck(Callable<T> callable) { in uncheck()
|
/frameworks/support/room/runtime/src/test/java/androidx/room/ |
D | SharedSQLiteStatementTest.java | 36 import java.util.concurrent.Callable; 96 new Callable<SupportSQLiteStatement>() { in getFromAnotherThreadWhileHolding() 115 new Callable<SupportSQLiteStatement>() { in getFromAnotherThreadAfterReleasing()
|
/frameworks/support/room/guava/src/main/java/androidx/room/guava/ |
D | GuavaRoom.java | 29 import java.util.concurrent.Callable; 47 final Callable<T> callable, in createListenableFuture()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
D | AppTransitionAnimationSpecsFuture.java | 25 import java.util.concurrent.Callable; 36 new Callable<List<AppTransitionAnimationSpecCompat>>() {
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
D | SelfDestructiveThread.java | 30 import java.util.concurrent.Callable; 135 public <T> void postAndReply(final Callable<T> callable, final ReplyCallback<T> reply) { in postAndReply() 164 public <T> T postAndWait(final Callable<T> callable, int timeoutMillis) in postAndWait()
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/ |
D | ExprWriters.kt | 19 import android.databinding.tool.reflection.Callable 44 …xpr is MethodCallExpr || (myExpr is FieldAccessExpr && myExpr.getter.type == Callable.Type.METHOD)) in <lambda>()
|
/frameworks/support/room/rxjava2/src/test/java/androidx/room/ |
D | RxRoomTest.java | 44 import java.util.concurrent.Callable; 123 new Callable<String>() { in internalCallable() 158 new Callable<String>() { in exception()
|
/frameworks/support/room/rxjava2/src/main/java/androidx/room/ |
D | RxRoom.java | 23 import java.util.concurrent.Callable; 105 final String[] tableNames, final Callable<T> callable) {
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | EmbeddedTest.java | 52 import java.util.concurrent.Callable; 168 loadSubFieldsTest(new Callable<List<School>>() { in loadSubFieldsAsPojo() 182 loadSubFieldsTest(new Callable<List<School>>() { in loadSubFieldsAsEntity() 190 public void loadSubFieldsTest(Callable<List<School>> loader) throws Exception { in loadSubFieldsTest()
|