Searched defs:qb (Results 1 - 9 of 9) sorted by relevance

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java69 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
79 constructQueryForBox(qb, Mms.MESSAGE_BOX_ALL);
82 constructQueryForBox(qb, Mms.MESSAGE_BOX_INBOX);
85 constructQueryForBox(qb, Mms.MESSAGE_BOX_SENT);
88 constructQueryForBox(qb, Mms.MESSAGE_BOX_DRAFTS);
91 constructQueryForBox(qb, Mms.MESSAGE_BOX_OUTBOX);
94 qb.setTables(TABLE_PDU);
95 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(0));
101 qb.setTables(TABLE_PDU);
102 qb
210 constructQueryForBox(SQLiteQueryBuilder qb, int msgBox) argument
[all...]
H A DSmsProvider.java92 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
98 constructQueryForBox(qb, Sms.MESSAGE_TYPE_ALL);
102 constructQueryForUndelivered(qb);
106 constructQueryForBox(qb, Sms.MESSAGE_TYPE_FAILED);
110 constructQueryForBox(qb, Sms.MESSAGE_TYPE_QUEUED);
114 constructQueryForBox(qb, Sms.MESSAGE_TYPE_INBOX);
118 constructQueryForBox(qb, Sms.MESSAGE_TYPE_SENT);
122 constructQueryForBox(qb, Sms.MESSAGE_TYPE_DRAFT);
126 constructQueryForBox(qb, Sms.MESSAGE_TYPE_OUTBOX);
130 qb
298 constructQueryForBox(SQLiteQueryBuilder qb, int type) argument
306 constructQueryForUndelivered(SQLiteQueryBuilder qb) argument
[all...]
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java871 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
876 qb.setTables(VIEW_ACCOUNTS);
877 qb.setProjectionMap(ACCOUNTS_PROJECTION_MAP);
926 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP);
927 qb.setTables(TABLE_BOOKMARKS_JOIN_IMAGES);
940 qb.setTables(TABLE_BOOKMARKS_JOIN_IMAGES);
952 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP);
959 query = qb.buildQuery(projection, where, null, null, sortOrder, null);
961 qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP);
971 String bookmarksBarQuery = qb
1153 createCombinedQuery( Uri uri, String[] projection, SQLiteQueryBuilder qb) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactAggregator.java2159 public Cursor queryAggregationSuggestions(SQLiteQueryBuilder qb, argument
2166 return queryMatchingContacts(qb, db, projection, bestMatches, maxSuggestions, filter);
2184 private Cursor queryMatchingContacts(SQLiteQueryBuilder qb, SQLiteDatabase db, argument
2205 Cursor cursor = db.query(qb.getTables(), ContactIdQuery.COLUMNS, sb.toString(),
2246 cursor = qb.query(db, projection, sb.toString(), null, null, null, Contacts._ID);
H A DLegacyApiSupport.java1610 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
1616 qb.setTables(LegacyTables.PEOPLE_JOIN_PRESENCE);
1617 qb.setProjectionMap(sPeopleProjectionMap);
1618 applyRawContactsAccount(qb);
1623 qb.setTables(LegacyTables.PEOPLE_JOIN_PRESENCE);
1624 qb.setProjectionMap(sPeopleProjectionMap);
1625 applyRawContactsAccount(qb);
1626 qb.appendWhere(" AND " + People._ID + "=");
1627 qb.appendWhere(uri.getPathSegments().get(1));
1631 qb
1926 applyRawContactsAccount(SQLiteQueryBuilder qb) argument
1944 applyGroupAccount(SQLiteQueryBuilder qb) argument
[all...]
H A DContactsDatabaseHelper.java4137 SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) {
4141 qb.setTables(sb.toString());
4145 qb.appendWhere(sb.toString());
4136 buildPhoneLookupAndContactQuery( SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) argument
H A DContactsProvider2.java2932 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
2933 setTablesAndProjectionMapForStreamItems(qb);
2934 Cursor c = qb.query(mActiveDb.get(),
2962 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
2963 setTablesAndProjectionMapForStreamItemPhotos(qb);
2964 Cursor c = qb.query(mActiveDb.get(),
4996 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
5012 setTablesAndProjectionMapForContacts(qb, uri, projection);
5013 appendLocalDirectorySelectionIfNeeded(qb, directoryId);
5019 setTablesAndProjectionMapForContacts(qb, ur
5955 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit) argument
6039 bundleLetterCountExtras(Cursor cursor, final SQLiteDatabase db, SQLiteQueryBuilder qb, String selection, String[] selectionArgs, String sortOrder, String countExpression) argument
6416 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument
6426 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean includeDataUsageStat) argument
6455 setTablesAndProjectionMapForContactsWithSnippet(SQLiteQueryBuilder qb, Uri uri, String[] projection, String filter, long directoryId, boolean deferredSnippeting) argument
6670 setTablesAndProjectionMapForRawContacts(SQLiteQueryBuilder qb, Uri uri) argument
6678 setTablesAndProjectionMapForRawEntities(SQLiteQueryBuilder qb, Uri uri) argument
6684 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct) argument
6689 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns) argument
6698 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, Integer usageType) argument
6703 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns, Integer usageType) argument
6736 setTableAndProjectionMapForStatusUpdates(SQLiteQueryBuilder qb, String[] projection) argument
6748 setTablesAndProjectionMapForStreamItems(SQLiteQueryBuilder qb) argument
6753 setTablesAndProjectionMapForStreamItemPhotos(SQLiteQueryBuilder qb) argument
6767 setTablesAndProjectionMapForEntities(SQLiteQueryBuilder qb, Uri uri, String[] projection) argument
6836 appendLocalDirectorySelectionIfNeeded(SQLiteQueryBuilder qb, long directoryId) argument
6847 appendAccountFromParameter(SQLiteQueryBuilder qb, Uri uri) argument
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java1795 private boolean queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, argument
1797 qb.setTables(table);
1801 qb.appendWhere("_id = " + uri.getPathSegments().get(3));
1858 qb.appendWhere(column + " = " + origId);
1904 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
1925 qb.setDistinct(true);
1932 qb.setTables("images");
1934 qb.setDistinct(true);
1937 //qb.setProjectionMap(mImagesProjectionMap, true);
1941 qb
2280 doAudioSearch(SQLiteDatabase db, SQLiteQueryBuilder qb, Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sort, int mode, String limit) argument
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java801 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
821 qb.setTables(CalendarDatabaseHelper.Views.EVENTS);
822 qb.setProjectionMap(sEventsProjectionMap);
827 qb.setTables(CalendarDatabaseHelper.Views.EVENTS);
828 qb.setProjectionMap(sEventsProjectionMap);
830 qb.appendWhere(SQL_WHERE_ID);
834 qb.setTables(CalendarDatabaseHelper.Views.EVENTS);
835 qb.setProjectionMap(sEventEntitiesProjectionMap);
840 qb.setTables(CalendarDatabaseHelper.Views.EVENTS);
841 qb
978 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit) argument
1020 handleInstanceQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, boolean forceExpansion, String instancesTimezone, boolean isHomeTimezone) argument
1188 handleInstanceSearchQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String query, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, String instancesTimezone, boolean isHomeTimezone) argument
1244 handleEventDayQuery(SQLiteQueryBuilder qb, int begin, int end, String[] projection, String selection, String instancesTimezone, boolean isHomeTimezone) argument
[all...]

Completed in 236 milliseconds