/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadProvider.java | 825 String[] selectionArgs, String sort) { 828 return query(uri, projection, selection, selectionArgs, sort); 839 final String selection, final String[] selectionArgs, 862 SqlSelection fullSelection = getWhereClause(uri, selection, selectionArgs, match); 887 logVerboseQueryInfo(projection, selection, selectionArgs, sort, db); 909 final String[] selectionArgs, final String sort, SQLiteDatabase db) { 932 if (selectionArgs == null) { 933 sb.append("selectionArgs is null; "); 934 } else if (selectionArgs.length == 0) { 935 sb.append("selectionArgs i 824 queryCleared(Uri uri, String[] projection, String selection, String[] selectionArgs, String sort) argument 838 query(final Uri uri, String[] projection, final String selection, final String[] selectionArgs, final String sort) argument 908 logVerboseQueryInfo(String[] projection, final String selection, final String[] selectionArgs, final String sort, SQLiteDatabase db) argument [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsSmsProvider.java | 299 String selection, String[] selectionArgs, String sortOrder) { 315 projection, selection, selectionArgs, sortOrder); 328 selectionArgs, sortOrder); 333 selectionArgs, sortOrder); 351 selectionArgs, 360 selectionArgs, 372 || selectionArgs != null 375 "do not specify sortOrder, selection, selectionArgs, or projection" + 413 || selectionArgs != null 416 "do not specify sortOrder, selection, selectionArgs, o 298 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 723 getSimpleConversations(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1014 getConversationById( String threadIdString, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1053 getUndeliveredMessages( String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1174 delete(Uri uri, String selection, String[] selectionArgs) argument 1220 deleteConversation(Uri uri, String selection, String[] selectionArgs) argument 1241 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 1287 updateConversation( String threadIdString, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
H A D | EditEventHelperTest.java | 1612 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 1618 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 1639 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 563 String[] projection, String selection, String[] selectionArgs, String sortOrder, 567 Cursor c = context.getContentResolver().query(uri, projection, selection, selectionArgs, 585 String selection, String[] selectionArgs, String sortOrder, int column) { 586 return getFirstRowColumn(context, uri, projection, selection, selectionArgs, 594 String selection, String[] selectionArgs, String sortOrder, int column, 596 return getFirstRowColumn(context, uri, projection, selection, selectionArgs, 604 String selection, String[] selectionArgs, String sortOrder, int column) { 605 return getFirstRowColumn(context, uri, projection, selection, selectionArgs, 613 String selection, String[] selectionArgs, String sortOrder, int column, 615 return getFirstRowColumn(context, uri, projection, selection, selectionArgs, 562 getFirstRowColumn(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, T defaultValue, CursorGetter<T> getter) argument 584 getFirstRowLong(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column) argument 593 getFirstRowLong(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, Long defaultValue) argument 603 getFirstRowInt(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column) argument 612 getFirstRowInt(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, Integer defaultValue) argument 622 getFirstRowString(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column) argument 631 getFirstRowString(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, String defaultValue) argument 641 getFirstRowBlob(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, byte[] defaultValue) argument 749 getRowColumns(Context context, Uri contentUri, String[] projection, String selection, String[] selectionArgs) argument [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 48 * in the selection. The selection and selectionArgs are not used when updating 272 public int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 276 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); 277 return deleteCascade(uri, match, selection, selectionArgs); 308 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 310 return query(uri, projection, selection, selectionArgs, sortOrder, null); 314 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 319 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); 329 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 364 addIdToSelectionArgs(int match, Uri uri, String[] selectionArgs) argument 380 addMetadataKeysToSelectionArgs(String[] selectionArgs, Uri uri) argument 477 deleteCascade(Uri uri, int match, String selection, String[] selectionArgs) argument 518 query(String table, String[] columns, String selection, String[] selectionArgs, String orderBy, CancellationSignal cancellationSignal) argument [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | MusicUtils.java | 595 String selection, String[] selectionArgs, String sortOrder, int limit) { 604 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 611 String selection, String[] selectionArgs, String sortOrder) { 612 return query(context, uri, projection, selection, selectionArgs, sortOrder, 0); 594 query(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int limit) argument 610 query(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
H A D | TrackBrowserActivity.java | 1365 public String [] selectionArgs; field in class:TrackBrowserActivity.TrackListAdapter.TrackQueryHandler.QueryArgs 1374 String selection, String[] selectionArgs, 1384 args.selectionArgs = selectionArgs; 1387 startQuery(0, args, limituri, projection, selection, selectionArgs, orderBy); 1391 uri, projection, selection, selectionArgs, orderBy); 1402 args.selectionArgs, args.orderBy); 1373 doQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy, boolean async) argument
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
H A D | TvProvider.java | 451 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 456 SqlParams params = createSqlParams(OP_QUERY, uri, selection, selectionArgs); 628 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 629 SqlParams params = createSqlParams(OP_DELETE, uri, selection, selectionArgs); 642 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 643 SqlParams params = createSqlParams(OP_UPDATE, uri, selection, selectionArgs); 662 String[] selectionArgs) { 663 SqlParams params = new SqlParams(null, selection, selectionArgs); 1021 String[] selectionArgs = { 1028 try (Cursor cursor = queryBuilder.query(db, projection, selection, selectionArgs, nul 661 createSqlParams(String operation, Uri uri, String selection, String[] selectionArgs) argument [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider2.java | 857 Object[] getSelectionWithAccounts(Uri uri, String selection, String[] selectionArgs) { argument 866 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, 875 return new Object[] { selection, selectionArgs, hasAccounts }; 879 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 914 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, 920 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, 924 Object[] withAccount = getSelectionWithAccounts(uri, selection, selectionArgs); 1134 doSuggestQuery(String selection, String[] selectionArgs, String limit) argument 1210 deleteBookmarks(String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1228 appendBookmarksIfFolder(String selection, String[] selectionArgs) argument 1275 deleteInTransaction(Uri uri, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1591 filterSearchClient(String[] selectionArgs) argument 1668 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1877 updateBookmarksInTransaction(ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 2015 updateHistoryInTransaction(ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherProvider.java | 140 String[] selectionArgs, String sortOrder) { 142 SqlArguments args = new SqlArguments(uri, selection, selectionArgs); 233 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 234 SqlArguments args = new SqlArguments(uri, selection, selectionArgs); 244 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 245 SqlArguments args = new SqlArguments(uri, selection, selectionArgs); 139 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/packages/apps/Mms/src/com/android/mms/data/ |
H A D | WorkingMessage.java | 1776 private void asyncDelete(final Uri uri, final String selection, final String[] selectionArgs) { argument 1783 SqliteWrapper.delete(mActivity, mContentResolver, uri, selection, selectionArgs);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarProvider2Test.java | 1106 String[] selectionArgs = new String[] { 1116 selectionArgs); 1133 private int deleteMatchingCalendars(String selection, String[] selectionArgs) { argument 1134 return mResolver.delete(mCalendarsUri, selection, selectionArgs); 1932 "ownerAccount='user2@google.com'", null /* selectionArgs */); 1941 null /* selection*/ , null /* selectionArgs */); 1949 "ownerAccount=?", new String[] {"user2@google.com"} /* selectionArgs */); 1979 null /* selection */, null /* selectionArgs */, null /* sortOrder */); 1986 null /* selection */, null /* selectionArgs */, null /* sortOrder */); 1993 projection, null /* selection */, null /* selectionArgs */, nul 2619 queryInstances(ContentResolver cr, String[] projection, long begin, long end, String selection, String[] selectionArgs, String orderBy) argument 2660 queryInstances(ContentResolver cr, String[] projection, long begin, long end, String searchQuery, String selection, String[] selectionArgs, String orderBy) argument 2704 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 2721 delete(Uri uri, String selection, String[] selectionArgs) argument 2726 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | LegacyApiSupport.java | 944 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 971 count = updateAll(uri, match, values, selection, selectionArgs); 983 String[] selectionArgs) { 984 Cursor c = query(uri, IdQuery.COLUMNS, selection, selectionArgs, null, null); 1266 String[] selectionArgs; 1269 selectionArgs = new String[]{accountName, accountType}; 1274 selectionArgs = null; 1280 selection, selectionArgs); 1526 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 1532 Cursor c = query(uri, IdQuery.COLUMNS, selection, selectionArgs, nul 982 updateAll(Uri uri, final int match, ContentValues values, String selection, String[] selectionArgs) argument 1606 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, String limit) argument [all...] |
H A D | ContactsProvider2.java | 2147 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 2163 return mProfileProvider.update(uri, values, selection, selectionArgs); 2166 return super.update(uri, values, selection, selectionArgs); 2170 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 2178 return mProfileProvider.delete(uri, selection, selectionArgs); 2181 return super.delete(uri, selection, selectionArgs); 2785 final String[] selectionArgs = { 2791 db.delete(Tables.DATA, SELECTION_GROUPMEMBERSHIP_DATA, selectionArgs); 3010 private int deleteData(String selection, String[] selectionArgs, boolean callerIsSyncAdapter) { argument 3021 selection, selectionArgs, nul 3430 deleteInTransaction(Uri uri, String selection, String[] selectionArgs) argument 3678 deleteSettings(String selection, String[] selectionArgs) argument 3762 deleteStatusUpdates(String selection, String[] selectionArgs) argument 3775 deleteStreamItems(String selection, String[] selectionArgs) argument 3797 deleteStreamItemPhotos(String selection, String[] selectionArgs) argument 3839 updateInTransaction( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 4077 updateStatusUpdate(ContentValues values, String selection, String[] selectionArgs) argument 4100 updateStreamItems(ContentValues values, String selection, String[] selectionArgs) argument 4114 updateStreamItemPhotos( ContentValues values, String selection, String[] selectionArgs) argument 4193 updateGroups(ContentValues originalValues, String selectionWithId, String[] selectionArgs, boolean callerIsSyncAdapter) argument 4279 updateSettings(ContentValues values, String selection, String[] selectionArgs) argument 4288 updateRawContacts(ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 4442 updateData(Uri uri, ContentValues inputValues, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 4507 updateContactOptions(ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 5001 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 5007 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 5173 queryLocal(final Uri uri, final String[] projection, String selection, String[] selectionArgs, String sortOrder, final long directoryId, final CancellationSignal cancellationSignal) argument 6486 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String having, String limit, CancellationSignal cancellationSignal) argument 6663 queryWithContactIdAndLookupKey(SQLiteQueryBuilder lookupQb, SQLiteDatabase db, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit, String contactIdColumn, long contactId, String lookupKeyColumn, String lookupKey, CancellationSignal cancellationSignal) argument 6700 bundleFastScrollingIndexExtras(Cursor cursor, Uri queryUri, final SQLiteDatabase db, SQLiteQueryBuilder qb, String selection, String[] selectionArgs, String sortOrder, String countExpression, CancellationSignal cancellationSignal) argument 6776 getFastScrollingIndexExtras(final SQLiteDatabase db, final SQLiteQueryBuilder qb, final String selection, final String[] selectionArgs, final String sortOrder, String countExpression, final CancellationSignal cancellationSignal) argument 8053 openPhotoAssetFile( SQLiteDatabase db, Uri uri, String mode, String selection, String[] selectionArgs) argument 8232 outputRawContactsAsVCard( Uri uri, OutputStream stream, String selection, String[] selectionArgs) argument 8535 insertSelectionArg(String[] selectionArgs, String arg) argument 8547 appendSelectionArg(String[] selectionArgs, String arg) argument [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | BaseContactsProvider2Test.java | 831 protected void assertStoredValue(Uri rowUri, String selection, String[] selectionArgs, argument 833 String value = getStoredValue(rowUri, selection, selectionArgs, column); 845 protected String getStoredValue(Uri uri, String selection, String[] selectionArgs, argument 848 Cursor c = mResolver.query(uri, new String[] { column }, selection, selectionArgs, null); 861 protected Long getStoredLongValue(Uri uri, String selection, String[] selectionArgs, argument 864 Cursor c = mResolver.query(uri, new String[] { column }, selection, selectionArgs, null); 889 protected void assertStoredValues(Uri rowUri, String selection, String[] selectionArgs, argument 891 Cursor c = mResolver.query(rowUri, null, selection, selectionArgs, null); 938 Uri rowUri, String selection, String[] selectionArgs, ContentValues... expectedValues) { 939 assertStoredValues(mResolver.query(rowUri, null, selection, selectionArgs, nul 937 assertStoredValues( Uri rowUri, String selection, String[] selectionArgs, ContentValues... expectedValues) argument 958 assertStoredValuesDb( String sql, String[] selectionArgs, ContentValues... expectedValues) argument 969 assertStoredValuesOrderly(Uri rowUri, String selection, String[] selectionArgs, ContentValues... expectedValues) argument 1182 getCount(Uri uri, String selection, String[] selectionArgs) argument [all...] |
H A D | ContactsProvider2Test.java | 3077 // Test it works with selection/selectionArgs 3196 String selection, String[] selectionArgs, String sortOrder) { 3199 c = mResolver.query(uri, projection, selection, selectionArgs, sortOrder); 3195 expectSecurityException(String failureMessage, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationCursor.java | 1443 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 1446 uriFromCachingUri(uri), projection, selection, selectionArgs, sortOrder); 1456 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 1461 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 835 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 839 return queryInternal(uri, projection, selection, selectionArgs, sortOrder); 846 String[] selectionArgs, String sortOrder) { 861 return mDbHelper.getSyncState().query(db, projection, selection, selectionArgs, 866 // Prepend id to selectionArgs 867 selectionArgs = insertSelectionArg(selectionArgs, 870 selectionArgs, sortOrder); 882 selectionArgs = insertSelectionArg(selectionArgs, ur 845 queryInternal(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1045 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit) argument 1087 handleInstanceQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, boolean forceExpansion, String instancesTimezone, boolean isHomeTimezone) argument 1256 handleInstanceSearchQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String query, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, String instancesTimezone, boolean isHomeTimezone) argument 3060 deleteInTransaction(Uri uri, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 3317 deleteFromEventRelatedTable(String table, Uri uri, String selection, String[] selectionArgs) argument 3367 deleteReminders(Uri uri, boolean byId, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 3474 updateEventRelatedTable(Uri uri, String table, boolean byId, ContentValues updateValues, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 3578 deleteMatchingColors(String selection, String[] selectionArgs) argument 3628 deleteMatchingCalendars(String selection, String[] selectionArgs) argument 3689 handleUpdateColors(ContentValues values, String selection, String[] selectionArgs) argument 3925 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 4296 verifyTransactionAllowed(int type, Uri uri, ContentValues values, boolean isSyncAdapter, int uriMatch, String selection, String[] selectionArgs) argument 4395 verifyHasAccount(Uri uri, String selection, String[] selectionArgs) argument 5064 insertSelectionArg(String[] selectionArgs, String arg) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
H A D | ContactAggregator.java | 946 String[] selectionArgs) { 947 final Cursor cursor = db.rawQuery(query, selectionArgs); 945 isFirstColumnGreaterThanZero(SQLiteDatabase db, String query, String[] selectionArgs) argument
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 2252 String[] selectionArgs, String sort) { 2349 if (projectionIn != null && projectionIn.length == 1 && selectionArgs == null 2531 if (projectionIn != null && projectionIn.length == 1 && selectionArgs == null 2580 if (projectionIn != null && projectionIn.length == 1 && selectionArgs == null 2620 combine(prependArgs, selectionArgs), sort, table, limit); 2641 // combine(prependArgs, selectionArgs), groupBy, null, sort, limit)); 2643 combine(prependArgs, selectionArgs), groupBy, null, sort, limit); 2674 String[] selectionArgs, String sort, int mode, 2251 query(Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sort) argument 2672 doAudioSearch(SQLiteDatabase db, SQLiteQueryBuilder qb, Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sort, int mode, String limit) argument
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | EmailContent.java | 405 * @param selectionArgs as with a query call 408 static public int count(Context context, Uri uri, String selection, String[] selectionArgs) { argument 410 uri, COUNT_COLUMNS, selection, selectionArgs, null, 0, 0L).intValue();
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | EmailProvider.java | 618 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 651 selectionArgs, null, null, null); 713 result = db.delete(tableName, whereWithId(id, selection), selectionArgs); 729 selectionArgs); 741 result = db.delete(tableName, selection, selectionArgs); 744 db.delete(MessageMove.TABLE_NAME, selection, selectionArgs); 747 db.delete(MessageStateChange.TABLE_NAME, selection, selectionArgs); 1244 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 1311 if (selection != null || selectionArgs != null) { 1340 return db.query(MessageMove.TABLE_NAME, projection, selection, selectionArgs, 1813 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |