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.java1295 String searchString = "string to be searched"; in testIndexOf1() local
1298 final int INDEX_OF_FIRST_D = searchString.length() - 1; in testIndexOf1()
1300 assertEquals(INDEX_OF_FIRST_T, TextUtils.indexOf(searchString, 't')); in testIndexOf1()
1301 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r')); in testIndexOf1()
1302 assertEquals(INDEX_OF_FIRST_D, TextUtils.indexOf(searchString, 'd')); in testIndexOf1()
1303 assertEquals(-1, TextUtils.indexOf(searchString, 'f')); in testIndexOf1()
1305 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf1()
1308 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf1()
1316 MockCharSequence mockCharSequence = new MockCharSequence(searchString); in testIndexOf1()
1322 String searchString = "string to be searched"; in testIndexOf2() local
[all …]
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java182 String searchString = "nullCreateInstance called in " + layerName; in assertVkLayerLoading() local
183 LogScanResult result = scanLog(TAG + "," + layerName, searchString, startTime); in assertVkLayerLoading()
195 String searchString = layerName + " loaded"; in assertVkLayerEnumeration() local
196 LogScanResult result = scanLog(TAG + "," + layerName, searchString, startTime); in assertVkLayerEnumeration()
208 String searchString = extensionName + ": " + specVersion; in assertVkExtension() local
209 LogScanResult result = scanLog(TAG + ",RootlessGpuDebug", searchString, startTime); in assertVkExtension()
221 …private LogScanResult scanLog(String tag, String searchString, String appStartTime) throws Excepti… in scanLog() argument
222 return scanLog(tag, searchString, "", appStartTime); in scanLog()
228 …private LogScanResult scanLog(String tag, String searchString, String endString, String appStartTi… in scanLog() argument
257 if (line.contains(searchString) && line.endsWith(endString)) { in scanLog()
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java321 String searchString = getCompletedActionString(actionValue, requestCode); in executeBackground() local
322 checkLogcatForText(BG_VS_FG_TAG, searchString, maxTimeMs); in executeBackground()
369 String searchString = getCompletedActionString(actionValue, requestCode); in executeForeground() local
370 checkLogcatForText(BG_VS_FG_TAG, searchString, maxTimeMs); in executeForeground()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java159 String searchString = "where am I?"; in testWebSearchPlainText() local
161 intent.putExtra(SearchManager.QUERY, searchString); in testWebSearchPlainText()