Home
last modified time | relevance | path

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

12

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DBrNameUtil.java19 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/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DMethodCallExpr.java19 import static android.databinding.tool.reflection.Callable.DYNAMIC;
20 import static android.databinding.tool.reflection.Callable.STATIC;
23 import android.databinding.tool.reflection.Callable;
24 import android.databinding.tool.reflection.Callable.Type;
38 Callable mGetter;
117 mGetter = new Callable(Type.METHOD, method.getName(), null, method.getReturnType(args), in resolveType()
152 public Callable getGetter() { in getGetter()
DFieldAccessExpr.java24 import android.databinding.tool.reflection.Callable;
25 import android.databinding.tool.reflection.Callable.Type;
42 Callable mGetter;
63 public Callable getGetter() { in getGetter()
384 if (getGetter().type == Callable.Type.FIELD) { in generateCode()
399 if (getGetter().type == Callable.Type.FIELD) { in toInverseCode()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DTestScheduledExecutorService.java25 import java.util.concurrent.Callable;
72 public <T> Future<T> submit(Callable<T> task) { in submit()
87 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll()
93 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
99 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny()
105 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
123 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelClass.java18 import android.databinding.tool.reflection.Callable.Type;
26 import static android.databinding.tool.reflection.Callable.CAN_BE_INVALIDATED;
27 import static android.databinding.tool.reflection.Callable.DYNAMIC;
28 import static android.databinding.tool.reflection.Callable.STATIC;
385 public Callable findGetterOrField(String name, boolean staticOnly) { in findGetterOrField()
387 return new Callable(Type.FIELD, name, null, in findGetterOrField()
418 final Callable result = new Callable(Callable.Type.METHOD, methodName, in findGetterOrField()
454 return new Callable(Callable.Type.FIELD, name, setterFieldName, fieldType, 0, flags); in findGetterOrField()
DCallable.java18 public class Callable { class
41 public Callable(Type type, String name, String setterName, ModelClass resolvedType, in Callable() method in Callable
/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;
221 private class IsAssociatedCallable implements Callable<Void> {
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
DExpressionVisitorTest.java33 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()
DLayoutBinderTest.java22 import android.databinding.tool.reflection.Callable;
103 final Callable getter = fa.getGetter(); in testParseWithMethods()
104 assertTrue(getter.type == Callable.Type.METHOD); in testParseWithMethods()
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
DPollingCheck.java19 import java.util.concurrent.Callable;
63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
/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/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java33 import java.util.concurrent.Callable;
64 new Callable<Boolean>() { in testCancelEvent()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java31 import java.util.concurrent.Callable;
218 return LittleMock.doAnswer(new Callable<Void>() { in doCountDown()
232 return LittleMock.doAnswer(new Callable<Object>() { in doCountDown()
/frameworks/support/compat/java/android/support/v4/content/
DModernAsyncTask.java29 import java.util.concurrent.Callable;
511 private static abstract class WorkerRunnable<Params, Result> implements Callable<Result> {
/frameworks/base/core/java/android/os/
DAsyncTask.java24 import java.util.concurrent.Callable;
693 private static abstract class WorkerRunnable<Params, Result> implements Callable<Result> {
/frameworks/base/core/java/android/provider/
DCallLog.java32 import android.provider.ContactsContract.CommonDataKinds.Callable;
689 Uri.withAppendedPath(Callable.CONTENT_FILTER_URI, in addCall()
DContactsContract.java7475 public static final class Callable implements DataColumnsWithJoins, CommonColumns, class in ContactsContract.CommonDataKinds
/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchiveHelper.java41 import java.util.concurrent.Callable;
/frameworks/base/core/java/android/view/
DViewDebug.java49 import java.util.concurrent.Callable;
1130 Callable<Object> callable = new Callable<Object>() { in callMethodOnAppropriateTheadBlocking()
/frameworks/base/core/java/android/accounts/
DAccountManager.java53 import java.util.concurrent.Callable;
1934 super(new Callable<Bundle>() {
2067 super(new Callable<T>() {
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/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/api/
Dcurrent.txt31133 …public static final class ContactsContract.CommonDataKinds.Callable implements android.provider.Co…
31134 ctor public ContactsContract.CommonDataKinds.Callable();
59262 …uture<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws java.…
59263 …uture<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.u…
59264 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>) th…
59265 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, lo…
59267 … protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(java.util.concurrent.Callable<T>);
59270 method public <T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T>);
59343 public abstract interface Callable<V> {
59427 method public abstract java.util.concurrent.Future<V> submit(java.util.concurrent.Callable<V>);
[all …]
Dsystem-current.txt33756 …public static final class ContactsContract.CommonDataKinds.Callable implements android.provider.Co…
33757 ctor public ContactsContract.CommonDataKinds.Callable();
62796 …uture<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws java.…
62797 …uture<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.u…
62798 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>) th…
62799 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, lo…
62801 … protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(java.util.concurrent.Callable<T>);
62804 method public <T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T>);
62877 public abstract interface Callable<V> {
62961 method public abstract java.util.concurrent.Future<V> submit(java.util.concurrent.Callable<V>);
[all …]

12