Home
last modified time | relevance | path

Searched refs:appendWhere (Results 1 – 25 of 27) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java1568 qb.appendWhere(" AND " + People._ID + "="); in query()
1569 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1577 qb.appendWhere(" AND " + People._ID + " IN " in query()
1587 qb.appendWhere(" AND " + buildGroupNameMatchWhereClause(group)); in query()
1595 qb.appendWhere(" AND " + buildGroupSystemIdMatchWhereClause(systemId)); in query()
1608 qb.appendWhere(" AND " + android.provider.Contacts.Organizations._ID + "="); in query()
1609 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1616 qb.appendWhere(" AND " + android.provider.Contacts.Organizations.PERSON_ID + "="); in query()
1617 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1624 qb.appendWhere(" AND " + android.provider.Contacts.Organizations.PERSON_ID + "="); in query()
[all …]
DContactsProvider2.java3933 lookupQb.appendWhere(Contacts._ID + "=? AND " + Contacts.LOOKUP_KEY + "=?"); in deleteInTransaction()
6253 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
6284 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
6304 lookupQb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID); in queryLocal()
6306 lookupQb.appendWhere(" AND "); in queryLocal()
6323 qb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID); in queryLocal()
6325 qb.appendWhere(" AND " + Data.CONTACT_ID + "=?"); in queryLocal()
6333 qb.appendWhere(StreamItems.CONTACT_ID + "=?"); in queryLocal()
6363 qb.appendWhere(RawContacts.CONTACT_ID + "=?"); in queryLocal()
6374 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
[all …]
DCallLogProvider.java513 qb.appendWhere("PHONE_NUMBERS_EQUAL(number, ?"); in queryInternal()
514 qb.appendWhere(mUseStrictPhoneNumberComparation ? ", 1)" in queryInternal()
519 qb.appendWhere(Calls.NUMBER_PRESENTATION + "!=" in queryInternal()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupProvider.java240 qb.appendWhere(TABLE_MCC_IDD + "._id="); in query()
241 qb.appendWhere(uri.getPathSegments().get(1)); in query()
250 qb.appendWhere(TABLE_MCC_LOOKUP_TABLE + "._id="); in query()
251 qb.appendWhere(uri.getPathSegments().get(1)); in query()
259 qb.appendWhere(TABLE_MCC_SID_CONFLICT + "._id="); in query()
260 qb.appendWhere(uri.getPathSegments().get(1)); in query()
269 qb.appendWhere(TABLE_MCC_SID_RANGE + "._id="); in query()
270 qb.appendWhere(uri.getPathSegments().get(1)); in query()
279 qb.appendWhere(TABLE_NANP_AREA_CODE + "._id="); in query()
280 qb.appendWhere(uri.getPathSegments().get(1)); in query()
[all …]
DMmsProvider.java170 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(0)); in query()
177 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(1)); in query()
178 qb.appendWhere(" AND " + Mms.MESSAGE_BOX + "=" in query()
186 qb.appendWhere(Part.MSG_ID + "=" + uri.getPathSegments().get(0)); in query()
190 qb.appendWhere(Part._ID + "=" + uri.getPathSegments().get(1)); in query()
194 qb.appendWhere(Addr.MSG_ID + "=" + uri.getPathSegments().get(0)); in query()
240 qb.appendWhere("T.id1 = " + uri.getLastPathSegment()); in query()
251 qb.appendWhere(pduTable + "._id = " + uri.getLastPathSegment()); in query()
252 qb.appendWhere(" AND " + TABLE_ADDR + ".type = " + PduHeaders.TO); in query()
259 qb.appendWhere(BaseColumns._ID + "=" + uri.getLastPathSegment()); in query()
[all …]
DSmsProvider.java209 qb.appendWhere("(_id = " + url.getPathSegments().get(0) + ")"); in query()
218 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); in query()
238 qb.appendWhere("thread_id = " + threadID); in query()
248 qb.appendWhere(smsTable + ".thread_id=groups.group_thread_id" in query()
277 qb.appendWhere( in query()
290 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); in query()
555 qb.appendWhere("type=" + type); in constructQueryForBox()
562 qb.appendWhere("(type=" + Sms.MESSAGE_TYPE_OUTBOX + in constructQueryForUndelivered()
DTelephonyProvider.java4404 qb.appendWhere(TextUtils.join(" AND ", constraints)); in queryInternal()
4475 qb.appendWhere(IS_NOT_OWNED_BY_DPC); in queryInternal()
4509 qb.appendWhere(TextUtils.join(" AND ", constraints)); in queryInternal()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.kt164 qb.appendWhere(BaseColumns._ID.toString() + "=") in query()
165 qb.appendWhere(uri.getLastPathSegment()!!) in query()
170 qb.appendWhere(BaseColumns._ID.toString() + "=") in query()
171 qb.appendWhere(uri.getLastPathSegment()!!) in query()
175 qb.appendWhere(ALARM_JOIN_INSTANCE_WHERE_STATEMENT) in query()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java1950 params.appendWhere(prefix + BaseTvColumns.COLUMN_PACKAGE_NAME + "=?", packageName); in createSqlParams()
1968 params.appendWhere( in createSqlParams()
1982 params.appendWhere(Channels.COLUMN_INPUT_ID + "=?", inputId); in createSqlParams()
1987 params.appendWhere(Channels.COLUMN_BROWSABLE + "=1"); in createSqlParams()
1994 params.appendWhere(previewSelection, Channels.TYPE_PREVIEW); in createSqlParams()
1999 params.appendWhere(Channels._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
2006 params.appendWhere(Programs.COLUMN_CHANNEL_ID + "=?", channelId); in createSqlParams()
2013 params.appendWhere( in createSqlParams()
2026 params.appendWhere(Programs._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
2033 params.appendWhere(WATCHED_PROGRAMS_COLUMN_CONSOLIDATED + "=?", "1"); in createSqlParams()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/util/sql/
DSqlParams.java55 public void appendWhere(String selection, String... selectionArgs) { in appendWhere() method in SqlParams
63 appendWhere(name + "=?", value); in appendWhereEquals()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessagingContentProvider.java282 queryBuilder.appendWhere(ConversationColumns.SORT_TIMESTAMP + " > 0 "); in query()
287 queryBuilder.appendWhere(ConversationColumns._ID + "=?"); in query()
298 queryBuilder.appendWhere(ParticipantColumns._ID + " IN ( " + "SELECT " in query()
343 queryBuilder.appendWhere( in query()
357 queryBuilder.appendWhere( in query()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1921 params.appendWhere(prefix + BaseTvColumns.COLUMN_PACKAGE_NAME + "=?", packageName); in createSqlParams()
1939 params.appendWhere("LIKE(?, " + Programs.COLUMN_CANONICAL_GENRE + ") AND " in createSqlParams()
1946 params.appendWhere(Channels.COLUMN_INPUT_ID + "=?", inputId); in createSqlParams()
1951 params.appendWhere(Channels.COLUMN_BROWSABLE + "=1"); in createSqlParams()
1957 params.appendWhere(previewSelection, Channels.TYPE_PREVIEW); in createSqlParams()
1962 params.appendWhere(Channels._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
1969 params.appendWhere(Programs.COLUMN_CHANNEL_ID + "=?", channelId); in createSqlParams()
1976 params.appendWhere(Programs.COLUMN_START_TIME_UTC_MILLIS + "<=? AND " in createSqlParams()
1983 params.appendWhere(Programs._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
1990 params.appendWhere(WATCHED_PROGRAMS_COLUMN_CONSOLIDATED + "=?", "1"); in createSqlParams()
[all …]
/packages/providers/TvProvider/src/com/android/providers/tv/util/
DSqlParams.java52 public void appendWhere(String selection, String... selectionArgs) { in appendWhere() method in SqlParams
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSQLiteQueryBuilderTest.java133 sqliteQueryBuilder.appendWhere("age=20"); in testSetDistinct()
143 sqliteQueryBuilder.appendWhere("age>32"); in testSetDistinct()
512 qb.appendWhere("month=3"); in testUpdate()
527 qb.appendWhere("month=3"); in testDelete()
971 mStrictBuilder.appendWhere("month=2"); in createStrictQueryBuilder()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DExternalDbFacade.java317 selectionArgs.addAll(appendWhere(qb, albumId, mimeTypes));
475 selectionArgs.addAll(appendWhere(qb, albumId, mimeTypes));
512 private static List<String> appendWhere(SQLiteQueryBuilder qb, String albumId,
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java584 qb.appendWhere(SQL_WHERE_GET_EVENTS_ENTRIES); in getEntries()
841 qb.appendWhere(where); in getRelevantRecurrenceEntries()
849 qb.appendWhere(where); in getRelevantRecurrenceEntries()
DCalendarProvider2.java1033 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
1047 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
1076 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
1155 qb.appendWhere(SQL_WHERE_ATTENDEE_BASE); in queryInternal()
1161 qb.appendWhere(SQL_WHERE_ATTENDEES_ID); in queryInternal()
1170 qb.appendWhere(SQL_WHERE_REMINDERS_ID); in queryInternal()
1175 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT); in queryInternal()
1180 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT); in queryInternal()
1187 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT_ID); in queryInternal()
1195 qb.appendWhere(SQL_WHERE_EXTENDED_PROPERTIES_ID); in queryInternal()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java389 qb.appendWhere(BluetoothShare._ID + "="); in query()
390 qb.appendWhere(uri.getPathSegments().get(1)); in query()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberProvider.java73 qb.appendWhere(FilteredNumberColumns._ID + "=" + ContentUris.parseId(uri)); in query()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
DPhoneLookupHistoryContentProvider.java103 queryBuilder.appendWhere( in query()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogContentProvider.java97 queryBuilder.appendWhere(AnnotatedCallLog._ID + "=" + ContentUris.parseId(uri)); in query()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java204 qb.appendWhere(CellBroadcasts.MESSAGE_BROADCASTED + "=1"); in query()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java171 qb.appendWhere("_id" + "=" + uri.getPathSegments().get(1)); in query()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java167 qb.appendWhere("(_id=" + uri.getPathSegments().get(0) + ')'); in query()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java199 public void appendWhere(@NonNull CharSequence inWhere) { in appendWhere() method in SQLiteQueryBuilder

12