/frameworks/base/core/tests/coretests/src/android/animation/ |
D | EventsTest.java | 68 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 …]
|
D | ViewPropertyAnimatorTest.java | 67 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 …]
|
D | AnimatorSetEventsTest.java | 63 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/ |
D | RemoteCall.java | 63 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()
|
D | FutureBackupCallback.java | 29 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/ |
D | SynchronousResultReceiver.java | 45 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()
|
D | AsyncTask.java | 286 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/ |
D | AppTransitionAnimationSpecsFuture.java | 43 private final IAppTransitionAnimationSpecsFuture mFuture = field in AppTransitionAnimationSpecsFuture 79 return mFuture; in getFuture()
|
/frameworks/base/packages/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 452 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/ |
D | AccountManager.java | 2561 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/ |
D | hiddenapi-greylist-max-o.txt | 360 Landroid/accounts/AccountManager$GetAuthTokenByTypeAndFeaturesTask;->mFuture:Landroid/accounts/Acco… 53116 Landroid/os/SynchronousResultReceiver;->mFuture:Ljava/util/concurrent/CompletableFuture;
|