Searched refs:longString (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/util/src/android/util/cts/ |
D | EventLogTest.java | 81 StringBuilder longString = new StringBuilder(); in testWriteEventWithOversizeValueLimitElision() local 82 for (int i = 0; i < 1000; i++) longString.append("xyzzy"); in testWriteEventWithOversizeValueLimitElision() 89 EventLog.writeEvent(ANSWER_TAG, longString.toString()); in testWriteEventWithOversizeValueLimitElision() 90 EventLog.writeEvent(ANSWER_TAG, "hi", longString.toString()); in testWriteEventWithOversizeValueLimitElision() 91 EventLog.writeEvent(ANSWER_TAG, 12345, longString.toString()); in testWriteEventWithOversizeValueLimitElision() 92 EventLog.writeEvent(ANSWER_TAG, 12345L, longString.toString()); in testWriteEventWithOversizeValueLimitElision() 93 EventLog.writeEvent(ANSWER_TAG, 42.4242f, longString.toString()); in testWriteEventWithOversizeValueLimitElision() 94 EventLog.writeEvent(ANSWER_TAG, longString.toString(), longString.toString()); in testWriteEventWithOversizeValueLimitElision() 157 String longString = longBuilder.toString(); // 32K in testOversizeStringMayBeTruncated() local 161 EventLog.writeEvent(ANSWER_TAG, longString); in testOversizeStringMayBeTruncated() [all …]
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricPromptContentViewTest.java | 511 final StringBuilder longString = new StringBuilder(charNum); in addVerticalListItems() local 513 longString.append(random.nextInt(10)); in addVerticalListItems() 515 itemList.add(longString.toString()); in addVerticalListItems()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipDescriptionTest.java | 184 String longString = builder.toString(); in testClassificationNotPerformedForVeryLongText() local 185 ClipData clipData = ClipData.newPlainText("label", longString); in testClassificationNotPerformedForVeryLongText()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 1283 String longString = "\u0644\u0644\u0644"; in testMeasureTextContext() local 1284 char[] longChars = longString.toCharArray(); in testMeasureTextContext() 1285 SpannedString longSpanned = new SpannedString(longString); in testMeasureTextContext() 1288 verifyMeasureText(longString, longChars, longSpanned, 0, 1, width); in testMeasureTextContext() 1289 verifyMeasureText(longString, longChars, longSpanned, 1, 2, width); in testMeasureTextContext() 1290 verifyMeasureText(longString, longChars, longSpanned, 2, 3, width); in testMeasureTextContext()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 1596 String longString = "very long content"; in testSetTextKeepState1() local 1600 mTextView.setText(longString, BufferType.SPANNABLE); in testSetTextKeepState1() 1608 mTextView.setText(longString); in testSetTextKeepState1() 1616 mTextView.setText(longString); in testSetTextKeepState1() 1624 mTextView.setText(longString); in testSetTextKeepState1() 1632 mTextView.setText(longString); in testSetTextKeepState1() 1708 String longString = "very long content"; in testSetText1() local 1712 mTextView.setText(longString, BufferType.SPANNABLE); in testSetText1() 1730 mTextView.setText(longString); in testSetText1() 1731 Selection.setSelection((Spannable) mTextView.getText(), longString.length()); in testSetText1() [all …]
|