Home
last modified time | relevance | path

Searched defs:future (Results 1 – 25 of 76) sorted by relevance

1234

/packages/services/Telephony/src/com/android/services/telephony/rcs/
DUceControllerManager.java162 Future future = mExecutorService.submit(() -> { in requestCapabilities() local
187 Future future = mExecutorService.submit(() -> { in requestNetworkAvailability() local
210 Future<Integer> future = mExecutorService.submit(() -> { in getUcePublishState() local
232 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in addUceRegistrationOverride() local
254 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in removeUceRegistrationOverride() local
275 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in clearUceRegistrationOverride() local
296 Future<RcsContactUceCapability> future = mExecutorService.submit(() -> { in getLatestRcsContactUceCapability() local
318 Future<String> future = mExecutorService.submit(() -> { in getLastPidfXml() local
340 Future<Boolean> future = mExecutorService.submit(() -> { in removeUceRequestDisallowedStatus() local
367 Future<Boolean> future = mExecutorService.submit(() -> { in setCapabilitiesRequestTimeout() local
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserManagerUnitTest.java216 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_success() local
229 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_remoteException() local
241 AsyncFuture<UserSwitchResult> future = mMgr.switchUser(11); in testSwitchUser_runtimeException() local
296 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", "sweet", 42); in testCreateUser_withType_success() local
317 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", "sweet", 42); in testCreateUser_withType_remoteException() local
332 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", "sweet", 42); in testCreateUser_withType_runtimeException() local
347 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUser_success() local
368 AsyncFuture<UserCreationResult> future = mMgr.createUser("dude", 42); in testCreateUser_remoteException() local
383 AsyncFuture<UserCreationResult> future = mMgr.createGuest("dudeGuest"); in testCreateGuest_success() local
405 AsyncFuture<UserCreationResult> future = mMgr.createGuest("dudeGuest"); in testCreateGuest_remoteException() local
[all …]
DExperimentalCarUserManagerUnitTest.java75 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/
DFutureTimer.java75 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/services/Car/car-test-lib/src/android/car/testapi/
DCarTestingHelper.java38 public static <T> T getResult(@NonNull AsyncFuture<T> future) in getResult()
47 public static <T> T getResult(@NonNull AsyncFuture<T> future, long timeoutMs) { in getResult()
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DFuturesUtil.java26 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/services/Car/car-lib/src/android/car/admin/
DCarDevicePolicyManager.java147 AndroidFuture<UserRemovalResult> future = new AndroidFuture<UserRemovalResult>(); in removeUser() local
190 AndroidFuture<UserCreationResult> future = new AndroidFuture<UserCreationResult>(); in createUser() local
229 AndroidFuture<UserStartResult> future = new AndroidFuture<>(); in startUserInBackground() local
268 AndroidFuture<UserStopResult> future = new AndroidFuture<>(); in stopUser() local
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DJavaMockitoHelperTest.java78 Future<String> future = mock(Future.class); in testGetResult() local
87 Future<String> future = mock(Future.class); in testGetResult_withCustomTimeout() local
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataPoolImpl.java71 ListenableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in removeMetadataFuture() local
92 SettableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in update() local
/packages/modules/Permission/service/java/com/android/role/
DRoleShellCommand.java115 CallbackFuture future = new CallbackFuture(); in runAddRoleHolder() local
127 CallbackFuture future = new CallbackFuture(); in runRemoveRoleHolder() local
138 CallbackFuture future = new CallbackFuture(); in runClearRoleHolders() local
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/
DCarDevicePolicyManagerUnitTest.java187 AndroidFuture<UserRemovalResult> future = in mockRemoveUser() local
197 AndroidFuture<UserCreationResult> future = in mockCreateUser() local
207 AndroidFuture<UserStartResult> future = in mockStartUserInBackground() local
217 AndroidFuture<UserStopResult> future = in mockStopUser() local
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DJavaMockitoHelper.java92 public static <T> T getResult(@NonNull Future<T> future) { in getResult()
100 public static <T> T getResult(@NonNull Future<T> future, long timeoutMs) { in getResult()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java53 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/Telephony/tests/src/com/android/services/telephony/rcs/
DSipDelegateControllerTest.java99 CompletableFuture<Boolean> future = controller.create(request.getFeatureTags(), in testCreateDelegate() local
124 CompletableFuture<Boolean> future = controller.create(request.getFeatureTags(), in testCreateDeniedFeatures() local
153 CompletableFuture<Boolean> future = controller.create(request.getFeatureTags(), in testCreateDelegateTransportDied() local
258 CompletableFuture<Boolean> future = controller.create(request.getFeatureTags(), in createSipDelegate() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java334 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/services/Car/service/src/com/android/car/garagemode/
DController.java83 public void onStateChanged(int state, CompletableFuture<Void> future) { in onStateChanged()
152 void initiateGarageMode(CompletableFuture<Void> future) { in initiateGarageMode()
196 private void handleShutdownPrepare(CompletableFuture<Void> future) { in handleShutdownPrepare()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DFutureData.java49 public static <T> T getData(@Nullable FutureData<T> future) { in getData()
55 public static <T> T getPastData(@Nullable FutureData<T> future) { in getPastData()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DFutureListener.java20 public void onFutureDone(Future<T> future); in onFutureDone()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserFragment.java156 AsyncFuture<UserCreationResult> future; in createUser() local
214 AsyncFuture<UserSwitchResult> future = mCarUserManager.switchUser(userId); in switchUser() local
295 AsyncFuture<UserIdentificationAssociationResponse> future = mCarUserManager in associateKeyFob() local
331 private static <T> T getResult(AsyncFuture<T> future) { in getResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DRemoveAccountPreferenceControllerTest.java197 AccountManagerFuture<Bundle> future = mock(AccountManagerFuture.class); in confirmRemove_shouldRemoveAccount() local
231 AccountManagerFuture<Bundle> future = mock(AccountManagerFuture.class); in confirmRemove_activityGone_shouldSilentlyRemoveAccount() local
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java349 AndroidFuture<UserSwitchResult> future = new AndroidFuture<UserSwitchResult>() { in switchUser() local
375 AndroidFuture<UserSwitchResult> future = new AndroidFuture<>(); in newSwitchResuiltForFailure() local
391 AndroidFuture<UserCreationResult> future = new AndroidFuture<UserCreationResult>() { in createUser() local
490 AndroidFuture<UserRemovalResult> future = new AndroidFuture<UserRemovalResult>(); in removeUser() local
666 AndroidFuture<UserIdentificationAssociationResponse> future = in setUserIdentificationAssociation() local
/packages/services/Car/car-lib/src/android/car/util/concurrent/
DAndroidAsyncFuture.java38 public AndroidAsyncFuture(@NonNull AndroidFuture<T> future) { in AndroidAsyncFuture()
/packages/apps/Dialer/java/com/android/dialer/precall/
DPreCallCoordinator.java72 ListenableFuture<OutputT> future, in listen()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpSessionTest.java77 Future<MsrpChunk> future = session.send(request); in foo() local
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPanoramaMetadataSupport.java78 public void onFutureDone(Future<PanoramaMetadata> future) { in onFutureDone()

1234