/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 | 95 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 101 constructQueryForBox(qb, Sms.MESSAGE_TYPE_ALL); 105 constructQueryForUndelivered(qb); 109 constructQueryForBox(qb, Sms.MESSAGE_TYPE_FAILED); 113 constructQueryForBox(qb, Sms.MESSAGE_TYPE_QUEUED); 117 constructQueryForBox(qb, Sms.MESSAGE_TYPE_INBOX); 121 constructQueryForBox(qb, Sms.MESSAGE_TYPE_SENT); 125 constructQueryForBox(qb, Sms.MESSAGE_TYPE_DRAFT); 129 constructQueryForBox(qb, Sms.MESSAGE_TYPE_OUTBOX); 133 qb 309 constructQueryForBox(SQLiteQueryBuilder qb, int type) argument 317 constructQueryForUndelivered(SQLiteQueryBuilder qb) argument [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider2.java | 883 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 888 qb.setTables(VIEW_ACCOUNTS); 889 qb.setProjectionMap(ACCOUNTS_PROJECTION_MAP); 938 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP); 939 qb.setTables(TABLE_BOOKMARKS_JOIN_IMAGES); 952 qb.setTables(TABLE_BOOKMARKS_JOIN_IMAGES); 964 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP); 971 query = qb.buildQuery(projection, where, null, null, sortOrder, null); 973 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP); 983 String bookmarksBarQuery = qb 1165 createCombinedQuery( Uri uri, String[] projection, SQLiteQueryBuilder qb) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | LegacyApiSupport.java | 1611 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 1617 qb.setTables(LegacyTables.PEOPLE_JOIN_PRESENCE); 1618 qb.setProjectionMap(sPeopleProjectionMap); 1619 applyRawContactsAccount(qb); 1624 qb.setTables(LegacyTables.PEOPLE_JOIN_PRESENCE); 1625 qb.setProjectionMap(sPeopleProjectionMap); 1626 applyRawContactsAccount(qb); 1627 qb.appendWhere(" AND " + People._ID + "="); 1628 qb.appendWhere(uri.getPathSegments().get(1)); 1632 qb 1927 applyRawContactsAccount(SQLiteQueryBuilder qb) argument 1945 applyGroupAccount(SQLiteQueryBuilder qb) argument [all...] |
H A D | ContactsDatabaseHelper.java | 4740 SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) { 4744 qb.setTables(sb.toString()); 4748 qb.appendWhere(sb.toString()); 4754 * @param qb The query builder. 4757 public void buildFallbackPhoneLookupAndContactQuery(SQLiteQueryBuilder qb, String number) { argument 4775 qb.setTables(sb.toString()); 4781 qb.appendWhere(sb.toString()); 4739 buildPhoneLookupAndContactQuery( SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) argument
|
H A D | ContactsProvider2.java | 5147 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 5164 setTablesAndProjectionMapForContacts(qb, uri, projection); 5165 appendLocalDirectoryAndAccountSelectionIfNeeded(qb, directoryId, uri); 5171 setTablesAndProjectionMapForContacts(qb, uri, projection); 5173 qb.appendWhere(Contacts._ID + "=?"); 5201 setTablesAndProjectionMapForContacts(qb, uri, projection); 5204 qb.appendWhere(Contacts._ID + "=?"); 5238 setTablesAndProjectionMapForData(qb, uri, projection, false); 5243 qb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID); 5245 qb 6428 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String having, String limit, CancellationSignal cancellationSignal) argument 6486 bundleFastScrollingIndexExtras(Cursor cursor, Uri queryUri, final SQLiteDatabase db, SQLiteQueryBuilder qb, String selection, String[] selectionArgs, String sortOrder, String countExpression, CancellationSignal cancellationSignal) argument 6561 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 6910 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument 6920 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean includeDataUsageStat) argument 6949 setTablesAndProjectionMapForContactsWithSnippet(SQLiteQueryBuilder qb, Uri uri, String[] projection, String filter, long directoryId, boolean deferSnippeting) argument 7172 setTablesAndProjectionMapForRawContacts(SQLiteQueryBuilder qb, Uri uri) argument 7180 setTablesAndProjectionMapForRawEntities(SQLiteQueryBuilder qb, Uri uri) argument 7186 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct) argument 7191 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns) argument 7200 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, Integer usageType) argument 7205 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns, Integer usageType) argument 7237 setTableAndProjectionMapForStatusUpdates(SQLiteQueryBuilder qb, String[] projection) argument 7249 setTablesAndProjectionMapForStreamItems(SQLiteQueryBuilder qb) argument 7254 setTablesAndProjectionMapForStreamItemPhotos(SQLiteQueryBuilder qb) argument 7268 setTablesAndProjectionMapForEntities(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument 7358 appendLocalDirectoryAndAccountSelectionIfNeeded(SQLiteQueryBuilder qb, long directoryId, Uri uri) argument 7390 appendAccountFromParameter(SQLiteQueryBuilder qb, Uri uri) argument 7414 appendAccountIdFromParameter(SQLiteQueryBuilder qb, Uri uri) argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 853 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 873 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 874 qb.setProjectionMap(sEventsProjectionMap); 880 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 881 qb.setProjectionMap(sEventsProjectionMap); 883 qb.appendWhere(SQL_WHERE_ID); 887 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 888 qb.setProjectionMap(sEventEntitiesProjectionMap); 894 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 895 qb 1045 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit) argument 1087 handleInstanceQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, boolean forceExpansion, String instancesTimezone, boolean isHomeTimezone) argument 1255 handleInstanceSearchQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String query, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, String instancesTimezone, boolean isHomeTimezone) argument 1311 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 | 2379 public Cursor queryAggregationSuggestions(SQLiteQueryBuilder qb, argument 2386 return queryMatchingContacts(qb, db, projection, bestMatches, maxSuggestions, filter); 2404 private Cursor queryMatchingContacts(SQLiteQueryBuilder qb, SQLiteDatabase db, argument 2425 Cursor cursor = db.query(qb.getTables(), ContactIdQuery.COLUMNS, sb.toString(), 2466 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 | 2072 private boolean queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, argument 2074 qb.setTables(table); 2078 qb.appendWhere("_id = " + uri.getPathSegments().get(3)); 2135 qb.appendWhere(column + " = " + origId); 2272 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 2291 qb.setDistinct(true); 2298 qb.setTables("images"); 2300 qb.setDistinct(true); 2303 //qb.setProjectionMap(mImagesProjectionMap, true); 2307 qb 2649 doAudioSearch(SQLiteDatabase db, SQLiteQueryBuilder qb, Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sort, int mode, String limit) argument [all...] |