Home
last modified time | relevance | path

Searched refs:searchString (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1110 String searchString = "string to be searched"; in testIndexOf1() local
1113 final int INDEX_OF_FIRST_D = searchString.length() - 1; in testIndexOf1()
1115 assertEquals(INDEX_OF_FIRST_T, TextUtils.indexOf(searchString, 't')); in testIndexOf1()
1116 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r')); in testIndexOf1()
1117 assertEquals(INDEX_OF_FIRST_D, TextUtils.indexOf(searchString, 'd')); in testIndexOf1()
1118 assertEquals(-1, TextUtils.indexOf(searchString, 'f')); in testIndexOf1()
1120 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf1()
1123 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf1()
1131 MockCharSequence mockCharSequence = new MockCharSequence(searchString); in testIndexOf1()
1136 String searchString = "string to be searched"; in testIndexOf2() local
[all …]
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java97 String searchString = "where am I?"; in testWebSearchPlainText() local
99 intent.putExtra(SearchManager.QUERY, searchString); in testWebSearchPlainText()