/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/hostsidetests/trustedvoice/src/android/trustedvoice/cts/ |
D | TrustedVoiceHostTest.java | 86 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/ |
D | CursorWindowTest.java | 48 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 …]
|
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 | 128 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/ |
D | SampleDeviceActivity.java | 35 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/ |
D | CppToolsDeviceActivity.java | 35 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/ |
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/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/hostsidetests/trustedvoice/app/src/android/trustedvoice/app/ |
D | TrustedVoiceActivity.java | 38 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/ |
D | BaseKeyListenerTest.java | 48 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/ |
D | SampleHostTest.java | 57 private static final String TEST_STRING = "SampleTestString"; field in SampleHostTest 85 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
|
D | SampleHostJUnit4Test.java | 68 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/ |
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/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()
|