Home
last modified time | relevance | path

Searched refs:TEST_VALUE_2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DKvBackupEncrypterTest.java71 private static final byte[] TEST_VALUE_2 = {13, 14, 15}; field in KvBackupEncrypterTest
95 ShadowBackupDataInput.addEntity(TEST_KEY_2, TEST_VALUE_2); in backup_noExistingBackup_encryptsAllPairs()
112 assertThat(chunk2.key()).isEqualTo(getChunkHash(TEST_KEY_2, TEST_VALUE_2)); in backup_noExistingBackup_encryptsAllPairs()
115 assertThat(pair2.value).isEqualTo(TEST_VALUE_2); in backup_noExistingBackup_encryptsAllPairs()
157 getChunkHash(TEST_KEY_2, TEST_VALUE_2), in backup_allChunksContainsHashesOfAllChunks()
197 getChunkHash(TEST_KEY_2, TEST_VALUE_2), in backup_returnsMessageDigestOverChunkHashes()
215 .isEqualTo(getChunkHash(TEST_KEY_2, TEST_VALUE_2).getHash()); in getNewKeyValueListing_noExistingBackup_returnsCorrectListing()
258 ShadowBackupDataInput.addEntity(TEST_KEY_2, TEST_VALUE_2); in runInitialBackupOfPairs1And2()
DEncryptedKvRestoreTaskTest.java66 private static final byte[] TEST_VALUE_2 = {4, 5, 6}; field in EncryptedKvRestoreTaskTest
112 new DataEntity(TEST_KEY_2, TEST_VALUE_2), in testGetRestoreData_writesPairsToOutputInOrder()
150 createPair(TEST_KEY_2, TEST_VALUE_2))); in writeTestPairsToFile()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/kv/
DDecryptedChunkKvOutputTest.java53 private static final byte[] TEST_VALUE_2 = {10, 11, 12, 13}; field in DecryptedChunkKvOutputTest
55 private static final byte[] TEST_PAIR_2 = toByteArray(createPair(TEST_KEY_2, TEST_VALUE_2));
135 assertThat(pairs.get(1).value).isEqualTo(TEST_VALUE_2); in getPairs_returnsPairsSortedByKey()