Home
last modified time | relevance | path

Searched refs:CancellationSignal (Results 1 – 25 of 90) sorted by relevance

1234

/frameworks/base/core/java/android/database/sqlite/
DSQLiteSession.java21 import android.os.CancellationSignal;
296 CancellationSignal cancellationSignal) { in beginTransaction()
304 CancellationSignal cancellationSignal) { in beginTransactionUnchecked()
397 public void endTransaction(CancellationSignal cancellationSignal) { in endTransaction()
404 private void endTransactionUnchecked(CancellationSignal cancellationSignal, boolean yielding) { in endTransactionUnchecked()
503 CancellationSignal cancellationSignal) { in yieldTransaction()
525 CancellationSignal cancellationSignal) { in yieldTransactionUnchecked()
576 public void prepare(String sql, int connectionFlags, CancellationSignal cancellationSignal, in prepare()
608 CancellationSignal cancellationSignal) { in execute()
641 CancellationSignal cancellationSignal) { in executeForLong()
[all …]
DSQLiteQuery.java20 import android.os.CancellationSignal;
34 private final CancellationSignal mCancellationSignal;
36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) { in SQLiteQuery()
DSQLiteDirectCursorDriver.java22 import android.os.CancellationSignal;
34 private final CancellationSignal mCancellationSignal;
38 CancellationSignal cancellationSignal) { in SQLiteDirectCursorDriver()
/frameworks/support/compat/java/android/support/v4/os/
DCancellationSignal.java26 public final class CancellationSignal { class
35 public CancellationSignal() { in CancellationSignal() method in CancellationSignal
82 ((android.os.CancellationSignal) obj).cancel(); in cancel()
140 mCancellationSignalObj = new android.os.CancellationSignal(); in getCancellationSignalObject()
142 ((android.os.CancellationSignal) mCancellationSignalObj).cancel(); in getCancellationSignalObject()
/frameworks/base/core/java/android/os/
DCancellationSignal.java24 public final class CancellationSignal { class
33 public CancellationSignal() { in CancellationSignal() method in CancellationSignal
184 public static CancellationSignal fromTransport(ICancellationSignal transport) { in fromTransport()
202 final CancellationSignal mCancellationSignal = new CancellationSignal();
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java22 import android.os.CancellationSignal;
23 import android.os.CancellationSignal.OnCancelListener;
81 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout()
88 CancellationSignal cancellationSignal, WriteResultCallback callback) { in onWrite()
100 private final CancellationSignal mCancellationSignal;
103 CancellationSignal cancellationSignal, WriteResultCallback callback) { in WriteFileAsyncTask()
DPrintDocumentAdapter.java20 import android.os.CancellationSignal;
187 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout()
242 CancellationSignal cancellationSignal, WriteResultCallback callback); in onWrite()
DPrintManager.java32 import android.os.CancellationSignal;
845 ICancellationSignal cancellationTransport = CancellationSignal.createTransport(); in layout()
860 CancellationSignal cancellationSignal = CancellationSignal.fromTransport( in layout()
879 ICancellationSignal cancellationTransport = CancellationSignal.createTransport(); in write()
894 CancellationSignal cancellationSignal = CancellationSignal.fromTransport( in write()
1038 CancellationSignal cancellation = (CancellationSignal) args.arg4; in handleMessage()
1063 CancellationSignal cancellation = (CancellationSignal) args.arg4; in handleMessage()
/frameworks/support/compat/java/android/support/v4/content/
DContentResolverCompat.java24 import android.support.v4.os.CancellationSignal;
72 String sortOrder, CancellationSignal cancellationSignal) { in query()
75 final android.os.CancellationSignal cancellationSignalObj = in query()
76 (android.os.CancellationSignal) in query()
/frameworks/base/core/java/android/service/autofill/
DAutofillService.java24 import android.os.CancellationSignal;
487 ICancellationSignal transport = CancellationSignal.createTransport();
494 CancellationSignal.fromTransport(transport), callback)
513 final CancellationSignal cancellation = (CancellationSignal) args.arg2;
578 @NonNull CancellationSignal cancellationSignal, @NonNull FillCallback callback); in onFillRequest()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java25 import android.os.CancellationSignal;
62 final CancellationSignal signal = new CancellationSignal(); in testCancelEvent()
107 final CancellationSignal signal = new CancellationSignal(); in testEventObjectAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInflater.java23 import android.os.CancellationSignal;
185 public static CancellationSignal apply(InflationProgress result, int reInflateFlags, in apply()
192 final HashMap<Integer, CancellationSignal> runningInflations = new HashMap<>(); in apply()
313 CancellationSignal cancellationSignal = new CancellationSignal(); in apply()
315 () -> runningInflations.values().forEach(CancellationSignal::cancel)); in apply()
328 final HashMap<Integer, CancellationSignal> runningInflations, in applyRemoteView()
373 CancellationSignal cancellationSignal; in applyRemoteView()
392 private static void handleInflationError(HashMap<Integer, CancellationSignal> runningInflations, in handleInflationError()
395 runningInflations.values().forEach(CancellationSignal::cancel); in handleInflationError()
407 HashMap<Integer, CancellationSignal> runningInflations, in finishIfDone()
[all …]
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
DPrinterDiscoverySessionCallbacks.java19 import android.os.CancellationSignal;
46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); in onRequestCustomPrinterIcon()
DStubbablePrinterDiscoverySession.java20 import android.os.CancellationSignal;
75 @NonNull CancellationSignal cancellationSignal, in onRequestCustomPrinterIcon()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/
DPrinterDiscoverySessionCallbacks.java19 import android.os.CancellationSignal;
46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); in onRequestCustomPrinterIcon()
DStubbablePrinterDiscoverySession.java19 import android.os.CancellationSignal;
75 @NonNull CancellationSignal cancellationSignal, in onRequestCustomPrinterIcon()
/frameworks/support/compat/java/android/support/v4/hardware/fingerprint/
DFingerprintManagerCompat.java29 import android.support.v4.os.CancellationSignal;
104 @Nullable CancellationSignal cancel, @NonNull AuthenticationCallback callback, in authenticate()
109 android.os.CancellationSignal cancellationSignal = cancel != null in authenticate()
110 ? (android.os.CancellationSignal) cancel.getCancellationSignalObject() in authenticate()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java35 import android.os.CancellationSignal;
36 import android.os.CancellationSignal.OnCancelListener;
311 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument()
319 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { in openDocumentThumbnail()
362 private static void lagUntilCanceled(CancellationSignal signal) { in lagUntilCanceled()
366 private static void wedgeUntilCanceled(CancellationSignal signal) { in wedgeUntilCanceled()
371 final CancellationSignal signal, long timeoutMillis) { in waitForCancelOrTimeout()
/frameworks/base/core/java/android/content/
DContentProviderClient.java26 import android.os.CancellationSignal;
133 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) in query()
142 Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query()
242 @Nullable CancellationSignal cancellationSignal) throws RemoteException { in refresh()
357 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile()
400 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile()
432 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) in openTypedAssetFileDescriptor()
DContentProvider.java39 import android.os.CancellationSignal;
231 CancellationSignal.fromTransport(cancellationSignal)); in query()
243 CancellationSignal.fromTransport(cancellationSignal)); in query()
375 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openFile()
391 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openAssetFile()
426 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal)); in openTypedAssetFile()
434 return CancellationSignal.createTransport(); in createCancellationSignal()
480 CancellationSignal.fromTransport(cancellationSignal)); in refresh()
1056 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) { in query()
1139 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) { in query()
[all …]
DCursorLoader.java21 import android.os.CancellationSignal;
52 CancellationSignal mCancellationSignal;
61 mCancellationSignal = new CancellationSignal(); in loadInBackground()
/frameworks/support/content/src/android/support/content/
DQuery.java26 import android.os.CancellationSignal;
51 private final CancellationSignal mCancellationSignal;
59 @Nullable CancellationSignal cancellationSignal, in Query()
/frameworks/support/compat/java/android/support/v4/graphics/
DTypefaceCompat.java25 import android.os.CancellationSignal;
71 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, in createFromFontInfo()
143 @Nullable CancellationSignal cancellationSignal, @NonNull FontInfo[] fonts, int style) { in createFromFontInfo()
/frameworks/support/core-utils/java/android/support/v4/content/
DCursorLoader.java23 import android.support.v4.os.CancellationSignal;
47 CancellationSignal mCancellationSignal;
56 mCancellationSignal = new CancellationSignal(); in loadInBackground()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java58 import android.os.CancellationSignal;
688 String documentId, String mode, CancellationSignal signal) throws FileNotFoundException; in openDocument()
712 String documentId, Point sizeHint, CancellationSignal signal) in openDocumentThumbnail()
740 String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument()
765 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query()
782 Uri uri, String[] projection, Bundle queryArgs, CancellationSignal cancellationSignal) { in query()
1183 public final ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal) in openFile()
1210 public final AssetFileDescriptor openAssetFile(Uri uri, String mode, CancellationSignal signal) in openAssetFile()
1239 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedAssetFile()
1299 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedAssetFileImpl()

1234