Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSQLiteQueryBuilderTest.java258 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet() local
263 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet()
270 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() local
274 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
278 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
287 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted() local
293 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted()
295 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted()
307 final CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local
329 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/
DImagePrintActivity.java222 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout() argument
229 mOnBitmapLoaded = () -> onLayout(oldAttributes, newAttributes, cancellationSignal, in onLayout()
256 CancellationSignal cancellationSignal, WriteResultCallback callback) { in onWrite() argument
258 mCancellationSignal = cancellationSignal; in onWrite()
261 mDpi, cancellationSignal) { in onWrite()
264 if (cancellationSignal.isCanceled()) { in onWrite()
DPdfPrintActivity.java91 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout() argument
104 CancellationSignal cancellationSignal, WriteResultCallback callback) { in onWrite() argument
106 mCancellationSignal = cancellationSignal; in onWrite()
DImageToPdfTask.java51 CancellationSignal cancellationSignal) { in ImageToPdfTask() argument
54 mCancellationSignal = cancellationSignal; in ImageToPdfTask()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DGlobalSearchSupport.java183 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()
DContactsProvider2.java5350 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
5379 cancellationSignal); in query()
5388 cancellationSignal); in query()
5437 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in queryDirectoryIfNecessary() argument
5446 directoryId, cancellationSignal); in queryDirectoryIfNecessary()
5451 directory, cancellationSignal); in queryDirectoryIfNecessary()
5497 final CancellationSignal cancellationSignal) { in queryDirectoryAuthority() argument
5579 CancellationSignal cancellationSignal) { in queryCorpContactsProvider() argument
5595 selectionArgs, sortOrder, cancellationSignal); in queryCorpContactsProvider()
5689 final CancellationSignal cancellationSignal) { in queryLocal() argument
[all …]
DProfileProvider.java73 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
78 cancellationSignal); in query()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DLauncherInitListener.java54 CancellationSignal cancellationSignal = new CancellationSignal(); in handleInit() local
61 cancellationSignal.cancel(); in handleInit()
70 }, cancellationSignal); in handleInit()
DQuickstepAppTransitionManagerImpl.java328 CancellationSignal cancellationSignal) { in setRemoteAnimationProvider() argument
330 cancellationSignal.setOnCancelListener(() -> { in setRemoteAnimationProvider()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java253 @Nullable CancellationSignal cancellationSignal) { in query() argument
261 cancellationSignal); in query()
265 cancellationSignal); in query()
279 CancellationSignal cancellationSignal) { in queryBlockedListWithId() argument
283 null, cancellationSignal); in queryBlockedListWithId()
290 String sortOrder, CancellationSignal cancellationSignal) { in queryBlockedList() argument
298 /* limit =*/ null, cancellationSignal); in queryBlockedList()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java446 CancellationSignal cancellationSignal) { in query() argument
454 limit, cancellationSignal); in query()
459 String having, String sortOrder, String limit, CancellationSignal cancellationSignal) { in query() argument
462 having, sortOrder, limit, cancellationSignal); in query()
503 String having, String sortOrder, String limit, CancellationSignal cancellationSignal) { in query() argument
533 db.validateSql(unwrappedSql, cancellationSignal); // will throw if query is invalid in query()
555 cancellationSignal); // will throw if query is invalid in query()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java315 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/unit/src/com/android/settings/print/
DPrintJobSettingsActivityTest.java102 CancellationSignal cancellationSignal, in viewPrintJobSettings()
110 CancellationSignal cancellationSignal, in viewPrintJobSettings()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DForwardingContentProvider.java65 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query() argument
68 cancellationSignal); in query()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java354 CancellationSignal cancellationSignal = new CancellationSignal(); in checkIconResult() local
368 if (cancellationSignal.isCanceled()) { in checkIconResult()
378 mLoadIconSignal = cancellationSignal; in checkIconResult()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugStorageProvider.java238 @Nullable CancellationSignal cancellationSignal) { in query() argument
261 sortOrder, null, cancellationSignal); in query()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DCp2DeviceLocalAccountLocatorTests.java209 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/
DPredictionService.java208 CancellationSignal cancellationSignal, in onSortAppTargets() argument
/packages/apps/Car/Calendar/tests/ui/src/com/android/car/calendar/
DCarCalendarUiTest.java256 CancellationSignal cancellationSignal) { in query() argument
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java872 CancellationSignal cancellationSignal) { in testKeyPressedEventWhenIdleAndAudioOff_dialCall()
888 if (cancellationSignal != null) { in testKeyPressedEventWhenIdleAndAudioOff_dialCall()
/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/
DEventsLiveDataTest.java440 CancellationSignal cancellationSignal) { in query() argument