Searched defs:projection (Results 1 - 25 of 39) sorted by relevance

12

/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProvider.java31 public Cursor query(Uri uri, String[] projection, argument
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
H A DFileContentProvider.java74 public Cursor query(Uri uri, String[] projection, String selection, argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSuggestionProvider.java61 public Cursor query(Uri uri, String[] projection, String selection, argument
/packages/apps/Email/src/com/android/exchange/provider/
H A DExchangeProvider.java64 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/packages/apps/Gallery3D/src/com/cooliris/picasa/
H A DTableContentProvider.java78 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
95 Cursor cursor = mDatabase.getReadableDatabase().query(tableName, projection, selection, selectionArgs, null, null,
/packages/apps/IM/src/com/android/im/app/
H A DDatabaseUtils.java45 String[] projection, long providerId) {
48 Cursor c = cr.query(Imps.Account.CONTENT_URI, projection, where.toString(), null, null);
44 queryAccountsForProvider(ContentResolver cr, String[] projection, long providerId) argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DShortcutsProvider.java89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DCallLogProvider.java57 // Calls projection map
95 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
129 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder, null);
H A DSocialProvider.java85 // Contacts projection map
92 // Contacts projection map
98 // Activities projection map
116 // Activities, raw contacts, and contacts projection map for joins
323 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
380 final Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder, limit);
H A DGlobalSearchSupport.java182 public ArrayList asList(String[] projection) { argument
186 if (projection == null) {
195 for (int i = 0; i < projection.length; i++) {
196 addColumnValue(list, projection[i]);
278 String[] projection) {
290 return buildCursorForSearchSuggestions(db, sb.toString(), projection, null);
374 String selection, String[] projection, String limit) {
434 rows.add(suggestionList.get(i).asList(projection));
437 return new ArrayListCursor(projection != null ? projection
277 handleSearchShortcutRefresh(SQLiteDatabase db, String lookupKey, String[] projection) argument
373 buildCursorForSearchSuggestions(SQLiteDatabase db, String selection, String[] projection, String limit) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DLegacyContactImporterTest.java241 private void assertQueryResults(String fileName, Uri uri, String[] projection) argument
244 String actual = dumpCursorToString(uri, projection).trim();
261 private String dumpCursorToString(Uri uri, String[] projection) { argument
262 Cursor c = mResolver.query(uri, projection, null, null, BaseColumns._ID);
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java104 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
134 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppProvider.java300 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
339 if (projection == null) {
340 sb.append("projection is null; ");
341 } else if (projection.length == 0) {
342 sb.append("projection is empty; ");
344 for (int i = 0; i < projection.length; ++i) {
345 sb.append("projection[");
348 sb.append(projection[i]);
374 Cursor ret = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder);
/packages/apps/Email/src/com/android/email/provider/
H A DAttachmentProvider.java299 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
301 if (projection == null) {
302 projection =
332 MatrixCursor ret = new MatrixCursor(projection);
333 Object[] values = new Object[projection.length];
334 for (int i = 0, count = projection.length; i < count; i++) {
335 String column = projection[i];
H A DEmailProvider.java1044 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
1069 c = db.query(TABLE_NAMES[table], projection,
1081 c = db.query(TABLE_NAMES[table], projection,
1087 c = db.query(Attachment.TABLE_NAME, projection,
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java379 public Cursor query(final Uri uri, String[] projection, argument
417 if (projection == null) {
418 projection = sAppReadableColumnsArray;
426 for (int i = 0; i < projection.length; ++i) {
427 if (!sAppReadableColumnsSet.contains(projection[i])) {
429 "column " + projection[i] + " is not allowed in queries");
432 && !projection[i].equals(Downloads.Impl._DATA);
459 if (projection == null) {
460 sb.append("projection is null; ");
461 } else if (projection
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DImageManager.java394 String[] projection, String selection, String[] selectionArgs,
401 uri, projection, selection, selectionArgs, sortOrder);
393 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/packages/apps/Email/src/com/android/exchange/
H A DAbstractSyncService.java312 * an array of Strings corresponding to the columns in the projection.
314 protected String[] getRowColumns(Uri contentUri, String[] projection, String selection, argument
316 String[] values = new String[projection.length];
318 Cursor c = cr.query(contentUri, projection, selection, selectionArgs, null);
321 for (int i = 0; i < projection.length; i++) {
336 * a projection. This method calls the previous one with the appropriate URI.
338 protected String[] getRowColumns(Uri baseUri, long id, String ... projection) { argument
339 return getRowColumns(ContentUris.withAppendedId(baseUri, id), projection, null, null);
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DImageManager.java240 String[] projection = new String[] { ImageColumns._ID, ImageColumns.MINI_THUMB_MAGIC };
241 Cursor c = mCr.query(mUri, projection, null, null, null);
322 private static final Cursor query(final ContentResolver resolver, final Uri uri, final String[] projection, argument
328 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java102 public Cursor query(Uri uri, String[] projection, String selection, argument
110 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java66 public Cursor query(Uri uri, String[] projection, argument
201 Cursor ret = qb.query(db, projection, selection,
/packages/apps/Email/src/com/android/exchange/adapter/
H A DEmailSyncAdapter.java405 private Cursor getServerIdCursor(String serverId, String[] projection) { argument
408 return mContentResolver.query(Message.CONTENT_URI, projection,
/packages/apps/Gallery/src/com/android/camera/
H A DImageManager.java501 String[] projection, String selection, String[] selectionArgs,
508 uri, projection, selection, selectionArgs, sortOrder);
500 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/packages/apps/Mms/src/com/android/mms/
H A DSuggestionsProvider.java70 public Cursor query(Uri uri, String[] projection, String selection, argument
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
H A DSoundRecorder.java505 private Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
511 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);

Completed in 290 milliseconds

12