/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | LogHelper.java | 50 String testString = ""; in getLog() local 55 testString = line.split(":")[1].trim(); in getLog() 59 return testString; in getLog() 64 String testString = getLog(device, tag); in assertLog() local 66 assertThat(testString).isIn(expectedOutputs); in assertLog() 71 String testString = getLog(device, tag); in parseDutVolume() local 73 .that(testString) in parseDutVolume() 76 String volume = testString.split("at")[1].trim().replaceAll("%", ""); in parseDutVolume() 86 String testString = getLog(device, tag); in assertLogDoesNotContain() local 87 assertThat(testString).doesNotContain(expectedOutput); in assertLogDoesNotContain() [all …]
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostTest.java | 75 String testString = ""; in testLogcat() local 80 testString = line.split(":")[1].trim(); in testLogcat() 85 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
|
D | SampleHostJUnit4Test.java | 100 String testString = ""; in testLogcat() local 105 testString = line.split(":")[1].trim(); in testLogcat() 110 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
|
/cts/hostsidetests/abioverride/src/android/abioverride/cts/ |
D | AbiOverrideTest.java | 100 String testString = ""; in testAbiIs32bit() local 105 testString = line.split(":")[1].trim(); in testAbiIs32bit() 110 assertTrue("No result found in logs", testString.startsWith(TEST_STRING)); in testAbiIs32bit() 112 assertEquals("Incorrect abi", TEST_STRING + "false", testString); in testAbiIs32bit()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/ |
D | PassthroughTestHelper.java | 120 for (String testString : testStrings) { in passthrough() 121 print.println(testString); in passthrough() 124 if (!line.equals(testString)) { in passthrough() 125 throw new Exception("Unmatched line: " + line + "\nWith:" + testString); in passthrough()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 1880 String testString = "abccbadecdebz"; in testSplitPattern() local 1881 assertEquals(calculateCharsCount(testString, "c") + 1, in testSplitPattern() 1882 TextUtils.split(testString, Pattern.compile("c")).length); in testSplitPattern() 1883 assertEquals(calculateCharsCount(testString, "a") + 1, in testSplitPattern() 1884 TextUtils.split(testString, Pattern.compile("a")).length); in testSplitPattern() 1885 assertEquals(calculateCharsCount(testString, "z") + 1, in testSplitPattern() 1886 TextUtils.split(testString, Pattern.compile("z")).length); in testSplitPattern() 1887 assertEquals(calculateCharsCount(testString, "de") + 1, in testSplitPattern() 1888 TextUtils.split(testString, Pattern.compile("de")).length); in testSplitPattern() 1889 int totalCount = 1 + calculateCharsCount(testString, "a") in testSplitPattern() [all …]
|
D | StaticLayoutTest.java | 614 private List<CharSequence> buildTestCharSequences(String testString, Normalizer.Form[] forms) { in buildTestCharSequences() argument 619 normalizedStrings.add(Normalizer.normalize(testString, form)); in buildTestCharSequences() 660 for (String testString: testStrings) { in testGetOffset_ASCII() 661 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII() 683 String testString = "ab\r\nde"; in testGetOffset_ASCII() local 684 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII() 717 for (String testString: testStrings) { in testGetOffset_UNICODE() 718 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_UNICODE() 744 String testString = "\u00C1\u00C2\u00C3\u00C4\u00C5"; in testGetOffset_UNICODE_Normalization() local 746 for (CharSequence seq: buildTestCharSequences(testString, oneUnicodeForms)) { in testGetOffset_UNICODE_Normalization() [all …]
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerHostTest.java | 108 String testString = ""; in testInputUpdated() local 117 testString = line.split(":")[1].trim(); in testInputUpdated() 121 if (!testString.isEmpty()) { in testInputUpdated() 127 assertEquals("Incorrect test string", INPUT_UPDATED_STRING, testString); in testInputUpdated()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 263 final String testString = "abcde"; in testInvalidCmapFont() local 264 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont() 265 float widthCustomTypeface = measureText(testString, typeface); in testInvalidCmapFont() 274 final String testString = "abcde"; in testInvalidCmapFont2() local 275 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont2() 276 float widthCustomTypeface = measureText(testString, typeface); in testInvalidCmapFont2() 307 final String testString = "\u0100\u0400"; in testInvalidCmapFont_unsortedEntries() local 308 final float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont_unsortedEntries() 309 final float widthCustomTypeface = measureText(testString, typeface); in testInvalidCmapFont_unsortedEntries() 322 final String testString = "\u0100\uFE00\u0400\uFE00"; in testInvalidCmapFont_unsortedEntries() local [all …]
|
/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.smali | 31 …invoke-super {v5, v5}, Ldot/junit/opcodes/invoke_super/d/T_invoke_super_12;->testString(Ljava/lang…
|
D | TSuper.smali | 59 .method public testString(Ljava/lang/String;)V
|
/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.smali | 31 …v5}, Ldot/junit/opcodes/invoke_super_range/d/T_invoke_super_range_12;->testString(Ljava/lang/Strin…
|
D | TSuper.smali | 59 .method public testString(Ljava/lang/String;)V
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseMovementMethodTest.java | 76 final String testString = testLine + "\n" + testLine; in testOnGenericMotionEvent_horizontalScroll() local 81 mTextView.setText(testString, EDITABLE); in testOnGenericMotionEvent_horizontalScroll() 141 final String testString = testLine + "\n" + testLine; in testOnGenericMotionEvent_verticalScroll() local 146 mTextView.setText(testString, EDITABLE); in testOnGenericMotionEvent_verticalScroll()
|
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
D | SustainedPerformanceHostTest.java | 180 String testString = ""; in testShader() local 185 testString = line.split(":")[1].trim(); in testShader() 189 if (testString.isEmpty()) { in testShader()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamSwitchedWriteTest.java | 252 testString(1, "", typedPo, switchedPo); in testWriteString() 253 testString(2, null, typedPo, switchedPo); in testWriteString() 254 testString(3, "ABCD", typedPo, switchedPo); in testWriteString() 262 private void testString(int id, String val, in testString() method in ProtoOutputStreamSwitchedWriteTest
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ExactCanvasTests.java | 144 final String testString = "THIS IS A TEST"; in testBasicText() local 151 canvas.drawText(testString, 30, 50, p); in testBasicText() 157 final String testString = "THIS IS A TEST ON A CIRCLE PATH"; in drawTestTextOnPath() local 163 canvas.drawTextOnPath(testString, path, 0f, 0f, p); in drawTestTextOnPath()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AutoCompleteTextViewTest.java | 760 String testString = ""; in testOnFilterComplete() local 763 testString = "8337777"; in testOnFilterComplete() 765 testString = "tes"; in testOnFilterComplete() 774 mInstrumentation.sendStringSync(testString); in testOnFilterComplete() 781 testString = "84428"; in testOnFilterComplete() 783 testString = "that"; in testOnFilterComplete() 785 mInstrumentation.sendStringSync(testString); in testOnFilterComplete()
|
D | TextViewTest.java | 6364 final String testString = "abcdefghijklmnopqrstuvwxyz i\u0307\u0301 άέήίΐόύΰώάυ ή"; in testAllCaps_Localization() local 6381 UCharacter.toUpperCase(locale, testString), in testAllCaps_Localization() 6382 tv.getTransformationMethod().getTransformation(testString, tv).toString()); in testAllCaps_Localization()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 337 String testString = "Mode: " + mModeNames.get(mNextCombination.mMode); in setUntestedCombination() local 339 testString += "\nIntent: Capture"; in setUntestedCombination() 341 testString += "\nIntent: Preview"; in setUntestedCombination() 343 testString += "\n\nPress Next if the bokeh effect works as intended"; in setUntestedCombination() 344 mTestLabel.setText(testString); in setUntestedCombination()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 260 final String testString = "test string%s"; in testParcelTextImageSpans_haveSameContentDescriptions() local 263 final Spannable stringWithSpans = new SpannableString(testString); in testParcelTextImageSpans_haveSameContentDescriptions() 264 final int span1Start = testString.indexOf(replaceSpan1); in testParcelTextImageSpans_haveSameContentDescriptions() 266 final int span2Start = testString.indexOf(replaceSpan2); in testParcelTextImageSpans_haveSameContentDescriptions()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 163 String testString = mContext.getString(R.string.context_test_string1); in testGetString() local 164 assertEquals("This is %s string.", testString); in testGetString() 166 testString = mContext.getString(R.string.context_test_string1, "expected"); in testGetString() 167 assertEquals("This is expected string.", testString); in testGetString() 169 testString = mContext.getString(R.string.context_test_string2); in testGetString() 170 assertEquals("This is test string.", testString); in testGetString() 174 testString = mContext.getString(0, "expected"); in testGetString() 181 testString = mContext.getString(0); in testGetString()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | Resources_ThemeTest.java | 88 final TypedArray ta = mResTheme.obtainStyledAttributes(new int[] { R.attr.testString }); in testObtainStyledAttributesWithInlineStringInTheme()
|