Home
last modified time | relevance | path

Searched refs:DbQueryUtils (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DDBQueryUtilsTest.java19 import static com.android.providers.contacts.util.DbQueryUtils.checkForSupportedColumns;
20 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
21 import static com.android.providers.contacts.util.DbQueryUtils.escapeLikeValue;
41 assertEquals("(foo = 'bar')", DbQueryUtils.getEqualityClause("foo", "bar")); in testGetEqualityClause()
42 assertEquals("(foo = 2)", DbQueryUtils.getEqualityClause("foo", 2)); in testGetEqualityClause()
46 assertEquals("(foo != 2)", DbQueryUtils.getInequalityClause("foo", 2)); in testGetInEqualityClause()
79 DbQueryUtils.escapeLikeValue(sb, "my_test_string", '\\'); in testEscapeLikeValuesEscapesUnderscores()
83 DbQueryUtils.escapeLikeValue(sb, "_test_", '\\'); in testEscapeLikeValuesEscapesUnderscores()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DDbQueryUtils.java28 public class DbQueryUtils { class
30 private DbQueryUtils() { in DbQueryUtils() method in DbQueryUtils
DSelectionBuilder.java61 return DbQueryUtils.concatenateClauses(mWhereClauses.toArray(EMPTY_STRING_ARRAY)); in build()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java41 import com.android.providers.contacts.util.DbQueryUtils;
254 DbQueryUtils.concatenateClauses(NOT_DELETED_SELECTION, whereClause), in updateLastModified()
319 DbQueryUtils.concatenateClauses(NON_NULL_SOURCE_PACKAGE_SELECTION, whereClause), in getModifiedPackages()
DVoicemailContentTable.java18 import static com.android.providers.contacts.util.DbQueryUtils.checkForSupportedColumns;
19 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
20 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
DCallLogProvider.java19 import static com.android.providers.contacts.util.DbQueryUtils.checkForSupportedColumns;
20 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
21 import static com.android.providers.contacts.util.DbQueryUtils.getInequalityClause;
DVoicemailContentProvider.java21 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
22 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
DVoicemailStatusTable.java19 import static com.android.providers.contacts.util.DbQueryUtils.concatenateClauses;
DContactMetadataProvider.java52 import static com.android.providers.contacts.util.DbQueryUtils.getEqualityClause;
DContactsProvider2.java170 import com.android.providers.contacts.util.DbQueryUtils;
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()
6484 DbQueryUtils.escapeLikeValue(likeValue, domain, escapeChar); in queryLocal()
7919 DbQueryUtils.concatenateClauses( in setTablesAndProjectionMapForContacts()