Home
last modified time | relevance | path

Searched refs:cancellationSignal (Results 1 – 25 of 42) sorted by relevance

12

/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppCredentialProviderService.java34 CancellationSignal cancellationSignal, in onBeginGetCredential() argument
41 CancellationSignal cancellationSignal, in onBeginCreateCredential() argument
48 CancellationSignal cancellationSignal, in onClearCredentialState() argument
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DInstrumentedFieldClassificationService.java107 CancellationSignal cancellationSignal, in onClassificationRequest() argument
110 sReplier.onClassificationRequest(request.getAssistStructure(), cancellationSignal, in onClassificationRequest() local
171 public final CancellationSignal cancellationSignal; field in InstrumentedFieldClassificationService.FieldClassificationRequest
175 CancellationSignal cancellationSignal, in FieldClassificationRequest() argument
178 this.cancellationSignal = cancellationSignal; in FieldClassificationRequest()
209 CancellationSignal cancellationSignal, in onClassificationRequest() argument
228 assistStructure, cancellationSignal, outcomeReceiver), in onClassificationRequest()
DCtsAugmentedAutofillService.java184 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
195 cancellationSignal, controller, callback)); in onFillRequest() local
217 public final CancellationSignal cancellationSignal; field in AugmentedFillRequest
221 private AugmentedFillRequest(FillRequest request, CancellationSignal cancellationSignal, in AugmentedFillRequest() argument
224 this.cancellationSignal = cancellationSignal; in AugmentedFillRequest()
336 @NonNull CancellationSignal cancellationSignal, @NonNull FillController controller, in handleOnFillRequest() argument
339 cancellationSignal, controller, callback); in handleOnFillRequest()
DInstrumentedAutoFillService.java223 CancellationSignal cancellationSignal, FillCallback callback) { in onFillRequest() argument
247 cancellationSignal, callback, request.getFlags(), in onFillRequest() local
390 public final CancellationSignal cancellationSignal; field in FillRequest
399 CancellationSignal cancellationSignal, FillCallback callback, int flags, in FillRequest() argument
406 this.cancellationSignal = cancellationSignal; in FillRequest()
680 CancellationSignal cancellationSignal, FillCallback callback, int flags, in onFillRequest() argument
696 cancellationSignal, in onFillRequest()
780 new FillRequest(contexts, hints, data, cancellationSignal, callback, in onFillRequest()
793 cancellationSignal, callback, flags, inlineRequest, in onFillRequest()
DNoOpAutofillService.java39 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
DBadAutofillService.java38 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
/cts/tests/credentials/src/android/credentials/cts/
DCtsNoOpCredentialProviderService.java41 CancellationSignal cancellationSignal, in onBeginGetCredential() argument
50 CancellationSignal cancellationSignal, in onBeginCreateCredential() argument
59 CancellationSignal cancellationSignal, in onClearCredentialState() argument
/cts/tests/credentials/src/android/credentials/cts/unittests/service/
DCredentialProviderServiceTest.java52 @NonNull CancellationSignal cancellationSignal, in onBeginGetCredential() argument
60 @NonNull CancellationSignal cancellationSignal, in onBeginCreateCredential() argument
68 @NonNull CancellationSignal cancellationSignal, in onClearCredentialState() argument
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DCtsIsolatedInferenceService.java90 @Nullable CancellationSignal cancellationSignal, in onTokenInfoRequest() argument
99 int requestType, @Nullable CancellationSignal cancellationSignal, in onProcessRequestStreaming() argument
103 processRequestStreaming(cancellationSignal, processingSignal, callback); in onProcessRequestStreaming()
107 private void processRequestStreaming(@Nullable CancellationSignal cancellationSignal, in processRequestStreaming() argument
120 if (cancellationSignal != null) { in processRequestStreaming()
121 if (cancellationSignal.isCanceled()) { in processRequestStreaming()
127 cancellationSignal.setOnCancelListener(() -> { in processRequestStreaming()
149 int requestType, @Nullable CancellationSignal cancellationSignal, in onProcessRequest() argument
156 processRequest(callerUid, feature, request, requestType, cancellationSignal, callback); in onProcessRequest()
161 int requestType, @Nullable CancellationSignal cancellationSignal, in processRequest() argument
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricPromptLogoTests.java176 CancellationSignal cancellationSignal = new CancellationSignal(); in test_setLogoResAndBitmap_throwsException() local
179 cancellationSignal, mLogoRes, mLogoBitmap, mLogoDescription)); in test_setLogoResAndBitmap_throwsException()
232 CancellationSignal cancellationSignal = new CancellationSignal(); in showBiometricPromptWithLogo() local
234 showDefaultBiometricPromptWithLogo(sensorId, callback, cancellationSignal, mLogoRes, in showBiometricPromptWithLogo()
237 showDefaultBiometricPromptWithLogo(sensorId, callback, cancellationSignal, in showBiometricPromptWithLogo()
DBiometricTestBase.java358 @NonNull CancellationSignal cancellationSignal, in showCredentialOnlyBiometricPrompt() argument
360 showCredentialOnlyBiometricPromptWithContents(callback, cancellationSignal, shouldShow, in showCredentialOnlyBiometricPrompt()
370 @NonNull CancellationSignal cancellationSignal, boolean shouldShow, in showCredentialOnlyBiometricPromptWithContents() argument
384 prompt.authenticate(cancellationSignal, executor, callback); in showCredentialOnlyBiometricPromptWithContents()
395 @NonNull CancellationSignal cancellationSignal, in showDeviceCredentialAllowedBiometricPrompt() argument
407 prompt.authenticate(cancellationSignal, executor, callback); in showDeviceCredentialAllowedBiometricPrompt()
414 @NonNull CancellationSignal cancellationSignal) throws Exception { in showDefaultBiometricPrompt() argument
415 return showDefaultBiometricPromptWithLogo(sensorId, callback, cancellationSignal, in showDefaultBiometricPrompt()
421 @NonNull CancellationSignal cancellationSignal, int logoRes, Bitmap logoBitmap, in showDefaultBiometricPromptWithLogo() argument
445 prompt.authenticate(cancellationSignal, executor, callback); in showDefaultBiometricPromptWithLogo()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DCtsTextClassifierService.java105 TextSelection.Request request, CancellationSignal cancellationSignal, in onSuggestSelection() argument
118 TextClassification.Request request, CancellationSignal cancellationSignal, in onClassifyText() argument
140 CancellationSignal cancellationSignal, Callback<TextLinks> callback) { in onGenerateLinks() argument
147 TextLanguage.Request request, CancellationSignal cancellationSignal, in onDetectLanguage() argument
155 ConversationActions.Request request, CancellationSignal cancellationSignal, in onSuggestConversationActions() argument
/cts/tests/rotationresolverservice/src/android/rotationresolverservice/cts/
DCtsTestRotationResolverService.java37 CancellationSignal cancellationSignal, in onResolveRotation() argument
42 cancellationSignal.setOnCancelListener(new OnCancelListener() { in onResolveRotation()
/cts/tests/autofillservice/src/android/autofillservice/cts/credman/
DCtsCredentialProviderService.java58 @NonNull CancellationSignal cancellationSignal, in onBeginCreateCredentialRequest() argument
67 @NonNull CancellationSignal cancellationSignal, in onBeginGetCredentialRequest() argument
94 @NonNull CancellationSignal cancellationSignal, in onClearCredentialStateRequest() argument
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DStubbablePrinterDiscoverySession.java75 @NonNull CancellationSignal cancellationSignal, in onRequestCustomPrinterIcon() argument
78 mCallbacks.onRequestCustomPrinterIcon(printerId, cancellationSignal, callback); in onRequestCustomPrinterIcon()
DPrinterDiscoverySessionCallbacks.java46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); in onRequestCustomPrinterIcon() argument
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java370 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet() local
375 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet()
382 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() local
386 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
390 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
399 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted() local
405 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted()
407 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted()
419 final CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local
441 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java260 @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
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/
DSimpleAutofillService.java30 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/
DNoOpAutofillService.java35 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
/cts/tests/autofillservice/TestAutofillServiceWithoutIntentFilter/src/android/autofill/cts2/
DNoOpAutofillService.java35 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPrintingTest.java68 CancellationSignal cancellationSignal, LayoutResultCallback callback,
75 CancellationSignal cancellationSignal, WriteResultCallback callback) {
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java99 public void onGetDirectActions(@NonNull CancellationSignal cancellationSignal, in onGetDirectActions() argument
119 CancellationSignal cancellationSignal, Consumer<Bundle> callback) { in onPerformDirectAction() argument
129 cancellationSignal.setOnCancelListener(() -> reportActionCancelled( in onPerformDirectAction()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java222 final CancellationSignal cancellationSignal = new CancellationSignal(); in performDirectActionAndCancel() local
226 performDirectAction(action, arguments, cancellationSignal, in performDirectActionAndCancel()
233 cancellationSignal.cancel(); in performDirectActionAndCancel()
/cts/tests/translation/src/android/translation/cts/
DCtsTranslationService.java154 @NonNull CancellationSignal cancellationSignal, in onTranslationRequest() argument
159 request, sessionId, cancellationSignal, callback)); in onTranslationRequest() local
311 @NonNull CancellationSignal cancellationSignal, in handleOnTranslationRequest() argument

12