/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MessagingContentProvider.java | 272 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/ |
D | AlarmScheduler.java | 147 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/Dialer/java/com/android/dialer/preferredsim/impl/ |
D | PreferredSimFallbackProvider.java | 70 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local 71 queryBuilder.setStrict(true); in query() 72 queryBuilder.setProjectionMap(PROJECTION_MAP); in query() 73 queryBuilder.setTables(PreferredSimDatabaseHelper.TABLE); in query() 74 return queryBuilder.query( in query()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogContentProvider.java | 92 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local 93 queryBuilder.setTables(AnnotatedCallLog.TABLE); in query() 97 queryBuilder.appendWhere(AnnotatedCallLog._ID + "=" + ContentUris.parseId(uri)); in query() 99 queryBuilder.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query() 109 queryBuilder.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query() 122 queryBuilder.setDistinct(true); in query() 124 queryBuilder.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncCursorPair.java | 587 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/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 1382 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local 1383 queryBuilder.setStrict(needsToValidateSortOrder); in query() 1384 queryBuilder.setTables(params.getTables()); in query() 1409 queryBuilder.setProjectionMap(createProjectionMapForQuery(projection, projectionMap)); in query() 1421 Cursor c = queryBuilder.query(db, projection, params.getSelection(), in query() 2200 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in openLogoFile() local 2201 queryBuilder.setTables(params.getTables()); in openLogoFile() 2206 String sql = queryBuilder.buildQuery(new String[] { CHANNELS_COLUMN_LOGO }, in openLogoFile() 2215 try (Cursor cursor = queryBuilder.query(db, new String[] { Channels._ID }, in openLogoFile() 2358 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in onConsolidate() local [all …]
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/ |
D | PhoneLookupHistoryContentProvider.java | 98 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local 99 queryBuilder.setTables(PhoneLookupHistory.TABLE); in query() 103 queryBuilder.appendWhere( in query() 111 queryBuilder.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | CardContentProvider.java | 168 final SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local 170 queryBuilder.setTables(table); in query() 172 final Cursor cursor = queryBuilder.query(database, in query()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchHistoryManager.java | 188 final SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in getSortedHistoryList() local 189 queryBuilder.setTables(DatabaseHelper.HISTORY_TABLE); in getSortedHistoryList() 191 return queryBuilder.query(mHelper.getReadableDatabase(), PROJECTION_HISTORY, null, in getSortedHistoryList()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 800 final StringBuilder queryBuilder = new StringBuilder(Downloads.Impl._ID + " in ("); in buildQueryWithIds() local 803 queryBuilder.append(downloadIds.get(i)); in buildQueryWithIds() 804 queryBuilder.append((i == size - 1) ? ")" : ","); in buildQueryWithIds() 806 return queryBuilder.toString(); in buildQueryWithIds()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/ |
D | FakeTvProvider.java | 1528 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in query() local 1529 queryBuilder.setStrict(needsToValidateSortOrder); in query() 1530 queryBuilder.setTables(params.getTables()); in query() 1555 queryBuilder.setProjectionMap(createProjectionMapForQuery(projection, projectionMap)); in query() 1568 queryBuilder.query( in query() 2337 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in openLogoFile() local 2338 queryBuilder.setTables(params.getTables()); in openLogoFile() 2344 queryBuilder.buildQuery( in openLogoFile() 2359 queryBuilder.query( in openLogoFile()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 1636 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/ |
D | MmsSmsProvider.java | 1086 SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder(); in getConversationById() local 1089 queryBuilder.setDistinct(true); in getConversationById() 1090 queryBuilder.setTables(TABLE_THREADS); in getConversationById() 1091 return queryBuilder.query( in getConversationById()
|