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;
106 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in delete()
121 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in query()
137 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); in update()
DVoicemailContentTable.java19 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
204 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in delete()
243 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in query()
263 String combinedClause = concatenateClauses(selection, uriData.getWhereClause(), in update()
DDbModifierWithNotification.java221 DbQueryUtils.concatenateClauses(NOT_DELETED_SELECTION, whereClause), in updateLastModified()
267 DbQueryUtils.concatenateClauses(NON_NULL_SOURCE_PACKAGE_SELECTION, whereClause), in getModifiedPackages()
DVoicemailContentProvider.java20 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
291 return concatenateClauses( in getWhereClause()
DContactsProvider2.java6007 selection = DbQueryUtils.concatenateClauses(selection, sb.toString()); in queryLocal()
6054 qb.appendWhere(DbQueryUtils.concatenateClauses( in queryLocal()
6083 qb.appendWhere(DbQueryUtils.concatenateClauses( in queryLocal()
6099 DbQueryUtils.concatenateClauses(selection, Contacts.STARRED + "=1"), in queryLocal()
6109 qb.appendWhere(DbQueryUtils.concatenateClauses( in queryLocal()
8045 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