/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; 89 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...] |
SQLiteDatabase.java | 28 import android.os.CancellationSignal; [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) { 389 db.validateSql(sqlForValidation, cancellationSignal); // will throw if query is invalid 402 cancellationSignal); // will throw if query is invalid
|
/frameworks/support/compat/java/android/support/v4/content/ |
ContentResolverCompat.java | 23 import android.support.v4.os.CancellationSignal; 34 String sortOrder, CancellationSignal cancellationSignal); 41 CancellationSignal cancellationSignal) { 44 if (cancellationSignal != null) { 45 cancellationSignal.throwIfCanceled(); 55 CancellationSignal cancellationSignal) { 59 cancellationSignal != null [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...] |
/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...] |
/cts/tests/tests/print/src/android/print/cts/services/ |
PrinterDiscoverySessionCallbacks.java | 19 import android.os.CancellationSignal; 46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback);
|
StubbablePrinterDiscoverySession.java | 19 import android.os.CancellationSignal; 74 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback) { 76 mCallbacks.onRequestCustomPrinterIcon(printerId, cancellationSignal, callback);
|
/frameworks/base/core/tests/coretests/src/android/print/mockservice/ |
PrinterDiscoverySessionCallbacks.java | 19 import android.os.CancellationSignal; 46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback);
|
StubbablePrinterDiscoverySession.java | 19 import android.os.CancellationSignal; 74 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback) { 76 mCallbacks.onRequestCustomPrinterIcon(printerId, cancellationSignal, callback);
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteQueryBuilderTest.java | 27 import android.os.CancellationSignal; 281 CancellationSignal cancellationSignal = new CancellationSignal(); 286 "name", "sum(salary)>1000", "name", null, cancellationSignal); 294 CancellationSignal cancellationSignal = new CancellationSignal(); 298 cancellationSignal.cancel(); 302 "name", "sum(salary)>1000", "name", null, cancellationSignal); [all...] |
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
PrintHelperKitkat.java | 33 import android.os.CancellationSignal; 251 CancellationSignal cancellationSignal, 267 CancellationSignal cancellationSignal, 270 cancellationSignal, writeResultCallback); 319 * @param cancellationSignal Signal cancelling operation 324 final CancellationSignal cancellationSignal, 340 if (cancellationSignal.isCanceled()) [all...] |
/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) { 254 Cursor c = db.rawQuery(sb.toString(), null, cancellationSignal); [all...] |
ProfileProvider.java | 27 import android.os.CancellationSignal; 68 String sortOrder, CancellationSignal cancellationSignal) { 71 cancellationSignal);
|
/packages/experimental/PrintApp/src/foo/bar/permission2/ |
PrintActivity.java | 32 import android.os.CancellationSignal; 33 import android.os.CancellationSignal.OnCancelListener; 104 final CancellationSignal cancellationSignal, 117 cancellationSignal.setOnCancelListener(new OnCancelListener() { 178 final CancellationSignal cancellationSignal, 194 cancellationSignal.setOnCancelListener(new OnCancelListener() {
|
/frameworks/base/core/java/android/content/ |
ContentResolver.java | 40 import android.os.CancellationSignal; 192 * CancellationSignal) 505 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 514 @Nullable CancellationSignal cancellationSignal) { 526 if (cancellationSignal != null) { 527 cancellationSignal.throwIfCanceled(); 529 cancellationSignal.setRemote(remoteCancellationSignal); 570 if (cancellationSignal != null) { 571 cancellationSignal.setRemote(null) [all...] |
ContentProvider.java | 39 import android.os.CancellationSignal; 209 ICancellationSignal cancellationSignal) { 228 selectionArgs, sortOrder, CancellationSignal.fromTransport( 229 cancellationSignal)); 241 CancellationSignal.fromTransport(cancellationSignal)); 364 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal, 372 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); 380 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) [all...] |
ContentProviderClient.java | 26 import android.os.CancellationSignal; 133 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) 140 if (cancellationSignal != null) { 141 cancellationSignal.throwIfCanceled(); 143 cancellationSignal.setRemote(remoteCancellationSignal); 330 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { 373 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { 405 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal)
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
BlockedNumberProvider.java | 37 import android.os.CancellationSignal; 229 /* cancellationSignal =*/ null); 248 @Nullable CancellationSignal cancellationSignal) { 256 cancellationSignal); 260 cancellationSignal); 274 CancellationSignal cancellationSignal) { 278 null, cancellationSignal); 285 String sortOrder, CancellationSignal cancellationSignal) [all...] |