/frameworks/base/core/java/android/database/sqlite/ |
SQLiteSession.java | 21 import android.os.CancellationSignal; 283 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 296 CancellationSignal cancellationSignal) { 299 cancellationSignal); 304 CancellationSignal cancellationSignal) { 305 if (cancellationSignal != null) { 306 cancellationSignal.throwIfCanceled(); 310 acquireConnection(null, connectionFlags, cancellationSignal); // might thro [all...] |
SQLiteQuery.java | 20 import android.os.CancellationSignal; 34 private final CancellationSignal mCancellationSignal; 36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) { 37 super(db, query, null, cancellationSignal); 39 mCancellationSignal = cancellationSignal;
|
SQLiteDirectCursorDriver.java | 21 import android.os.CancellationSignal; 32 private final CancellationSignal mCancellationSignal; 36 CancellationSignal cancellationSignal) { 40 mCancellationSignal = cancellationSignal;
|
SQLiteConnection.java | 26 import android.os.CancellationSignal; 87 public final class SQLiteConnection implements CancellationSignal.OnCancelListener { 534 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 541 CancellationSignal cancellationSignal) { 553 attachCancellationSignal(cancellationSignal); 557 detachCancellationSignal(cancellationSignal); 575 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 584 CancellationSignal cancellationSignal) { [all...] |
SQLiteConnectionPool.java | 22 import android.os.CancellationSignal; 339 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 347 CancellationSignal cancellationSignal) { 348 return waitForConnection(sql, connectionFlags, cancellationSignal); 592 CancellationSignal cancellationSignal) { 602 if (cancellationSignal != null) { 603 cancellationSignal.throwIfCanceled(); 644 if (cancellationSignal != null) [all...] |
SQLiteQueryBuilder.java | 21 import android.os.CancellationSignal; 295 null /* limit */, null /* cancellationSignal */); 365 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 374 String having, String sortOrder, String limit, CancellationSignal cancellationSignal) { 390 cancellationSignal); // will throw if query is invalid 403 cancellationSignal); // will throw if query is invalid 411 CancellationSignal cancellationSignal) { 413 db.getThreadDefaultConnectionFlags(true /*readOnly*/), cancellationSignal, null) [all...] |
SQLiteDatabase.java | 26 import android.os.CancellationSignal; [all...] |
/frameworks/base/core/java/android/print/ |
PrintDocumentAdapter.java | 20 import android.os.CancellationSignal; 35 * PrintAttributes, CancellationSignal, LayoutResultCallback, Bundle)} to 41 * CancellationSignal, LayoutResultCallback, Bundle)}, you <strong>may</strong> get 42 * a call to {@link #onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal, 57 * The {@link #onLayout(PrintAttributes, PrintAttributes, CancellationSignal, 66 * The {@link #onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal, 74 * PrintAttributes, CancellationSignal, LayoutResultCallback, Bundle)}. 97 * PrintAttributes, CancellationSignal, LayoutResultCallback, Bundle)} on 101 * CancellationSignal, WriteResultCallback)} and {@link #onFinish()} on another 104 * {@link #onLayout(PrintAttributes, PrintAttributes, CancellationSignal, [all...] |
PrintFileDocumentAdapter.java | 22 import android.os.CancellationSignal; 23 import android.os.CancellationSignal.OnCancelListener; 81 CancellationSignal cancellationSignal, LayoutResultCallback callback, 88 CancellationSignal cancellationSignal, WriteResultCallback callback) { 89 mWriteFileAsyncTask = new WriteFileAsyncTask(destination, cancellationSignal, callback); 100 private final CancellationSignal mCancellationSignal; 103 CancellationSignal cancellationSignal, WriteResultCallback callback) [all...] |
/external/chromium_org/printing/android/java/src/org/chromium/printing/ |
PrintDocumentAdapterWrapper.java | 8 import android.os.CancellationSignal; 32 CancellationSignal cancellationSignal, 38 final CancellationSignal cancellationSignal, 121 CancellationSignal cancellationSignal, 124 mPdfGenerator.onLayout(oldAttributes, newAttributes, cancellationSignal, 132 final CancellationSignal cancellationSignal, [all...] |
PrintingControllerImpl.java | 8 import android.os.CancellationSignal; 198 CancellationSignal cancellationSignal, 259 final CancellationSignal cancellationSignal, 267 // TODO(cimamoglu): Make use of CancellationSignal. 296 // We may get a CancellationSignal, after replying it (via WriteResultCallback) we might
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PrintHtmlOffScreen.java | 22 import android.os.CancellationSignal; 107 CancellationSignal cancellationSignal, LayoutResultCallback callback, 109 mWrappedInstance.onLayout(oldAttributes, newAttributes, cancellationSignal, 115 CancellationSignal cancellationSignal, WriteResultCallback callback) { 116 mWrappedInstance.onWrite(pages, destination, cancellationSignal, callback);
|
PrintCustomContent.java | 25 import android.os.CancellationSignal; 26 import android.os.CancellationSignal.OnCancelListener; 122 final CancellationSignal cancellationSignal, 127 if (cancellationSignal.isCanceled()) { 209 cancellationSignal.setOnCancelListener(new OnCancelListener() { 302 final CancellationSignal cancellationSignal, 306 if (cancellationSignal.isCanceled()) { 323 cancellationSignal.setOnCancelListener(new OnCancelListener() [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwPrintDocumentAdapter.java | 8 import android.os.CancellationSignal; 38 CancellationSignal cancellationSignal, LayoutResultCallback callback, 54 CancellationSignal cancellationSignal, final WriteResultCallback callback) { 65 }, cancellationSignal);
|
AwPdfExporter.java | 7 import android.os.CancellationSignal; 41 ValueCallback<Boolean> resultCallback, CancellationSignal cancellationSignal) { 68 nativeExportToPdf(mNativeAwPdfExporter, mFd.getFd(), cancellationSignal); 139 CancellationSignal cancellationSignal);
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteQueryBuilderTest.java | 27 import android.os.CancellationSignal; 277 CancellationSignal cancellationSignal = new CancellationSignal(); 282 "name", "sum(salary)>1000", "name", null, cancellationSignal); 290 CancellationSignal cancellationSignal = new CancellationSignal(); 294 cancellationSignal.cancel(); 298 "name", "sum(salary)>1000", "name", null, cancellationSignal); [all...] |
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 32 import android.os.CancellationSignal; 193 ICancellationSignal cancellationSignal) { 196 CancellationSignal.fromTransport(cancellationSignal)); 202 CancellationSignal.fromTransport(cancellationSignal)); 295 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) 301 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); 309 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) [all...] |
ContentResolver.java | 32 import android.os.CancellationSignal; 436 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 444 CancellationSignal cancellationSignal) { 455 if (cancellationSignal != null) { 456 cancellationSignal.throwIfCanceled(); 458 cancellationSignal.setRemote(remoteCancellationSignal); 498 if (cancellationSignal != null) { 499 cancellationSignal.setRemote(null); 750 * @param cancellationSignal A signal to cancel the operation in progress [all...] |
ContentProviderClient.java | 23 import android.os.CancellationSignal; 119 String sortOrder, CancellationSignal cancellationSignal) throws RemoteException { 123 if (cancellationSignal != null) { 124 cancellationSignal.throwIfCanceled(); 126 cancellationSignal.setRemote(remoteCancellationSignal); 281 public ParcelFileDescriptor openFile(Uri url, String mode, CancellationSignal signal) 321 public AssetFileDescriptor openAssetFile(Uri url, String mode, CancellationSignal signal) 350 String mimeType, Bundle opts, CancellationSignal signal)
|
ContentProviderNative.java | 109 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface( 113 sortOrder, cancellationSignal); 321 ICancellationSignal cancellationSignal = createCancellationSignal(); 323 reply.writeStrongBinder(cancellationSignal.asBinder()); 379 String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) 409 data.writeStrongBinder(cancellationSignal != null ? cancellationSignal.asBinder() : null); 703 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface( 705 return cancellationSignal;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 25 import android.os.CancellationSignal; 183 String limit, CancellationSignal cancellationSignal) { 193 cursor, db, projection, selection, searchClause, limit, cancellationSignal); 210 String lookupKey, String filter, CancellationSignal cancellationSignal) { 221 cancellationSignal); 226 CancellationSignal cancellationSignal) { 253 Cursor c = db.rawQuery(sb.toString(), null, cancellationSignal); [all...] |
ProfileProvider.java | 25 import android.os.CancellationSignal; 83 String sortOrder, CancellationSignal cancellationSignal) { 86 cancellationSignal);
|
/frameworks/support/v4/kitkat/android/support/v4/print/ |
PrintHelperKitkat.java | 28 import android.os.CancellationSignal; 185 CancellationSignal cancellationSignal, 201 CancellationSignal cancellationSignal, 297 final CancellationSignal cancellationSignal, 300 if (cancellationSignal.isCanceled()) { 321 cancellationSignal.setOnCancelListener( 322 new CancellationSignal.OnCancelListener() [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockIContentProvider.java | 81 String sortOrder, ICancellationSignal cancellationSignal) {
|
/packages/experimental/PrintApp/src/foo/bar/print/ |
PrintActivity.java | 29 import android.os.CancellationSignal; 30 import android.os.CancellationSignal.OnCancelListener; 88 final CancellationSignal cancellationSignal, 96 cancellationSignal.setOnCancelListener(new OnCancelListener() { 157 final CancellationSignal canclleationSignal,
|