/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PrintHtmlOffScreen.java | 22 import android.os.CancellationSignal; 107 CancellationSignal cancellationSignal, LayoutResultCallback callback, 109 mWrappedInstance.onLayout(oldAttributes, newAttributes, cancellationSignal, 115 CancellationSignal cancellationSignal, WriteResultCallback callback) { 116 mWrappedInstance.onWrite(pages, destination, cancellationSignal, callback);
|
PrintCustomContent.java | 25 import android.os.CancellationSignal; 26 import android.os.CancellationSignal.OnCancelListener; 122 final CancellationSignal cancellationSignal, 127 if (cancellationSignal.isCanceled()) { 209 cancellationSignal.setOnCancelListener(new OnCancelListener() { 302 final CancellationSignal cancellationSignal, 306 if (cancellationSignal.isCanceled()) { 323 cancellationSignal.setOnCancelListener(new OnCancelListener() [all...] |
/developers/build/prebuilts/gradle/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/ |
FingerprintUiHelper.kt | 20 import android.os.CancellationSignal 38 private var cancellationSignal: CancellationSignal? = null 54 cancellationSignal = CancellationSignal() 56 fingerprintMgr.authenticate(cryptoObject, cancellationSignal, 0, this, null) 61 cancellationSignal?.also { 65 cancellationSignal = null
|
/developers/samples/android/security/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/ |
FingerprintUiHelper.kt | 20 import android.os.CancellationSignal 38 private var cancellationSignal: CancellationSignal? = null 54 cancellationSignal = CancellationSignal() 56 fingerprintMgr.authenticate(cryptoObject, cancellationSignal, 0, this, null) 61 cancellationSignal?.also { 65 cancellationSignal = null
|
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/ |
BiometricPromptTest.java | 22 import android.os.CancellationSignal; 82 CancellationSignal cancellationSignal = new CancellationSignal(); 97 prompt.authenticate(cancellationSignal, mExecutor, mAuthenticationCallback); 104 cancellationSignal.cancel();
|
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/ |
SimpleAutofillService.java | 20 import android.os.CancellationSignal; 30 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal,
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
PrinterDiscoverySessionCallbacks.java | 19 import android.os.CancellationSignal; 46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback);
|
StubbablePrinterDiscoverySession.java | 19 import android.os.CancellationSignal; 75 @NonNull CancellationSignal cancellationSignal, 78 mCallbacks.onRequestCustomPrinterIcon(printerId, cancellationSignal, callback);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
BadAutofillService.java | 18 import android.os.CancellationSignal; 38 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal,
|
NoOpAutofillService.java | 18 import android.os.CancellationSignal; 38 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal,
|
InstrumentedAutoFillService.java | 38 import android.os.CancellationSignal; 214 CancellationSignal cancellationSignal, FillCallback callback) { 237 cancellationSignal, callback, request.getFlags())); 356 * CancellationSignal, FillCallback)} that can be asserted at the end of a test case. 362 public final CancellationSignal cancellationSignal; 367 CancellationSignal cancellationSignal, FillCallback callback, int flags) { 370 this.cancellationSignal = cancellationSignal [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
CtsAugmentedAutofillService.java | 29 import android.os.CancellationSignal; 188 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, 199 cancellationSignal, controller, callback)); 221 public final CancellationSignal cancellationSignal; 225 private AugmentedFillRequest(FillRequest request, CancellationSignal cancellationSignal, 228 this.cancellationSignal = cancellationSignal; [all...] |
AugmentedLoginActivityTest.java | 54 import android.os.CancellationSignal; 409 final CancellationSignal cancellationSignal = sAugmentedReplier.getNextFillRequest() 410 .cancellationSignal; 412 assertThat(cancellationSignal).isNotNull(); 413 cancellationSignal.setOnCancelListener(listener); 450 final CancellationSignal cancellationSignal = request.cancellationSignal; 452 assertThat(cancellationSignal).isNotNull() [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteQueryBuilderTest.java | 32 import android.os.CancellationSignal; 319 CancellationSignal cancellationSignal = new CancellationSignal(); 324 "name", "sum(salary)>1000", "name", null, cancellationSignal); 333 CancellationSignal cancellationSignal = new CancellationSignal(); 337 cancellationSignal.cancel(); 341 "name", "sum(salary)>1000", "name", null, cancellationSignal); [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowContentProviderClient.java | 15 import android.os.CancellationSignal; 61 CancellationSignal cancellationSignal) 63 return provider.query(url, projection, selection, selectionArgs, sortOrder, cancellationSignal);
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
PredictionService.java | 25 import android.os.CancellationSignal; 65 CancellationSignal cancellationSignal, Consumer<List<AppTarget>> callback) {
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
MyAutofillService.kt | 18 import android.os.CancellationSignal 35 override fun onFillRequest(request: FillRequest, cancellationSignal: CancellationSignal, 46 cancellationSignal.setOnCancelListener { Log.w(TAG, "Cancel autofill not implemented in this sample.") }
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
MyAutofillService.kt | 18 import android.os.CancellationSignal 35 override fun onFillRequest(request: FillRequest, cancellationSignal: CancellationSignal, 46 cancellationSignal.setOnCancelListener { Log.w(TAG, "Cancel autofill not implemented in this sample.") }
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
DirectActionsSession.java | 23 import android.os.CancellationSignal; 181 final CancellationSignal cancellationSignal = new CancellationSignal(); 185 performDirectAction(action, arguments, cancellationSignal, 192 cancellationSignal.cancel();
|
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
DirectActionsActivity.java | 25 import android.os.CancellationSignal; 82 public void onGetDirectActions(@NonNull CancellationSignal cancellationSignal, 101 CancellationSignal cancellationSignal, Consumer<Bundle> callback) { 110 cancellationSignal.setOnCancelListener(() -> reportActionCancelled(
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverTest.java | 30 import android.os.CancellationSignal; 505 CancellationSignal cancellationSignal = new CancellationSignal(); 508 cancellationSignal); 514 CancellationSignal cancellationSignal = new CancellationSignal(); 515 cancellationSignal.cancel(); 518 mContentResolver.query(TABLE1_URI, null, null, null, null, cancellationSignal); [all...] |
MockContentProvider.java | 37 import android.os.CancellationSignal; 263 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { 316 null, cancellationSignal); 414 @Nullable CancellationSignal cancellationSignal) {
|
TestPagingContentProvider.java | 27 import android.os.CancellationSignal; 67 CancellationSignal cancellationSignal) {
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
MyAutofillService.java | 22 import android.os.CancellationSignal; 102 @NonNull CancellationSignal cancellationSignal, @NonNull FillCallback callback) { 133 cancellationSignal.setOnCancelListener(() ->
|
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
ImageProvider.kt | 24 import android.os.CancellationSignal 54 cancellationSignal: CancellationSignal?): Cursor? {
|