Home
last modified time | relevance | path

Searched refs:CancellationSignal (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/hardware/src/android/hardware/fingerprint/cts/
DFingerprintManagerTest.java23 import android.os.CancellationSignal;
102 CancellationSignal cancelAuth = new CancellationSignal(); in test_authenticateNullCallback()
119 CancellationSignal cancelAuth = new CancellationSignal(); in test_authenticate()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java32 import android.os.CancellationSignal;
319 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet()
333 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
352 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted()
374 final CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows()
454 final CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
/cts/tests/tests/net/src/android/net/cts/
DDnsResolverTest.java40 import android.os.CancellationSignal;
191 private final CancellationSignal mCancelSignal;
196 VerifyCancelCallback(@NonNull String msg, @Nullable CancellationSignal cancel) { in VerifyCancelCallback()
432 final CancellationSignal cancelSignal = new CancellationSignal(); in testRawQueryCancel()
461 final CancellationSignal cancelSignal = new CancellationSignal(); in testRawQueryBlobCancel()
480 final CancellationSignal cancelSignal = new CancellationSignal(); in testCancelBeforeQuery()
500 private final CancellationSignal mCancelSignal;
503 VerifyCancelInetAddressCallback(@NonNull String msg, @Nullable CancellationSignal cancel) { in VerifyCancelInetAddressCallback()
619 final CancellationSignal cancelSignal = new CancellationSignal(); in testQueryCancelForInetAddress()
/cts/hostsidetests/devicepolicy/app/PrintingApp/src/com/android/cts/devicepolicy/printingapp/
DPrintActivity.java23 import android.os.CancellationSignal;
66 CancellationSignal signal, PrintDocumentAdapter.LayoutResultCallback cb, in onStart()
72 … public void onWrite(PageRange[] pages, ParcelFileDescriptor dest, CancellationSignal signal, in onStart()
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java22 import android.os.CancellationSignal;
82 CancellationSignal cancellationSignal = new CancellationSignal(); in test_authenticate_fingerprint()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityFingerprintGestureTest.java31 import android.os.CancellationSignal;
58 CancellationSignal mCancellationSignal = new CancellationSignal();
/cts/tests/autofillservice/src/android/autofillservice/cts/
DOneTimeCancellationSignalListener.java21 import android.os.CancellationSignal;
31 implements CancellationSignal.OnCancelListener {
DNoOpAutofillService.java18 import android.os.CancellationSignal;
38 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest()
DBadAutofillService.java18 import android.os.CancellationSignal;
38 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest()
DInstrumentedAutoFillService.java38 import android.os.CancellationSignal;
214 CancellationSignal cancellationSignal, FillCallback callback) { in onFillRequest()
362 public final CancellationSignal cancellationSignal;
367 CancellationSignal cancellationSignal, FillCallback callback, int flags) { in FillRequest()
605 CancellationSignal cancellationSignal, FillCallback callback, int flags) { in onFillRequest()
/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentAdapterContractTest.java27 import android.os.CancellationSignal;
164 any(CancellationSignal.class), any(WriteResultCallback.class)); in noPrintOptionsOrPrinterChange()
236 any(CancellationSignal.class), any(WriteResultCallback.class)); in noPrintOptionsOrPrinterChangeCanceled()
273 ((CancellationSignal) args[2]) in nonCallingBackWrite()
344 ((CancellationSignal) args[2]).setOnCancelListener(() -> { in nonChangePrinterWhileNotWritten()
499 any(CancellationSignal.class), any(WriteResultCallback.class)); in printOptionsChangeAndNoPrinterChange()
765 any(CancellationSignal.class), any(WriteResultCallback.class)); in printOptionsChangeAndPrinterChange()
903 any(CancellationSignal.class), any(WriteResultCallback.class)); in printOptionsChangeAndNoPrinterChangeAndContentChange()
921 any(CancellationSignal.class), any(WriteResultCallback.class)); in printOptionsChangeAndNoPrinterChangeAndContentChange()
930 any(CancellationSignal.class), any(WriteResultCallback.class)); in printOptionsChangeAndNoPrinterChangeAndContentChange()
[all …]
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java25 import android.os.CancellationSignal;
136 ((CancellationSignal) args[2]).setOnCancelListener(this::onWriteCancelCalled); in printerReappearsWhileCanceling()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DPrinterDiscoverySessionCallbacks.java19 import android.os.CancellationSignal;
46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); in onRequestCustomPrinterIcon()
DStubbablePrinterDiscoverySession.java19 import android.os.CancellationSignal;
75 @NonNull CancellationSignal cancellationSignal, in onRequestCustomPrinterIcon()
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/
DSimpleAutofillService.java20 import android.os.CancellationSignal;
30 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DBiometricPromptBoundKeysTest.java22 import android.os.CancellationSignal;
48 private CancellationSignal mCancellationSignal;
172 mCancellationSignal = new CancellationSignal(); in showAuthenticationScreen()
DFingerprintBoundKeysTest.java29 import android.os.CancellationSignal;
282 private CancellationSignal mCancellationSignal;
366 mCancellationSignal = new CancellationSignal(); in onCreateDialog()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DCtsAugmentedAutofillService.java29 import android.os.CancellationSignal;
188 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest()
221 public final CancellationSignal cancellationSignal;
225 private AugmentedFillRequest(FillRequest request, CancellationSignal cancellationSignal, in AugmentedFillRequest()
340 @NonNull CancellationSignal cancellationSignal, @NonNull FillController controller, in handleOnFillRequest()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java25 import android.os.CancellationSignal;
82 public void onGetDirectActions(@NonNull CancellationSignal cancellationSignal, in onGetDirectActions()
101 CancellationSignal cancellationSignal, Consumer<Bundle> callback) { in onPerformDirectAction()
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DPredictionService.java25 import android.os.CancellationSignal;
65 CancellationSignal cancellationSignal, Consumer<List<AppTarget>> callback) { in onSortAppTargets()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java23 import android.os.CancellationSignal;
181 final CancellationSignal cancellationSignal = new CancellationSignal(); in performDirectActionAndCancel()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverWrapTest.java41 import android.os.CancellationSignal;
69 private static final CancellationSignal SIGNAL = new CancellationSignal();
DTestPagingContentProvider.java27 import android.os.CancellationSignal;
67 CancellationSignal cancellationSignal) { in query()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java14 import android.os.CancellationSignal;
333 private CancellationSignal mCancellationSignal;
389 mCancellationSignal = new CancellationSignal(); in onCreateDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java30 import android.os.CancellationSignal;
77 private CancellationSignal mCancellationSignal;
268 mCancellationSignal = new CancellationSignal(); in showBiometricPrompt()

12