Home
last modified time | relevance | path

Searched refs:mFuture (Results 1 – 7 of 7) 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()
42 return mFuture->get(); in getResult()
46 mFuture->produce(result); in setResult()
51 return mFuture; in future()
55 sp<Future<T> > mFuture;
/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java79 private final FutureTask<Result> mFuture; field in ModernAsyncTask
127 mFuture = new FutureTask<Result>(mWorker) { in ModernAsyncTask()
273 return mFuture.isCancelled(); in isCancelled()
306 return mFuture.cancel(mayInterruptIfRunning); in cancel()
321 return mFuture.get(); in get()
341 return mFuture.get(timeout, unit); in get()
423 exec.execute(mFuture); in executeOnExecutor()
/frameworks/base/core/java/android/os/
DAsyncTask.java216 private final FutureTask<Result> mFuture; field in AsyncTask
296 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask()
472 return mFuture.cancel(mayInterruptIfRunning); in cancel()
487 return mFuture.get(); in get()
507 return mFuture.get(timeout, unit); in get()
594 exec.execute(mFuture); in executeOnExecutor()
/frameworks/base/core/java/android/accounts/
DAccountManager.java2042 volatile AccountManagerFuture<Bundle> mFuture = null;
2075 mFuture = addAccount(mAccountType, mAuthTokenType, mFeatures,
2093 mFuture = getAuthToken(accounts[0], mAuthTokenType,
2096 mFuture = getAuthToken(accounts[0],
2108mFuture = getAuthToken(account, mAuthTokenType, mLoginOptions,