/frameworks/base/core/java/android/database/sqlite/ |
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;
|
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;
|
SQLiteConnection.java | 26 import android.os.CancellationSignal; 87 public final class SQLiteConnection implements CancellationSignal.OnCancelListener { 534 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 541 CancellationSignal cancellationSignal) { 553 attachCancellationSignal(cancellationSignal); 557 detachCancellationSignal(cancellationSignal); 575 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 584 CancellationSignal cancellationSignal) { [all...] |
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/core/java/android/os/ |
CancellationSignal.java | 25 public final class CancellationSignal { 34 public CancellationSignal() { 102 * If {@link CancellationSignal#cancel} has already been called, then the provided 128 * If {@link CancellationSignal#cancel} has already been called, then the provided 185 public static CancellationSignal fromTransport(ICancellationSignal transport) { 197 * Called when {@link CancellationSignal#cancel} is invoked. 203 final CancellationSignal mCancellationSignal = new CancellationSignal();
|
OperationCanceledException.java | 23 * @see CancellationSignal
|
/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...] |
/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...] |
/frameworks/base/docs/html/sdk/api_diff/16/changes/ |
android.database.sqlite.SQLiteDatabase.html | 108 <A NAME="android.database.sqlite.SQLiteDatabase.query_added(boolean, java.lang.String, 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> 109 <nobr><code>Cursor</code> <A HREF="../../../../reference/android/database/sqlite/SQLiteDatabase.html#query(boolean, java.lang.String, 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>boolean,</nobr> String<nobr>,</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> 115 <A NAME="android.database.sqlite.SQLiteDatabase.queryWithFactory_added(android.database.sqlite.SQLiteDatabase.CursorFactory, boolean, java.lang.String, 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> 116 <nobr><code>Cursor</code> <A HREF="../../../../reference/android/database/sqlite/SQLiteDatabase.html#queryWithFactory(android.database.sqlite.SQLiteDatabase.CursorFactory, boolean, java.lang.String, 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>queryWithFactory</code></A>(<code>CursorFactory,</nobr> boolean<nobr>,</nobr> String<nobr>,</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> 122 <A NAME="android.database.sqlite.SQLiteDatabase.rawQuery_added(java.lang.String, java.lang.String[], android.os.CancellationSignal)"></A> 123 <nobr><code>Cursor</code> <A HREF="../../../../reference/android/database/sqlite/SQLiteDatabase.html#rawQuery(java.lang.String, java.lang.String[], android.os.CancellationSignal)" target="_top"><code>rawQuery</code></A>(<code>String,</nobr> String[]<nobr>,</nobr> CancellationSignal<nobr><nobr></code>)</nobr> 129 <A NAME="android.database.sqlite.SQLiteDatabase.rawQueryWithFactory_added(android.database.sqlite.SQLiteDatabase.CursorFactory, java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal)"></A [all...] |
pkg_android.os.html | 84 <A NAME="CancellationSignal"></A> 85 <nobr><A HREF="../../../../reference/android/os/CancellationSignal.html" target="_top"><code>CancellationSignal</code></A></nobr> 91 <A NAME="CancellationSignal.OnCancelListener"></A> 92 <nobr><A HREF="../../../../reference/android/os/CancellationSignal.OnCancelListener.html" target="_top"><code><I>CancellationSignal.OnCancelListener</I></code></A></nobr>
|
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> <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> <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> <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> <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>
|
/frameworks/base/core/java/android/content/ |
ContentProviderClient.java | 22 import android.os.CancellationSignal; 78 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) 81 if (cancellationSignal != null) { 83 cancellationSignal.setRemote(remoteCancellationSignal);
|
ContentProviderNative.java | 111 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface( 115 sortOrder, cancellationSignal); 317 ICancellationSignal cancellationSignal = createCancellationSignal(); 319 reply.writeStrongBinder(cancellationSignal.asBinder()); 351 String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) 381 data.writeStrongBinder(cancellationSignal != null ? cancellationSignal.asBinder() : null); 667 ICancellationSignal cancellationSignal = ICancellationSignal.Stub.asInterface( 669 return cancellationSignal;
|
CursorLoader.java | 22 import android.os.CancellationSignal; 53 CancellationSignal mCancellationSignal; 62 mCancellationSignal = new CancellationSignal();
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsProvider.java | 45 import android.os.CancellationSignal; 319 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { 341 return getSuggestions(query, projectionIn, cancellationSignal); 355 return getSearchResults(query, projectionIn, cancellationSignal); 363 CancellationSignal cancellationSignal) { 372 return searchApplications(query, projectionIn, projectionMap, cancellationSignal); 397 CancellationSignal cancellationSignal) { [all...] |
/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...] |
/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);
|
/cts/tests/src/android/content/cts/ |
MockContentProvider.java | 41 import android.os.CancellationSignal; 247 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { 306 null, cancellationSignal);
|