/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserManagerUnitTest.java | 175 AndroidFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_success() local 188 AndroidFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_noUserSwitchability() local 201 AndroidFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_remoteException() local 250 AndroidFuture<UserCreationResult> future = mMgr.createUser("dude", "sweet", 42); in testCreateUser_withType_success() local 271 AndroidFuture<UserCreationResult> future = mMgr.createUser("dude", "sweet", 42); in testCreateUser_withType_remoteException() local 286 AndroidFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUser_success() local 307 AndroidFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUser_remoteException() local 322 AndroidFuture<UserCreationResult> future = mMgr.createGuest("dudeGuest"); in testCreateGuest_success() local 344 AndroidFuture<UserCreationResult> future = mMgr.createGuest("dudeGuest"); in testCreateGuest_remoteException() local 427 AndroidFuture<UserIdentificationAssociationResponse> future = in testSetUserIdentificationAssociation_remoteException() local [all …]
|
D | ExperimentalCarUserManagerUnitTest.java | 75 AndroidFuture<UserCreationResult> future = mManager.createDriver(name, true); in testCreateDriver_Success_Admin() local 89 AndroidFuture<UserCreationResult> future = mManager.createDriver(name, false); in testCreateDriver_Success_NonAdmin() local 101 AndroidFuture<UserCreationResult> future = mManager.createDriver("test driver", false); in testCreateDriver_Error() local 125 AndroidFuture<UserSwitchResult> future = mManager.switchDriver(10); in testSwitchDriver_Success() local 133 AndroidFuture<UserSwitchResult> future = mManager.switchDriver(20); in testSwitchDriver_Error() local 189 AndroidFuture<UserCreationResult> future = new AndroidFuture<>(); in expectCreateDriverSucceed() local 212 AndroidFuture<UserSwitchResult> future = (AndroidFuture<UserSwitchResult>) invocation in expectSwitchDriverSucceed() local
|
/packages/apps/Dialer/java/com/android/dialer/metrics/ |
D | FutureTimer.java | 75 public <T> void applyTiming(ListenableFuture<T> future, String eventName) { in applyTiming() 84 ListenableFuture<T> future, String eventName, @LogCatMode int logCatMode) { in applyTiming() 95 ListenableFuture<T> future, Function<T, String> eventNameFromResultFunction) { in applyTiming() 100 ListenableFuture<T> future, in applyTiming()
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
D | FuturesUtil.java | 26 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout() 39 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/ |
D | MetadataPoolImpl.java | 71 ListenableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in removeMetadataFuture() local 92 SettableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in update() local
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
D | FutureListener.java | 20 public void onFutureDone(Future<T> future); in onFutureDone()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | JobLimiter.java | 53 public synchronized void setFuture(Future<T> future) { in setFuture() 137 JobWrapper<T> future = new JobWrapper<T>(Utils.checkNotNull(job), listener); in submit() local 155 public synchronized void onFutureDone(Future future) { in onFutureDone()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | Controller.java | 77 public void onStateChanged(int state, CompletableFuture<Void> future) { in onStateChanged() 146 void initiateGarageMode(CompletableFuture<Void> future) { in initiateGarageMode() 190 private void handleShutdownPrepare(CompletableFuture<Void> future) { in handleShutdownPrepare()
|
D | GarageMode.java | 205 void enterGarageMode(CompletableFuture<Void> future) { in enterGarageMode() 290 private void updateFuture(CompletableFuture<Void> future) { in updateFuture()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarLocationServiceTest.java | 334 CompletableFuture<Void> future = new CompletableFuture<>(); in testStoresLocationUponShutdownPrepare() local 380 CompletableFuture<Void> future = new CompletableFuture<>(); in testDoesNotStoreNullLocation() local 425 CompletableFuture<Void> future = new CompletableFuture<>(); in testDeletesCacheFileUponSuspendExitWhileMoving() local 445 CompletableFuture<Void> future = new CompletableFuture<>(); in testRegistersForDrivingStateChangesUponSuspendExit() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UserHelper.java | 166 private UserInfo getUserInfo(AndroidFuture<UserCreationResult> future) { in getUserInfo() 217 AndroidFuture<UserCreationResult> future = in createNewAdminUser() local 237 AndroidFuture<UserCreationResult> future = mCarUserManager.createGuest(mDefaultGuestName); in createNewOrFindExistingGuest() local
|
D | AddNewUserTask.java | 50 AndroidFuture<UserCreationResult> future = mCarUserManager.createUser(userNames[0], in doInBackground() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | RemoveAccountPreferenceControllerTest.java | 197 AccountManagerFuture<Bundle> future = mock(AccountManagerFuture.class); in confirmRemove_shouldRemoveAccount() local 231 AccountManagerFuture<Bundle> future = mock(AccountManagerFuture.class); in confirmRemove_activityGone_shouldSilentlyRemoveAccount() local
|
/packages/apps/Dialer/java/com/android/dialer/precall/ |
D | PreCallCoordinator.java | 72 ListenableFuture<OutputT> future, in listen()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PanoramaMetadataSupport.java | 78 public void onFutureDone(Future<PanoramaMetadata> future) { in onFutureDone()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
D | Vvm3Subscriber.java | 246 RequestFuture<String> future = RequestFuture.newFuture(); in getSelfProvisionResponse() local 275 RequestFuture<String> future = RequestFuture.newFuture(); in clickSubscribeLink() local 304 RequestFuture<String> future = RequestFuture.newFuture(); in vvm3XmlRequest() local
|
/packages/services/Car/car-lib/src/android/car/user/ |
D | CarUserManager.java | 217 AndroidFuture<UserSwitchResult> future = new AndroidFuture<UserSwitchResult>() { in switchUser() local 241 AndroidFuture<UserSwitchResult> future = new AndroidFuture<>(); in newSwitchResuiltForFailure() local 257 AndroidFuture<UserCreationResult> future = new AndroidFuture<UserCreationResult>() { in createUser() local 486 AndroidFuture<UserIdentificationAssociationResponse> future = in setUserIdentificationAssociation() local
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | Futures2.java | 72 final ListenableFuture<T> future) { in nonCancellationPropagating()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | BitmapLoader.java | 49 public void onFutureDone(Future<Bitmap> future) { in onFutureDone()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 254 Future<?> future = getExecutorService(operation.getOpType()).submit(job); in handleOperation() local 495 private final Future<?> future; field in FileOperationService.JobRecord 497 public JobRecord(Job job, Future<?> future) { in JobRecord()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | AddNewUserTaskTest.java | 120 AndroidFuture<UserCreationResult> future = new AndroidFuture<>(); in mockCreateUser() local
|
D | UserHelperTest.java | 494 AndroidFuture<UserCreationResult> future = new AndroidFuture<>(); in mockCreateUserFail() local 502 AndroidFuture<UserCreationResult> future = new AndroidFuture<>(); in mockCreateUser() local 508 AndroidFuture<UserCreationResult> future = new AndroidFuture<>(); in mockCreateGuest() local 514 AndroidFuture<UserSwitchResult> future = new AndroidFuture<>(); in mockSwitchUserSuccess() local
|
/packages/services/Car/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 239 public static <T> T getResult(@NonNull AndroidFuture<T> future) in getResult() 248 public static <T> T getResult(@NonNull AndroidFuture<T> future, long timeoutMs) in getResult()
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | UiListener.java | 92 @NonNull ListenableFuture<OutputT> future, in listen()
|
D | SupportUiListener.java | 94 @NonNull ListenableFuture<OutputT> future, in listen()
|