HomeSort by relevance Sort by last modified time
    Searched refs:future (Results 1 - 25 of 75) sorted by null

1 2 3

  /frameworks/base/core/java/android/accounts/
AccountManagerCallback.java 19 void run(AccountManagerFuture<V> future);
  /external/guava/src/com/google/common/util/concurrent/
Futures.java 25 import java.util.concurrent.Future;
35 * Static utility methods pertaining to the {@link Future} interface.
46 * Returns an uninterruptible view of a {@code Future}. If a thread is
47 * interrupted during an attempt to {@code get()} from the returned future, it
52 final Future<V> future) {
53 checkNotNull(future);
54 if (future instanceof UninterruptibleFuture) {
55 return (UninterruptibleFuture<V>) future;
59 return future.cancel(mayInterruptIfRunning)
    [all...]
SimpleTimeLimiter.java 33 import java.util.concurrent.Future;
120 Future<T> future = executor.submit(callable); local
124 return future.get(timeoutDuration, timeoutUnit);
126 future.cancel(true);
130 Future<T> uninterruptible = Futures.makeUninterruptible(future);
136 future.cancel(true);
  /build/core/combo/arch/arm/
armv5te.mk 12 # and a better solution should be found in the future.
armv7-a.mk 14 # and a better solution should be found in the future.
armv7-a-neon.mk 16 # and a better solution should be found in the future.
armv4t.mk 21 # and a better solution should be found in the future.
  /libcore/luni/src/test/java/tests/api/java/util/concurrent/
AbstractExecutorServiceTest.java 44 Future<?> future = e.submit(task); local
45 future.get();
55 Future<String> future = e.submit(new StringTask()); local
56 String result = future.get();
65 Future<?> future = e.submit(new NoOpRunnable()); local
66 future.get();
67 assertTrue(future.isDone())
75 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); local
    [all...]
ScheduledExecutorSubclassTest.java 99 Future f = p1.schedule(callable, SHORT_DELAY_MS, MILLISECONDS);
210 Future f = se.schedule(callable, SHORT_DELAY_MS, MILLISECONDS);
641 Future<String> future = e.submit(new StringTask());
642 String result = future.get();
655 Future<?> future = e.submit(new NoOpRunnable());
656 future.get();
657 assertTrue(future.isDone());
669 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING)
    [all...]
ScheduledExecutorTest.java 46 Future f = p1.schedule(callable, SHORT_DELAY_MS, MILLISECONDS);
159 Future f = se.schedule(callable, SHORT_DELAY_MS, MILLISECONDS);
592 Future<String> future = e.submit(new StringTask());
593 String result = future.get();
606 Future<?> future = e.submit(new NoOpRunnable());
607 future.get();
608 assertTrue(future.isDone());
620 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING)
    [all...]
ThreadPoolExecutorSubclassTest.java 1101 Future<String> future = e.submit(new StringTask()); local
1115 Future<?> future = e.submit(new NoOpRunnable()); local
1129 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); local
    [all...]
ThreadPoolExecutorTest.java 970 Future<String> future = e.submit(new StringTask()); local
984 Future<?> future = e.submit(new NoOpRunnable()); local
998 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); local
    [all...]
ExecutorsTest.java 184 Future f = p1.schedule(callable, SHORT_DELAY_MS, MILLISECONDS);
198 Future f = p1.schedule(callable, SHORT_DELAY_MS, MILLISECONDS);
212 Future f = p1.schedule(callable, SHORT_DELAY_MS, MILLISECONDS);
221 * Future.get on submitted tasks will time out if they compute too long.
237 Future future = executor.submit(sleeper); local
239 future.get(SHORT_DELAY_MS, MILLISECONDS);
243 future.cancel(true);
  /sdk/emulator/qtools/
trace_reader.cpp 74 inline BBReader::Future *BBReader::AllocFuture()
76 Future *future = free_; local
78 return future;
81 inline void BBReader::FreeFuture(Future *future)
83 future->next = free_;
84 free_ = future;
87 inline void BBReader::InsertFuture(Future *future)
197 Future *future = head_; local
222 Future *future = AllocFuture(); local
245 Future *future = head_; local
    [all...]
trace_reader_base.h 172 struct Future {
173 Future *next;
177 inline Future *AllocFuture();
178 inline void FreeFuture(Future *future);
179 inline void InsertFuture(Future *future);
183 Future futures_[kMaxNumBasicBlocks];
184 Future *head_;
185 Future *free_
    [all...]
  /development/apps/Development/src/com/android/development/
AccountsTester.java 237 public void run(AccountManagerFuture<Boolean> future) {
239 Log.d(TAG, "removeAccount(" + account + ") = " + future.getResult());
326 public void run(AccountManagerFuture<Bundle> future) {
331 Bundle result = future.getResult();
362 public void run(AccountManagerFuture<Bundle> future) {
366 getAndLogResult(future, "get auth token");
377 public void run(AccountManagerFuture<Bundle> future) {
378 Bundle result = getAndLogResult(future, "get and invalidate");
393 public void run(AccountManagerFuture<Boolean> future) {
395 Boolean hasFeatures = future.getResult()
    [all...]
  /packages/providers/DownloadProvider/tests/src/tests/http/
MockWebServer.java 38 import java.util.concurrent.Future;
59 private final Queue<Future<?>> futures = new LinkedList<Future<?>>();
167 Future<?> future = executor.submit(callable); local
168 futures.add(future);
179 Future<?> future = futures.remove(); local
181 future.get(0, TimeUnit.SECONDS);
183 futures.add(future); // still runnin
    [all...]
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockWebServer.java 39 import java.util.concurrent.Future;
63 private final Queue<Future<?>> futures = new LinkedList<Future<?>>();
185 Future<?> future = executor.submit(callable); local
186 futures.add(future);
197 Future<?> future = futures.remove(); local
199 future.get(0, TimeUnit.SECONDS);
201 futures.add(future); // still runnin
    [all...]
  /packages/apps/AccountsAndSyncSettings/src/com/android/settings/
AddAccountSettings.java 109 public void run(AccountManagerFuture<Bundle> future) {
112 Bundle bundle = future.getResult();
  /packages/apps/Email/tests/src/com/android/email/
AccountTestCase.java 82 AccountManagerFuture<Boolean> future = local
85 future.getResult();
  /external/skia/src/animator/
SkAnimateActive.cpp 432 SkMSec future = fAnimators[index]->fStart + state.fStartTime; local
433 if (future > fMaker.fEnableTime)
434 fMaker.notifyInvalTime(future);
439 debugOut.appendS32(future - fMaker.fDebugTimeBase);
  /external/webkit/WebKitTools/Scripts/
run-sunspider 56 --set-baseline Set baseline for future comparisons
  /bionic/linker/
Android.mk 96 # as a static executable, but it won't hurt if in the future we start
  /frameworks/base/policy/src/com/android/internal/policy/impl/
AccountUnlockScreen.java 286 public void run(AccountManagerFuture<Bundle> future) {
289 final Bundle result = future.getResult();
  /ndk/toolchains/x86-4.2.1/
setup.mk 22 # Note that this file may end up being parsed several times in future

Completed in 221 milliseconds

1 2 3