Home
last modified time | relevance | path

Searched refs:mFuture (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java55 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 …]
DViewPropertyAnimatorTest.java54 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 …]
DAnimatorSetEventsTest.java58 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/
DTask.h37 Task() : mFuture(new Future<T>()) {} in Task()
40 T getResult() const { return mFuture->get(); } in getResult()
42 void setResult(T result) { mFuture->produce(result); } in setResult()
45 const sp<Future<T> >& future() const { return mFuture; } in future()
48 sp<Future<T> > mFuture;
/frameworks/base/core/java/android/os/
DSynchronousResultReceiver.java45 private final CompletableFuture<Result> mFuture = new CompletableFuture<>(); field in SynchronousResultReceiver
64 mFuture.complete(new Result(resultCode, resultData)); in onReceiveResult()
81 return mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); in awaitResult()
DAsyncTask.java228 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/loader/src/main/java/androidx/loader/content/
DModernAsyncTask.java86 private final FutureTask<Result> mFuture; field in ModernAsyncTask
151 mFuture = new FutureTask<Result>(mWorker) { in ModernAsyncTask()
331 return mFuture.cancel(mayInterruptIfRunning); in cancel()
346 return mFuture.get(); in get()
366 return mFuture.get(timeout, unit); in get()
450 exec.execute(mFuture); in executeOnExecutor()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DAppTransitionAnimationSpecsFuture.java43 private final IAppTransitionAnimationSpecsFuture mFuture = field in AppTransitionAnimationSpecsFuture
79 return mFuture; in getFuture()
/frameworks/base/core/java/android/accounts/
DAccountManager.java2553 volatile AccountManagerFuture<Bundle> mFuture = null;
2589 mFuture = addAccount(mAccountType, mAuthTokenType, mFeatures,
2610 mFuture = getAuthToken(account, mAuthTokenType,
2613 mFuture = getAuthToken(account, mAuthTokenType, mLoginOptions,
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3828 Landroid/os/AsyncTask;->mFuture:Ljava/util/concurrent/FutureTask;