/packages/modules/Connectivity/framework/src/android/net/ |
D | DnsResolver.java | 198 @Nullable CancellationSignal cancellationSignal, in rawQuery() argument 200 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in rawQuery() 214 registerFDListener(executor, queryfd, callback, cancellationSignal, lock); in rawQuery() 215 if (cancellationSignal == null) return; in rawQuery() 216 addCancellationSignal(cancellationSignal, queryfd, lock); in rawQuery() 239 @Nullable CancellationSignal cancellationSignal, in rawQuery() argument 241 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in rawQuery() 254 registerFDListener(executor, queryfd, callback, cancellationSignal, lock); in rawQuery() 255 if (cancellationSignal == null) return; in rawQuery() 256 addCancellationSignal(cancellationSignal, queryfd, lock); in rawQuery() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | ItemsProvider.java | 126 @Nullable CancellationSignal cancellationSignal) throws IllegalArgumentException { in getAllItems() argument 130 cancellationSignal); in getAllItems() 164 @Nullable CancellationSignal cancellationSignal) throws IllegalArgumentException { in getLocalItems() argument 168 cancellationSignal); in getLocalItems() 195 @Nullable CancellationSignal cancellationSignal) throws IllegalArgumentException { in getItemsForPreselectedMedia() argument 198 preselectedUris, callingPackageUid, shouldScreenSelectionUris, cancellationSignal); in getItemsForPreselectedMedia() 217 @Nullable CancellationSignal cancellationSignal) { in getAllCategories() argument 220 return queryAlbums(URI_ALBUMS_ALL, mimeTypes, userId, cancellationSignal); in getAllCategories() 240 @Nullable CancellationSignal cancellationSignal) { in getLocalCategories() argument 243 return queryAlbums(URI_ALBUMS_LOCAL, mimeTypes, userId, cancellationSignal); in getLocalCategories() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PickerSyncController.java | 293 public void syncAllMediaFromLocalProvider(@Nullable CancellationSignal cancellationSignal) { in syncAllMediaFromLocalProvider() argument 300 /* enablePagedSync= */ true, instanceId, cancellationSignal); in syncAllMediaFromLocalProvider() 309 public void syncAllMediaFromCloudProvider(@Nullable CancellationSignal cancellationSignal) { in syncAllMediaFromCloudProvider() argument 319 instanceId, cancellationSignal); in syncAllMediaFromCloudProvider() 355 @NonNull String albumId, @Nullable CancellationSignal cancellationSignal) { in syncAlbumMediaFromLocalProvider() argument 357 /* enablePagedSync= */ true, cancellationSignal); in syncAlbumMediaFromLocalProvider() 362 @NonNull String albumId, @Nullable CancellationSignal cancellationSignal) { in syncAlbumMediaFromCloudProvider() argument 366 /* enablePagedSync= */ true, cancellationSignal); in syncAlbumMediaFromCloudProvider() local 687 boolean enablePagedSync, @Nullable CancellationSignal cancellationSignal) { in syncAlbumMediaFromProvider() argument 701 authority, isLocal, albumId, queryArgs, instanceId, cancellationSignal); in syncAlbumMediaFromProvider() [all …]
|
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/ |
D | ProfilingFrameworkTests.java | 335 CancellationSignal cancellationSignal = new CancellationSignal(); in testRequestJavaHeapDumpCancel() local 342 cancellationSignal, in testRequestJavaHeapDumpCancel() 350 cancellationSignal.cancel(); in testRequestJavaHeapDumpCancel() 370 CancellationSignal cancellationSignal = new CancellationSignal(); in testRequestHeapProfileCancel() local 377 cancellationSignal, in testRequestHeapProfileCancel() 385 cancellationSignal.cancel(); in testRequestHeapProfileCancel() 405 CancellationSignal cancellationSignal = new CancellationSignal(); in testRequestStackSamplingCancel() local 412 cancellationSignal, in testRequestStackSamplingCancel() 420 cancellationSignal.cancel(); in testRequestStackSamplingCancel() 440 CancellationSignal cancellationSignal = new CancellationSignal(); in testRequestSystemTraceCancel() local [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilderTest.java | 329 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet() local 334 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet() 341 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() local 345 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() 349 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() 358 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted() local 364 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted() 366 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted() 378 final CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local 400 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | GlobalSearchSupport.java | 183 String limit, CancellationSignal cancellationSignal) { in handleSearchSuggestionsQuery() argument 193 cursor, db, projection, selection, searchClause, limit, cancellationSignal); in handleSearchSuggestionsQuery() 210 String lookupKey, String filter, CancellationSignal cancellationSignal) { in handleSearchShortcutRefresh() argument 221 cancellationSignal); in handleSearchShortcutRefresh() 226 CancellationSignal cancellationSignal) { in addSearchSuggestionsBasedOnFilter() argument 254 Cursor c = db.rawQuery(sb.toString(), null, cancellationSignal); in addSearchSuggestionsBasedOnFilter()
|
D | ContactsProvider2.java | 5668 String sortOrder, CancellationSignal cancellationSignal) { in query() argument 5680 cancellationSignal); in query() 5692 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in queryInternal() argument 5719 sortOrder, cancellationSignal); in queryInternal() 5726 cancellationSignal); in queryInternal() 5735 cancellationSignal); in queryInternal() 5881 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in queryDirectoryIfNecessary() argument 5890 directoryId, cancellationSignal); in queryDirectoryIfNecessary() 5895 directory, cancellationSignal); in queryDirectoryIfNecessary() 5941 final CancellationSignal cancellationSignal) { in queryDirectoryAuthority() argument [all …]
|
D | ProfileProvider.java | 73 String sortOrder, CancellationSignal cancellationSignal) { in query() argument 78 cancellationSignal); in query()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | ImagePrintActivity.java | 228 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout() argument 235 mOnBitmapLoaded = () -> onLayout(oldAttributes, newAttributes, cancellationSignal, in onLayout() 262 CancellationSignal cancellationSignal, WriteResultCallback callback) { in onWrite() argument 264 mCancellationSignal = cancellationSignal; in onWrite() 267 mDpi, cancellationSignal) { in onWrite() 270 if (cancellationSignal.isCanceled()) { in onWrite()
|
D | PdfPrintActivity.java | 91 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout() argument 104 CancellationSignal cancellationSignal, WriteResultCallback callback) { in onWrite() argument 106 mCancellationSignal = cancellationSignal; in onWrite()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/glide/ |
D | PhotopickerMediaFetcher.kt | 59 private val cancellationSignal = CancellationSignal() constant in com.android.photopicker.core.glide.PhotopickerMediaFetcher 90 /* signal= */ cancellationSignal, in loadData() 123 cancellationSignal.cancel() in cancel()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | FingerprintEnrollProgressViewModel.java | 229 final CancellationSignal cancellationSignal = mCancellationSignal; in cancelEnrollment() local 232 if (cancellationSignal == null) { in cancelEnrollment() 238 mCancelingSignalQueue.add(cancellationSignal); in cancelEnrollment() 239 cancellationSignal.cancel(); in cancelEnrollment()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/ |
D | MockContentProviderWrapper.kt | 46 cancellationSignal: CancellationSignal? in openTypedAssetFile() 48 return provider.openTypedAssetFile(uri, mimetype, opts, cancellationSignal) in openTypedAssetFile()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/ |
D | FingerprintEnrollInteractor.kt | 136 val cancellationSignal = CancellationSignal() in enroll() constant 140 cancellationSignal, in enroll() 151 cancellationSignal.cancel() in enroll()
|
D | FingerprintManagerInteractorImpl.kt | 163 val cancellationSignal = CancellationSignal() in <lambda>() constant 164 c.invokeOnCancellation { cancellationSignal.cancel() } in <lambda>() 167 cancellationSignal, in <lambda>()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | ItemsProviderTest.java | 468 CancellationSignal cancellationSignal = new CancellationSignal(); in testGetItems_canceledBeforeQuery_ThrowsImmediately() local 469 cancellationSignal.cancel(); in testGetItems_canceledBeforeQuery_ThrowsImmediately() 474 /* cancellationSignal */ cancellationSignal); in testGetItems_canceledBeforeQuery_ThrowsImmediately() 486 CancellationSignal cancellationSignal = new CancellationSignal(); in testGetLocalItems_canceledBeforeQuery_ThrowsImmediately() local 487 cancellationSignal.cancel(); in testGetLocalItems_canceledBeforeQuery_ThrowsImmediately() 492 /* cancellationSignal */ cancellationSignal); in testGetLocalItems_canceledBeforeQuery_ThrowsImmediately() 503 CancellationSignal cancellationSignal = new CancellationSignal(); in testGetCategories_canceledBeforeQuery_ThrowsImmediately() local 504 cancellationSignal.cancel(); in testGetCategories_canceledBeforeQuery_ThrowsImmediately() 506 mItemsProvider.getAllCategories(/* mimeType */ null, /* userId */ null, cancellationSignal); in testGetCategories_canceledBeforeQuery_ThrowsImmediately() 517 CancellationSignal cancellationSignal = new CancellationSignal(); in testGetLocalCategories_canceledBeforeQuery_ThrowsImmediately() local [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | DistanceMeasurementManager.java | 147 CancellationSignal cancellationSignal = new CancellationSignal(); in startMeasurementSession() local 148 cancellationSignal.setOnCancelListener(() -> session.stopSession()); in startMeasurementSession() 157 return cancellationSignal; in startMeasurementSession()
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 255 @Nullable CancellationSignal cancellationSignal) { in query() argument 263 cancellationSignal); in query() 267 cancellationSignal); in query() 281 CancellationSignal cancellationSignal) { in queryBlockedListWithId() argument 285 null, cancellationSignal); in queryBlockedListWithId() 292 String sortOrder, CancellationSignal cancellationSignal) { in queryBlockedList() argument 300 /* limit =*/ null, cancellationSignal); in queryBlockedList()
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | UwbManagerTest.java | 775 CancellationSignal cancellationSignal = null; in testOpenRangingSessionWithChipIdWithBadParams() local 782 cancellationSignal = mUwbManager.openRangingSession( in testOpenRangingSessionWithChipIdWithBadParams() 792 if (cancellationSignal != null) { in testOpenRangingSessionWithChipIdWithBadParams() 793 cancellationSignal.cancel(); in testOpenRangingSessionWithChipIdWithBadParams() 803 CancellationSignal cancellationSignal = null; in testOpenRangingSessionWithInvalidChipIdWithBadParams() local 810 cancellationSignal = mUwbManager.openRangingSession( in testOpenRangingSessionWithInvalidChipIdWithBadParams() 820 if (cancellationSignal != null) { in testOpenRangingSessionWithInvalidChipIdWithBadParams() 821 cancellationSignal.cancel(); in testOpenRangingSessionWithInvalidChipIdWithBadParams() 1029 CancellationSignal cancellationSignal = null; in verifyFiraRangingSession() local 1038 cancellationSignal = mUwbManager.openRangingSession( in verifyFiraRangingSession() [all …]
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 321 CancellationSignal cancellationSignal = new CancellationSignal(); in resolveHostInternal() local 323 new HostInfoListener(name, callback, cancellationSignal, listenerId); in resolveHostInternal() 329 cancellationSignal, in resolveHostInternal() 662 CancellationSignal cancellationSignal, in HostInfoListener() argument 666 this.mCancellationSignal = cancellationSignal; in HostInfoListener()
|
/packages/modules/Profiling/framework/java/android/os/ |
D | ProfilingManager.java | 206 @Nullable CancellationSignal cancellationSignal, in requestProfiling() argument 247 if (cancellationSignal != null) { in requestProfiling() 248 cancellationSignal.setOnCancelListener( in requestProfiling()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilder.java | 488 CancellationSignal cancellationSignal) { in query() argument 496 limit, cancellationSignal); in query() 501 String having, String sortOrder, String limit, CancellationSignal cancellationSignal) { in query() argument 504 having, sortOrder, limit, cancellationSignal); in query() 545 String having, String sortOrder, String limit, CancellationSignal cancellationSignal) { in query() argument 575 db.validateSql(unwrappedSql, cancellationSignal); // will throw if query is invalid in query() 597 cancellationSignal); // will throw if query is invalid in query()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 315 String sortOrder, CancellationSignal cancellationSignal) { in query() argument 321 … Cursor c = query(table, projection, selection, selectionArgs, sortOrder, cancellationSignal); in query() 519 String[] selectionArgs, String orderBy, CancellationSignal cancellationSignal) { in query() argument 523 orderBy, null, cancellationSignal); in query()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/print/ |
D | PrintJobSettingsActivityTest.java | 102 CancellationSignal cancellationSignal, in viewPrintJobSettings() 110 CancellationSignal cancellationSignal, in viewPrintJobSettings()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 2970 private void setOnCancelListener(CancellationSignal cancellationSignal, in setOnCancelListener() argument 2972 cancellationSignal.setOnCancelListener(() -> { in setOnCancelListener() 3083 @Nullable CancellationSignal cancellationSignal, in getPropertiesAsync() argument 3126 if (cancellationSignal != null) { in getPropertiesAsync() 3127 setOnCancelListener(cancellationSignal, requestIds); in getPropertiesAsync() 3139 @Nullable CancellationSignal cancellationSignal, in getPropertiesAsync() argument 3142 getPropertiesAsync(getPropertyRequests, ASYNC_GET_DEFAULT_TIMEOUT_MS, cancellationSignal, in getPropertiesAsync() 3200 @Nullable CancellationSignal cancellationSignal, in setPropertiesAsync() argument 3244 if (cancellationSignal != null) { in setPropertiesAsync() 3245 setOnCancelListener(cancellationSignal, requestIds); in setPropertiesAsync() [all …]
|