Home
last modified time | relevance | path

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

12

/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/
DAppSearchSessionShimImpl.java90 SettableFuture<AppSearchResult<AppSearchSession>> future = SettableFuture.create(); in createSearchSessionAsync() local
107 SettableFuture<AppSearchResult<SetSchemaResponse>> future = SettableFuture.create(); in setSchemaAsync() local
115 SettableFuture<AppSearchResult<GetSchemaResponse>> future = SettableFuture.create(); in getSchemaAsync() local
123 SettableFuture<AppSearchResult<Set<String>>> future = SettableFuture.create(); in getNamespacesAsync() local
132 SettableFuture<AppSearchBatchResult<String, Void>> future = SettableFuture.create(); in putAsync() local
142 SettableFuture<AppSearchBatchResult<String, GenericDocument>> future = in getByDocumentIdAsync() local
160 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in reportUsageAsync() local
169 SettableFuture<AppSearchBatchResult<String, Void>> future = SettableFuture.create(); in removeAsync() local
178 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in removeAsync() local
186 SettableFuture<AppSearchResult<StorageInfo>> future = SettableFuture.create(); in getStorageInfoAsync() local
[all …]
DGlobalSearchSessionShimImpl.java72 SettableFuture<AppSearchResult<GlobalSearchSession>> future = SettableFuture.create(); in createGlobalSearchSessionAsync() local
93 SettableFuture<AppSearchBatchResult<String, GenericDocument>> future = in getByDocumentIdAsync() local
113 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in reportSystemUsageAsync() local
122 SettableFuture<AppSearchResult<GetSchemaResponse>> future = SettableFuture.create(); in getSchemaAsync() local
DEnterpriseGlobalSearchSessionShimImpl.java68 SettableFuture<AppSearchResult<EnterpriseGlobalSearchSession>> future = SettableFuture in createEnterpriseGlobalSearchSessionAsync() local
DBatchResultCallbackAdapter.java28 BatchResultCallbackAdapter(SettableFuture<AppSearchBatchResult<K, V>> future) { in BatchResultCallbackAdapter()
DSearchResultsShimImpl.java53 SettableFuture<AppSearchResult<List<SearchResult>>> future = SettableFuture.create(); in getNextPageAsync() local
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/src/android/media/audio/cts/audiorecordpermissiontests/
DAudioRecordPermissionTests.java90 final var future = in testMovingFromTopToBackground_isSilenced() local
108 final var future = in testMovingFromTopToSleep_isSilenced() local
134 final var future = in testMovingFromTopToForegroundServiceWithMicCapabilities_isNotSilenced() local
153 final var future = in testMovingFromTopToForegroundServiceWithoutMicCapabilities_isSilenced() local
171 final var future = in testIfTargetPre34_MovingFromTopToBackground_isNotSilenced() local
182 final var future = getFutureForIntent(mContext, packageName + ACTION_ACTIVITY_STARTED); in startActivity() local
193 final var future = getFutureForIntent(mContext, packageName + ACTION_ACTIVITY_FINISHED); in stopActivity() local
201 final var future = getFutureForIntent(mContext, packageName + ACTION_BEGAN_RECEIVE_AUDIO); in startForegroundServiceRecording() local
216 final var future = getFutureForIntent(mContext, packageName + ACTION_BEGAN_RECEIVE_AUDIO); in startBackgroundServiceRecording() local
229 final var future = getFutureForIntent(mContext, packageName + ACTION_FINISH_TEARDOWN); in stopService() local
/cts/tests/tests/accounts/src/android/accounts/cts/
DAbstractAuthenticatorTests.java80 AccountManagerFuture<Bundle> future = mAccountManager.startAddAccountSession( in testStartAddAccountSessionDefaultImpl() local
116 AccountManagerFuture<Bundle> future = mAccountManager.startUpdateCredentialsSession( in testStartUpdateCredentialsSessionDefaultImpl() local
156 AccountManagerFuture<Bundle> future = mAccountManager.startAddAccountSession( in testFinishSessionAndStartAddAccountSessionDefaultImpl() local
226 AccountManagerFuture<Bundle> future = mAccountManager.startUpdateCredentialsSession( in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl() local
301 AccountManagerFuture<Boolean> future = mAccountManager.isCredentialsUpdateSuggested( in testIsCredentialsUpdateSuggestedDefaultImpl() local
DAccountManagerUnaffiliatedAuthenticatorTests.java252 AccountManagerFuture<Account[]> future = mAccountManager.getAccountsByTypeAndFeatures( in testGetAccountsByTypeAndFeatures() local
283 AccountManagerFuture<Bundle> future = mAccountManager.startAddAccountSession( in testStartAddAccountSession() local
319 AccountManagerFuture<Bundle> future = mAccountManager.startUpdateCredentialsSession( in testStartUpdateCredentialsSession() local
357 AccountManagerFuture<Bundle> future = mAccountManager.startAddAccountSession( in testDefaultFinishSessiontWithStartAddAccountSessionImpl() local
408 AccountManagerFuture<Bundle> future = mAccountManager.startUpdateCredentialsSession( in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl() local
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DParallelSensorOperation.java98 Future<SensorOperation> future = executor.submit(new Callable<SensorOperation>() { in execute() local
118 Future<SensorOperation> future = futures.get(i); in execute() local
164 private SensorOperation getFutureResult(Future<SensorOperation> future, Long timeoutNs) in getFutureResult()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebkitUtils.java61 final SettableFuture<T> future = SettableFuture.create(); in onMainThread() local
141 public static <T> T waitForFuture(Future<T> future) { in waitForFuture()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFutureResultActivity.kt53 val future = CompletableFuture<Int>() in startActivityForResult() constant
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionRoleTest.java146 final CallbackFuture future = new CallbackFuture("addAssistRoleHolder"); in addAssistRoleHolder() local
158 final CallbackFuture future = new CallbackFuture("removeAssistRoleHolder"); in removeAssistRoleHolder() local
/cts/tests/tests/security/src/android/security/cts/
DStartForFutureActivity.kt41 private var future: CompletableFuture<Instrumentation.ActivityResult>? = null variable
DRolePermissionOverrideTest.kt118 val future = CallbackFuture() in addRoleHolder() constant
/cts/tests/tests/security/src/android/security/cts/CVE_2022_20420/
DCVE_2022_20420.java87 CompletableFuture<Boolean> future = new CompletableFuture<>(); in testDeviceAdminAppRestricted() local
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMockVisualVoicemailService.java33 public static void setSmsFuture(CompletableFuture<VisualVoicemailSms> future) { in setSmsFuture()
DVisualVoicemailServiceTest.java194 CompletableFuture<VisualVoicemailSms> future = new CompletableFuture<>(); in testPermissionlessService_ignored() local
475 CompletableFuture<VisualVoicemailSms> future = new CompletableFuture<>(); in getSmsFromText() local
513 CompletableFuture<VisualVoicemailSms> future = new CompletableFuture<>(); in getSmsFromData() local
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/remoteaccess/
DCarRemoteAccessManagerPermissionTest.java65 public void onShutdownStarting(@NonNull CompletableRemoteTaskFuture future) {} in onShutdownStarting()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/
DAccountManagerFutureWrapper.java56 AccountManagerFuture<V> future, FutureResultWriter<V> futureResultWriter) { in writeFutureResult()
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/
DAccountCreator.java62 final AccountManagerFuture<Bundle> future = accountManager.addAccount( in addMockAccountForCurrentUser() local
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DThreadNetworkTest.java169 CompletableFuture<Boolean> future) { in newOutcomeReceiver()
DAccountManagementTest.java489 AccountManagerFuture<Bundle> future = in startAddAccountSession_isLogged() local
512 private static void waitForFutureDone(AccountManagerFuture<Bundle> future) { in waitForFutureDone()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/testutil/
DAppSearchTestUtils.java50 @NonNull Future<AppSearchBatchResult<K, V>> future) throws Exception { in checkIsBatchResultSuccess()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioManagerTest.java349 var future = mCancelRule.registerFuture(getFutureForIntent( in testMicrophoneMuteIntent() local
376 var future = mCancelRule.registerFuture(getFutureForIntent( in testSpeakerphoneIntent() local
431 var future = mCancelRule.registerFuture(getFutureForIntent( in testVolumeChangedIntent() local
2036 var future = mCancelRule.registerFuture(getFutureForIntent( in setInterruptionFilter() local
2806 private void waitForMixerAttrChanged(ListenableFuture<Void> future) in waitForMixerAttrChanged()
2813 final ListenableFuture<Void> future = in getMixerAttrChangedFuture() local
2846 var future = mCancelRule.registerFuture(getFutureForIntent( in assertCallChangesStreamVolume() local
2880 var future = mCancelRule.registerFuture(getFutureForIntent( in assertCallDoesNotChangeStreamVolume() local
2902 var future = mCancelRule.registerFuture(getFutureForIntent( in waitForStreamVolumeSet() local
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallStreamingTest.java239 CompletableFuture<ICtsCallStreamingServiceControl> future = in getControlBinder() local

12