Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java1627 qb.appendWhere(" AND " + People._ID + "="); in query()
1628 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1636 qb.appendWhere(" AND " + People._ID + " IN " in query()
1646 qb.appendWhere(" AND " + buildGroupNameMatchWhereClause(group)); in query()
1654 qb.appendWhere(" AND " + buildGroupSystemIdMatchWhereClause(systemId)); in query()
1667 qb.appendWhere(" AND " + android.provider.Contacts.Organizations._ID + "="); in query()
1668 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1675 qb.appendWhere(" AND " + android.provider.Contacts.Organizations.PERSON_ID + "="); in query()
1676 qb.appendWhere(uri.getPathSegments().get(1)); in query()
1683 qb.appendWhere(" AND " + android.provider.Contacts.Organizations.PERSON_ID + "="); in query()
[all …]
DContactsProvider2.java3667 lookupQb.appendWhere(Contacts._ID + "=? AND " + Contacts.LOOKUP_KEY + "=?"); in deleteInTransaction()
5762 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
5793 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
5813 lookupQb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID); in queryLocal()
5815 lookupQb.appendWhere(" AND "); in queryLocal()
5832 qb.appendWhere(" AND " + Data._ID + "=" + Contacts.PHOTO_ID); in queryLocal()
5834 qb.appendWhere(" AND " + Data.CONTACT_ID + "=?"); in queryLocal()
5842 qb.appendWhere(StreamItems.CONTACT_ID + "=?"); in queryLocal()
5872 qb.appendWhere(RawContacts.CONTACT_ID + "=?"); in queryLocal()
5883 qb.appendWhere(Contacts._ID + "=?"); in queryLocal()
[all …]
DCallLogProvider.java254 qb.appendWhere("PHONE_NUMBERS_EQUAL(number, "); in query()
256 qb.appendWhere(mUseStrictPhoneNumberComparation ? ", 1)" : ", 0)"); in query()
258 qb.appendWhere(Calls.NUMBER_PRESENTATION + "!=" in query()
DContactsDatabaseHelper.java5442 qb.appendWhere(sb.toString()); in buildPhoneLookupAndContactQuery()
5475 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.java125 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(0)); in query()
132 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(1)); in query()
133 qb.appendWhere(" AND " + Mms.MESSAGE_BOX + "=" in query()
141 qb.appendWhere(Part.MSG_ID + "=" + uri.getPathSegments().get(0)); in query()
145 qb.appendWhere(Part._ID + "=" + uri.getPathSegments().get(1)); in query()
149 qb.appendWhere(Addr.MSG_ID + "=" + uri.getPathSegments().get(0)); in query()
195 qb.appendWhere("T.id1 = " + uri.getLastPathSegment()); in query()
206 qb.appendWhere(pduTable + "._id = " + uri.getLastPathSegment()); in query()
207 qb.appendWhere(" AND " + TABLE_ADDR + ".type = " + PduHeaders.TO); in query()
214 qb.appendWhere(BaseColumns._ID + "=" + uri.getLastPathSegment()); in query()
[all …]
DSmsProvider.java159 qb.appendWhere("(_id = " + url.getPathSegments().get(0) + ")"); in query()
168 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); in query()
188 qb.appendWhere("thread_id = " + threadID); in query()
198 qb.appendWhere(smsTable + ".thread_id=groups.group_thread_id" in query()
227 qb.appendWhere( in query()
240 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); in query()
376 qb.appendWhere("type=" + type); in constructQueryForBox()
383 qb.appendWhere("(type=" + Sms.MESSAGE_TYPE_OUTBOX + in constructQueryForUndelivered()
DTelephonyProvider.java1653 qb.appendWhere(NUMERIC + " = '" + mTelephonyManager.getSimOperator(subId) + "'"); in query()
1677 qb.appendWhere("current IS NOT NULL"); in query()
1684 qb.appendWhere("_id = " + url.getPathSegments().get(1)); in query()
1702 qb.appendWhere("_id = " + getPreferredApnId(subId, true)); in query()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java153 qb.appendWhere(AlarmsColumns._ID + "="); in query()
154 qb.appendWhere(uri.getLastPathSegment()); in query()
161 qb.appendWhere(InstancesColumns._ID + "="); in query()
162 qb.appendWhere(uri.getLastPathSegment()); in query()
166 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.java937 params.appendWhere("LIKE(?, " + Programs.COLUMN_CANONICAL_GENRE + ") AND " in createSqlParams()
944 params.appendWhere(Channels.COLUMN_INPUT_ID + "=?", inputId); in createSqlParams()
949 params.appendWhere(Channels.COLUMN_BROWSABLE + "=1"); in createSqlParams()
954 params.appendWhere(Channels._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
961 params.appendWhere(Programs.COLUMN_CHANNEL_ID + "=?", channelId); in createSqlParams()
968 params.appendWhere(Programs.COLUMN_START_TIME_UTC_MILLIS + "<=? AND " in createSqlParams()
974 params.appendWhere(Programs._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
981 params.appendWhere(WATCHED_PROGRAMS_COLUMN_CONSOLIDATED + "=?", "1"); in createSqlParams()
988 params.appendWhere(WatchedPrograms._ID + "=?", uri.getLastPathSegment()); in createSqlParams()
989 params.appendWhere(WATCHED_PROGRAMS_COLUMN_CONSOLIDATED + "=?", "1"); in createSqlParams()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2140 qb.appendWhere("_id = " + uri.getPathSegments().get(3)); in queryThumbnail()
2197 qb.appendWhere(column + " = " + origId); in queryThumbnail()
2376 qb.appendWhere("_id=?"); in query()
2400 qb.appendWhere(" AND "); in query()
2402 qb.appendWhere(MediaStore.Audio.Media.ARTIST_KEY + in query()
2412 qb.appendWhere("_id=?"); in query()
2418 qb.appendWhere("_id IN (SELECT genre_id FROM " + in query()
2425 qb.appendWhere("_id=?"); in query()
2431 qb.appendWhere("_id IN (SELECT playlist_id FROM " + in query()
2438 qb.appendWhere("_id=?"); in query()
[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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java310 qb.appendWhere(BluetoothShare._ID + "="); in query()
311 qb.appendWhere(uri.getPathSegments().get(1)); in query()
/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.java878 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
892 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
914 qb.appendWhere(SQL_WHERE_ID); in queryInternal()
977 qb.appendWhere(SQL_WHERE_ATTENDEE_BASE); in queryInternal()
983 qb.appendWhere(SQL_WHERE_ATTENDEES_ID); in queryInternal()
992 qb.appendWhere(SQL_WHERE_REMINDERS_ID); in queryInternal()
997 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT); in queryInternal()
1002 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT); in queryInternal()
1009 qb.appendWhere(SQL_WHERE_CALENDAR_ALERT_ID); in queryInternal()
1017 qb.appendWhere(SQL_WHERE_EXTENDED_PROPERTIES_ID); in queryInternal()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java106 qb.appendWhere("(_id=" + uri.getPathSegments().get(0) + ')'); in query()
/packages/apps/Dialer/src/com/android/dialer/database/
DFilteredNumberProvider.java91 qb.appendWhere(FilteredNumberColumns._ID + "=" + ContentUris.parseId(uri)); in query()
DVoicemailArchiveProvider.java196 queryBuilder.appendWhere(selectionWithId); in getQueryBuilder()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java162 qb.appendWhere("_id" + "=" + uri.getPathSegments().get(1)); in query()