Searched refs:encryptionKeyList (Results 1 – 7 of 7) sorted by relevance
221 List<EncryptionKey> encryptionKeyList = mEncryptionKeyDao.getAllEncryptionKeys(); in testInsertInvalidEncryptionKey() local222 assertThat(encryptionKeyList).hasSize(0); in testInsertInvalidEncryptionKey()235 List<EncryptionKey> encryptionKeyList = Arrays.asList(ENCRYPTION_KEY1, SIGNING_KEY1); in testInsertEncryptionKeyList() local236 mEncryptionKeyDao.insert(encryptionKeyList); in testInsertEncryptionKeyList()255 List<EncryptionKey> encryptionKeyList = mEncryptionKeyDao.getAllEncryptionKeys(); in testGetAllEncryptionKeys() local256 assertThat(encryptionKeyList).hasSize(4); in testGetAllEncryptionKeys()271 List<EncryptionKey> encryptionKeyList = mEncryptionKeyDao.getAllEncryptionKeys(); in testDelete() local272 assertThat(encryptionKeyList).hasSize(1); in testDelete()274 String id = encryptionKeyList.get(0).getId(); in testDelete()295 List<EncryptionKey> encryptionKeyList = in testGetEncryptionKeyFromEnrollmentId() local[all …]
179 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysSucceed() local182 assertTrue(encryptionKeyList.isPresent()); in testFirstTimeFetchEncryptionKeysSucceed()183 assertEncryptionKeyListResult(encryptionKeyList.get()); in testFirstTimeFetchEncryptionKeysSucceed()203 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysNullEncryptionKeyUrl() local206 expect.that(encryptionKeyList.isPresent()).isFalse(); in testFirstTimeFetchEncryptionKeysNullEncryptionKeyUrl()226 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysEmptyEncryptionKeyUrl() local229 expect.that(encryptionKeyList.isPresent()).isFalse(); in testFirstTimeFetchEncryptionKeysEmptyEncryptionKeyUrl()249 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysSingleWhiteSpaceEncryptionKeyUrl() local252 expect.that(encryptionKeyList.isPresent()).isFalse(); in testFirstTimeFetchEncryptionKeysSingleWhiteSpaceEncryptionKeyUrl()271 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysBadConnection() local[all …]
149 List<EncryptionKey> encryptionKeyList = new ArrayList<>(); in testNoEncryptionKey_fetchEncryptionKeys() local150 when(mEncryptionKeyDao.getAllEncryptionKeys()).thenReturn(encryptionKeyList); in testNoEncryptionKey_fetchEncryptionKeys()
78 List<EncryptionKey> encryptionKeyList = new ArrayList<>(); in getEncryptionKeyFromEnrollmentId() local93 return encryptionKeyList; in getEncryptionKeyFromEnrollmentId()98 encryptionKeyList.add(SqliteObjectMapper.constructEncryptionKeyFromCursor(cursor)); in getEncryptionKeyFromEnrollmentId()104 return encryptionKeyList; in getEncryptionKeyFromEnrollmentId()112 return encryptionKeyList; in getEncryptionKeyFromEnrollmentId()118 List<EncryptionKey> encryptionKeyList = new ArrayList<>(); in getEncryptionKeyFromEnrollmentIdAndKeyType() local136 return encryptionKeyList; in getEncryptionKeyFromEnrollmentIdAndKeyType()143 encryptionKeyList.add(SqliteObjectMapper.constructEncryptionKeyFromCursor(cursor)); in getEncryptionKeyFromEnrollmentIdAndKeyType()149 return encryptionKeyList; in getEncryptionKeyFromEnrollmentIdAndKeyType()157 return encryptionKeyList; in getEncryptionKeyFromEnrollmentIdAndKeyType()[all …]
154 List<EncryptionKey> encryptionKeyList = in testReadFileAndInsertIntoDatabaseSuccess() local157 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testReadFileAndInsertIntoDatabaseSuccess()322 List<EncryptionKey> encryptionKeyList = in testEnrollmentMddRecordDeletionCallsOverwrite() local325 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testEnrollmentMddRecordDeletionCallsOverwrite()396 List<EncryptionKey> encryptionKeyList = in testReadFileAndInsertIntoDatabaseSuccess_verifyFileGroupDataInSharedPreference() local399 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testReadFileAndInsertIntoDatabaseSuccess_verifyFileGroupDataInSharedPreference()495 List<EncryptionKey> encryptionKeyList = in testReadProtoFileAndInsertIntoDatabaseSuccess() local498 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testReadProtoFileAndInsertIntoDatabaseSuccess()603 List<EncryptionKey> encryptionKeyList = in testReadProtoFileAndInsertIntoDatabaseSuccess_noProtoFileFound() local606 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testReadProtoFileAndInsertIntoDatabaseSuccess_noProtoFileFound()
80 List<EncryptionKey> encryptionKeyList = mEncryptionKeyDao.getAllEncryptionKeys(); in fetchAndUpdateEncryptionKeys() local81 for (EncryptionKey encryptionKey : encryptionKeyList) { in fetchAndUpdateEncryptionKeys()
270 List<EncryptionKey> encryptionKeyList = new ArrayList<>(); in buildEncryptionKeys() local311 encryptionKeyList.add(builder.build()); in buildEncryptionKeys()323 return encryptionKeyList; in buildEncryptionKeys()