/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteSession.java | 298 CancellationSignal cancellationSignal) { in beginTransaction() argument 301 cancellationSignal); in beginTransaction() 306 CancellationSignal cancellationSignal) { in beginTransactionUnchecked() argument 307 if (cancellationSignal != null) { in beginTransactionUnchecked() 308 cancellationSignal.throwIfCanceled(); in beginTransactionUnchecked() 312 acquireConnection(null, connectionFlags, cancellationSignal); // might throw in beginTransactionUnchecked() 322 cancellationSignal); // might throw in beginTransactionUnchecked() 326 cancellationSignal); // might throw in beginTransactionUnchecked() 329 mConnection.execute("BEGIN;", null, cancellationSignal); // might throw in beginTransactionUnchecked() 340 mConnection.execute("ROLLBACK;", null, cancellationSignal); // might throw in beginTransactionUnchecked() [all …]
|
D | SQLiteConnection.java | 634 CancellationSignal cancellationSignal) { in execute() argument 646 attachCancellationSignal(cancellationSignal); in execute() 650 detachCancellationSignal(cancellationSignal); in execute() 677 CancellationSignal cancellationSignal) { in executeForLong() argument 689 attachCancellationSignal(cancellationSignal); in executeForLong() 695 detachCancellationSignal(cancellationSignal); in executeForLong() 722 CancellationSignal cancellationSignal) { in executeForString() argument 734 attachCancellationSignal(cancellationSignal); in executeForString() 740 detachCancellationSignal(cancellationSignal); in executeForString() 769 CancellationSignal cancellationSignal) { in executeForBlobFileDescriptor() argument [all …]
|
D | SQLiteQuery.java | 36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) { in SQLiteQuery() argument 37 super(db, query, null, cancellationSignal); in SQLiteQuery() 39 mCancellationSignal = cancellationSignal; in SQLiteQuery()
|
D | SQLiteDirectCursorDriver.java | 38 CancellationSignal cancellationSignal) { in SQLiteDirectCursorDriver() argument 42 mCancellationSignal = cancellationSignal; in SQLiteDirectCursorDriver()
|
D | SQLiteConnectionPool.java | 379 CancellationSignal cancellationSignal) { in acquireConnection() argument 380 SQLiteConnection con = waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection() 678 CancellationSignal cancellationSignal) { in waitForConnection() argument 688 if (cancellationSignal != null) { in waitForConnection() 689 cancellationSignal.throwIfCanceled(); in waitForConnection() 730 if (cancellationSignal != null) { in waitForConnection() 731 cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in waitForConnection() 787 if (cancellationSignal != null) { in waitForConnection() 788 cancellationSignal.setOnCancelListener(null); in waitForConnection()
|
D | SQLiteDatabase.java | 1201 String having, String orderBy, String limit, CancellationSignal cancellationSignal) { in query() argument 1203 groupBy, having, orderBy, limit, cancellationSignal); in query() 1284 String having, String orderBy, String limit, CancellationSignal cancellationSignal) { in queryWithFactory() argument 1291 findEditTable(table), cancellationSignal); in queryWithFactory() 1399 CancellationSignal cancellationSignal) { in rawQuery() argument 1400 return rawQueryWithFactory(null, sql, selectionArgs, null, cancellationSignal); in rawQuery() 1438 String editTable, CancellationSignal cancellationSignal) { in rawQueryWithFactory() argument 1442 cancellationSignal); in rawQueryWithFactory() 1829 public void validateSql(@NonNull String sql, @Nullable CancellationSignal cancellationSignal) { in validateSql() argument 1831 getThreadDefaultConnectionFlags(/* readOnly =*/ true), cancellationSignal, null); in validateSql()
|
/frameworks/base/core/java/android/net/ |
D | DnsResolver.java | 189 @Nullable CancellationSignal cancellationSignal, in rawQuery() argument 191 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in rawQuery() 205 registerFDListener(executor, queryfd, callback, cancellationSignal, lock); in rawQuery() 206 if (cancellationSignal == null) return; in rawQuery() 207 addCancellationSignal(cancellationSignal, queryfd, lock); in rawQuery() 230 @Nullable CancellationSignal cancellationSignal, in rawQuery() argument 232 if (cancellationSignal != null && cancellationSignal.isCanceled()) { in rawQuery() 245 registerFDListener(executor, queryfd, callback, cancellationSignal, lock); in rawQuery() 246 if (cancellationSignal == null) return; in rawQuery() 247 addCancellationSignal(cancellationSignal, queryfd, lock); in rawQuery() [all …]
|
/frameworks/base/core/java/android/print/ |
D | PrintFileDocumentAdapter.java | 83 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout() argument 90 CancellationSignal cancellationSignal, WriteResultCallback callback) { in onWrite() argument 91 mWriteFileAsyncTask = new WriteFileAsyncTask(destination, cancellationSignal, callback); in onWrite() 105 CancellationSignal cancellationSignal, WriteResultCallback callback) { in WriteFileAsyncTask() argument 108 mCancellationSignal = cancellationSignal; in WriteFileAsyncTask()
|
D | PrintDocumentAdapter.java | 188 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout() argument 243 CancellationSignal cancellationSignal, WriteResultCallback callback); in onWrite() argument
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderClient.java | 173 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) in query() argument 177 return query(uri, projection, queryArgs, cancellationSignal); in query() 183 Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() argument 190 if (cancellationSignal != null) { in query() 191 cancellationSignal.throwIfCanceled(); in query() 193 cancellationSignal.setRemote(remoteCancellationSignal); in query() 288 @Nullable CancellationSignal cancellationSignal) throws RemoteException { in refresh() argument 294 if (cancellationSignal != null) { in refresh() 295 cancellationSignal.throwIfCanceled(); in refresh() 297 cancellationSignal.setRemote(remoteCancellationSignal); in refresh()
|
D | ContentResolver.java | 878 @Nullable CancellationSignal cancellationSignal) { 880 return query(uri, projection, queryArgs, cancellationSignal); 917 @Nullable CancellationSignal cancellationSignal) { 922 return mWrapped.query(uri, projection, queryArgs, cancellationSignal); 938 if (cancellationSignal != null) { 939 cancellationSignal.throwIfCanceled(); 941 cancellationSignal.setRemote(remoteCancellationSignal); 982 if (cancellationSignal != null) { 983 cancellationSignal.setRemote(null); 1118 @Nullable CancellationSignal cancellationSignal) { [all …]
|
D | LoggingContentInterface.java | 93 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() argument 95 try (Logger l = new Logger("query", uri, projection, queryArgs, cancellationSignal)) { in query() argument 97 return l.setResult(delegate.query(uri, projection, queryArgs, cancellationSignal)); in query() 156 @Nullable CancellationSignal cancellationSignal) throws RemoteException { in refresh() argument 157 try (Logger l = new Logger("refresh", uri, args, cancellationSignal)) { in refresh() argument 159 return l.setResult(delegate.refresh(uri, args, cancellationSignal)); in refresh()
|
D | ContentProvider.java | 228 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) { in query() argument 251 CancellationSignal.fromTransport(cancellationSignal)); in query() 269 CancellationSignal.fromTransport(cancellationSignal)); in query() 431 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal, in openFile() argument 440 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openFile() 451 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) in openAssetFile() argument 460 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openAssetFile() 503 Bundle opts, ICancellationSignal cancellationSignal) throws FileNotFoundException { in openTypedAssetFile() argument 512 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal)); in openTypedAssetFile() 568 ICancellationSignal cancellationSignal) throws RemoteException { in refresh() argument [all …]
|
D | ContentProviderNative.java | 101 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface( in onTransact() local 104 … Cursor cursor = query(callingPkg, url, projection, queryArgs, cancellationSignal); in onTransact() 323 ICancellationSignal cancellationSignal = createCancellationSignal(); in onTransact() local 325 reply.writeStrongBinder(cancellationSignal.asBinder()); in onTransact() 398 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) in query() argument 419 cancellationSignal != null ? cancellationSignal.asBinder() : null); in query() 727 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface( in createCancellationSignal() local 729 return cancellationSignal; in createCancellationSignal()
|
D | ContentInterface.java | 44 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() argument 57 @Nullable CancellationSignal cancellationSignal) throws RemoteException; in refresh() argument
|
D | IContentProvider.java | 41 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) in query() argument 91 ICancellationSignal cancellationSignal) throws RemoteException; in refresh() argument
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 495 @NonNull Handler handler, @Nullable CancellationSignal cancellationSignal, in requestFonts() argument 508 result = fetchFonts(context, cancellationSignal, request); in requestFonts() 563 final Typeface typeface = buildTypeface(context, cancellationSignal, fonts); in requestFonts() 593 @NonNull Context context, @Nullable CancellationSignal cancellationSignal, in fetchFonts() argument 606 context, request, providerInfo.authority, cancellationSignal); in fetchFonts() 626 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts) { in buildTypeface() argument 632 prepareFontData(context, fonts, cancellationSignal); in buildTypeface() 696 CancellationSignal cancellationSignal) { in prepareFontData() argument 712 resolver.openFileDescriptor(uri, "r", cancellationSignal)) { in prepareFontData() argument 808 CancellationSignal cancellationSignal) { in getFontFromProvider() argument [all …]
|
/frameworks/base/core/java/android/service/autofill/augmented/ |
D | AugmentedAutofillService.java | 185 @NonNull CancellationSignal cancellationSignal, @NonNull FillController controller, in onFillRequest() argument 221 final CancellationSignal cancellationSignal = CancellationSignal.fromTransport(transport); in handleOnFillRequest() local 226 cancellationSignal); in handleOnFillRequest() 231 proxy.update(focusedId, focusedValue, callback, cancellationSignal); in handleOnFillRequest() 240 onFillRequest(new FillRequest(proxy), cancellationSignal, new FillController(proxy), in handleOnFillRequest() 375 @NonNull IFillCallback callback, @NonNull CancellationSignal cancellationSignal) { in AutofillProxy() argument 385 mCancellationSignal = cancellationSignal; in AutofillProxy() 454 @NonNull IFillCallback callback, @NonNull CancellationSignal cancellationSignal) { in update() argument 469 mCancellationSignal = cancellationSignal; in update()
|
/frameworks/base/core/java/android/service/textclassifier/ |
D | TextClassifierService.java | 222 @NonNull CancellationSignal cancellationSignal, in onSuggestSelection() argument 238 @NonNull CancellationSignal cancellationSignal, in onClassifyText() argument 254 @NonNull CancellationSignal cancellationSignal, in onGenerateLinks() argument 269 @NonNull CancellationSignal cancellationSignal, in onDetectLanguage() argument 287 @NonNull CancellationSignal cancellationSignal, in onSuggestConversationActions() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockIContentProvider.java | 90 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) { in query() argument 144 ICancellationSignal cancellationSignal) throws RemoteException { in refresh() argument
|
D | MockContentProvider.java | 104 @Nullable ICancellationSignal cancellationSignal) in query() argument 155 ICancellationSignal cancellationSignal) throws RemoteException { in refresh() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentInflater.java | 475 CancellationSignal cancellationSignal = new CancellationSignal(); in apply() local 476 cancellationSignal.setOnCancelListener( in apply() 478 return cancellationSignal; in apply() 571 CancellationSignal cancellationSignal; in applyRemoteView() local 573 cancellationSignal = newContentView.applyAsync( in applyRemoteView() 580 cancellationSignal = newContentView.reapplyAsync( in applyRemoteView() 587 runningInflations.put(inflationId, cancellationSignal); in applyRemoteView()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 1360 @Nullable CancellationSignal cancellationSignal, in requestDirectActions() argument 1370 if (cancellationSignal != null) { in requestDirectActions() 1371 cancellationSignal.throwIfCanceled(); in requestDirectActions() 1374 final RemoteCallback cancellationCallback = (cancellationSignal != null) in requestDirectActions() 1380 cancellationSignal.setRemote(ICancellationSignal.Stub.asInterface( in requestDirectActions() 1438 @Nullable CancellationSignal cancellationSignal, in performDirectAction() argument 1447 if (cancellationSignal != null) { in performDirectAction() 1448 cancellationSignal.throwIfCanceled(); in performDirectAction() 1451 final RemoteCallback cancellationCallback = (cancellationSignal != null) in performDirectAction() 1457 cancellationSignal.setRemote(ICancellationSignal.Stub.asInterface( in performDirectAction()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | RemoteFillService.java | 170 private void dispatchOnFillTimeout(@NonNull ICancellationSignal cancellationSignal) { 173 cancellationSignal.cancel();
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | WorkflowTest.java | 205 CancellationSignal cancellationSignal, LayoutResultCallback callback, in print() 218 CancellationSignal cancellationSignal, WriteResultCallback callback) { in print()
|