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;
99 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in delete()
114 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in query()
130 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in update()
DVoicemailContentTable.java19 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
193 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in delete()
232 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in query()
252 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in update()
DVoicemailContentProvider.java19 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
215 return concatenateClauses( in getWhereClause()
DDbModifierWithNotification.java229 DbQueryUtils.concatenateClauses(NON_NULL_SOURCE_PACKAGE_SELECTION, whereClause), in getModifiedPackages()
DContactsProvider2.java5928 selection = DbQueryUtils.concatenateClauses(selection, sb.toString()); in queryLocal()
5974 qb.appendWhere(DbQueryUtils.concatenateClauses( in queryLocal()
6003 qb.appendWhere(DbQueryUtils.concatenateClauses( in queryLocal()
6019 DbQueryUtils.concatenateClauses(selection, Contacts.STARRED + "=1"), in queryLocal()
6029 qb.appendWhere(DbQueryUtils.concatenateClauses( in queryLocal()
7964 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