/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsProvider.java | 76 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 86 constructQueryForBox(qb, Mms.MESSAGE_BOX_ALL); 89 constructQueryForBox(qb, Mms.MESSAGE_BOX_INBOX); 92 constructQueryForBox(qb, Mms.MESSAGE_BOX_SENT); 95 constructQueryForBox(qb, Mms.MESSAGE_BOX_DRAFTS); 98 constructQueryForBox(qb, Mms.MESSAGE_BOX_OUTBOX); 101 qb.setTables(TABLE_PDU); 102 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(0)); 108 qb.setTables(TABLE_PDU); 109 qb 217 constructQueryForBox(SQLiteQueryBuilder qb, int msgBox) argument [all...] |
H A D | SmsProvider.java | 94 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 100 constructQueryForBox(qb, Sms.MESSAGE_TYPE_ALL); 104 constructQueryForUndelivered(qb); 108 constructQueryForBox(qb, Sms.MESSAGE_TYPE_FAILED); 112 constructQueryForBox(qb, Sms.MESSAGE_TYPE_QUEUED); 116 constructQueryForBox(qb, Sms.MESSAGE_TYPE_INBOX); 120 constructQueryForBox(qb, Sms.MESSAGE_TYPE_SENT); 124 constructQueryForBox(qb, Sms.MESSAGE_TYPE_DRAFT); 128 constructQueryForBox(qb, Sms.MESSAGE_TYPE_OUTBOX); 132 qb 300 constructQueryForBox(SQLiteQueryBuilder qb, int type) argument 308 constructQueryForUndelivered(SQLiteQueryBuilder qb) argument [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider2.java | 881 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 886 qb.setTables(VIEW_ACCOUNTS); 887 qb.setProjectionMap(ACCOUNTS_PROJECTION_MAP); 936 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP); 937 qb.setTables(TABLE_BOOKMARKS_JOIN_IMAGES); 950 qb.setTables(TABLE_BOOKMARKS_JOIN_IMAGES); 962 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP); 969 query = qb.buildQuery(projection, where, null, null, sortOrder, null); 971 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP); 981 String bookmarksBarQuery = qb 1163 createCombinedQuery( Uri uri, String[] projection, SQLiteQueryBuilder qb) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | LegacyApiSupport.java | 1613 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 1619 qb.setTables(LegacyTables.PEOPLE_JOIN_PRESENCE); 1620 qb.setProjectionMap(sPeopleProjectionMap); 1621 applyRawContactsAccount(qb); 1626 qb.setTables(LegacyTables.PEOPLE_JOIN_PRESENCE); 1627 qb.setProjectionMap(sPeopleProjectionMap); 1628 applyRawContactsAccount(qb); 1629 qb.appendWhere(" AND " + People._ID + "="); 1630 qb.appendWhere(uri.getPathSegments().get(1)); 1634 qb 1929 applyRawContactsAccount(SQLiteQueryBuilder qb) argument 1947 applyGroupAccount(SQLiteQueryBuilder qb) argument [all...] |
H A D | ContactsDatabaseHelper.java | 4675 SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) { 4679 qb.setTables(sb.toString()); 4683 qb.appendWhere(sb.toString()); 4689 * @param qb The query builder. 4692 public void buildFallbackPhoneLookupAndContactQuery(SQLiteQueryBuilder qb, String number) { argument 4710 qb.setTables(sb.toString()); 4716 qb.appendWhere(sb.toString()); 4674 buildPhoneLookupAndContactQuery( SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) argument
|
H A D | ContactsProvider2.java | 5102 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 5119 setTablesAndProjectionMapForContacts(qb, uri, projection); 5120 appendLocalDirectoryAndAccountSelectionIfNeeded(qb, directoryId, uri); 5126 setTablesAndProjectionMapForContacts(qb, uri, projection); 5128 qb.appendWhere(Contacts._ID + "=?"); 5156 setTablesAndProjectionMapForContacts(qb, uri, projection); 5159 qb.appendWhere(Contacts._ID + "=?"); 5193 setTablesAndProjectionMapForData(qb, uri, projection, false); 5198 qb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID); 5200 qb 6353 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String having, String limit, CancellationSignal cancellationSignal) argument 6411 bundleFastScrollingIndexExtras(Cursor cursor, Uri queryUri, final SQLiteDatabase db, SQLiteQueryBuilder qb, String selection, String[] selectionArgs, String sortOrder, String countExpression, CancellationSignal cancellationSignal) argument 6486 getFastScrollingIndexExtras(final Uri queryUri, final SQLiteDatabase db, final SQLiteQueryBuilder qb, final String selection, final String[] selectionArgs, final String sortOrder, String countExpression, final CancellationSignal cancellationSignal) argument 6835 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument 6845 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean includeDataUsageStat) argument 6874 setTablesAndProjectionMapForContactsWithSnippet(SQLiteQueryBuilder qb, Uri uri, String[] projection, String filter, long directoryId, boolean deferSnippeting) argument 7097 setTablesAndProjectionMapForRawContacts(SQLiteQueryBuilder qb, Uri uri) argument 7105 setTablesAndProjectionMapForRawEntities(SQLiteQueryBuilder qb, Uri uri) argument 7111 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct) argument 7116 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns) argument 7125 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, Integer usageType) argument 7130 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns, Integer usageType) argument 7162 setTableAndProjectionMapForStatusUpdates(SQLiteQueryBuilder qb, String[] projection) argument 7174 setTablesAndProjectionMapForStreamItems(SQLiteQueryBuilder qb) argument 7179 setTablesAndProjectionMapForStreamItemPhotos(SQLiteQueryBuilder qb) argument 7193 setTablesAndProjectionMapForEntities(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument 7283 appendLocalDirectoryAndAccountSelectionIfNeeded(SQLiteQueryBuilder qb, long directoryId, Uri uri) argument 7315 appendAccountFromParameter(SQLiteQueryBuilder qb, Uri uri) argument 7339 appendAccountIdFromParameter(SQLiteQueryBuilder qb, Uri uri) argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 832 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 852 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 853 qb.setProjectionMap(sEventsProjectionMap); 859 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 860 qb.setProjectionMap(sEventsProjectionMap); 862 qb.appendWhere(SQL_WHERE_ID); 866 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 867 qb.setProjectionMap(sEventEntitiesProjectionMap); 873 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 874 qb 1024 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit) argument 1066 handleInstanceQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, boolean forceExpansion, String instancesTimezone, boolean isHomeTimezone) argument 1234 handleInstanceSearchQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String query, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, String instancesTimezone, boolean isHomeTimezone) argument 1290 handleEventDayQuery(SQLiteQueryBuilder qb, int begin, int end, String[] projection, String selection, String instancesTimezone, boolean isHomeTimezone) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
H A D | ContactAggregator.java | 2329 public Cursor queryAggregationSuggestions(SQLiteQueryBuilder qb, argument 2336 return queryMatchingContacts(qb, db, projection, bestMatches, maxSuggestions, filter); 2354 private Cursor queryMatchingContacts(SQLiteQueryBuilder qb, SQLiteDatabase db, argument 2375 Cursor cursor = db.query(qb.getTables(), ContactIdQuery.COLUMNS, sb.toString(), 2416 cursor = qb.query(db, projection, sb.toString(), null, null, null, Contacts._ID);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 2048 private boolean queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, argument 2050 qb.setTables(table); 2054 qb.appendWhere("_id = " + uri.getPathSegments().get(3)); 2111 qb.appendWhere(column + " = " + origId); 2158 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 2177 qb.setDistinct(true); 2184 qb.setTables("images"); 2186 qb.setDistinct(true); 2189 //qb.setProjectionMap(mImagesProjectionMap, true); 2193 qb 2535 doAudioSearch(SQLiteDatabase db, SQLiteQueryBuilder qb, Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sort, int mode, String limit) argument [all...] |