Home
last modified time | relevance | path

Searched refs:queryBuilder (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessagingContentProvider.java272 final SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local
280 queryBuilder.setTables(ConversationListItemData.getConversationListView()); in query()
282 queryBuilder.appendWhere(ConversationColumns.SORT_TIMESTAMP + " > 0 "); in query()
285 queryBuilder.setTables(ConversationListItemData.getConversationListView()); in query()
287 queryBuilder.appendWhere(ConversationColumns._ID + "=?"); in query()
295 queryBuilder.setTables(DatabaseHelper.PARTICIPANTS_TABLE); in query()
298 queryBuilder.appendWhere(ParticipantColumns._ID + " IN ( " + "SELECT " in query()
314 queryBuilder.setTables(DatabaseHelper.PARTICIPANTS_TABLE); in query()
340 queryBuilder.setTables(ConversationImagePartsView.getViewName()); in query()
343 queryBuilder.appendWhere( in query()
[all …]
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java147 StringBuilder queryBuilder = new StringBuilder(); in queryUpcomingEvents() local
148 queryBuilder.append("("); in queryUpcomingEvents()
149 queryBuilder.append(INSTANCES_WHERE); in queryUpcomingEvents()
150 queryBuilder.append(") OR ("); in queryUpcomingEvents()
151 queryBuilder.append(INSTANCES_WHERE); in queryUpcomingEvents()
152 queryBuilder.append(")"); in queryUpcomingEvents()
168 queryBuilder.toString(), queryArgs, null); in queryUpcomingEvents()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1278 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local
1279 queryBuilder.setStrict(needsToValidateSortOrder); in query()
1280 queryBuilder.setTables(params.getTables()); in query()
1305 queryBuilder.setProjectionMap(createProjectionMapForQuery(projection, projectionMap)); in query()
1317 Cursor c = queryBuilder.query(db, projection, params.getSelection(), in query()
2020 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in openLogoFile() local
2021 queryBuilder.setTables(params.getTables()); in openLogoFile()
2026 String sql = queryBuilder.buildQuery(new String[] { CHANNELS_COLUMN_LOGO }, in openLogoFile()
2035 try (Cursor cursor = queryBuilder.query(db, new String[] { Channels._ID }, in openLogoFile()
2178 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in onConsolidate() local
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncCursorPair.java587 final StringBuilder queryBuilder = new StringBuilder(); in getTimeConstrainedQuery() local
588 queryBuilder.append(typeSelection); in getTimeConstrainedQuery()
590 queryBuilder.append(" AND ").append(timeColumn).append(">=").append(from); in getTimeConstrainedQuery()
593 queryBuilder.append(" AND ").append(timeColumn).append("<").append(to); in getTimeConstrainedQuery()
596 queryBuilder.append(" AND ").append(threadColumn).append("=").append(threadId); in getTimeConstrainedQuery()
598 return queryBuilder.toString(); in getTimeConstrainedQuery()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1636 final StringBuilder queryBuilder = new StringBuilder(); in getRawContactIds() local
1637 queryBuilder.append(RawContacts.CONTACT_ID) in getRawContactIds()
1643 queryBuilder.toString(), in getRawContactIds()
1669 final StringBuilder queryBuilder = new StringBuilder(); in getRawContactIdsForAggregation() local
1672 queryBuilder.append(RawContacts.CONTACT_ID + "=?"); in getRawContactIdsForAggregation()
1680 queryBuilder.append(" OR "); in getRawContactIdsForAggregation()
1685 queryBuilder.toString(), in getRawContactIdsForAggregation()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java1065 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in getConversationById() local
1068 queryBuilder.setDistinct(true); in getConversationById()
1069 queryBuilder.setTables(TABLE_THREADS); in getConversationById()
1070 return queryBuilder.query( in getConversationById()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java505 final StringBuilder queryBuilder = new StringBuilder(Downloads.Impl._ID + " in ("); in deleteDownloadsWithIds() local
507 queryBuilder.append(downloadIds.get(i)); in deleteDownloadsWithIds()
508 queryBuilder.append((i == N - 1) ? ")" : ","); in deleteDownloadsWithIds()
510 delete(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, queryBuilder.toString(), null); in deleteDownloadsWithIds()