/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | SaveImage.java | 348 public static void querySource(Context context, Uri sourceUri, String[] projection, argument 351 querySourceFromContentResolver(contentResolver, sourceUri, projection, callback); 355 ContentResolver contentResolver, Uri sourceUri, String[] projection, 359 cursor = contentResolver.query(sourceUri, projection, null, null, 501 final String[] projection = new String[] { 506 SaveImage.querySource(context, sourceUri, projection, 354 querySourceFromContentResolver( ContentResolver contentResolver, Uri sourceUri, String[] projection, ContentResolverQueryCallback callback) argument
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
H A D | ExchangeDirectoryProvider.java | 107 GalProjection(String[] projection) { argument 108 size = projection.length; 109 for (int i = 0; i < projection.length; i++) { 110 columnMap.put(projection[i], i); 120 GalContactRow(GalProjection projection, long contactId, String accountName, argument 122 this.mProjection = projection; 123 row = new Object[projection.size]; 167 static void addPhoneRow(MatrixCursor cursor, GalProjection projection, long contactId, argument 171 projection, contactId, accountName, displayName); 211 public Cursor query(Uri uri, String[] projection, Strin argument 356 buildGalResultCursor(String[] projection, GalResult galResult, boolean isPhoneFilter, String sortOrder) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
H A D | SaveImage.java | 557 public static void querySource(Context context, Uri sourceUri, String[] projection, argument 560 querySourceFromContentResolver(contentResolver, sourceUri, projection, callback); 564 ContentResolver contentResolver, Uri sourceUri, String[] projection, 568 cursor = contentResolver.query(sourceUri, projection, null, null, 713 final String[] projection = new String[] { 718 SaveImage.querySource(context, sourceUri, projection, 563 querySourceFromContentResolver( ContentResolver contentResolver, Uri sourceUri, String[] projection, ContentResolverQueryCallback callback) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | MailAppProvider.java | 172 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument 177 // Validates and returns the projection that should be used. 178 final String[] resultProjection = UIProviderValidator.validateAccountProjection(projection);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | DictionaryProvider.java | 213 * @param projection ignored. All columns are always returned. 220 public Cursor query(final Uri uri, final String[] projection, final String selection, argument
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsProvider.java | 74 public Cursor query(Uri uri, String[] projection, argument 209 Cursor ret = qb.query(db, projection, selection,
|
H A D | MmsSmsProvider.java | 55 * requested in the projection for a query. Its value is either "mms" 295 public Cursor query(Uri uri, String[] projection, argument 301 cursor = getCompleteConversations(projection, selection, sortOrder); 312 projection, selection, selectionArgs, sortOrder); 315 projection, selection, sortOrder); 319 cursor = getConversationMessages(uri.getPathSegments().get(1), projection, 324 uri.getPathSegments().get(1), projection, selection, 329 uri.getPathSegments().get(1), projection, selection, 334 uri.getPathSegments().get(2), projection, selection, sortOrder); 370 || projection ! 694 handleNullMessageProjection( String[] projection) argument 703 handleNullThreadsProjection( String[] projection) argument 719 getSimpleConversations(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 741 getDraftThread(String[] projection, String selection, String sortOrder) argument 801 getConversations(String[] projection, String selection, String sortOrder) argument 854 getFirstLockedMessage(String[] projection, String selection, String sortOrder) argument 897 getCompleteConversations(String[] projection, String selection, String sortOrder) argument 910 makeProjectionWithDateAndThreadId( String[] projection, int dateMultiple) argument 926 getConversationMessages( String threadIdString, String[] projection, String selection, String sortOrder) argument 961 getMessagesByPhoneNumber( String phoneNumber, String[] projection, String selection, String sortOrder) argument 1010 getConversationById( String threadIdString, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1049 getUndeliveredMessages( String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1106 makeProjectionWithNormalizedDate( String[] projection, int dateMultiple) argument 1116 buildConversationQuery(String[] projection, String selection, String sortOrder) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | Event.java | 65 // The projection to use when querying instances to build a list of events 90 // The indices for the projection array above. 297 * @param projection The columns to return 307 private static final Cursor instancesQuery(ContentResolver cr, String[] projection, argument 328 return cr.query(builder.build(), projection, selection, selectionArgs,
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | EmailSyncParser.java | 528 private Cursor getServerIdCursor(String serverId, String[] projection) { argument 529 Cursor c = mContentResolver.query(EmailContent.Message.CONTENT_URI, projection,
|
H A D | EmailSyncAdapter.java | 927 private Cursor getServerIdCursor(String serverId, String[] projection) { argument 928 Cursor c = mContentResolver.query(Message.CONTENT_URI, projection,
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageManager.java | 487 String[] projection, String selection, String[] selectionArgs, 494 uri, projection, selection, selectionArgs, sortOrder); 486 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherProvider.java | 111 public Cursor query(Uri uri, String[] projection, String selection, argument 119 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder);
|
/packages/apps/Mms/src/com/android/mms/ |
H A D | SuggestionsProvider.java | 69 public Cursor query(Uri uri, String[] projection, String selection, argument
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
H A D | SoundRecorder.java | 521 private Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument 527 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadProvider.java | 836 public Cursor query(final Uri uri, String[] projection, argument 853 if (projection != null || selection != null || sort != null) { 863 if (projection == null) { 864 projection = sAppReadableColumnsArray.clone(); 866 // check the validity of the columns in projection 867 for (int i = 0; i < projection.length; ++i) { 868 if (!sAppReadableColumnsSet.contains(projection[i]) && 869 !downloadManagerColumnsList.contains(projection[i])) { 871 "column " + projection[i] + " is not allowed in queries"); 876 for (int i = 0; i < projection 906 logVerboseQueryInfo(String[] projection, final String selection, final String[] selectionArgs, final String sort, SQLiteDatabase db) argument [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaDocumentsProvider.java | 181 private static String[] resolveRootProjection(String[] projection) { argument 182 return projection != null ? projection : DEFAULT_ROOT_PROJECTION; 185 private static String[] resolveDocumentProjection(String[] projection) { argument 186 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION; 190 public Cursor queryRoots(String[] projection) throws FileNotFoundException { argument 191 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); 199 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { argument 201 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); 290 queryChildDocuments(String docId, String[] projection, String sortOrder) argument 380 queryRecentDocuments(String rootId, String[] projection) 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
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 650 String[] projection, String selection, String[] selectionArgs, String sortOrder, 654 Cursor c = context.getContentResolver().query(uri, projection, selection, selectionArgs, 671 public static Long getFirstRowLong(Context context, Uri uri, String[] projection, argument 673 return getFirstRowColumn(context, uri, projection, selection, selectionArgs, 680 public static Long getFirstRowLong(Context context, Uri uri, String[] projection, argument 683 return getFirstRowColumn(context, uri, projection, selection, selectionArgs, 690 public static Integer getFirstRowInt(Context context, Uri uri, String[] projection, argument 692 return getFirstRowColumn(context, uri, projection, selection, selectionArgs, 699 public static Integer getFirstRowInt(Context context, Uri uri, String[] projection, argument 702 return getFirstRowColumn(context, uri, projection, selectio 649 getFirstRowColumn(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, T defaultValue, CursorGetter<T> getter) argument 709 getFirstRowString(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column) argument 718 getFirstRowString(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, String defaultValue) argument 728 getFirstRowBlob(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, int column, byte[] defaultValue) argument 836 getRowColumns(Context context, Uri contentUri, String[] projection, String selection, String[] selectionArgs) argument 860 getRowColumns(Context context, Uri baseUri, long id, String ... projection) argument [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
H A D | ContentCache.java | 48 * ContentCache cache = new ContentCache(name, projection, max); 51 * Cursor cursor = cache.getCursor(id, projection); 57 * Only cursors with the projection given in the definition of the cache can be cached 106 // The base projection (only queries in which all columns exist in this projection will be 407 * @param baseProjection the projection used for cached cursors; queries whose columns are not 431 * Return the base projection for cached rows 432 * Get the projection used for cached rows (typically, the largest possible projection) 467 * Try to cache a cursor for the given id and projection; return 475 putCursor(Cursor c, String id, String[] projection, CacheToken token) argument 482 putCursorImpl(Cursor c, String id, String[] projection, CacheToken token) argument 516 getCachedCursor(String id, String[] projection) argument 538 getMatrixCursor(String id, String[] projection) argument 542 getMatrixCursor(String id, String[] projection, ContentValues values) argument [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 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 316 projection = replaceCount(projection); 321 Cursor c = query(table, projection, selection, selectionArgs, sortOrder, cancellationSignal); 529 protected static String[] replaceCount(String[] projection) { argument 530 if (projection != null && projection.length == 1 531 && BaseColumns._COUNT.equals(projection[ [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherProvider.java | 117 public Cursor query(Uri uri, String[] projection, String selection, argument 125 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder);
|
/packages/apps/Music/src/com/android/music/ |
H A D | MusicUtils.java | 594 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 D | TrackBrowserActivity.java | 1363 public String [] projection; field in class:TrackBrowserActivity.TrackListAdapter.TrackQueryHandler.QueryArgs 1373 public Cursor doQuery(Uri uri, String[] projection, argument 1382 args.projection = projection; 1387 startQuery(0, args, limituri, projection, selection, selectionArgs, orderBy); 1391 uri, projection, selection, selectionArgs, orderBy); 1400 startQuery(1, null, args.uri, args.projection, args.selection,
|
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider2.java | 879 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 971 query = qb.buildQuery(projection, where, null, null, sortOrder, null); 983 String bookmarksBarQuery = qb.buildQuery(projection, 995 String otherBookmarksQuery = qb.buildQuery(projection, 1060 return mSyncHelper.query(db, projection, selection, selectionArgs, sortOrder); 1068 return mSyncHelper.query(db, projection, selectionWithId, selectionArgs, sortOrder); 1088 && projection == null) { 1089 projection = Browser.HISTORY_PROJECTION; 1091 String[] args = createCombinedQuery(uri, projection, qb); 1128 Cursor cursor = qb.query(db, projection, selectio 1165 createCombinedQuery( Uri uri, String[] projection, SQLiteQueryBuilder qb) argument [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarProvider2Test.java | 1238 String[] projection = new String[] { 1248 Cursor cursor = mResolver.query(mEventsUri, projection, 1306 String[] projection = new String[] { 1312 Cursor cursor = mResolver.query(mEventsUri, projection, 1432 String[] projection = new String[] { 1441 Cursor cursor = mResolver.query(Colors.CONTENT_URI, projection, Colors.COLOR_KEY 1955 // This projection is from AlertActivity; want to make sure it works. 1956 String[] projection = new String[] { 1978 Cursor cursor = mResolver.query(CalendarContract.CalendarAlerts.CONTENT_URI, projection, 1985 cursor = mResolver.query(alertUri, projection, 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 [all...] |