/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 48 String testString = mContext.getString(R.string.context_test_string1); in testGetString() local 49 assertEquals("This is %s string.", testString); in testGetString() 51 testString = mContext.getString(R.string.context_test_string1, "expected"); in testGetString() 52 assertEquals("This is expected string.", testString); in testGetString() 54 testString = mContext.getString(R.string.context_test_string2); in testGetString() 55 assertEquals("This is test string.", testString); in testGetString() 59 testString = mContext.getString(0, "expected"); in testGetString() 66 testString = mContext.getString(0); in testGetString()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 1669 String testString = "abccbadecdebz"; in testSplitPattern() local 1670 assertEquals(calculateCharsCount(testString, "c") + 1, in testSplitPattern() 1671 TextUtils.split(testString, Pattern.compile("c")).length); in testSplitPattern() 1672 assertEquals(calculateCharsCount(testString, "a") + 1, in testSplitPattern() 1673 TextUtils.split(testString, Pattern.compile("a")).length); in testSplitPattern() 1674 assertEquals(calculateCharsCount(testString, "z") + 1, in testSplitPattern() 1675 TextUtils.split(testString, Pattern.compile("z")).length); in testSplitPattern() 1676 assertEquals(calculateCharsCount(testString, "de") + 1, in testSplitPattern() 1677 TextUtils.split(testString, Pattern.compile("de")).length); in testSplitPattern() 1678 int totalCount = 1 + calculateCharsCount(testString, "a") in testSplitPattern() [all …]
|
D | StaticLayoutTest.java | 603 private List<CharSequence> buildTestCharSequences(String testString, Normalizer.Form[] forms) { in buildTestCharSequences() argument 608 normalizedStrings.add(Normalizer.normalize(testString, form)); in buildTestCharSequences() 648 for (String testString: testStrings) { in testGetOffset_ASCII() 649 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII() 671 String testString = "ab\r\nde"; in testGetOffset_ASCII() local 672 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII() 704 for (String testString: testStrings) { in testGetOffset_UNICODE() 705 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_UNICODE() 730 String testString = "\u00C1\u00C2\u00C3\u00C4\u00C5"; in testGetOffset_UNICODE_Normalization() local 732 for (CharSequence seq: buildTestCharSequences(testString, oneUnicodeForms)) { in testGetOffset_UNICODE_Normalization() [all …]
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostTest.java | 128 String testString = ""; in testLogcat() local 133 testString = line.split(":")[1].trim(); in testLogcat() 138 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | TestPlan.java | 98 for (String testString : testStrings) { in parseTestList() 99 String[] classMethodPair = testString.split(METHOD_DELIM); in parseTestList() 104 filter.addExcludedClass(testString); in parseTestList() 110 for (String testString : testStrings) { in parseTestList() 111 String[] classMethodPair = testString.split(METHOD_DELIM); in parseTestList() 116 filter.addIncludedClass(testString); in parseTestList()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
D | TSuper.java | 47 public void testString(String s) { in testString() method in TSuper
|
D | T_invoke_super_range_12.d | 31 …4..v5}, dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_12/testString(Ljava/lang/Strin…
|
D | TSuper.d | 67 .method public testString(Ljava/lang/String;)V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
D | TSuper.java | 47 public void testString(String s) { in testString() method in TSuper
|
D | T_invoke_super_12.d | 31 …invoke-super {v5, v5}, dot.junit.opcodes.invoke_super.d.T_invoke_super_12/testString(Ljava/lang/St…
|
D | TSuper.d | 67 .method public testString(Ljava/lang/String;)V
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AutoCompleteTextViewTest.java | 154 String testString = "TryToTest"; in testEnoughToFilter() 155 mAutoCompleteTextView.setText(testString); in testEnoughToFilter() 163 String testString = "No"; in testEnoughToFilter() 164 mAutoCompleteTextView.setText(testString); in testEnoughToFilter() 378 String testString = ""; in testOnFilterComplete() local 381 testString = "8337777"; in testOnFilterComplete() 383 testString = "tes"; in testOnFilterComplete() 394 mInstrumentation.sendStringSync(testString); in testOnFilterComplete() 406 testString = "84428"; in testOnFilterComplete() 408 testString = "that"; in testOnFilterComplete() [all …]
|
D | TextViewTest.java | 4044 String testString = "abcdefghijklmnopqrstuvwxyz"; in testAllCapsLocalization() local 4058 testString.toUpperCase(locale), in testAllCapsLocalization() 4059 tv.getTransformationMethod().getTransformation(testString, tv).toString()); in testAllCapsLocalization()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ExactCanvasTests.java | 152 final String testString = "THIS IS A TEST"; in testBasicText() local 161 canvas.drawText(testString, 30, 50, p); in testBasicText()
|
/cts/hostsidetests/aadb/src/com/android/cts/aadb/ |
D | TestDeviceFuncTest.java | 288 String testString = "blah"; in doTestSyncFiles() local 290 stream.write(testString.getBytes()); in doTestSyncFiles() 307 assertTrue(tmpFileContents.contains(testString)); in doTestSyncFiles()
|