Searched refs:concatenateClauses (Results 1 – 8 of 8) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | DBQueryUtilsTest.java | 20 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/ |
D | VoicemailStatusTable.java | 19 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()
|
D | VoicemailContentTable.java | 19 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()
|
D | DbModifierWithNotification.java | 221 DbQueryUtils.concatenateClauses(NOT_DELETED_SELECTION, whereClause), in updateLastModified() 267 DbQueryUtils.concatenateClauses(NON_NULL_SOURCE_PACKAGE_SELECTION, whereClause), in getModifiedPackages()
|
D | VoicemailContentProvider.java | 20 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses; 291 return concatenateClauses( in getWhereClause()
|
D | ContactsProvider2.java | 6007 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/ |
D | SelectionBuilder.java | 61 return DbQueryUtils.concatenateClauses(mWhereClauses.toArray(EMPTY_STRING_ARRAY)); in build()
|
D | DbQueryUtils.java | 69 public static String concatenateClauses(String... clauses) { in concatenateClauses() method in DbQueryUtils
|