Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java68 protected FutureWaiter mFuture; // Mechanism for waiting for the UI test to complete field in EventsTest
79 FutureWaiter mFuture; field in EventsTest.Canceler
83 mFuture = future; in Canceler()
91 mFuture.setException(new RuntimeException(e)); in run()
109 FutureWaiter mFuture; field in EventsTest.Ender
113 mFuture = future; in Ender()
121 mFuture.setException(new RuntimeException(e)); in run()
132 FutureWaiter mFuture; field in EventsTest.Pauser
136 mFuture = future; in Pauser()
144 mFuture.setException(new RuntimeException(e)); in run()
[all …]
DViewPropertyAnimatorTest.java67 protected FutureWaiter mFuture; // Mechanism for waiting for the UI test to complete field in ViewPropertyAnimatorTest
79 FutureWaiter mFuture; field in ViewPropertyAnimatorTest.Canceler
82 mFuture = future; in Canceler()
89 mFuture.setException(new RuntimeException(e)); in run()
107 FutureWaiter mFuture; field in ViewPropertyAnimatorTest.FutureReleaseListener
110 mFuture = future; in FutureReleaseListener()
119 mFuture = future; in FutureReleaseListener()
121 handler.postDelayed(mFuture::release, timeout); in FutureReleaseListener()
127 handler.postDelayed(mFuture::release, FUTURE_RELEASE_DELAY); in onAnimationEnd()
180 mFuture = new FutureWaiter(); in setUp()
[all …]
DAnimatorSetEventsTest.java63 mFutureListener = new FutureReleaseListener(mFuture); in testPlayingCancelDuringChildDelay()
70 handler.postDelayed(new Canceler(animSet, mFuture), ANIM_DURATION + 250); in testPlayingCancelDuringChildDelay()
72 mFuture.setException(new RuntimeException(e)); in testPlayingCancelDuringChildDelay()
75 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS); in testPlayingCancelDuringChildDelay()
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteCall.java63 private final CompletableFuture<RemoteResult> mFuture; field in RemoteCall
89 mFuture = new CompletableFuture<>(); in RemoteCall()
118 if (!mFuture.isDone()) { in call()
123 mCallable.call(new FutureBackupCallback(mFuture)); in call()
127 return mFuture.get(); in call()
143 mFuture.complete(RemoteResult.FAILED_CANCELLED); in cancel()
147 mFuture.complete(RemoteResult.FAILED_TIMED_OUT); in timeOut()
DFutureBackupCallback.java29 private final CompletableFuture<RemoteResult> mFuture; field in FutureBackupCallback
32 mFuture = future; in FutureBackupCallback()
37 mFuture.complete(RemoteResult.of(result)); in operationComplete()
/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.java286 private final FutureTask<Result> mFuture; field in AsyncTask
406 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask()
603 return mFuture.cancel(mayInterruptIfRunning); in cancel()
618 return mFuture.get(); in get()
638 return mFuture.get(timeout, unit); in get()
727 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/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java452 private final CompletableFuture<String> mFuture = new CompletableFuture<>(); field in EthernetTetheringTest.TetheredInterfaceRequester
462 mFuture.complete(iface); in onAvailable()
467 mFuture.completeExceptionally(new IllegalStateException("onUnavailable received")); in onUnavailable()
474 return mFuture; in requestInterface()
483 mFuture.obtrudeException(new IllegalStateException("Request already released")); in release()
/frameworks/base/core/java/android/accounts/
DAccountManager.java2561 volatile AccountManagerFuture<Bundle> mFuture = null;
2600 mFuture = addAccount(mAccountType, mAuthTokenType, mFeatures,
2621 mFuture = getAuthToken(account, mAuthTokenType,
2624 mFuture = getAuthToken(account, mAuthTokenType, mLoginOptions,
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt360 Landroid/accounts/AccountManager$GetAuthTokenByTypeAndFeaturesTask;->mFuture:Landroid/accounts/Acco…
53116 Landroid/os/SynchronousResultReceiver;->mFuture:Ljava/util/concurrent/CompletableFuture;