Searched refs:projection (Results 1 - 25 of 54) sorted by relevance

123

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsProvider.java56 * requested in the projection for a query. Its value is either "mms"
257 public Cursor query(Uri uri, String[] projection, argument
265 projection, selection, selectionArgs, sortOrder);
276 projection, selection, selectionArgs, sortOrder);
279 projection, selection, selectionArgs, sortOrder);
284 uri.getPathSegments().get(1), projection, selection,
289 uri.getPathSegments().get(1), projection, selection,
294 uri.getPathSegments().get(1), projection, selection,
299 uri.getPathSegments().get(2), projection, selection,
333 || projection !
641 handleNullMessageProjection( String[] projection) argument
650 handleNullThreadsProjection( String[] projection) argument
666 getSimpleConversations(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
688 getDraftThread(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
748 getConversations(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
801 getFirstLockedMessage(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
843 getCompleteConversations(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
857 makeProjectionWithDateAndThreadId( String[] projection, int dateMultiple) argument
873 getConversationMessages( String threadIdString, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
909 getMessagesByPhoneNumber( String phoneNumber, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
958 getConversationById( String threadIdString, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
997 getUndeliveredMessages( String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
1054 makeProjectionWithNormalizedDate( String[] projection, int dateMultiple) argument
1064 buildConversationQuery(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
[all...]
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProvider.java31 public Cursor query(Uri uri, String[] projection, 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/providers/ContactsProvider/src/com/android/providers/contacts/
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...]
H A DContactsProvider2.java855 // Groups projection map
877 // RawContacts and groups projection map
891 // Aggregate exception projection map
899 // Settings projection map
943 // Live folder projection
4177 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
4194 return mDbHelper.getSyncState().query(db, projection, selection, selectionArgs,
4198 setTablesAndProjectionMapForContacts(qb, uri, projection);
4204 setTablesAndProjectionMapForContacts(qb, uri, projection);
4223 setTablesAndProjectionMapForContacts(lookupQb, uri, projection);
4711 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit) argument
4729 queryProviderStatus(Uri uri, String[] projection) argument
5110 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument
5122 setTablesAndProjectionMapForContactsWithSnippet(SQLiteQueryBuilder qb, Uri uri, String[] projection, String filter) argument
5184 appendContactsTables(StringBuilder sb, Uri uri, String[] projection) argument
5240 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct) argument
5301 setTableAndProjectionMapForStatusUpdates(SQLiteQueryBuilder qb, String[] projection) argument
5857 appendProjectionArg(String[] projection, String arg) argument
[all...]
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);
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
H A DFileContentProvider.java74 public Cursor query(Uri uri, String[] projection, String selection, argument
/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];
/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/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);
H A DMovieViewControl.java153 String[] projection = new String[] { Video.VideoColumns.DURATION, Video.VideoColumns.BOOKMARK };
156 Cursor cursor = mContentResolver.query(mUri, projection, null, null, null);
/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);
H A DBaseContactsProvider2Test.java401 protected Cursor queryContact(long contactId, String[] projection) { argument
403 projection, null, null, null);
466 final String[] projection = new String[] {
471 Cursor c = mResolver.query(uri, projection, Data.MIMETYPE + "='"
729 String[] projection) {
751 Cursor c = mResolver.query(uri, projection, sb.toString(), selectionArgs.toArray(new String[0]),
782 String[] projection = new String[values.size()];
784 for (int i = 0; i < projection.length; i++) {
785 projection[i] = iter.next().getKey();
787 return projection;
728 assertSelection(Uri uri, ContentValues values, String idColumn, long id, String[] projection) argument
[all...]
H A DGlobalSearchSupportTest.java248 String[] projection = new String[] {
255 return mResolver.query(refershUri, projection, null, null, null);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapCallLogComposer.java59 /** The projection to use when querying the call log table */
98 final String[] projection;
100 projection = sCallLogProjection;
107 contentUri, projection, selection, selectionArgs, sortOrder);
/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/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 DEntrySchema.java53 // Cache the list of projection columns and check for full-text columns.
54 String[] projection = {};
57 projection = new String[columns.length];
60 projection[i] = column.name;
66 mProjection = projection;
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/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSuggestionProvider.java61 public Cursor query(Uri uri, String[] projection, String selection, argument
/packages/apps/Contacts/src/com/android/contacts/
H A DContactsListActivity.java316 // email lookup doesn't included HAS_PHONE_NUMBER in projection
2255 // Default to normal aggregate projection
2395 String[] projection = getProjectionForQuery();
2397 mAdapter.changeCursor(new MatrixCursor(projection));
2418 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, projection, getContactSelection(),
2419 null, getSortOrder(projection));
2424 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, projection, null, null,
2434 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, projection, null, null,
2435 getSortOrder(projection));
2441 projection, Contact
2564 getShowAllContactsLabelCursor(String[] projection) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DMovieViewControl.java149 String[] projection = new String[] {
155 mUri, projection, null, null, null);
/packages/apps/IM/src/com/android/im/app/
H A DContactView.java217 String[] projection = { Imps.GroupMembers.NICKNAME };
219 Cursor c = resolver.query(uri, projection, null, null, null);
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/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);

Completed in 156 milliseconds

123