Searched refs:queryBuilder (Results 1 – 6 of 6) sorted by relevance
272 final SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local280 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 …]
522 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local523 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() local952 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 …]
147 StringBuilder queryBuilder = new StringBuilder(); in queryUpcomingEvents() local148 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()
587 final StringBuilder queryBuilder = new StringBuilder(); in getTimeConstrainedQuery() local588 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()
1214 final StringBuilder queryBuilder = new StringBuilder(); in getRawContactIdsForAggregation() local1217 queryBuilder.append(RawContacts.CONTACT_ID + "=?"); in getRawContactIdsForAggregation()1225 queryBuilder.append(" OR "); in getRawContactIdsForAggregation()1230 queryBuilder.toString(), in getRawContactIdsForAggregation()
1064 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in getConversationById() local1067 queryBuilder.setDistinct(true); in getConversationById()1068 queryBuilder.setTables(TABLE_THREADS); in getConversationById()1069 return queryBuilder.query( in getConversationById()