Home
last modified time | relevance | path

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

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java1566 qb.appendWhere(" AND " + People._ID + "="); in query()
1567 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1575 qb.appendWhere(" AND " + People._ID + " IN " in query()
1585 qb.appendWhere(" AND " + buildGroupNameMatchWhereClause(group)); in query()
1593 qb.appendWhere(" AND " + buildGroupSystemIdMatchWhereClause(systemId)); in query()
1606 qb.appendWhere(" AND " + android.provider.Contacts.Organizations._ID + "="); in query()
1607 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1614 qb.appendWhere(" AND " + android.provider.Contacts.Organizations.PERSON_ID + "="); in query()
1615 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1622 qb.appendWhere(" AND " + android.provider.Contacts.Organizations.PERSON_ID + "="); in query()
[all …]
DContactsProvider2.java3704 lookupQb.appendWhere(Contacts._ID + "=? AND " + Contacts.LOOKUP_KEY + "=?"); in deleteInTransaction()
5808 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
5839 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
5859 lookupQb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID); in queryLocal()
5861 lookupQb.appendWhere(" AND "); in queryLocal()
5878 qb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID); in queryLocal()
5880 qb.appendWhere(" AND " + Data.CONTACT_ID + "=?"); in queryLocal()
5888 qb.appendWhere(StreamItems.CONTACT_ID + "=?"); in queryLocal()
5918 qb.appendWhere(RawContacts.CONTACT_ID + "=?"); in queryLocal()
5929 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
[all …]
DCallLogProvider.java432 qb.appendWhere("PHONE_NUMBERS_EQUAL(number, "); in queryInternal()
434 qb.appendWhere(mUseStrictPhoneNumberComparation ? ", 1)" in queryInternal()
437 qb.appendWhere(Calls.NUMBER_PRESENTATION + "!=" in queryInternal()
DContactsDatabaseHelper.java4237 qb.appendWhere(sb.toString()); in buildPhoneLookupAndContactQuery()
4270 qb.appendWhere(sb.toString()); in buildFallbackPhoneLookupAndContactQuery()
/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.java129 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(0)); in query()
136 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(1)); in query()
137 qb.appendWhere(" AND " + Mms.MESSAGE_BOX + "=" in query()
145 qb.appendWhere(Part.MSG_ID + "=" + uri.getPathSegments().get(0)); in query()
149 qb.appendWhere(Part._ID + "=" + uri.getPathSegments().get(1)); in query()
153 qb.appendWhere(Addr.MSG_ID + "=" + uri.getPathSegments().get(0)); in query()
199 qb.appendWhere("T.id1 = " + uri.getLastPathSegment()); in query()
210 qb.appendWhere(pduTable + "._id = " + uri.getLastPathSegment()); in query()
211 qb.appendWhere(" AND " + TABLE_ADDR + ".type = " + PduHeaders.TO); in query()
218 qb.appendWhere(BaseColumns._ID + "=" + uri.getLastPathSegment()); in query()
[all …]
DSmsProvider.java177 qb.appendWhere("(_id = " + url.getPathSegments().get(0) + ")"); in query()
186 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); in query()
206 qb.appendWhere("thread_id = " + threadID); in query()
216 qb.appendWhere(smsTable + ".thread_id=groups.group_thread_id" in query()
245 qb.appendWhere( in query()
258 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); in query()
475 qb.appendWhere("type=" + type); in constructQueryForBox()
482 qb.appendWhere("(type=" + Sms.MESSAGE_TYPE_OUTBOX + in constructQueryForUndelivered()
DTelephonyProvider.java3768 qb.appendWhere(TextUtils.join(" AND ", constraints)); in query()
3831 qb.appendWhere(IS_NOT_OWNED_BY_DPC); in query()
3865 qb.appendWhere(TextUtils.join(" AND ", constraints)); 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/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/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.java1823 params.appendWhere(prefix + BaseTvColumns.COLUMN_PACKAGE_NAME + "=?", packageName); in createSqlParams()
1841 params.appendWhere("LIKE(?, " + Programs.COLUMN_CANONICAL_GENRE + ") AND " in createSqlParams()
1848 params.appendWhere(Channels.COLUMN_INPUT_ID + "=?", inputId); in createSqlParams()
1853 params.appendWhere(Channels.COLUMN_BROWSABLE + "=1"); in createSqlParams()
1859 params.appendWhere(previewSelection, Channels.TYPE_PREVIEW); in createSqlParams()
1864 params.appendWhere(Channels._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
1871 params.appendWhere(Programs.COLUMN_CHANNEL_ID + "=?", channelId); in createSqlParams()
1878 params.appendWhere(Programs.COLUMN_START_TIME_UTC_MILLIS + "<=? AND " in createSqlParams()
1885 params.appendWhere(Programs._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
1892 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/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSQLiteQueryBuilderTest.java95 sqliteQueryBuilder.appendWhere("age=20"); in testSetDistinct()
105 sqliteQueryBuilder.appendWhere("age>32"); in testSetDistinct()
474 qb.appendWhere("month=3"); in testUpdate()
489 qb.appendWhere("month=3"); in testDelete()
933 mStrictBuilder.appendWhere("month=2"); in createStrictQueryBuilder()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java280 qb.appendWhere(BluetoothShare._ID + "="); in query()
281 qb.appendWhere(uri.getPathSegments().get(1)); in query()
/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/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1034 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
1048 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
1077 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
1156 qb.appendWhere(SQL_WHERE_ATTENDEE_BASE); in queryInternal()
1162 qb.appendWhere(SQL_WHERE_ATTENDEES_ID); in queryInternal()
1171 qb.appendWhere(SQL_WHERE_REMINDERS_ID); in queryInternal()
1176 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT); in queryInternal()
1181 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT); in queryInternal()
1188 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT_ID); in queryInternal()
1196 qb.appendWhere(SQL_WHERE_EXTENDED_PROPERTIES_ID); in queryInternal()
[all …]
DCalendarInstancesHelper.java584 qb.appendWhere(SQL_WHERE_GET_EVENTS_ENTRIES); in getEntries()
841 qb.appendWhere(where); in getRelevantRecurrenceEntries()
849 qb.appendWhere(where); in getRelevantRecurrenceEntries()
/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/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java171 qb.appendWhere("_id" + "=" + uri.getPathSegments().get(1)); in query()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java204 qb.appendWhere(CellBroadcasts.MESSAGE_BROADCASTED + "=1"); in query()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogContentProvider.java97 queryBuilder.appendWhere(AnnotatedCallLog._ID + "=" + ContentUris.parseId(uri)); in query()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java160 qb.appendWhere("(_id=" + uri.getPathSegments().get(0) + ')'); in query()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java170 public void appendWhere(@NonNull CharSequence inWhere) { in appendWhere() method in SQLiteQueryBuilder

12