/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9472/ |
D | poc.cpp | 25 #define TEST_STRING "CVE-2018_9472_Simulate_OverFlow_By_Large_String_Length" macro 39 if (!strncmp(str, TEST_STRING, sizeof(TEST_STRING))) { in strlen() 46 if (xmlMemStrdupLoc(TEST_STRING, "none", 0)) { in main()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SelectionParagraphTest.java | 43 private static final String TEST_STRING = LOREM_IPSUM + "\n" + LOREM_IPSUM + "\n" + LOREM_IPSUM; field in SelectionParagraphTest 64 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_beginning_cursor() 80 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_middle_cursor() 97 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_paragraph_bounds_cursor() 119 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_end_cursor() 133 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_beginning_middle_selection() 150 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_beginning_paragraph_bounds_selection() 167 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_beginning_end_selection() 181 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_middle_middle_selection() 195 final SpannableString spannable = new SpannableString(TEST_STRING); in testMoveParagraphNext_from_middle_paragraph_bounds_selection() [all …]
|
D | LayoutDrawOrderTest.java | 54 private static final String TEST_STRING = "Hello, World"; field in LayoutDrawOrderTest 110 Layout layout = getBoringLayout(TEST_STRING); in testBoringLayout_testDrawOrder_Selection_on_top_of_Highlight() 130 Layout layout = getStaticLayout(TEST_STRING); in testStaticLayout_testDrawOrder_Selection_on_top_of_Highlight() 150 Layout layout = getDynamicLayout(TEST_STRING); in testDynamicLayout_testDrawOrder_Selection_on_top_of_Highlight() 170 SpannableString ss = new SpannableString(TEST_STRING); in testStaticLayout_testDrawOrder_Highlight_on_top_of_Background() 200 SpannableString ss = new SpannableString(TEST_STRING); in testDynamicLayout_testDrawOrder_Highlight_on_top_of_Background()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | LineBreakConfigSpanTest.kt | 52 private const val TEST_STRING = "hello, world." constant 102 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan() 106 TEST_STRING.length, in testLineBreakConfigSpan() 113 assertEquals(TEST_STRING.length, runs[0].length) in testLineBreakConfigSpan() 149 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan_override() 153 TEST_STRING.length, in testLineBreakConfigSpan_override() 159 TEST_STRING.length, in testLineBreakConfigSpan_override() 171 assertEquals(TEST_STRING.length, runs[0].length) in testLineBreakConfigSpan_override() 195 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan_partialOverride() 199 TEST_STRING.length, in testLineBreakConfigSpan_partialOverride() [all …]
|
/cts/hostsidetests/cpptools/test-apps/BasicApp/src/android/cpptools/app/ |
D | CppToolsDeviceActivity.java | 35 private static final String TEST_STRING = "SampleTestString"; field in CppToolsDeviceActivity 41 Log.i(TAG, TEST_STRING); in onCreate()
|
/cts/hostsidetests/sample/app/src/android/sample/app/ |
D | SampleDeviceActivity.java | 35 private static final String TEST_STRING = "SampleTestString"; field in SampleDeviceActivity 41 Log.i(TAG, TEST_STRING); in onCreate()
|
/cts/hostsidetests/packagemanager/abioverride/app/src/android/abioverride/app/ |
D | AbiOverrideActivity.java | 29 public static final String TEST_STRING = "Is64bit "; field in AbiOverrideActivity 36 Log.i(TAG, TEST_STRING + Process.is64Bit()); in onCreate()
|
/cts/hostsidetests/packagemanager/abioverride/src/android/abioverride/cts/ |
D | AbiOverrideTest.java | 60 private static final String TEST_STRING = "Is64bit "; field in AbiOverrideTest 110 assertTrue("No result found in logs", testString.startsWith(TEST_STRING)); in testAbiIs32bit() 112 assertEquals("Incorrect abi", TEST_STRING + "false", testString); in testAbiIs32bit()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorWindowTest.java | 49 private static final String TEST_STRING = "Test String"; field in CursorWindowTest 138 cursorWindow.putString(TEST_STRING, TEST_NUMBER, 0); in testConstructors() 144 assertEquals(TEST_STRING, cursorWindow.getString(TEST_NUMBER, 0)); in testConstructors() 156 assertFalse(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations() 164 assertFalse(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations() 176 assertTrue(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations() 177 assertEquals(TEST_STRING, cursorWindow.getString(0, 0)); in testDataStructureOperations() 354 assertEquals(TEST_STRING + "3", cursorWindow.getString(3, 1)); in testAccessStartPosition() 356 assertEquals(TEST_STRING + "4", cursorWindow.getString(4, 1)); in testAccessStartPosition() 362 assertEquals(TEST_STRING + "0", cursorWindow.getString(3, 1)); in testAccessStartPosition() [all …]
|
D | AbstractWindowedCursorTest.java | 29 private static final String TEST_STRING = "TESTSTRING"; field in AbstractWindowedCursorTest 185 assertTrue(mWindow.putString(TEST_STRING, ROW_INDEX0, COLUMN_INDEX0)); in testCopyStringToBuffer() 191 CharArrayBuffer charArrayBuffer = new CharArrayBuffer(TEST_STRING.length()); in testCopyStringToBuffer() 194 assertEquals(TEST_STRING.length(), charArrayBuffer.sizeCopied); in testCopyStringToBuffer() 195 assertTrue(Arrays.equals(TEST_STRING.toCharArray(), charArrayBuffer.data)); in testCopyStringToBuffer()
|
D | MergeCursorTest.java | 160 String[] TEST_STRING = new String[] {"Test String1", "Test String2"}; in testGetValues() local 175 buildDatabaseWithTestValues(TEST_STRING[i], NUMBER_DOUBLE - i, NUMBER_LONG_INTEGER - i, in testGetValues() 202 assertEquals(TEST_STRING[i], mergeCursor.getString(columnString)); in testGetValues()
|
/cts/hostsidetests/tv/app2/src/com/android/cts/tv/hostside/app2/ |
D | TvViewMonitorActivity.java | 29 private static final String TEST_STRING = "HOST_SIDE_TEST_TV_INTPUT_IS_UPDATED"; field in TvViewMonitorActivity 58 Log.i(TAG, TEST_STRING); in onInputUpdated()
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostJUnit4Test.java | 71 private static final String TEST_STRING = "SampleTestString"; field in SampleHostJUnit4Test 115 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
D | SampleTestActivity.java | 51 private static final String TEST_STRING = "Sample Test String"; field in SampleTestActivity 107 outputStream.write(TEST_STRING.getBytes()); in createFileAndShare()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseKeyListenerTest.java | 49 private static final CharSequence TEST_STRING = "123456"; field in BaseKeyListenerTest 59 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in verifyBackspace() 172 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 1, 1); in testBackspace_withSendKeys() 177 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 1, 3); in testBackspace_withSendKeys() 182 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 3, 3); in testBackspace_withSendKeys() 187 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 2, 4); in testBackspace_withSendKeys() 192 prepTextViewSync(TEST_STRING, null, true, 1, 1); in testBackspace_withSendKeys() 194 assertEquals(TEST_STRING, mTextView.getText().toString()); in testBackspace_withSendKeys() 545 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 0, 0); in testPressKey()
|