Home
last modified time | relevance | path

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

/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoTest.java52 StringBuilder stringBuilder = new StringBuilder(); in readFile() local
56 stringBuilder.append(line); in readFile()
57 stringBuilder.append('\n'); in readFile()
60 return stringBuilder.toString(); in readFile()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DClassUtils.java135 StringBuilder stringBuilder = new StringBuilder(); in getResrouceContentString() local
141 stringBuilder.append(line); in getResrouceContentString()
145 return stringBuilder.toString(); in getResrouceContentString()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1308 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf1() local
1309 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuilder, 'r')); in testIndexOf1()
1342 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf2() local
1344 TextUtils.indexOf(stringBuilder, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2()
1388 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf3() local
1389 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuilder, 'r', in testIndexOf3()
1414 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf4() local
1415 assertEquals(SEARCH_INDEX, TextUtils.indexOf(stringBuilder, "search")); in testIndexOf4()
1456 StringBuilder stringBuilder = new StringBuilder(searchString); in testIndexOf5() local
1457 assertEquals(INDEX_OF_SECOND_STRING, TextUtils.indexOf(stringBuilder, "string", in testIndexOf5()
[all …]
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java398 final StringBuilder stringBuilder = new StringBuilder(); in ObjectPropertiesTest() local
402 stringBuilder.append(randomLetter(seed)); in ObjectPropertiesTest()
405 mText = stringBuilder.toString(); in ObjectPropertiesTest()