Home
last modified time | relevance | path

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

123

/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.java21 import android.os.CancellationSignal;
32 private final CancellationSignal mCancellationSignal;
36 CancellationSignal cancellationSignal) { in SQLiteDirectCursorDriver()
DSQLiteConnection.java26 import android.os.CancellationSignal;
89 public final class SQLiteConnection implements CancellationSignal.OnCancelListener {
541 CancellationSignal cancellationSignal) { in execute()
584 CancellationSignal cancellationSignal) { in executeForLong()
627 CancellationSignal cancellationSignal) { in executeForString()
672 CancellationSignal cancellationSignal) { in executeForBlobFileDescriptor()
718 CancellationSignal cancellationSignal) { in executeForChangedRowCount()
767 CancellationSignal cancellationSignal) { in executeForLastInsertedRowId()
822 CancellationSignal cancellationSignal) { in executeForCursorWindow()
939 private void attachCancellationSignal(CancellationSignal cancellationSignal) { in attachCancellationSignal()
[all …]
/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.java29 import android.os.CancellationSignal;
825 ICancellationSignal cancellationTransport = CancellationSignal.createTransport(); in layout()
840 CancellationSignal cancellationSignal = CancellationSignal.fromTransport( in layout()
859 ICancellationSignal cancellationTransport = CancellationSignal.createTransport(); in write()
874 CancellationSignal cancellationSignal = CancellationSignal.fromTransport( in write()
1018 CancellationSignal cancellation = (CancellationSignal) args.arg4; in handleMessage()
1043 CancellationSignal cancellation = (CancellationSignal) args.arg4; in handleMessage()
/frameworks/support/compat/java/android/support/v4/content/
DContentResolverCompat.java23 import android.support.v4.os.CancellationSignal;
34 String sortOrder, CancellationSignal cancellationSignal); in query()
41 CancellationSignal cancellationSignal) { in query()
55 CancellationSignal cancellationSignal) { in query()
124 String sortOrder, CancellationSignal cancellationSignal) { in query()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DUriDerivativeLoader.java22 import android.os.CancellationSignal;
36 private CancellationSignal mCancellationSignal;
44 mCancellationSignal = new CancellationSignal(); in loadInBackground()
55 public abstract Res loadInBackground(Param param, CancellationSignal signal); in loadInBackground()
DDirectoryLoader.java31 import android.os.CancellationSignal;
59 private CancellationSignal mSignal;
79 mSignal = new CancellationSignal(); in loadInBackground()
/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/support/compat/java/android/support/v4/hardware/fingerprint/
DFingerprintManagerCompat.java24 import android.support.v4.os.CancellationSignal;
93 @Nullable CancellationSignal cancel, @NonNull AuthenticationCallback callback, in authenticate()
206 CancellationSignal cancel, AuthenticationCallback callback, Handler handler); in authenticate()
227 CancellationSignal cancel, AuthenticationCallback callback, Handler handler) { in authenticate()
249 CancellationSignal cancel, AuthenticationCallback callback, Handler handler) { in authenticate()
/frameworks/support/compat/jellybean/android/support/v4/os/
DCancellationSignalCompatJellybean.java21 return new android.os.CancellationSignal(); in create()
25 ((android.os.CancellationSignal)cancellationSignalObj).cancel(); in cancel()
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
DPrinterDiscoverySessionCallbacks.java19 import android.os.CancellationSignal;
46 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback); in onRequestCustomPrinterIcon()
DStubbablePrinterDiscoverySession.java19 import android.os.CancellationSignal;
74 CancellationSignal cancellationSignal, CustomPrinterIconCallback callback) { in onRequestCustomPrinterIcon()
/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/support/compat/java/android/support/v4/os/
DCancellationSignal.java26 public final class CancellationSignal { class
35 public CancellationSignal() { in CancellationSignal() method in CancellationSignal
/frameworks/support/core-utils/kitkat/android/support/v4/print/
DPrintHelperKitkat.java33 import android.os.CancellationSignal;
251 CancellationSignal cancellationSignal, in printBitmap()
267 CancellationSignal cancellationSignal, in printBitmap()
324 final CancellationSignal cancellationSignal, in writeBitmap()
458 final CancellationSignal cancellationSignal, in printBitmap()
486 new CancellationSignal.OnCancelListener() { in printBitmap()
583 CancellationSignal cancellationSignal, in printBitmap()
/frameworks/base/core/java/android/content/
DCursorLoader.java21 import android.os.CancellationSignal;
52 CancellationSignal mCancellationSignal;
61 mCancellationSignal = new CancellationSignal(); in loadInBackground()
DContentProvider.java39 import android.os.CancellationSignal;
228 selectionArgs, sortOrder, CancellationSignal.fromTransport( in query()
241 CancellationSignal.fromTransport(cancellationSignal)); in query()
372 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openFile()
388 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openAssetFile()
423 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal)); in openTypedAssetFile()
431 return CancellationSignal.createTransport(); in createCancellationSignal()
1019 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) { in query()
1320 @Nullable CancellationSignal signal) throws FileNotFoundException { in openFile()
1439 @Nullable CancellationSignal signal) throws FileNotFoundException { in openAssetFile()
[all …]
DContentProviderClient.java26 import android.os.CancellationSignal;
133 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) in query()
330 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile()
373 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile()
405 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) in openTypedAssetFileDescriptor()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java24 import android.os.CancellationSignal;
348 public @NonNull MtpEvent readEvent(@Nullable CancellationSignal signal) throws IOException { in readEvent()
353 signal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in readEvent()
/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.java50 import android.os.CancellationSignal;
503 String documentId, String mode, CancellationSignal signal) throws FileNotFoundException; in openDocument()
524 String documentId, Point sizeHint, CancellationSignal signal) in openDocumentThumbnail()
547 String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument()
891 public final ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal) in openFile()
918 public final AssetFileDescriptor openAssetFile(Uri uri, String mode, CancellationSignal signal) in openAssetFile()
947 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedAssetFile()
1005 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedAssetFileImpl()

123