Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/database/sqlite/
DSQLiteSession.java22 import android.os.CancellationSignal;
298 CancellationSignal cancellationSignal) { in beginTransaction()
306 CancellationSignal cancellationSignal) { in beginTransactionUnchecked()
399 public void endTransaction(CancellationSignal cancellationSignal) { in endTransaction()
406 private void endTransactionUnchecked(CancellationSignal cancellationSignal, boolean yielding) { in endTransactionUnchecked()
505 CancellationSignal cancellationSignal) { in yieldTransaction()
527 CancellationSignal cancellationSignal) { in yieldTransactionUnchecked()
578 public void prepare(String sql, int connectionFlags, CancellationSignal cancellationSignal, in prepare()
610 CancellationSignal cancellationSignal) { in execute()
643 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/base/core/java/android/os/
DCancellationSignal.java24 public final class CancellationSignal { class
37 public CancellationSignal() { in CancellationSignal() method in CancellationSignal
189 public static CancellationSignal fromTransport(ICancellationSignal transport) { in fromTransport()
207 final CancellationSignal mCancellationSignal = new CancellationSignal();
/frameworks/base/core/java/android/content/
DContentInterface.java25 import android.os.CancellationSignal;
44 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query()
57 @Nullable CancellationSignal cancellationSignal) throws RemoteException; in refresh()
72 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException; in openFile()
75 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException; in openAssetFile()
79 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException; in openTypedAssetFile()
DLoggingContentInterface.java27 import android.os.CancellationSignal;
93 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query()
156 @Nullable CancellationSignal cancellationSignal) throws RemoteException { in refresh()
221 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile()
234 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile()
248 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openTypedAssetFile()
DContentProviderClient.java33 import android.os.CancellationSignal;
173 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) in query()
183 Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query()
288 @Nullable CancellationSignal cancellationSignal) throws RemoteException { in refresh()
408 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openFile()
452 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openAssetFile()
484 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) in openTypedAssetFileDescriptor()
492 @Nullable CancellationSignal signal) throws RemoteException, FileNotFoundException { in openTypedAssetFile()
DCursorLoader.java22 import android.os.CancellationSignal;
59 CancellationSignal mCancellationSignal;
68 mCancellationSignal = new CancellationSignal(); in loadInBackground()
DContentProvider.java43 import android.os.CancellationSignal;
251 CancellationSignal.fromTransport(cancellationSignal)); in query()
269 CancellationSignal.fromTransport(cancellationSignal)); in query()
440 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openFile()
460 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); in openAssetFile()
512 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal)); in openTypedAssetFile()
523 return CancellationSignal.createTransport(); in createCancellationSignal()
578 CancellationSignal.fromTransport(cancellationSignal)); in refresh()
1213 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) { in query()
1297 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) { in query()
[all …]
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java22 import android.os.CancellationSignal;
23 import android.os.CancellationSignal.OnCancelListener;
83 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout()
90 CancellationSignal cancellationSignal, WriteResultCallback callback) { in onWrite()
102 private final CancellationSignal mCancellationSignal;
105 CancellationSignal cancellationSignal, WriteResultCallback callback) { in WriteFileAsyncTask()
DPrintDocumentAdapter.java21 import android.os.CancellationSignal;
188 CancellationSignal cancellationSignal, LayoutResultCallback callback, in onLayout()
243 CancellationSignal cancellationSignal, WriteResultCallback callback); in onWrite()
DPrintManager.java35 import android.os.CancellationSignal;
850 ICancellationSignal cancellationTransport = CancellationSignal.createTransport(); in layout()
865 CancellationSignal cancellationSignal = CancellationSignal.fromTransport( in layout()
884 ICancellationSignal cancellationTransport = CancellationSignal.createTransport(); in write()
899 CancellationSignal cancellationSignal = CancellationSignal.fromTransport( in write()
1043 CancellationSignal cancellation = (CancellationSignal) args.arg4; in handleMessage()
1068 CancellationSignal cancellation = (CancellationSignal) args.arg4; in handleMessage()
/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/core/java/android/service/textclassifier/
DTextClassifierService.java32 import android.os.CancellationSignal;
110 @NonNull private final CancellationSignal mCancellationSignal = new CancellationSignal();
222 @NonNull CancellationSignal cancellationSignal, in onSuggestSelection()
238 @NonNull CancellationSignal cancellationSignal, in onClassifyText()
254 @NonNull CancellationSignal cancellationSignal, in onGenerateLinks()
269 @NonNull CancellationSignal cancellationSignal, in onDetectLanguage()
287 @NonNull CancellationSignal cancellationSignal, in onSuggestConversationActions()
/frameworks/base/core/java/android/service/autofill/
DAutofillService.java26 import android.os.CancellationSignal;
587 ICancellationSignal transport = CancellationSignal.createTransport();
595 AutofillService.this, request, CancellationSignal.fromTransport(transport),
649 @NonNull CancellationSignal cancellationSignal, @NonNull FillCallback callback); in onFillRequest()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricAuthenticator.java21 import android.os.CancellationSignal;
250 @NonNull CancellationSignal cancel, in authenticate()
274 default void authenticate(@NonNull CancellationSignal cancel, in authenticate()
DBiometricPrompt.java31 import android.os.CancellationSignal;
313 private class OnAuthenticationCancelListener implements CancellationSignal.OnCancelListener {
523 public void authenticateUser(@NonNull CancellationSignal cancel, in authenticateUser()
571 @NonNull CancellationSignal cancel, in authenticate()
620 public void authenticate(@NonNull CancellationSignal cancel, in authenticate()
647 @NonNull CancellationSignal cancel, in authenticateInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java27 import android.os.CancellationSignal;
363 public static CancellationSignal apply( in apply()
373 final HashMap<Integer, CancellationSignal> runningInflations = new HashMap<>(); in apply()
475 CancellationSignal cancellationSignal = new CancellationSignal(); in apply()
477 () -> runningInflations.values().forEach(CancellationSignal::cancel)); in apply()
495 final HashMap<Integer, CancellationSignal> runningInflations, in applyRemoteView()
518 runningInflations.put(inflationId, new CancellationSignal()); in applyRemoteView()
571 CancellationSignal cancellationSignal; in applyRemoteView()
591 HashMap<Integer, CancellationSignal> runningInflations, Exception e, in handleInflationError()
594 runningInflations.values().forEach(CancellationSignal::cancel); in handleInflationError()
[all …]
/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/net/
DDnsResolver.java35 import android.os.CancellationSignal;
189 @Nullable CancellationSignal cancellationSignal, in rawQuery()
230 @Nullable CancellationSignal cancellationSignal, in rawQuery()
338 @Nullable CancellationSignal cancellationSignal, in query()
437 @Nullable CancellationSignal cancellationSignal, in query()
478 @Nullable CancellationSignal cancellationSignal, @NonNull Object lock) { in registerFDListener()
528 private void addCancellationSignal(@NonNull CancellationSignal cancellationSignal, in addCancellationSignal()
/frameworks/base/core/java/android/service/autofill/augmented/
DAugmentedAutofillService.java34 import android.os.CancellationSignal;
185 @NonNull CancellationSignal cancellationSignal, @NonNull FillController controller, in onFillRequest()
220 final ICancellationSignal transport = CancellationSignal.createTransport(); in handleOnFillRequest()
221 final CancellationSignal cancellationSignal = CancellationSignal.fromTransport(transport); in handleOnFillRequest()
369 private CancellationSignal mCancellationSignal;
375 @NonNull IFillCallback callback, @NonNull CancellationSignal cancellationSignal) { in AutofillProxy()
454 @NonNull IFillCallback callback, @NonNull CancellationSignal cancellationSignal) { in update()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java59 import android.os.CancellationSignal;
495 @Nullable CancellationSignal signal) throws FileNotFoundException { in queryRecentDocuments()
806 @Nullable CancellationSignal signal) throws FileNotFoundException; in openDocument()
830 String documentId, Point sizeHint, CancellationSignal signal) in openDocumentThumbnail()
858 String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument()
883 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query()
900 Uri uri, String[] projection, Bundle queryArgs, CancellationSignal cancellationSignal) { in query()
1300 public final ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal) in openFile()
1327 public final AssetFileDescriptor openAssetFile(Uri uri, String mode, CancellationSignal signal) in openAssetFile()
1356 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedAssetFile()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpDevice.java24 import android.os.CancellationSignal;
383 public @NonNull MtpEvent readEvent(@Nullable CancellationSignal signal) throws IOException { in readEvent()
388 signal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in readEvent()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestDocumentsProvider.java26 import android.os.CancellationSignal;
78 CancellationSignal signal) throws FileNotFoundException { in openDocument()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java40 import android.os.CancellationSignal;
93 private final CancellationSignal signal;
95 public Resizer(Size size, CancellationSignal signal) { in Resizer()
150 @Nullable CancellationSignal signal) throws IOException { in createAudioThumbnail()
242 @Nullable CancellationSignal signal) throws IOException { in createImageThumbnail()
345 @Nullable CancellationSignal signal) throws IOException { in createVideoThumbnail()

123