Home
last modified time | relevance | path

Searched refs:escapeLikeValue (Results 1 – 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DDBQueryUtilsTest.java21 import static com.android.providers.contacts.util.DbQueryUtils.escapeLikeValue;
79 DbQueryUtils.escapeLikeValue(sb, "my_test_string", '\\'); in testEscapeLikeValuesEscapesUnderscores()
83 DbQueryUtils.escapeLikeValue(sb, "_test_", '\\'); in testEscapeLikeValuesEscapesUnderscores()
89 escapeLikeValue(sb, "my%test%string", '\\'); in testEscapeLikeValuesEscapesPercents()
93 escapeLikeValue(sb, "%test%", '\\'); in testEscapeLikeValuesEscapesPercents()
99 escapeLikeValue(sb, "my\\test\\string", '\\'); in testEscapeLikeValuesEscapesEscapes()
103 escapeLikeValue(sb, "\\test\\", '\\'); in testEscapeLikeValuesEscapesEscapes()
109 escapeLikeValue(sb, "my test string", '\\'); in testEscapeLikeValuesNoChanges()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DDbQueryUtils.java125 public static void escapeLikeValue(StringBuilder sb, String value, char escapeChar) { in escapeLikeValue() method in DbQueryUtils
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java6423 DbQueryUtils.escapeLikeValue(likeValue, domain, escapeChar); in queryLocal()