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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactMetadataProvider.java130 final SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
138 setTablesAndProjectionMapForMetadata(qb);
142 setTablesAndProjectionMapForMetadata(qb);
149 setTablesAndProjectionMapForSyncState(qb);
156 return qb.query(db, projection, selectionBuilder.build(), selectionArgs, null,
328 private void setTablesAndProjectionMapForMetadata(SQLiteQueryBuilder qb){ argument
329 qb.setTables(Views.METADATA_SYNC);
330 qb.setProjectionMap(sMetadataProjectionMap);
331 qb.setStrict(true);
334 private void setTablesAndProjectionMapForSyncState(SQLiteQueryBuilder qb){ argument
[all...]
H A DLegacyApiSupport.java1550 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
1556 qb.setTables(LegacyTables.PEOPLE_JOIN_PRESENCE);
1557 qb.setProjectionMap(sPeopleProjectionMap);
1558 applyRawContactsAccount(qb);
1563 qb.setTables(LegacyTables.PEOPLE_JOIN_PRESENCE);
1564 qb.setProjectionMap(sPeopleProjectionMap);
1565 applyRawContactsAccount(qb);
1566 qb.appendWhere(" AND " + People._ID + "=");
1567 qb.appendWhere(uri.getPathSegments().get(1));
1571 qb
1849 applyRawContactsAccount(SQLiteQueryBuilder qb) argument
1867 applyGroupAccount(SQLiteQueryBuilder qb) argument
[all...]
H A DContactsDatabaseHelper.java4203 SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) {
4208 qb.setTables(sb.toString());
4212 qb.appendWhere(sb.toString());
4218 * @param qb The query builder.
4221 public void buildFallbackPhoneLookupAndContactQuery(SQLiteQueryBuilder qb, String number) { argument
4239 qb.setTables(sb.toString());
4245 qb.appendWhere(sb.toString());
4202 buildPhoneLookupAndContactQuery( SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) argument
H A DContactsProvider2.java5814 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
5831 setTablesAndProjectionMapForContacts(qb, projection);
5832 appendLocalDirectoryAndAccountSelectionIfNeeded(qb, directoryId, uri);
5838 setTablesAndProjectionMapForContacts(qb, projection);
5840 qb.appendWhere(Contacts._ID + "=?");
5868 setTablesAndProjectionMapForContacts(qb, projection);
5871 qb.appendWhere(Contacts._ID + "=?");
5905 setTablesAndProjectionMapForData(qb, uri, projection, false);
5910 qb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID);
5912 qb
7190 doQuery(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String having, String limit, CancellationSignal cancellationSignal) argument
7607 bundleFastScrollingIndexExtras(Cursor cursor, Uri queryUri, final SQLiteDatabase db, SQLiteQueryBuilder qb, String selection, String[] selectionArgs, String sortOrder, String countExpression, CancellationSignal cancellationSignal) argument
7683 getFastScrollingIndexExtras(final SQLiteDatabase db, final SQLiteQueryBuilder qb, final String selection, final String[] selectionArgs, final String sortOrder, String countExpression, final CancellationSignal cancellationSignal) argument
8022 setTablesAndProjectionMapForContacts(SQLiteQueryBuilder qb, String[] projection) argument
8031 setTablesAndProjectionMapForContacts( SQLiteQueryBuilder qb, String[] projection, boolean includeDataUsageStat) argument
8060 setTablesAndProjectionMapForContactsWithSnippet(SQLiteQueryBuilder qb, Uri uri, String[] projection, String filter, long directoryId, boolean deferSnippeting) argument
8282 setTablesAndProjectionMapForRawContacts(SQLiteQueryBuilder qb, Uri uri) argument
8290 setTablesAndProjectionMapForRawEntities(SQLiteQueryBuilder qb, Uri uri) argument
8296 setTablesAndProjectionMapForData( SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct) argument
8302 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns) argument
8311 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, Integer usageType) argument
8316 setTablesAndProjectionMapForData(SQLiteQueryBuilder qb, Uri uri, String[] projection, boolean distinct, boolean addSipLookupColumns, Integer usageType) argument
8348 setTableAndProjectionMapForStatusUpdates( SQLiteQueryBuilder qb, String[] projection) argument
8361 setTablesAndProjectionMapForStreamItems(SQLiteQueryBuilder qb) argument
8366 setTablesAndProjectionMapForStreamItemPhotos(SQLiteQueryBuilder qb) argument
8380 setTablesAndProjectionMapForEntities( SQLiteQueryBuilder qb, Uri uri, String[] projection) argument
8487 appendLocalDirectoryAndAccountSelectionIfNeeded( SQLiteQueryBuilder qb, long directoryId, Uri uri) argument
8520 appendAccountFromParameter(SQLiteQueryBuilder qb, Uri uri) argument
8544 appendAccountIdFromParameter(SQLiteQueryBuilder qb, Uri uri) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DDatabaseWrapper.java197 private void explainQueryPlan(final SQLiteQueryBuilder qb, final SQLiteDatabase db, argument
205 final String queryString = qb.buildQuery(
248 final SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
249 qb.setTables(searchTable);
250 explainQueryPlan(qb, mDatabase, projection, selection, selectionArgs,
278 public Cursor query(final SQLiteQueryBuilder qb, argument
282 explainQueryPlan(qb, mDatabase, projection, selection, queryArgs,
290 final Cursor cursor = qb.query(mDatabase, projection, selection, queryArgs, groupBy,
296 qb.getTables(), selection, cursor.getCount()));
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java100 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
110 constructQueryForBox(qb, Mms.MESSAGE_BOX_ALL, pduTable);
113 constructQueryForBox(qb, Mms.MESSAGE_BOX_INBOX, pduTable);
116 constructQueryForBox(qb, Mms.MESSAGE_BOX_SENT, pduTable);
119 constructQueryForBox(qb, Mms.MESSAGE_BOX_DRAFTS, pduTable);
122 constructQueryForBox(qb, Mms.MESSAGE_BOX_OUTBOX, pduTable);
125 qb.setTables(pduTable);
126 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(0));
132 qb.setTables(pduTable);
133 qb
251 constructQueryForBox(SQLiteQueryBuilder qb, int msgBox, String pduTable) argument
[all...]
H A DSmsProvider.java119 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
126 constructQueryForBox(qb, Sms.MESSAGE_TYPE_ALL, smsTable);
130 constructQueryForUndelivered(qb, smsTable);
134 constructQueryForBox(qb, Sms.MESSAGE_TYPE_FAILED, smsTable);
138 constructQueryForBox(qb, Sms.MESSAGE_TYPE_QUEUED, smsTable);
142 constructQueryForBox(qb, Sms.MESSAGE_TYPE_INBOX, smsTable);
146 constructQueryForBox(qb, Sms.MESSAGE_TYPE_SENT, smsTable);
150 constructQueryForBox(qb, Sms.MESSAGE_TYPE_DRAFT, smsTable);
154 constructQueryForBox(qb, Sms.MESSAGE_TYPE_OUTBOX, smsTable);
158 qb
372 constructQueryForBox(SQLiteQueryBuilder qb, int type, String smsTable) argument
380 constructQueryForUndelivered(SQLiteQueryBuilder qb, String smsTable) argument
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java824 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
844 qb.setTables(CalendarDatabaseHelper.Views.EVENTS);
845 qb.setProjectionMap(sEventsProjectionMap);
851 qb.setTables(CalendarDatabaseHelper.Views.EVENTS);
852 qb.setProjectionMap(sEventsProjectionMap);
854 qb.appendWhere(SQL_WHERE_ID);
858 qb.setTables(CalendarDatabaseHelper.Views.EVENTS);
859 qb.setProjectionMap(sEventEntitiesProjectionMap);
865 qb.setTables(CalendarDatabaseHelper.Views.EVENTS);
866 qb
1016 query(final SQLiteDatabase db, SQLiteQueryBuilder qb, String[] projection, String selection, String[] selectionArgs, String sortOrder, String groupBy, String limit) argument
1058 handleInstanceQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, boolean forceExpansion, String instancesTimezone, boolean isHomeTimezone) argument
1221 handleInstanceSearchQuery(SQLiteQueryBuilder qb, long rangeBegin, long rangeEnd, String query, String[] projection, String selection, String[] selectionArgs, String sort, boolean searchByDay, String instancesTimezone, boolean isHomeTimezone) argument
1277 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 DAbstractContactAggregator.java1953 public final Cursor queryAggregationSuggestions(SQLiteQueryBuilder qb, argument
1969 return queryMatchingContacts(qb, db, projection, bestMatchesWithoutDuplicateContactIds,
1988 private Cursor queryMatchingContacts(SQLiteQueryBuilder qb, SQLiteDatabase db, argument
2009 Cursor cursor = db.query(qb.getTables(), ContactIdQuery.COLUMNS, sb.toString(),
2050 cursor = qb.query(db, projection, sb.toString(), null, null, null, Contacts._ID);
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java1112 private boolean queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, argument
1114 qb.setTables(table);
1118 qb.appendWhere("_id = " + uri.getPathSegments().get(3));
1175 qb.appendWhere(column + " = " + origId);
1313 SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
1332 qb.setDistinct(true);
1339 qb.setTables("images");
1341 qb.setDistinct(true);
1344 //qb.setProjectionMap(mImagesProjectionMap, true);
1348 qb
1690 doAudioSearch(SQLiteDatabase db, SQLiteQueryBuilder qb, Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sort, int mode, String limit) argument
[all...]

Completed in 405 milliseconds