/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...] |
/frameworks/base/core/java/android/os/ |
CancellationSignal.java | 24 public final class CancellationSignal { 33 public CancellationSignal() { 101 * If {@link CancellationSignal#cancel} has already been called, then the provided 127 * If {@link CancellationSignal#cancel} has already been called, then the provided 184 public static CancellationSignal fromTransport(ICancellationSignal transport) { 196 * Called when {@link CancellationSignal#cancel} is invoked. 202 final CancellationSignal mCancellationSignal = new CancellationSignal();
|
/frameworks/base/core/java/android/database/sqlite/ |
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;
|
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...] |
SQLiteDirectCursorDriver.java | 21 import android.os.CancellationSignal; 32 private final CancellationSignal mCancellationSignal; 36 CancellationSignal cancellationSignal) { 40 mCancellationSignal = cancellationSignal;
|
SQLiteProgram.java | 20 import android.os.CancellationSignal; 41 CancellationSignal cancellationSignalForPrepare) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
UriDerivativeLoader.java | 22 import android.os.CancellationSignal; 27 * changes while started, manages {@link CancellationSignal}, and caches 36 private CancellationSignal mCancellationSignal; 44 mCancellationSignal = new CancellationSignal(); 55 public abstract R loadInBackground(P param, CancellationSignal signal);
|
DirectoryLoader.java | 33 import android.os.CancellationSignal; 77 private CancellationSignal mSignal; 96 mSignal = new CancellationSignal();
|
/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);
|
/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);
|
/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...] |
CursorLoader.java | 22 import android.os.CancellationSignal; 53 CancellationSignal mCancellationSignal; 62 mCancellationSignal = new CancellationSignal();
|
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)
|
/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,
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
TestDocumentsProvider.java | 35 import android.os.CancellationSignal; 36 import android.os.CancellationSignal.OnCancelListener; 311 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) 319 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { 362 private static void lagUntilCanceled(CancellationSignal signal) { 366 private static void wedgeUntilCanceled(CancellationSignal signal) { 371 final CancellationSignal signal, long timeoutMillis) {
|
/frameworks/base/core/java/android/provider/ |
DocumentsProvider.java | 39 import android.os.CancellationSignal; 96 * {@link #openDocumentThumbnail(String, Point, CancellationSignal)} to return 362 * {@link CancellationSignal#isCanceled()} to abort abandoned open requests. 375 String documentId, String mode, CancellationSignal signal) throws FileNotFoundException; 385 * you should periodically check {@link CancellationSignal#isCanceled()} to 396 String documentId, Point sizeHint, CancellationSignal signal) 500 * @see #openDocument(String, String, CancellationSignal) 560 * @see #openDocument(String, String, CancellationSignal) 570 * @see #openDocument(String, String, CancellationSignal) 573 public final ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal [all...] |
/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...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileProvider.java | 25 import android.os.CancellationSignal; 83 String sortOrder, CancellationSignal cancellationSignal) { 86 cancellationSignal);
|
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...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/ |
PrintingControllerTest.java | 7 import android.os.CancellationSignal; 194 new CancellationSignal(), 212 new CancellationSignal(),
|