Home
last modified time | relevance | path

Searched refs:TEST_STRING (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9472/
Dpoc.cpp25 #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/hostsidetests/trustedvoice/src/android/trustedvoice/cts/
DTrustedVoiceHostTest.java86 private static final String TEST_STRING = "TrustedVoiceTestString"; field in TrustedVoiceHostTest
116 if(line.contains(TEST_STRING)) { in testUnlock()
124 assertEquals("Test string does not match", TEST_STRING, testString); in testUnlock()
/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java48 private static final String TEST_STRING = "Test String"; field in CursorWindowTest
137 cursorWindow.putString(TEST_STRING, TEST_NUMBER, 0); in testConstructors()
143 assertEquals(TEST_STRING, cursorWindow.getString(TEST_NUMBER, 0)); in testConstructors()
155 assertFalse(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations()
163 assertFalse(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations()
175 assertTrue(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations()
176 assertEquals(TEST_STRING, cursorWindow.getString(0, 0)); in testDataStructureOperations()
353 assertEquals(TEST_STRING + "3", cursorWindow.getString(3, 1)); in testAccessStartPosition()
355 assertEquals(TEST_STRING + "4", cursorWindow.getString(4, 1)); in testAccessStartPosition()
361 assertEquals(TEST_STRING + "0", cursorWindow.getString(3, 1)); in testAccessStartPosition()
[all …]
DAbstractWindowedCursorTest.java29 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()
DMergeCursorTest.java128 String[] TEST_STRING = new String[] {"Test String1", "Test String2"}; in testGetValues() local
143 buildDatabaseWithTestValues(TEST_STRING[i], NUMBER_DOUBLE - i, NUMBER_LONG_INTEGER - i, in testGetValues()
170 assertEquals(TEST_STRING[i], mergeCursor.getString(columnString)); in testGetValues()
/cts/hostsidetests/sample/app/src/android/sample/app/
DSampleDeviceActivity.java35 private static final String TEST_STRING = "SampleTestString"; field in SampleDeviceActivity
41 Log.i(TAG, TEST_STRING); in onCreate()
/cts/hostsidetests/cpptools/test-apps/BasicApp/src/android/cpptools/app/
DCppToolsDeviceActivity.java35 private static final String TEST_STRING = "SampleTestString"; field in CppToolsDeviceActivity
41 Log.i(TAG, TEST_STRING); in onCreate()
/cts/hostsidetests/abioverride/app/src/android/abioverride/app/
DAbiOverrideActivity.java29 public static final String TEST_STRING = "Is64bit "; field in AbiOverrideActivity
36 Log.i(TAG, TEST_STRING + Process.is64Bit()); in onCreate()
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java60 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/hostsidetests/trustedvoice/app/src/android/trustedvoice/app/
DTrustedVoiceActivity.java38 private static final String TEST_STRING = "TrustedVoiceTestString"; field in TrustedVoiceActivity
61 Log.i(TAG, TEST_STRING); in onWindowFocusChanged()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java48 private static final CharSequence TEST_STRING = "123456"; field in BaseKeyListenerTest
58 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in verifyBackspace()
121 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
129 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
130 final int end = TEST_STRING.length(); in testBackspace_withAlt()
136 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
148 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 1, 1); in testBackspace_withSendKeys()
153 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 1, 3); in testBackspace_withSendKeys()
158 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 0, 0); in testBackspace_withSendKeys()
164 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 2, 4); in testBackspace_withSendKeys()
[all …]
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostTest.java57 private static final String TEST_STRING = "SampleTestString"; field in SampleHostTest
85 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
DSampleHostJUnit4Test.java68 private static final String TEST_STRING = "SampleTestString"; field in SampleHostJUnit4Test
110 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
/cts/hostsidetests/tv/app2/src/com/android/cts/tv/hostside/app2/
DTvViewMonitorActivity.java29 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/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java51 private static final String TEST_STRING = "Sample Test String"; field in SampleTestActivity
107 outputStream.write(TEST_STRING.getBytes()); in createFileAndShare()