/frameworks/base/core/java/android/content/ |
H A D | IContentProvider.java | 37 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, argument 45 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument 47 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
|
H A D | SearchRecentSuggestionsProvider.java | 225 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 236 count = db.delete(sSuggestions, selection, selectionArgs); 319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 369 // Tack on the user's selection, if present 370 if (selection != null && selection.length() > 0) { 376 whereClause.append(selection); 393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | ContentProviderOperation.java | 335 * the key is an index into the selection argument array (see {@link Builder#withSelection}) 336 * and the value is the index of the previous result that should be used for that selection 502 * Add a back references as a selection arg. Any value at that index of the selection arg 510 + "can have selection back-references"); 581 * The selection and arguments to use. An occurrence of '?' in the selection will be 582 * replaced with the corresponding occurence of the selection argument. Any of the 583 * selection arguments may be overwritten by a selection argumen 588 withSelection(String selection, String[] selectionArgs) argument [all...] |
H A D | ContentProvider.java | 201 String selection, String[] selectionArgs, String sortOrder, 206 return rejectQuery(uri, projection, selection, selectionArgs, sortOrder, 212 uri, projection, selection, selectionArgs, sortOrder, 304 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) { argument 312 return ContentProvider.this.delete(uri, selection, selectionArgs); 319 public int update(String callingPkg, Uri uri, ContentValues values, String selection, argument 328 return ContentProvider.this.update(uri, values, selection, selectionArgs); 822 * rewrites the <var>selection</var> argument to include a condition 828 String selection, String[] selectionArgs, String sortOrder, 831 // selection statemen 200 query(String callingPkg, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument 827 rejectQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 897 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 963 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 1115 delete(Uri uri, String selection, String[] selectionArgs) argument 1134 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
H A D | ContentResolver.java | 398 * explicit values in the {@code selection} parameter, so that queries 408 * @param selection A filter declaring which rows to return, formatted as an 411 * @param selectionArgs You may include ?s in selection, which will be 413 * appear in the selection. The values will be bound as Strings. 421 String selection, String[] selectionArgs, String sortOrder) { 422 return query(uri, projection, selection, selectionArgs, sortOrder, null); 434 * explicit values in the {@code selection} parameter, so that queries 444 * @param selection A filter declaring which rows to return, formatted as an 447 * @param selectionArgs You may include ?s in selection, which will be 449 * appear in the selection 420 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 459 query(final Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 2374 maybeLogQueryToEventLog(long durationMillis, Uri uri, String[] projection, String selection, String sortOrder) argument 2415 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteQueryBuilder.java | 87 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 90 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 106 * by parenthesis and ANDed with the selection passed to {@link #query}. The final 109 * WHERE (<append chunk 1><append chunk2>) AND (<query() selection parameter>) 151 * When set, the selection is verified against malicious arguments. 160 * additionally also parenthesis escaping selection are caught. 269 * @param selection A filter declaring which rows to return, 272 * @param selectionArgs You may include ?s in selection, which 274 * that they appear in the selection. The values will be bound 292 String selection, Strin 291 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder) argument 330 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument 372 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit, CancellationSignal cancellationSignal) argument 444 buildQuery( String[] projectionIn, String selection, String groupBy, String having, String sortOrder, String limit) argument 480 buildQuery( String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument 525 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String groupBy, String having) argument 564 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String[] selectionArgs, String groupBy, String having) argument [all...] |
H A D | SQLiteDatabase.java | 1008 * @param selection A filter declaring which rows to return, formatted as an 1011 * @param selectionArgs You may include ?s in selection, which will be 1013 * appear in the selection. The values will be bound as Strings. 1032 String selection, String[] selectionArgs, String groupBy, 1034 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, 1046 * @param selection A filter declaring which rows to return, formatted as an 1049 * @param selectionArgs You may include ?s in selection, which will be 1051 * appear in the selection. The values will be bound as Strings. 1073 String selection, String[] selectionArgs, String groupBy, 1075 return queryWithFactory(null, distinct, table, columns, selection, selectionArg 1031 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument 1072 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument 1111 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument 1154 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument 1198 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) argument 1236 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 475 public final Cursor query(Uri uri, String[] projection, String selection, argument 599 public final int delete(Uri uri, String selection, String[] selectionArgs) { argument 609 Uri uri, ContentValues values, String selection, String[] selectionArgs) { 608 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
H A D | MediaStore.java | 820 String selection, String [] selectionArgs, String orderBy) { 821 return cr.query(uri, projection, selection, 819 query(ContentResolver cr, Uri uri, String[] projection, String selection, String [] selectionArgs, String orderBy) argument
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentProviderOperationTest.java | 144 public Cursor query(Uri uri, String[] projection, String selection, 163 public Cursor query(Uri uri, String[] projection, String selection, 179 public Cursor query(Uri uri, String[] projection, String selection, 195 public Cursor query(Uri uri, String[] projection, String selection, 304 builderSetSelection(builder, "selection"); 318 assertEquals("selection", operationGetSelection(op2)); 404 ContentProviderOperation.Builder builder, String selection) 409 field.set(builder, selection); 529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 542 public int delete(Uri uri, String selection, Strin argument 403 builderSetSelection( ContentProviderOperation.Builder builder, String selection) argument 546 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 69 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument 71 return MockContentProvider.this.delete(url, selection, selectionArgs); 100 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, argument 103 return MockContentProvider.this.query(url, projection, selection, 108 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument 110 return MockContentProvider.this.update(url, values, selection, selectionArgs); 189 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 209 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 215 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | MockIContentProvider.java | 49 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument 80 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, argument 86 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument 91 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 89 public Cursor query(Uri url, String[] projection, String selection, argument
|
H A D | SubscriptionController.java | 308 * @param selection A filter declaring which rows to return 312 private List<SubscriptionInfo> getSubInfo(String selection, Object queryKey) { argument 313 if (DBG) logd("selection:" + selection + " " + queryKey); 320 null, selection, selectionArgs, null);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 256 * String selection = Data.CONTACT_ID + "=?"; 259 * contentUriForRawContactsEntity, null, selection, selectionArgs, null) 275 * Initializes this object using default {@link Contacts#CONTENT_URI} and given selection 278 public boolean init(final String selection, final String[] selectionArgs) { argument 279 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, 286 public boolean init(final Uri contentUri, final String selection, argument 288 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); 294 * @param selection selection used with 304 public boolean init(final Uri contentUri, final String selection, argument 348 init(final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder, Uri contentUriForRawContactsEntity) argument 397 initInterCursorCreationPart( final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | VCardVerifier.java | 328 final Uri uri, final String selection, 332 uri, selection, selectionArgs, sortOrder); 326 mockGetEntityIteratorMethod( final ContentResolver resolver, final Uri uri, final String selection, final String[] selectionArgs, final String sortOrder) argument
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | FileProvider.java | 396 * @param selection Selection criteria to apply. If null then all data that matches the content 399 * the <i>selection</i> parameter. The <i>query</i> method scans <i>selection</i> from left to 401 * <i>selection</i> with the value at the current position in <i>selectionArgs</i>. The 402 * values are bound to <i>selection</i> as {@link java.lang.String} values. 409 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 479 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 490 * @param selection Ignored. Set to {@code null}. 495 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
|
/frameworks/base/media/java/android/media/ |
H A D | RingtoneManager.java | 549 String selection, 553 return mActivity.managedQuery(uri, projection, selection, selectionArgs, sortOrder); 555 return mContext.getContentResolver().query(uri, projection, selection, selectionArgs, 547 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsProvider.java | 172 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 245 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 250 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
|
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 765 * @param selection A filter declaring which rows to return, 768 * @return the number of rows in the table filtered by the selection 770 public static long queryNumEntries(SQLiteDatabase db, String table, String selection) { argument 771 return queryNumEntries(db, table, selection, null); 778 * @param selection A filter declaring which rows to return, 781 * @param selectionArgs You may include ?s in selection, 783 * in order that they appear in the selection. 785 * @return the number of rows in the table filtered by the selection 787 public static long queryNumEntries(SQLiteDatabase db, String table, String selection, argument 789 String s = (!TextUtils.isEmpty(selection)) [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 1930 * @param selection SQL WHERE clause. 1942 public final Cursor managedQuery(Uri uri, String[] projection, String selection, argument 1944 Cursor c = getContentResolver().query(uri, projection, selection, null, sortOrder); 1970 * @param selection SQL WHERE clause. 1971 * @param selectionArgs The arguments to selection, if any ?s are pesent 1982 public final Cursor managedQuery(Uri uri, String[] projection, String selection, argument 1984 Cursor c = getContentResolver().query(uri, projection, selection, selectionArgs, sortOrder); 3544 * query is being inserted. If false, the selection point will be placed at the end of the
|