Home
last modified time | relevance | path

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

/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java281 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet() local
286 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet()
294 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() local
298 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
302 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
312 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted() local
318 "name", "sum(salary)>1000", "name", null, cancellationSignal); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted()
320 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted()
333 final CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local
355 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows()
[all …]
/cts/tests/tests/print/src/android/print/cts/services/
DStubbablePrinterDiscoverySession.java74 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback) { in onRequestCustomPrinterIcon() argument
76 mCallbacks.onRequestCustomPrinterIcon(printerId, cancellationSignal, callback); in onRequestCustomPrinterIcon()
DPrinterDiscoverySessionCallbacks.java46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); in onRequestCustomPrinterIcon() argument
/cts/tests/tests/content/src/android/content/cts/
DContentResolverTest.java383 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet() local
386 cancellationSignal); in testCancelableQuery_WhenNotCanceled_ReturnsResultSet()
392 CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() local
393 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
396 mContentResolver.query(TABLE1_URI, null, null, null, null, cancellationSignal); in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately()
414 final CancellationSignal cancellationSignal = new CancellationSignal(); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local
422 cancellationSignal.cancel(); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
435 null, null, cancellationSignal); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
DMockContentProvider.java241 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query() argument
292 null, cancellationSignal); in query()