Searched defs:projection (Results 51 - 63 of 63) sorted by relevance

123

/packages/apps/Music/src/com/android/music/
H A DMusicUtils.java594 public static Cursor query(Context context, Uri uri, String[] projection, argument
604 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
610 public static Cursor query(Context context, Uri uri, String[] projection, argument
612 return query(context, uri, projection, selection, selectionArgs, sortOrder, 0);
H A DTrackBrowserActivity.java1362 public String [] projection; field in class:TrackBrowserActivity.TrackListAdapter.TrackQueryHandler.QueryArgs
1372 public Cursor doQuery(Uri uri, String[] projection, argument
1381 args.projection = projection;
1386 startQuery(0, args, limituri, projection, selection, selectionArgs, orderBy);
1390 uri, projection, selection, selectionArgs, orderBy);
1399 startQuery(1, null, args.uri, args.projection, args.selection,
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java867 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
959 query = qb.buildQuery(projection, where, null, null, sortOrder, null);
971 String bookmarksBarQuery = qb.buildQuery(projection,
983 String otherBookmarksQuery = qb.buildQuery(projection,
1048 return mSyncHelper.query(db, projection, selection, selectionArgs, sortOrder);
1056 return mSyncHelper.query(db, projection, selectionWithId, selectionArgs, sortOrder);
1076 && projection == null) {
1077 projection = Browser.HISTORY_PROJECTION;
1079 String[] args = createCombinedQuery(uri, projection, qb);
1116 Cursor cursor = qb.query(db, projection, selectio
1153 createCombinedQuery( Uri uri, String[] projection, SQLiteQueryBuilder qb) argument
[all...]
/packages/apps/Email/src/com/android/email/provider/
H A DEmailProvider.java872 * @param baseProjection the base projection of that table
1734 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
1761 return new MatrixCursor(projection, 0);
1810 // Return a cursor with an id projection
1821 // Return a cursor with an id projection
1837 if (match == ACCOUNT && Arrays.equals(projection, EmailContent.COUNT_COLUMNS) &&
1842 mc = new MatrixCursor(projection, 1);
1848 c = db.query(tableName, projection,
1863 c = cache.getCachedCursor(id, projection);
1870 c = db.query(tableName, projection, whereWithI
[all...]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java1150 String[] projection = new String[] {
1160 Cursor cursor = mResolver.query(mEventsUri, projection,
1218 String[] projection = new String[] {
1224 Cursor cursor = mResolver.query(mEventsUri, projection,
1718 // This projection is from AlertActivity; want to make sure it works.
1719 String[] projection = new String[] {
1741 Cursor cursor = mResolver.query(CalendarContract.CalendarAlerts.CONTENT_URI, projection,
1748 cursor = mResolver.query(alertUri, projection,
1756 projection, null /* selection */, null /* selectionArgs */, null /* sortOrder */);
1882 Cursor cursor = mResolver.query(uri, null/* projection */, wher
2339 queryInstances(ContentResolver cr, String[] projection, long begin, long end, String selection, String[] selectionArgs, String orderBy) argument
2380 queryInstances(ContentResolver cr, String[] projection, long begin, long end, String searchQuery, String selection, String[] selectionArgs, String orderBy) argument
2424 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactAggregator.java2160 String[] projection, long contactId, int maxSuggestions, String filter,
2166 return queryMatchingContacts(qb, db, projection, bestMatches, maxSuggestions, filter);
2185 String[] projection, List<MatchScore> bestMatches, int maxSuggestions, String filter) {
2245 // Run the final query with the required projection and contact IDs found by the first query
2246 cursor = qb.query(db, projection, sb.toString(), null, null, null, Contacts._ID);
2159 queryAggregationSuggestions(SQLiteQueryBuilder qb, String[] projection, long contactId, int maxSuggestions, String filter, ArrayList<AggregationSuggestionParameter> parameters) argument
2184 queryMatchingContacts(SQLiteQueryBuilder qb, SQLiteDatabase db, String[] projection, List<MatchScore> bestMatches, int maxSuggestions, String filter) argument
H A DLegacyApiSupport.java1605 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
1877 db, uri, projection, limit);
1883 db, projection, lookupKey, filter);
1888 projection, selection, selectionArgs, sortOrder);
1892 projection, selection, selectionArgs, sortOrder);
1896 projection, selection, selectionArgs, sortOrder);
1901 projection, selection, selectionArgs, sortOrder);
1917 final Cursor c = qb.query(db, projection, selection, selectionArgs,
1964 * a group with a particular name. The projection map of the query must include
1984 * a group with a particular system id. The projection ma
[all...]
H A DContactsDatabaseHelper.java4380 * Test if any of the columns appear in the given projection.
4382 public boolean isInProjection(String[] projection, String... columns) { argument
4383 if (projection == null) {
4390 for (String test : projection) {
4396 for (String test : projection) {
H A DContactsProvider2.java536 * If any of these columns are used in a Data projection, there is no point in
719 * query that uses this projection map.
4773 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
4784 return mProfileProvider.query(uri, projection, selection, selectionArgs, sortOrder);
4793 queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1));
4796 queryLocal(uri, projection, selection, selectionArgs, sortOrder,
4800 queryLocal(uri, projection, selection, selectionArgs, sortOrder,
4828 if (projection == null) {
4829 projection = getDefaultProjection(uri);
4832 Cursor cursor = getContext().getContentResolver().query(directoryUri, projection, selectio
4974 hasColumn(String[] projection, String column) argument
4985 queryLocal(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, long directoryId) argument
5979 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit) argument
5997 queryProviderStatus(Uri uri, String[] projection) argument
6015 queryWithContactIdAndLookupKey(SQLiteQueryBuilder lookupQb, SQLiteDatabase db, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit, String contactIdColumn, long contactId, String lookupKeyColumn, String lookupKey) argument
6440 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument
6450 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean includeDataUsageStat) argument
6479 setTablesAndProjectionMapForContactsWithSnippet(SQLiteQueryBuilder qb, Uri uri, String[] projection, String filter, long directoryId, boolean deferredSnippeting) argument
6500 appendSearchIndexJoin( StringBuilder sb, Uri uri, String[] projection, String filter, boolean deferredSnippeting) argument
6708 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct) argument
6713 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns) argument
6722 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, Integer usageType) argument
6727 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns, Integer usageType) argument
6760 setTableAndProjectionMapForStatusUpdates(SQLiteQueryBuilder qb, String[] projection) argument
6791 setTablesAndProjectionMapForEntities(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument
6807 appendContactStatusUpdateJoin(StringBuilder sb, String[] projection, String lastStatusUpdateIdColumn) argument
6822 appendDataStatusUpdateJoin(StringBuilder sb, String[] projection, String dataIdColumn) argument
6842 appendContactPresenceJoin(StringBuilder sb, String[] projection, String contactIdColumn) argument
6852 appendDataPresenceJoin(StringBuilder sb, String[] projection, String dataIdColumn) argument
7635 completeName(Uri uri, String[] projection) argument
7693 appendProjectionArg(String[] projection, String arg) argument
8045 snippetNeeded(String [] projection) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java543 protected Cursor queryContact(long contactId, String[] projection) { argument
545 projection, null, null, null);
627 final String[] projection = new String[] {
632 Cursor c = mResolver.query(uri, projection, Data.MIMETYPE + "='"
978 String[] projection) {
1000 Cursor c = mResolver.query(uri, projection, sb.toString(), selectionArgs.toArray(new String[0]),
1092 String[] projection = new String[values.size()];
1094 for (int i = 0; i < projection.length; i++) {
1095 projection[i] = iter.next().getKey();
1097 return projection;
977 assertSelection(Uri uri, ContentValues values, String idColumn, long id, String[] projection) argument
[all...]
H A DContactsProvider2Test.java1785 private void expectSecurityException(String failureMessage, Uri uri, String[] projection, argument
1789 c = mResolver.query(uri, projection, selection, selectionArgs, sortOrder);
2323 // We change the tables dynamically according to the requested projection.
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java793 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
809 return mDbHelper.getSyncState().query(db, projection, selection, selectionArgs,
817 return mDbHelper.getSyncState().query(db, projection, selectionWithId,
880 return handleInstanceQuery(qb, begin, end, projection, selection, selectionArgs,
900 return handleInstanceSearchQuery(qb, begin, end, query, projection, selection,
919 return handleEventDayQuery(qb, startDay, endDay, projection, selection,
975 return query(db, qb, projection, selection, selectionArgs, sortOrder, groupBy, limit);
978 private Cursor query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, argument
982 if (projection != null && projection
1020 handleInstanceQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, boolean forceExpansion, String instancesTimezone, boolean isHomeTimezone) argument
1188 handleInstanceSearchQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String query, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, String instancesTimezone, boolean isHomeTimezone) argument
1244 handleEventDayQuery(SQLiteQueryBuilder qb, int begin, int end, String[] projection, String selection, String instancesTimezone, boolean isHomeTimezone) argument
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DEmailContent.java81 * This projection can be used with any of the EmailContent classes, when all you need
127 * @param contentProjection the content projection for the EmailContent subclass
395 String[] projection) {
396 Cursor c = context.getContentResolver().query(Body.CONTENT_URI, projection,
570 // Public projection for common list columns
394 restoreTextWithMessageId(Context context, long messageId, String[] projection) argument

Completed in 236 milliseconds

123