Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1294 String searchString = "string to be searched"; in testIndexOf1() local
1297 final int INDEX_OF_FIRST_D = searchString.length() - 1; in testIndexOf1()
1299 assertEquals(INDEX_OF_FIRST_T, TextUtils.indexOf(searchString, 't')); in testIndexOf1()
1300 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r')); in testIndexOf1()
1301 assertEquals(INDEX_OF_FIRST_D, TextUtils.indexOf(searchString, 'd')); in testIndexOf1()
1302 assertEquals(-1, TextUtils.indexOf(searchString, 'f')); in testIndexOf1()
1304 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf1()
1307 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf1()
1315 MockCharSequence mockCharSequence = new MockCharSequence(searchString); in testIndexOf1()
1321 String searchString = "string to be searched"; in testIndexOf2() local
[all …]
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java143 private LogScanResult scanLog(String pid, String searchString) throws Exception { in scanLog() argument
144 return scanLog(pid, searchString, ""); in scanLog()
150 …private LogScanResult scanLog(String pid, String searchString, String endString) throws Exception { in scanLog() argument
174 if (line.contains(searchString) && line.endsWith(endString)) { in scanLog()
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java541 String searchString = getCompletedActionString(actionValue, requestCode); in executeBackground() local
542 checkLogcatForText(BG_VS_FG_TAG, searchString, maxTimeMs); in executeBackground()
589 String searchString = getCompletedActionString(actionValue, requestCode); in executeForeground() local
590 checkLogcatForText(BG_VS_FG_TAG, searchString, maxTimeMs); in executeForeground()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java120 String searchString = "where am I?"; in testWebSearchPlainText() local
122 intent.putExtra(SearchManager.QUERY, searchString); in testWebSearchPlainText()