/external/guava/guava/src/com/google/common/cache/ |
CacheLoader.java | 32 import java.util.concurrent.Callable; 194 ListenableFutureTask<V> task = ListenableFutureTask.create(new Callable<V>() {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetBasherTest.java | 26 import java.util.concurrent.Callable; 102 private static class MutateTask implements Callable<int[]> {
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
JSR166TestCase.java | 867 public abstract class CheckedCallable<T> implements Callable<T> { 881 implements Callable<T> { 902 public static class NoOpCallable implements Callable { 908 public static class StringTask implements Callable<String> { 912 public Callable<String> latchAwaitingStringTask(final CountDownLatch latch) { [all...] |
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
Agent.java | 17 import java.util.concurrent.Callable; 85 private Callable<Void> jmxRegistration;
|
/external/testng/src/main/java/org/testng/internal/ |
TestMethodWithDataProviderMethodWorker.java | 12 import java.util.concurrent.Callable; 14 public class TestMethodWithDataProviderMethodWorker implements Callable<List<ITestResult>> {
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
MtpManagerTest.java | 33 import java.util.concurrent.Callable; 64 new Callable<Boolean>() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
OutputStreamTesterTest.java | 40 import java.util.concurrent.Callable; 124 future = executor.submit(new Callable<byte[]>() {
|
WriterTesterTest.java | 39 import java.util.concurrent.Callable; 117 future = executor.submit(new Callable<char[]>() {
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/ |
ParameterMetadataTestClasses$-java_lang_Class_getLambdaClassWith1ParameterConstructor__LambdaImpl0.smali | 23 .implements Ljava/util/concurrent/Callable;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterOutputStreamTest.java | 28 import java.util.concurrent.Callable; 80 executor.submit(new Callable<Void>() {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppState.java | 35 import java.util.concurrent.Callable; 58 return new MainThreadExecutor().submit(new Callable<LauncherAppState>() {
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
AddConfigWidgetTest.java | 40 import java.util.concurrent.Callable; 149 implements Callable<Boolean>, Workspace.ItemOperator {
|
/frameworks/base/services/core/java/com/android/server/ |
SystemServerInitThreadPool.java | 27 import java.util.concurrent.Callable;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AlbumDataLoader.java | 33 import java.util.concurrent.Callable; 222 private <T> T executeAndWait(Callable<T> callable) { 223 FutureTask<T> task = new FutureTask<T>(callable); 244 private class GetUpdateInfo implements Callable<UpdateInfo> { 274 private class UpdateContent implements Callable<Void> {
|
AlbumSetDataLoader.java | 32 import java.util.concurrent.Callable; 244 private class GetUpdateInfo implements Callable<UpdateInfo> { 274 private class UpdateContent implements Callable<Void> { 313 private <T> T executeAndWait(Callable<T> callable) { 314 FutureTask<T> task = new FutureTask<T>(callable);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerFlakyNetworkTest.java | 40 import java.util.concurrent.Callable; 217 Callable<MediaPlayer> callable = new Callable<MediaPlayer>() { local 223 FutureTask<MediaPlayer> future = new FutureTask<MediaPlayer>(callable);
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ClassLoaderReflectionTest.java | 28 import java.util.concurrent.Callable; 96 assertParameterizedType(types[0], Callable.class, aClass); 155 class E implements Callable<A>, D<A> {
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
NotificationDNDTests.java | 34 import java.util.concurrent.Callable; 67 Callable<ZenModeHelper> callable = new Callable<ZenModeHelper>() { local 73 FutureTask<ZenModeHelper> task = new FutureTask<>(callable);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
CollectTraceAction.java | 58 import java.util.concurrent.Callable; 331 Callable<Boolean> c = new Callable<Boolean>() { 358 Callable<Boolean> c = new Callable<Boolean>() {
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
JSR166TestCase.java | 39 import java.util.concurrent.Callable; [all...] |
/external/clang/lib/CodeGen/ |
CGOpenMPRuntime.h | 71 template <typename Callable> 74 return (*reinterpret_cast<Callable *>(CodeGen))(CGF, Action); 78 template <typename Callable> 80 Callable &&CodeGen, 82 !std::is_same<typename std::remove_reference<Callable>::type, 85 Callback(CallbackFn<typename std::remove_reference<Callable>::type>), [all...] |
/external/v8/src/builtins/ |
builtins-conversion.cc | 37 Callable callable = CodeFactory::GetProperty(assembler->isolate()); local 41 assembler->CallStub(callable, context, input, to_primitive_symbol); 54 Callable callable = CodeFactory::Call(assembler->isolate()); local 57 Node* result = assembler->CallJS(callable, context, exotic_to_prim, input, 88 Callable callable = CodeFactory::OrdinaryToPrimitive( local 92 assembler->TailCallStub(callable, context, input); 244 Callable callable = CodeFactory::GetProperty(assembler->isolate()) local 259 Callable callable = CodeFactory::Call(assembler->isolate()); local 372 Callable callable = CodeFactory::NonNumberToNumber(assembler->isolate()); local [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLSocketTest.java | 66 import java.util.concurrent.Callable; 378 Future<Void> future = executor.submit(new Callable<Void>() { 416 private static final class SSLServerSessionIdCallable implements Callable<byte[]> { 473 Future<Void> future = executor.submit(new Callable<Void>() { 503 Future<Void> future = executor.submit(new Callable<Void>() { 533 Future<Void> future = executor.submit(new Callable<Void>() { 553 Future<Void> future = executor.submit(new Callable<Void>() { 677 Future<Void> future = executor.submit(new Callable<Void>() { [all...] |
/external/clang/test/SemaCXX/ |
overloaded-operator.cpp | 163 struct Callable { 175 struct DerivesCallable : public Callable { 178 void test_callable(Callable c, Callable2 c2, const Callable2& c2c, 183 c(); // expected-error{{no matching function for call to object of type 'Callable'}}
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
LauncherInstrumentationTestCase.java | 59 import java.util.concurrent.Callable; 280 protected <T> T getOnUiThread(final Callable<T> callback) { 294 getOnUiThread(new Callable<LauncherAppWidgetProviderInfo>() {
|