Searched refs:mFuture (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | EventsTest.java | 55 protected FutureWaiter mFuture; // Mechanism for waiting for the UI test to complete field in EventsTest 67 FutureWaiter mFuture; field in EventsTest.Canceler 70 mFuture = future; in Canceler() 77 mFuture.setException(new RuntimeException(e)); in run() 95 FutureWaiter mFuture; field in EventsTest.Ender 98 mFuture = future; in Ender() 105 mFuture.setException(new RuntimeException(e)); in run() 116 FutureWaiter mFuture; field in EventsTest.Pauser 119 mFuture = future; in Pauser() 126 mFuture.setException(new RuntimeException(e)); in run() [all …]
|
D | ViewPropertyAnimatorTest.java | 54 protected FutureWaiter mFuture; // Mechanism for waiting for the UI test to complete field in ViewPropertyAnimatorTest 66 FutureWaiter mFuture; field in ViewPropertyAnimatorTest.Canceler 69 mFuture = future; in Canceler() 76 mFuture.setException(new RuntimeException(e)); in run() 94 FutureWaiter mFuture; field in ViewPropertyAnimatorTest.FutureReleaseListener 97 mFuture = future; in FutureReleaseListener() 106 mFuture = future; in FutureReleaseListener() 111 mFuture.release(); in FutureReleaseListener() 122 mFuture.release(); in onAnimationEnd() 183 mFuture = new FutureWaiter(); in setUp() [all …]
|
D | AnimatorSetEventsTest.java | 58 mFutureListener = new FutureReleaseListener(mFuture); in testPlayingCancelDuringChildDelay() 67 handler.postDelayed(new Canceler(animSet, mFuture), ANIM_DURATION + 250); in testPlayingCancelDuringChildDelay() 69 mFuture.setException(new RuntimeException(e)); in testPlayingCancelDuringChildDelay() 73 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); in testPlayingCancelDuringChildDelay()
|
/frameworks/base/libs/hwui/thread/ |
D | Task.h | 37 Task(): mFuture(new Future<T>()) { } in Task() 41 return mFuture->get(); in getResult() 45 mFuture->produce(result); in setResult() 50 return mFuture; in future() 54 sp<Future<T> > mFuture;
|
/frameworks/base/core/java/android/os/ |
D | SynchronousResultReceiver.java | 45 private final CompletableFuture<Result> mFuture = new CompletableFuture<>(); field in SynchronousResultReceiver 54 mFuture.complete(new Result(resultCode, resultData)); in onReceiveResult() 67 return mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); in awaitResult()
|
D | AsyncTask.java | 228 private final FutureTask<Result> mFuture; field in AsyncTask 345 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask() 527 return mFuture.cancel(mayInterruptIfRunning); in cancel() 542 return mFuture.get(); in get() 562 return mFuture.get(timeout, unit); in get() 651 exec.execute(mFuture); in executeOnExecutor()
|
/frameworks/support/compat/java/android/support/v4/content/ |
D | ModernAsyncTask.java | 85 private final FutureTask<Result> mFuture; field in ModernAsyncTask 150 mFuture = new FutureTask<Result>(mWorker) { in ModernAsyncTask() 330 return mFuture.cancel(mayInterruptIfRunning); in cancel() 345 return mFuture.get(); in get() 365 return mFuture.get(timeout, unit); in get() 449 exec.execute(mFuture); in executeOnExecutor()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManager.java | 2541 volatile AccountManagerFuture<Bundle> mFuture = null; 2577 mFuture = addAccount(mAccountType, mAuthTokenType, mFeatures, 2598 mFuture = getAuthToken(account, mAuthTokenType, 2601 mFuture = getAuthToken(account, mAuthTokenType, mLoginOptions,
|