Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
DSQLiteSession.java296 CancellationSignal cancellationSignal) { in beginTransaction() argument
299 cancellationSignal); in beginTransaction()
304 CancellationSignal cancellationSignal) { in beginTransactionUnchecked() argument
305 if (cancellationSignal != null) { in beginTransactionUnchecked()
306 cancellationSignal.throwIfCanceled(); in beginTransactionUnchecked()
310 acquireConnection(null, connectionFlags, cancellationSignal); // might throw in beginTransactionUnchecked()
320 cancellationSignal); // might throw in beginTransactionUnchecked()
324 cancellationSignal); // might throw in beginTransactionUnchecked()
327 mConnection.execute("BEGIN;", null, cancellationSignal); // might throw in beginTransactionUnchecked()
338 mConnection.execute("ROLLBACK;", null, cancellationSignal); // might throw in beginTransactionUnchecked()
[all …]
DSQLiteConnection.java541 CancellationSignal cancellationSignal) { in execute() argument
553 attachCancellationSignal(cancellationSignal); in execute()
557 detachCancellationSignal(cancellationSignal); in execute()
584 CancellationSignal cancellationSignal) { in executeForLong() argument
596 attachCancellationSignal(cancellationSignal); in executeForLong()
600 detachCancellationSignal(cancellationSignal); in executeForLong()
627 CancellationSignal cancellationSignal) { in executeForString() argument
639 attachCancellationSignal(cancellationSignal); in executeForString()
643 detachCancellationSignal(cancellationSignal); in executeForString()
672 CancellationSignal cancellationSignal) { in executeForBlobFileDescriptor() argument
[all …]
DSQLiteQuery.java36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) { in SQLiteQuery() argument
37 super(db, query, null, cancellationSignal); in SQLiteQuery()
39 mCancellationSignal = cancellationSignal; in SQLiteQuery()
DSQLiteDirectCursorDriver.java36 CancellationSignal cancellationSignal) { in SQLiteDirectCursorDriver() argument
40 mCancellationSignal = cancellationSignal; in SQLiteDirectCursorDriver()
DSQLiteConnectionPool.java347 CancellationSignal cancellationSignal) { in acquireConnection() argument
348 return waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection()
592 CancellationSignal cancellationSignal) { in waitForConnection() argument
602 if (cancellationSignal != null) { in waitForConnection()
603 cancellationSignal.throwIfCanceled(); in waitForConnection()
644 if (cancellationSignal != null) { in waitForConnection()
645 cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in waitForConnection()
701 if (cancellationSignal != null) { in waitForConnection()
702 cancellationSignal.setOnCancelListener(null); in waitForConnection()
DSQLiteQueryBuilder.java374 String having, String sortOrder, String limit, CancellationSignal cancellationSignal) { in query() argument
390 cancellationSignal); // will throw if query is invalid in query()
403 cancellationSignal); // will throw if query is invalid in query()
411 CancellationSignal cancellationSignal) { in validateQuerySql() argument
413 db.getThreadDefaultConnectionFlags(true /*readOnly*/), cancellationSignal, null); in validateQuerySql()
DSQLiteDatabase.java1074 String having, String orderBy, String limit, CancellationSignal cancellationSignal) { in query() argument
1076 groupBy, having, orderBy, limit, cancellationSignal); in query()
1157 String having, String orderBy, String limit, CancellationSignal cancellationSignal) { in queryWithFactory() argument
1164 findEditTable(table), cancellationSignal); in queryWithFactory()
1272 CancellationSignal cancellationSignal) { in rawQuery() argument
1273 return rawQueryWithFactory(null, sql, selectionArgs, null, cancellationSignal); in rawQuery()
1311 String editTable, CancellationSignal cancellationSignal) { in rawQueryWithFactory() argument
1315 cancellationSignal); in rawQueryWithFactory()
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java81 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout() argument
88 CancellationSignal cancellationSignal, WriteResultCallback callback) { in onWrite() argument
89 mWriteFileAsyncTask = new WriteFileAsyncTask(destination, cancellationSignal, callback); in onWrite()
103 CancellationSignal cancellationSignal, WriteResultCallback callback) { in WriteFileAsyncTask() argument
106 mCancellationSignal = cancellationSignal; in WriteFileAsyncTask()
DPrintDocumentAdapter.java187 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout() argument
242 CancellationSignal cancellationSignal, WriteResultCallback callback); in onWrite() argument
DPrintManager.java577 CancellationSignal cancellationSignal = CancellationSignal.fromTransport( in layout() local
584 args.arg4 = cancellationSignal; in layout()
611 CancellationSignal cancellationSignal = CancellationSignal.fromTransport( in write() local
618 args.arg4 = cancellationSignal; in write()
/frameworks/base/core/java/android/content/
DContentResolver.java461 CancellationSignal cancellationSignal) { in query() argument
472 if (cancellationSignal != null) { in query()
473 cancellationSignal.throwIfCanceled(); in query()
475 cancellationSignal.setRemote(remoteCancellationSignal); in query()
515 if (cancellationSignal != null) { in query()
516 cancellationSignal.setRemote(null); in query()
777 String mode, CancellationSignal cancellationSignal) throws FileNotFoundException { in openFileDescriptor() argument
778 AssetFileDescriptor afd = openAssetFileDescriptor(uri, mode, cancellationSignal); in openFileDescriptor()
903 String mode, CancellationSignal cancellationSignal) throws FileNotFoundException { in openAssetFileDescriptor() argument
921 return openTypedAssetFileDescriptor(uri, "*/*", null, cancellationSignal); in openAssetFileDescriptor()
[all …]
DContentProvider.java201 ICancellationSignal cancellationSignal) { in query() argument
206 CancellationSignal.fromTransport(cancellationSignal)); in query()
212 CancellationSignal.fromTransport(cancellationSignal)); in query()
333 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) in openFile() argument
341 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openFile()
349 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) in openAssetFile() argument
357 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openAssetFile()
382 Bundle opts, ICancellationSignal cancellationSignal) throws FileNotFoundException { in openTypedAssetFile() argument
389 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal)); in openTypedAssetFile()
813 CancellationSignal cancellationSignal) { in rejectQuery() argument
[all …]
DContentProviderClient.java119 String sortOrder, CancellationSignal cancellationSignal) throws RemoteException { in query() argument
123 if (cancellationSignal != null) { in query()
124 cancellationSignal.throwIfCanceled(); in query()
126 cancellationSignal.setRemote(remoteCancellationSignal); in query()
DContentProviderNative.java109 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface( in onTransact() local
113 sortOrder, cancellationSignal); in onTransact()
328 ICancellationSignal cancellationSignal = createCancellationSignal(); in onTransact() local
330 reply.writeStrongBinder(cancellationSignal.asBinder()); in onTransact()
386 String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) in query() argument
416 … data.writeStrongBinder(cancellationSignal != null ? cancellationSignal.asBinder() : null); in query()
710 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface( in createCancellationSignal() local
712 return cancellationSignal; in createCancellationSignal()
DIContentProvider.java38 String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) in query() argument
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java191 CancellationSignal cancellationSignal, in printBitmap()
207 CancellationSignal cancellationSignal, in printBitmap()
311 final CancellationSignal cancellationSignal, in printBitmap()
314 if (cancellationSignal.isCanceled()) { in printBitmap()
335 cancellationSignal.setOnCancelListener( in printBitmap()
405 CancellationSignal cancellationSignal, in printBitmap()
/frameworks/base/test-runner/src/android/test/mock/
DMockIContentProvider.java81 String sortOrder, ICancellationSignal cancellationSignal) { in query() argument
DMockContentProvider.java102 String sortOrder, ICancellationSignal cancellationSignal) throws RemoteException { in query() argument
/frameworks/base/docs/html/training/printing/
Dcustom-docs.jd143 CancellationSignal cancellationSignal,
150 if (cancellationSignal.isCancelled() ) {
249 final CancellationSignal cancellationSignal,
262 if (cancellationSignal.isCancelled()) {