Home
last modified time | relevance | path

Searched refs:TEST_STRING_1 (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DMacAuthenticatedInputStreamTest.java37 private static final byte[] TEST_STRING_1 = "Hello, World!".getBytes(); field in MacAuthenticatedInputStreamTest
69 mTestStream1 = new ByteArrayInputStream(TEST_STRING_1); in setUp()
78 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_Success()
89 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_WrongTag_Failure()
100 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_NullTag_Failure()
115 if (numRead > TEST_STRING_1.length) { in testString1Authenticate_ReadSingleByte_Success()
119 assertEquals(TEST_STRING_1.length, numRead); in testString1Authenticate_ReadSingleByte_Success()
/aosp12/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
H A DStagedRollbackTest.java78 private static final String TEST_STRING_1 = "hello this is a test"; field in StagedRollbackTest
340 pushString(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_DeSys()
365 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_DeSys()
394 pushString(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_DeUser()
420 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_DeUser()
448 pushString(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_Ce()
473 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_Ce()
500 pushString(TEST_STRING_1, oldFilePath1); in testRollbackApkDataDirectories_De()
524 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApkDataDirectories_De()
541 pushString(TEST_STRING_1, oldFilePath1); in testExpireApexRollback()