Home
last modified time | relevance | path

Searched refs:selectionSb (Results 1 – 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java8586 StringBuilder selectionSb = new StringBuilder(RawContacts.ACCOUNT_NAME + "="); in appendAccountToSelection() local
8587 selectionSb.append(DatabaseUtils.sqlEscapeString(accountWithDataSet.getAccountName())); in appendAccountToSelection()
8588 selectionSb.append(" AND " + RawContacts.ACCOUNT_TYPE + "="); in appendAccountToSelection()
8589 selectionSb.append(DatabaseUtils.sqlEscapeString(accountWithDataSet.getAccountType())); in appendAccountToSelection()
8591 selectionSb.append(" AND " + RawContacts.DATA_SET + " IS NULL"); in appendAccountToSelection()
8593 selectionSb.append(" AND " + RawContacts.DATA_SET + "=") in appendAccountToSelection()
8597 selectionSb.append(" AND ("); in appendAccountToSelection()
8598 selectionSb.append(selection); in appendAccountToSelection()
8599 selectionSb.append(')'); in appendAccountToSelection()
8601 return selectionSb.toString(); in appendAccountToSelection()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java3185 StringBuilder selectionSb = new StringBuilder(Calendars._ID + "="); in deleteInTransaction() local
3186 selectionSb.append(uri.getPathSegments().get(1)); in deleteInTransaction()
3188 selectionSb.append(" AND ("); in deleteInTransaction()
3189 selectionSb.append(selection); in deleteInTransaction()
3190 selectionSb.append(')'); in deleteInTransaction()
3192 selection = selectionSb.toString(); in deleteInTransaction()