Home
last modified time | relevance | path

Searched refs:queryBuilder (Results 1 – 6 of 6) 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/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java522 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local
523 queryBuilder.setStrict(needsToValidateSortOrder); in query()
524 queryBuilder.setTables(params.getTables()); in query()
540 queryBuilder.setProjectionMap(projectionMap); in query()
552 Cursor c = queryBuilder.query(db, projection, params.getSelection(), in query()
951 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in openLogoFile() local
952 queryBuilder.setTables(params.getTables()); in openLogoFile()
957 String sql = queryBuilder.buildQuery(new String[] { CHANNELS_COLUMN_LOGO }, in openLogoFile()
966 try (Cursor cursor = queryBuilder.query(db, new String[] { Channels._ID }, in openLogoFile()
1109 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in onConsolidate() local
[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/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.java1214 final StringBuilder queryBuilder = new StringBuilder(); in getRawContactIdsForAggregation() local
1217 queryBuilder.append(RawContacts.CONTACT_ID + "=?"); in getRawContactIdsForAggregation()
1225 queryBuilder.append(" OR "); in getRawContactIdsForAggregation()
1230 queryBuilder.toString(), in getRawContactIdsForAggregation()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java1064 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in getConversationById() local
1067 queryBuilder.setDistinct(true); in getConversationById()
1068 queryBuilder.setTables(TABLE_THREADS); in getConversationById()
1069 return queryBuilder.query( in getConversationById()