Searched refs:escapeLikeValue (Results 1 – 3 of 3) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | DBQueryUtilsTest.java | 21 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/ |
D | DbQueryUtils.java | 125 public static void escapeLikeValue(StringBuilder sb, String value, char escapeChar) { in escapeLikeValue() method in DbQueryUtils
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 6613 DbQueryUtils.escapeLikeValue(likeValue, domain, escapeChar); in queryLocal()
|