/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | CtsTextClassifierService.java | 95 TextSelection.Request request, CancellationSignal cancellationSignal, in onSuggestSelection() argument 108 TextClassification.Request request, CancellationSignal cancellationSignal, in onClassifyText() argument 130 CancellationSignal cancellationSignal, Callback<TextLinks> callback) { in onGenerateLinks() argument 137 TextLanguage.Request request, CancellationSignal cancellationSignal, in onDetectLanguage() argument 145 ConversationActions.Request request, CancellationSignal cancellationSignal, in onSuggestConversationActions() argument
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | CtsAugmentedAutofillService.java | 211 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument 222 cancellationSignal, controller, callback)); in onFillRequest() local 244 public final CancellationSignal cancellationSignal; field in AugmentedFillRequest 248 private AugmentedFillRequest(FillRequest request, CancellationSignal cancellationSignal, in AugmentedFillRequest() argument 251 this.cancellationSignal = cancellationSignal; in AugmentedFillRequest() 363 @NonNull CancellationSignal cancellationSignal, @NonNull FillController controller, in handleOnFillRequest() argument 366 cancellationSignal, controller, callback); in handleOnFillRequest()
|
D | InstrumentedAutoFillService.java | 222 CancellationSignal cancellationSignal, FillCallback callback) { in onFillRequest() argument 245 cancellationSignal, callback, request.getFlags(), in onFillRequest() local 386 public final CancellationSignal cancellationSignal; field in FillRequest 392 CancellationSignal cancellationSignal, FillCallback callback, int flags, in FillRequest() argument 396 this.cancellationSignal = cancellationSignal; in FillRequest() 638 CancellationSignal cancellationSignal, FillCallback callback, int flags, in onFillRequest() argument 714 new FillRequest(contexts, data, cancellationSignal, callback, in onFillRequest() 724 Helper.offer(mFillRequests, new FillRequest(contexts, data, cancellationSignal, in onFillRequest()
|
D | NoOpAutofillService.java | 39 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
|
D | BadAutofillService.java | 38 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
|
D | AugmentedHelper.java | 94 assertWithMessage("no CancellationSignal on %s", request).that(request.cancellationSignal) in assertBasicRequestInfo()
|
/cts/tests/rotationresolverservice/src/android/rotationresolverservice/cts/ |
D | CtsTestRotationResolverService.java | 37 CancellationSignal cancellationSignal, in onResolveRotation() argument 42 cancellationSignal.setOnCancelListener(new OnCancelListener() { in onResolveRotation()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
D | StubbablePrinterDiscoverySession.java | 75 @NonNull CancellationSignal cancellationSignal, in onRequestCustomPrinterIcon() argument 78 mCallbacks.onRequestCustomPrinterIcon(printerId, cancellationSignal, callback); in onRequestCustomPrinterIcon()
|
D | PrinterDiscoverySessionCallbacks.java | 46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); in onRequestCustomPrinterIcon() argument
|
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/ |
D | BiometricPromptTest.java | 81 CancellationSignal cancellationSignal = new CancellationSignal(); in test_authenticate_fingerprint() local 97 prompt.authenticate(cancellationSignal, mExecutor, mAuthenticationCallback); in test_authenticate_fingerprint() 104 cancellationSignal.cancel(); in test_authenticate_fingerprint()
|
/cts/tests/uwb/src/android/uwb/cts/ |
D | UwbManagerTest.java | 170 CancellationSignal cancellationSignal = null; in testOpenRangingSessionWithBadParams() local 177 cancellationSignal = mUwbManager.openRangingSession( in testOpenRangingSessionWithBadParams() 186 if (cancellationSignal != null) { in testOpenRangingSessionWithBadParams() 187 cancellationSignal.cancel(); in testOpenRangingSessionWithBadParams()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockContentProvider.java | 260 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) { in query() argument 266 new String[] { locale, safeLocale }, cancellationSignal)) { in query() argument 279 null, cancellationSignal); in query() 281 return super.query(uri, projection, queryArgs, cancellationSignal); in query() 293 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query() argument 346 null, cancellationSignal); in query() 444 @Nullable CancellationSignal cancellationSignal) { in refresh() argument
|
D | ContentResolverTest.java | 563 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet() local 566 cancellationSignal); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet() 572 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() local 573 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() 576 mContentResolver.query(TABLE1_URI, null, null, null, null, cancellationSignal); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() 594 final CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local 602 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() 615 null, null, cancellationSignal); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() 1120 CancellationSignal cancellationSignal = new CancellationSignal(); in testRefresh_CancellableThrowsImmediately() local 1121 cancellationSignal.cancel(); in testRefresh_CancellableThrowsImmediately() [all …]
|
D | TestPagingContentProvider.java | 67 CancellationSignal cancellationSignal) { in query() argument
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricTestBase.java | 258 @NonNull CancellationSignal cancellationSignal, in showCredentialOnlyBiometricPrompt() argument 260 showCredentialOnlyBiometricPromptWithContents(callback, cancellationSignal, shouldShow, in showCredentialOnlyBiometricPrompt() 270 @NonNull CancellationSignal cancellationSignal, boolean shouldShow, in showCredentialOnlyBiometricPromptWithContents() argument 283 prompt.authenticate(cancellationSignal, executor, callback); in showCredentialOnlyBiometricPromptWithContents() 307 @NonNull CancellationSignal cancellationSignal, in showDeviceCredentialAllowedBiometricPrompt() argument 319 prompt.authenticate(cancellationSignal, executor, callback); in showDeviceCredentialAllowedBiometricPrompt() 339 @NonNull CancellationSignal cancellationSignal) throws Exception { in showDefaultBiometricPrompt() argument 353 prompt.authenticate(cancellationSignal, executor, callback); in showDefaultBiometricPrompt()
|
D | BiometricSimpleTests.java | 410 CancellationSignal cancellationSignal = new CancellationSignal(); in testBiometricCancellation() local 413 true /* requireConfirmation */, callback, cancellationSignal); in testBiometricCancellation() local 415 cancelAuthentication(cancellationSignal); in testBiometricCancellation()
|
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/ |
D | NoOpAutofillService.java | 35 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
|
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/ |
D | SimpleAutofillService.java | 30 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
|
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
D | DirectActionsActivity.java | 86 public void onGetDirectActions(@NonNull CancellationSignal cancellationSignal, in onGetDirectActions() argument 106 CancellationSignal cancellationSignal, Consumer<Bundle> callback) { in onPerformDirectAction() argument 116 cancellationSignal.setOnCancelListener(() -> reportActionCancelled( in onPerformDirectAction()
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsTranslationService.java | 123 @NonNull CancellationSignal cancellationSignal, in onTranslationRequest() argument 128 request, sessionId, cancellationSignal, callback)); in onTranslationRequest() local 272 @NonNull CancellationSignal cancellationSignal, in handleOnTranslationRequest() argument
|
D | TranslationManagerTest.java | 454 final CancellationSignal cancellationSignal = new CancellationSignal(); in testTranslationCancelled() local 460 .build(), cancellationSignal, (r) -> r.run(), callback); in testTranslationCancelled() 464 cancellationSignal.cancel(); in testTranslationCancelled()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | DirectActionsSession.java | 222 final CancellationSignal cancellationSignal = new CancellationSignal(); in performDirectActionAndCancel() local 226 performDirectAction(action, arguments, cancellationSignal, in performDirectActionAndCancel() 233 cancellationSignal.cancel(); in performDirectActionAndCancel()
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | PredictionService.java | 65 CancellationSignal cancellationSignal, Consumer<List<AppTarget>> callback) { in onSortAppTargets() argument
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 467 final CancellationSignal cancellationSignal = sAugmentedReplier.getNextFillRequest() 468 .cancellationSignal; 470 assertThat(cancellationSignal).isNotNull(); 471 cancellationSignal.setOnCancelListener(listener); 508 final CancellationSignal cancellationSignal = request.cancellationSignal; 510 assertThat(cancellationSignal).isNotNull(); 511 cancellationSignal.setOnCancelListener(listener);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineLoginActivityTest.java | 134 assertWithMessage("CancelationSignal is null").that(request.cancellationSignal).isNotNull(); in testAutofill_disjointDatasets() 231 assertWithMessage("CancelationSignal is null").that(request.cancellationSignal).isNotNull(); in testAutofill_selectDatasetThenHideInlineSuggestion()
|