/libcore/luni/src/main/java/java/util/concurrent/ |
AbstractExecutorService.java | 55 * @param value the default value for the returned future 58 * underlying runnable and which, as a {@code Future}, will yield 73 * underlying callable and which, as a {@code Future}, will yield 86 public Future<?> submit(Runnable task) { 97 public <T> Future<T> submit(Runnable task, T result) { 108 public <T> Future<T> submit(Callable<T> task) { 126 ArrayList<Future<T>> futures = new ArrayList<>(ntasks); 149 Future<T> f = ecs.poll(); 204 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) 208 ArrayList<Future<T>> futures = new ArrayList<>(tasks.size()) [all...] |
/ndk/sources/android/libthread_db/ |
README | 10 future.
|
/ndk/sources/cpufeatures/ |
README.TXT | 6 but it is DEPRECATED and will be removed in a future NDK release.
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/ |
set_value_const.pass.cpp | 10 // <future> 16 #include <future> 31 std::future<T> f = p.get_future(); 50 std::future<T> f = p.get_future();
|
set_value_at_thread_exit_const.pass.cpp | 10 // <future> 16 #include <future> 29 std::future<int> f = p.get_future();
|
set_value_at_thread_exit_void.pass.cpp | 10 // <future> 16 #include <future> 32 std::future<void> f = p.get_future();
|
set_value_void.pass.cpp | 10 // <future> 16 #include <future> 24 std::future<T> f = p.get_future();
|
alloc_ctor.pass.cpp | 10 // <future> 17 #include <future> 28 std::future<int> f = p.get_future(); 36 std::future<int&> f = p.get_future(); 44 std::future<void> f = p.get_future();
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
FuturesTest.java | 63 import java.util.concurrent.Future; 99 * Clear interrupt for future tests. 110 ListenableFuture<String> future = Futures.immediateFuture(DATA1); local 113 assertSame(DATA1, future.get(0L, TimeUnit.MILLISECONDS)); 127 ListenableFuture<String> future = local 131 future.get(0L, TimeUnit.MILLISECONDS); 141 ListenableFuture<String> future = local 145 future.get(0L, TimeUnit.MILLISECONDS); 150 assertFalse(future.isCancelled()); 155 ListenableFuture<String> future local 163 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture( local 186 CheckedFuture<String, MyException> future = local 220 ListenableFuture<FooChild> future = Futures.immediateFuture(null); local [all...] |
FutureCallbackTest.java | 27 import java.util.concurrent.Future; 101 SettableFuture<String> future = SettableFuture.create(); local 104 Futures.addCallback(future, callback); 106 future.set(result); 107 assertEquals(result, future.get()); 116 SettableFuture<String> future = SettableFuture.create(); local 119 Futures.addCallback(future, callback); 122 future.set(result); 127 assertEquals(result, future.get()); 157 * A {@link Future} implementation which always throws directly from calls t [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
FutureTarget.java | 5 import java.util.concurrent.Future; 9 * {@link java.util.concurrent.Future}. For example: 29 public interface FutureTarget<R> extends Future<R>, Target<R> {
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
GcFinalizationTest.java | 53 final SettableFuture<Void> future = SettableFuture.create(); local 55 @Override protected void finalize() { future.set(null); } 58 GcFinalization.awaitDone(future); 59 assertTrue(future.isDone()); 60 assertFalse(future.isCancelled()); 64 final SettableFuture<Void> future = SettableFuture.create(); local 66 @Override protected void finalize() { future.cancel(false); } 69 GcFinalization.awaitDone(future); 70 assertTrue(future.isDone()); 71 assertTrue(future.isCancelled()) 144 final SettableFuture<Void> future = SettableFuture.create(); local [all...] |
/external/libcxx/test/std/thread/futures/futures.errors/ |
future_category.pass.cpp | 12 // <future> 16 #include <future> 23 assert(std::strcmp(ec.name(), "future") == 0);
|
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
get.pass.cpp | 12 // <future> 14 // class future<R> 16 // R future::get(); 17 // R& future<R&>::get(); 18 // void future<void>::get(); 20 #include <future> 68 std::future<T> f = p.get_future(); 76 std::future<T> f = p.get_future(); 95 std::future<T> f = p.get_future(); 103 std::future<T> f = p.get_future() [all...] |
/external/sl4a/Utils/src/com/googlecode/android_scripting/future/ |
FutureResult.java | 17 package com.googlecode.android_scripting.future; 20 import java.util.concurrent.Future; 28 public class FutureResult<T> implements Future<T> {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.errors/ |
future_category.pass.cpp | 10 // <future> 14 #include <future> 21 assert(std::strcmp(ec.name(), "future") == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/ |
get.pass.cpp | 10 // <future> 12 // class future<R> 14 // R future::get(); 15 // R& future<R&>::get(); 16 // void future<void>::get(); 18 #include <future> 66 std::future<T> f = p.get_future(); 74 std::future<T> f = p.get_future(); 93 std::future<T> f = p.get_future(); 101 std::future<T> f = p.get_future() [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
DeferredPictureTaker.java | 25 import java.util.concurrent.Future; 32 private final Future<PictureTaker> mPictureTakerFuture; 34 public DeferredPictureTaker(Future<PictureTaker> pictureTakerFuture) {
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ForwardingCheckedFuture.java | 26 * A future which forwards all its method calls to another future. Subclasses 28 * future as desired per the <a href= 33 * @param <V> The result type returned by this Future's {@code get} method 34 * @param <X> The type of the Exception thrown by the Future's
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
Period.java | 17 * or future, and as being more or less than the defined value. 124 * Mark the time as being in the future. 142 * Mark the duration as extending into the future if 143 * future is true, and into the past otherwise. 145 * @param future true if the time is in the future 148 public Period inFuture(boolean future) { 149 return setFuture(future); 154 * past is true, and into the future otherwise. 201 * duration into the future [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
IllformedLocaleException.java | 15 * @provisional This API might change or be removed in a future release. 27 * @provisional This API might change or be removed in a future release. 39 * @provisional This API might change or be removed in a future release. 55 * @provisional This API might change or be removed in a future release. 68 * @provisional This API might change or be removed in a future release.
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
Period.java | 16 * or future, and as being more or less than the defined value. 122 * Mark the time as being in the future. 140 * Mark the duration as extending into the future if 141 * future is true, and into the past otherwise. 143 * @param future true if the time is in the future 146 public Period inFuture(boolean future) { 147 return setFuture(future); 152 * past is true, and into the future otherwise. 199 * duration into the future [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
DateRule.java | 23 * @provisional This API might change or be removed in a future release. 38 * @provisional This API might change or be removed in a future release. 55 * @provisional This API might change or be removed in a future release. 69 * @provisional This API might change or be removed in a future release. 77 * @provisional This API might change or be removed in a future release.
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PanoramaMetadataSupport.java | 21 import com.android.gallery3d.util.Future; 35 private Future<PanoramaMetadata> mGetPanoMetadataTask; 78 public void onFutureDone(Future<PanoramaMetadata> future) { 80 mPanoramaMetadata = future.get();
|
/external/kernel-headers/original/uapi/scsi/ |
cxlflash_ioctl.h | 28 __u16 rsvd[3]; /* Reserved for future use */ 57 __u64 reserved[8]; /* Reserved for future use */ 63 __u64 reserved[8]; /* Reserved for future use */ 71 __u64 reserved[8]; /* Reserved for future use */ 82 __u64 reserved[8]; /* Reserved for future use */ 89 __u64 reserved[8]; /* Reserved for future use */ 98 __u64 reserved[8]; /* Reserved for future use */ 106 __u64 reserved[8]; /* Reserved for future use */ 120 __u64 reserved[8]; /* Reserved for future use */ 131 __u64 reserved[8]; /* Reserved for future use * [all...] |