HomeSort by relevance Sort by last modified time
    Searched full:cancellationsignal (Results 26 - 50 of 93) sorted by null

12 3 4

  /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) {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
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...]
  /frameworks/base/core/java/android/content/
ContentProviderNative.java 109 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface(
113 sortOrder, cancellationSignal);
321 ICancellationSignal cancellationSignal = createCancellationSignal();
323 reply.writeStrongBinder(cancellationSignal.asBinder());
379 String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal)
409 data.writeStrongBinder(cancellationSignal != null ? cancellationSignal.asBinder() : null);
703 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface(
705 return cancellationSignal;
CursorLoader.java 22 import android.os.CancellationSignal;
53 CancellationSignal mCancellationSignal;
62 mCancellationSignal = new CancellationSignal();
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...]
ContentResolver.java 32 import android.os.CancellationSignal;
436 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
444 CancellationSignal cancellationSignal) {
455 if (cancellationSignal != null) {
456 cancellationSignal.throwIfCanceled();
458 cancellationSignal.setRemote(remoteCancellationSignal);
498 if (cancellationSignal != null) {
499 cancellationSignal.setRemote(null);
750 * @param cancellationSignal A signal to cancel the operation in progress
    [all...]
  /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/base/core/java/android/print/
PrintDocumentInfo.java 37 * PrintAttributes, android.os.CancellationSignal, PrintDocumentAdapter.LayoutResultCallback,
39 * PrintAttributes, android.os.CancellationSignal,
49 * CancellationSignal cancellationSignal, LayoutResultCallback callback,
  /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(),
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DirectoryLoader.java 33 import android.os.CancellationSignal;
77 private CancellationSignal mSignal;
96 mSignal = new CancellationSignal();
  /cts/tests/tests/content/src/android/content/cts/
ContentResolverTest.java 34 import android.os.CancellationSignal;
380 CancellationSignal cancellationSignal = new CancellationSignal();
383 cancellationSignal);
389 CancellationSignal cancellationSignal = new CancellationSignal();
390 cancellationSignal.cancel();
393 mContentResolver.query(TABLE1_URI, null, null, null, null, cancellationSignal);
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
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...]
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) {
390 cancellationSignal); // will throw if query is invalid
403 cancellationSignal); // will throw if query is invalid
411 CancellationSignal cancellationSignal) {
413 db.getThreadDefaultConnectionFlags(true /*readOnly*/), cancellationSignal, null)
    [all...]
SQLiteProgram.java 20 import android.os.CancellationSignal;
41 CancellationSignal cancellationSignalForPrepare) {
  /frameworks/base/docs/html/sdk/api_diff/16/changes/
android.content.ContentProvider.html 86 <A NAME="android.content.ContentProvider.query_added(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal)"></A>
87 <nobr><code>Cursor</code>&nbsp;<A HREF="../../../../reference/android/content/ContentProvider.html#query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal)" target="_top"><code>query</code></A>(<code>Uri,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> CancellationSignal<nobr><nobr></code>)</nobr>
android.content.ContentProviderClient.html 86 <A NAME="android.content.ContentProviderClient.query_added(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal)"></A>
87 <nobr><code>Cursor</code>&nbsp;<A HREF="../../../../reference/android/content/ContentProviderClient.html#query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal)" target="_top"><code>query</code></A>(<code>Uri,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> CancellationSignal<nobr><nobr></code>)</nobr>
android.content.ContentResolver.html 100 <A NAME="android.content.ContentResolver.query_added(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal)"></A>
101 <nobr><code>Cursor</code>&nbsp;<A HREF="../../../../reference/android/content/ContentResolver.html#query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal)" target="_top"><code>query</code></A>(<code>Uri,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> CancellationSignal<nobr><nobr></code>)</nobr>
android.database.sqlite.SQLiteQueryBuilder.html 86 <A NAME="android.database.sqlite.SQLiteQueryBuilder.query_added(android.database.sqlite.SQLiteDatabase, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String, android.os.CancellationSignal)"></A>
87 <nobr><code>Cursor</code>&nbsp;<A HREF="../../../../reference/android/database/sqlite/SQLiteQueryBuilder.html#query(android.database.sqlite.SQLiteDatabase, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String, android.os.CancellationSignal)" target="_top"><code>query</code></A>(<code>SQLiteDatabase,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> String<nobr>,</nobr> String<nobr>,</nobr> String<nobr>,</nobr> CancellationSignal<nobr><nobr></code>)</nobr>
  /external/chromium_org/android_webview/native/
cancellation_signal_android_jar_jni_headers.target.darwin-arm.mk 22 @echo "Gyp action: Generating JNI bindings from $(PWD)/prebuilts/sdk/18/android.jar/android/os/CancellationSignal.class ($@)"
23 $(hide)cd $(gyp_local_path)/android_webview/native; mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; ../../base/android/jni_generator/jni_generator.py -j "$(PWD)/prebuilts/sdk/18/android.jar" --input_file android/os/CancellationSignal.class --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0
cancellation_signal_android_jar_jni_headers.target.darwin-mips.mk 22 @echo "Gyp action: Generating JNI bindings from $(PWD)/prebuilts/sdk/18/android.jar/android/os/CancellationSignal.class ($@)"
23 $(hide)cd $(gyp_local_path)/android_webview/native; mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; ../../base/android/jni_generator/jni_generator.py -j "$(PWD)/prebuilts/sdk/18/android.jar" --input_file android/os/CancellationSignal.class --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0
cancellation_signal_android_jar_jni_headers.target.linux-arm.mk 22 @echo "Gyp action: Generating JNI bindings from $(PWD)/prebuilts/sdk/18/android.jar/android/os/CancellationSignal.class ($@)"
23 $(hide)cd $(gyp_local_path)/android_webview/native; mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; ../../base/android/jni_generator/jni_generator.py -j "$(PWD)/prebuilts/sdk/18/android.jar" --input_file android/os/CancellationSignal.class --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0
cancellation_signal_android_jar_jni_headers.target.linux-mips.mk 22 @echo "Gyp action: Generating JNI bindings from $(PWD)/prebuilts/sdk/18/android.jar/android/os/CancellationSignal.class ($@)"
23 $(hide)cd $(gyp_local_path)/android_webview/native; mkdir -p $(gyp_shared_intermediate_dir)/android_webview/jni; ../../base/android/jni_generator/jni_generator.py -j "$(PWD)/prebuilts/sdk/18/android.jar" --input_file android/os/CancellationSignal.class --output_dir "$(gyp_shared_intermediate_dir)/android_webview/jni" --optimize_generation 0
  /packages/apps/Gallery2/src/com/android/photos/data/
PhotoProvider.java 30 import android.os.CancellationSignal;
315 String sortOrder, CancellationSignal cancellationSignal) {
321 Cursor c = query(table, projection, selection, selectionArgs, sortOrder, cancellationSignal);
519 String[] selectionArgs, String orderBy, CancellationSignal cancellationSignal) {
523 orderBy, null, cancellationSignal);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadStorageProvider.java 30 import android.os.CancellationSignal;
260 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal)
275 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException {
  /cts/tests/src/android/content/cts/
MockContentProvider.java 41 import android.os.CancellationSignal;
247 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) {
306 null, cancellationSignal);

Completed in 2570 milliseconds

12 3 4