Home
last modified time | relevance | path

Searched refs:concatenateClauses (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DDBQueryUtilsTest.java20 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
50 assertEquals("(first)", concatenateClauses("first")); in testConcatenateClauses()
51 assertEquals("(first) AND (second)", concatenateClauses("first", "second")); in testConcatenateClauses()
52 assertEquals("(second)", concatenateClauses("second", null)); in testConcatenateClauses()
53 assertEquals("(second)", concatenateClauses(null, "second")); in testConcatenateClauses()
54 assertEquals("(second)", concatenateClauses(null, "second", null)); in testConcatenateClauses()
55 assertEquals("(a) AND (b) AND (c)", concatenateClauses(null, "a", "b", null, "c")); in testConcatenateClauses()
56 assertEquals("(WHERE \"a\" = \"b\")", concatenateClauses(null, "WHERE \"a\" = \"b\"")); in testConcatenateClauses()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailStatusTable.java19 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
116 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in delete()
131 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in query()
147 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in update()
DVoicemailContentTable.java19 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
233 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in delete()
272 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in query()
292 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in update()
DDbModifierWithNotification.java254 DbQueryUtils.concatenateClauses(NOT_DELETED_SELECTION, whereClause), in updateLastModified()
319 DbQueryUtils.concatenateClauses(NON_NULL_SOURCE_PACKAGE_SELECTION, whereClause), in getModifiedPackages()
DVoicemailContentProvider.java21 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
326 return concatenateClauses( in getWhereClause()
DContactsProvider2.java5932 selection = DbQueryUtils.concatenateClauses(selection, sb.toString()); in queryLocal()
5976 qb.appendWhere(DbQueryUtils.concatenateClauses( in queryLocal()
6005 qb.appendWhere(DbQueryUtils.concatenateClauses( in queryLocal()
6018 DbQueryUtils.concatenateClauses(selection, Contacts.STARRED + "=1"), in queryLocal()
7919 DbQueryUtils.concatenateClauses( in setTablesAndProjectionMapForContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DSelectionBuilder.java61 return DbQueryUtils.concatenateClauses(mWhereClauses.toArray(EMPTY_STRING_ARRAY)); in build()
DDbQueryUtils.java69 public static String concatenateClauses(String... clauses) { in concatenateClauses() method in DbQueryUtils