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; 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()
|
D | VoicemailContentTable.java | 19 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()
|
D | DbModifierWithNotification.java | 254 DbQueryUtils.concatenateClauses(NOT_DELETED_SELECTION, whereClause), in updateLastModified() 319 DbQueryUtils.concatenateClauses(NON_NULL_SOURCE_PACKAGE_SELECTION, whereClause), in getModifiedPackages()
|
D | VoicemailContentProvider.java | 21 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses; 326 return concatenateClauses( in getWhereClause()
|
D | ContactsProvider2.java | 5932 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/ |
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
|