/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | LogHelper.java | 50 StringBuilder testString = new StringBuilder(); in getLog() local 55 testString.append(line.split(":")[1].trim()); in getLog() 59 return testString.toString(); in getLog() 70 String testString = getLog(device, tag); in waitForLog() local 71 if (testString.contains(expectedOutput)) { in waitForLog() 82 String testString = getLog(device, tag); in assertLog() local 84 assertThat(testString).isIn(expectedOutputs); in assertLog() 90 String testString = getLog(device, tag); in assumeLog() local 95 testString.contains(expectedOutput)); in assumeLog() 100 String testString = getLog(device, tag); in parseDutVolume() local [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SerifFallbackTest.java | 84 final String testString = "\u9AA8"; // Han character used in Japanese, Chinese, Korean in testSerifFallback() local 94 testString, 0, testString.length(), 0, testString.length(), 0, 0, false, paint); in testSerifFallback() 100 testString, 0, testString.length(), 0, testString.length(), 0, 0, false, paint); in testSerifFallback()
|
D | TextUtilsTest.java | 1923 String testString = "abccbadecdebz"; in testSplitPattern() local 1924 assertEquals(calculateCharsCount(testString, "c") + 1, in testSplitPattern() 1925 TextUtils.split(testString, Pattern.compile("c")).length); in testSplitPattern() 1926 assertEquals(calculateCharsCount(testString, "a") + 1, in testSplitPattern() 1927 TextUtils.split(testString, Pattern.compile("a")).length); in testSplitPattern() 1928 assertEquals(calculateCharsCount(testString, "z") + 1, in testSplitPattern() 1929 TextUtils.split(testString, Pattern.compile("z")).length); in testSplitPattern() 1930 assertEquals(calculateCharsCount(testString, "de") + 1, in testSplitPattern() 1931 TextUtils.split(testString, Pattern.compile("de")).length); in testSplitPattern() 1932 int totalCount = 1 + calculateCharsCount(testString, "a") in testSplitPattern() [all …]
|
D | StaticLayoutTest.java | 653 private List<CharSequence> buildTestCharSequences(String testString, Normalizer.Form[] forms) { in buildTestCharSequences() argument 658 normalizedStrings.add(Normalizer.normalize(testString, form)); in buildTestCharSequences() 699 for (String testString: testStrings) { in testGetOffset_ASCII() 700 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII() 722 String testString = "ab\r\nde"; in testGetOffset_ASCII() local 723 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII() 756 for (String testString: testStrings) { in testGetOffset_UNICODE() 757 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_UNICODE() 783 String testString = "\u00C1\u00C2\u00C3\u00C4\u00C5"; in testGetOffset_UNICODE_Normalization() local 785 for (CharSequence seq: buildTestCharSequences(testString, oneUnicodeForms)) { in testGetOffset_UNICODE_Normalization() [all …]
|
/cts/hostsidetests/packagemanager/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/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostJUnit4Test.java | 105 String testString = ""; in testLogcat() local 110 testString = line.split(":")[1].trim(); in testLogcat() 115 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
|
/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 | 302 final String testString = "abcde"; in testInvalidCmapFont() local 303 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont() 304 float widthCustomTypeface = measureText(testString, typeface); in testInvalidCmapFont() 313 final String testString = "abcde"; in testInvalidCmapFont2() local 314 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont2() 315 float widthCustomTypeface = measureText(testString, typeface); in testInvalidCmapFont2() 346 final String testString = "\u0100\u0400"; in testInvalidCmapFont_unsortedEntries() local 347 final float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont_unsortedEntries() 348 final float widthCustomTypeface = measureText(testString, typeface); in testInvalidCmapFont_unsortedEntries() 361 final String testString = "\u0100\uFE00\u0400\uFE00"; in testInvalidCmapFont_unsortedEntries() local [all …]
|
/cts/tests/tests/telecom/aidl/android/telecom/cts/ |
D | ITestInterface.aidl | 24 String testLoopback(String testString); in testLoopback() argument
|
/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/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/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
D | SustainedPerformanceHostTest.java | 181 String testString = ""; in testShader() local 186 testString = line.split(":")[1].trim(); in testShader() 190 if (testString.isEmpty()) { in testShader()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseMovementMethodTest.java | 86 final String testString = testLine + "\n" + testLine; in testOnGenericMotionEvent_horizontalScroll() local 91 mTextView.setText(testString, EDITABLE); in testOnGenericMotionEvent_horizontalScroll() 151 final String testString = testLine + "\n" + testLine; in testOnGenericMotionEvent_verticalScroll() local 156 mTextView.setText(testString, EDITABLE); in testOnGenericMotionEvent_verticalScroll()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 244 final String testString = "test string%s"; in testParcelTextImageSpans_haveSameContentDescriptions() local 247 final Spannable stringWithSpans = new SpannableString(testString); in testParcelTextImageSpans_haveSameContentDescriptions() 251 replaceSpan(stringWithSpans, replaceSpan1, testString.indexOf(replaceSpan1), span1); in testParcelTextImageSpans_haveSameContentDescriptions() 252 replaceSpan(stringWithSpans, replaceSpan2, testString.indexOf(replaceSpan2), span2); in testParcelTextImageSpans_haveSameContentDescriptions() 272 final String testString = "test string%s"; in testNoCopySpan_avoidsOutOfBounds() local 275 final Spannable stringWithSpans = new SpannableString(testString); in testNoCopySpan_avoidsOutOfBounds() 278 replaceSpan(stringWithSpans, replaceSpan1, testString.indexOf(replaceSpan1), span1); in testNoCopySpan_avoidsOutOfBounds() 279 replaceSpan(stringWithSpans, replaceSpan2, testString.indexOf(replaceSpan2), span2); in testNoCopySpan_avoidsOutOfBounds()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ExactCanvasTests.java | 159 final String testString = "THIS IS A TEST"; in testBasicText() local 166 canvas.drawText(testString, 30, 50, p); in testBasicText() 172 final String testString = "THIS IS A TEST ON A CIRCLE PATH"; in drawTestTextOnPath() local 179 File file = TypefaceTestUtil.getFirstFont(testString, p); in drawTestTextOnPath() 184 canvas.drawTextOnPath(testString, path, 0f, 0f, p); in drawTestTextOnPath()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AutoCompleteTextViewTest.java | 767 String testString = ""; in testOnFilterComplete() local 770 testString = "8337777"; in testOnFilterComplete() 772 testString = "tes"; in testOnFilterComplete() 781 mInstrumentation.sendStringSync(testString); in testOnFilterComplete() 788 testString = "84428"; in testOnFilterComplete() 790 testString = "that"; in testOnFilterComplete() 792 mInstrumentation.sendStringSync(testString); in testOnFilterComplete()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 349 String testString = "Mode: " + mModeNames.get(mNextCombination.mMode); in setUntestedCombination() local 351 testString += "\nIntent: Capture"; in setUntestedCombination() 353 testString += "\nIntent: Preview"; in setUntestedCombination() 355 testString += "\n\nPress Next if the bokeh effect works as intended"; in setUntestedCombination() 356 mTestLabel.setText(testString); in setUntestedCombination()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 216 String testString = mContext.getString(R.string.context_test_string1); in testGetString() local 217 assertEquals("This is %s string.", testString); in testGetString() 219 testString = mContext.getString(R.string.context_test_string1, "expected"); in testGetString() 220 assertEquals("This is expected string.", testString); in testGetString() 222 testString = mContext.getString(R.string.context_test_string2); in testGetString() 223 assertEquals("This is test string.", testString); in testGetString() 227 testString = mContext.getString(0, "expected"); in testGetString() 234 testString = mContext.getString(0); in testGetString()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | AdbUtils.java | 749 public static String escapeRegexSpecialChars(String testString) { in escapeRegexSpecialChars() argument 750 Matcher m = regexSpecialCharsEscapedPattern.matcher(testString); in escapeRegexSpecialChars()
|