Home
last modified time | relevance | path

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

/cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/
DTrustedVoiceHostTest.java86 private static final String TEST_STRING = "TrustedVoiceTestString"; field in TrustedVoiceHostTest
111 if(line.contains(TEST_STRING)) { in testUnlock()
119 assertEquals("Test string does not match", TEST_STRING, testString); in testUnlock()
/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java32 private static final String TEST_STRING = "Test String"; field in CursorWindowTest
117 cursorWindow.putString(TEST_STRING, TEST_NUMBER, 0); in testConstructors()
123 assertEquals(TEST_STRING, cursorWindow.getString(TEST_NUMBER, 0)); in testConstructors()
132 assertFalse(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations()
140 assertFalse(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations()
152 assertTrue(cursorWindow.putString(TEST_STRING, 0, 0)); in testDataStructureOperations()
153 assertEquals(TEST_STRING, cursorWindow.getString(0, 0)); in testDataStructureOperations()
327 assertEquals(TEST_STRING + "3", cursorWindow.getString(3, 1)); in testAccessStartPosition()
329 assertEquals(TEST_STRING + "4", cursorWindow.getString(4, 1)); in testAccessStartPosition()
335 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/cpptools/app/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/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/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
104 assertTrue("No result found in logs", testString.startsWith(TEST_STRING)); in testAbiIs32bit()
106 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
58 Log.i(TAG, TEST_STRING); in onWindowFocusChanged()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostTest.java52 private static final String TEST_STRING = "SampleTestString"; field in SampleHostTest
78 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java34 private static final CharSequence TEST_STRING = "123456"; field in BaseKeyListenerTest
51 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace()
112 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
120 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
121 final int end = TEST_STRING.length(); in testBackspace_withAlt()
127 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt()
138 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 1, 1); in testBackspace_withSendKeys()
143 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 1, 3); in testBackspace_withSendKeys()
148 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 0, 0); in testBackspace_withSendKeys()
153 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 2, 4); in testBackspace_withSendKeys()
[all …]
/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()