Home
last modified time | relevance | path

Searched refs:encryptionKeyList (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/encryptionkey/
DEncryptionKeyDaoTest.java221 List<EncryptionKey> encryptionKeyList = mEncryptionKeyDao.getAllEncryptionKeys(); in testInsertInvalidEncryptionKey() local
222 assertThat(encryptionKeyList).hasSize(0); in testInsertInvalidEncryptionKey()
235 List<EncryptionKey> encryptionKeyList = Arrays.asList(ENCRYPTION_KEY1, SIGNING_KEY1); in testInsertEncryptionKeyList() local
236 mEncryptionKeyDao.insert(encryptionKeyList); in testInsertEncryptionKeyList()
255 List<EncryptionKey> encryptionKeyList = mEncryptionKeyDao.getAllEncryptionKeys(); in testGetAllEncryptionKeys() local
256 assertThat(encryptionKeyList).hasSize(4); in testGetAllEncryptionKeys()
271 List<EncryptionKey> encryptionKeyList = mEncryptionKeyDao.getAllEncryptionKeys(); in testDelete() local
272 assertThat(encryptionKeyList).hasSize(1); in testDelete()
274 String id = encryptionKeyList.get(0).getId(); in testDelete()
295 List<EncryptionKey> encryptionKeyList = in testGetEncryptionKeyFromEnrollmentId() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/
DEncryptionKeyFetcherTest.java179 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysSucceed() local
182 assertTrue(encryptionKeyList.isPresent()); in testFirstTimeFetchEncryptionKeysSucceed()
183 assertEncryptionKeyListResult(encryptionKeyList.get()); in testFirstTimeFetchEncryptionKeysSucceed()
203 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysNullEncryptionKeyUrl() local
206 expect.that(encryptionKeyList.isPresent()).isFalse(); in testFirstTimeFetchEncryptionKeysNullEncryptionKeyUrl()
226 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysEmptyEncryptionKeyUrl() local
229 expect.that(encryptionKeyList.isPresent()).isFalse(); in testFirstTimeFetchEncryptionKeysEmptyEncryptionKeyUrl()
249 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysSingleWhiteSpaceEncryptionKeyUrl() local
252 expect.that(encryptionKeyList.isPresent()).isFalse(); in testFirstTimeFetchEncryptionKeysSingleWhiteSpaceEncryptionKeyUrl()
271 Optional<List<EncryptionKey>> encryptionKeyList = in testFirstTimeFetchEncryptionKeysBadConnection() local
[all …]
DEncryptionKeyJobHandlerTest.java149 List<EncryptionKey> encryptionKeyList = new ArrayList<>(); in testNoEncryptionKey_fetchEncryptionKeys() local
150 when(mEncryptionKeyDao.getAllEncryptionKeys()).thenReturn(encryptionKeyList); in testNoEncryptionKey_fetchEncryptionKeys()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/encryptionkey/
DEncryptionKeyDao.java78 List<EncryptionKey> encryptionKeyList = new ArrayList<>(); in getEncryptionKeyFromEnrollmentId() local
93 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() local
136 return encryptionKeyList; in getEncryptionKeyFromEnrollmentIdAndKeyType()
143 encryptionKeyList.add(SqliteObjectMapper.constructEncryptionKeyFromCursor(cursor)); in getEncryptionKeyFromEnrollmentIdAndKeyType()
149 return encryptionKeyList; in getEncryptionKeyFromEnrollmentIdAndKeyType()
157 return encryptionKeyList; in getEncryptionKeyFromEnrollmentIdAndKeyType()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DEnrollmentDataDownloadManagerTest.java154 List<EncryptionKey> encryptionKeyList = in testReadFileAndInsertIntoDatabaseSuccess() local
157 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testReadFileAndInsertIntoDatabaseSuccess()
322 List<EncryptionKey> encryptionKeyList = in testEnrollmentMddRecordDeletionCallsOverwrite() local
325 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testEnrollmentMddRecordDeletionCallsOverwrite()
396 List<EncryptionKey> encryptionKeyList = in testReadFileAndInsertIntoDatabaseSuccess_verifyFileGroupDataInSharedPreference() local
399 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testReadFileAndInsertIntoDatabaseSuccess_verifyFileGroupDataInSharedPreference()
495 List<EncryptionKey> encryptionKeyList = in testReadProtoFileAndInsertIntoDatabaseSuccess() local
498 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testReadProtoFileAndInsertIntoDatabaseSuccess()
603 List<EncryptionKey> encryptionKeyList = in testReadProtoFileAndInsertIntoDatabaseSuccess_noProtoFileFound() local
606 Optional<List<EncryptionKey>> fetchResult = Optional.of(encryptionKeyList); in testReadProtoFileAndInsertIntoDatabaseSuccess_noProtoFileFound()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/
DEncryptionKeyJobHandler.java80 List<EncryptionKey> encryptionKeyList = mEncryptionKeyDao.getAllEncryptionKeys(); in fetchAndUpdateEncryptionKeys() local
81 for (EncryptionKey encryptionKey : encryptionKeyList) { in fetchAndUpdateEncryptionKeys()
DEncryptionKeyFetcher.java270 List<EncryptionKey> encryptionKeyList = new ArrayList<>(); in buildEncryptionKeys() local
311 encryptionKeyList.add(builder.build()); in buildEncryptionKeys()
323 return encryptionKeyList; in buildEncryptionKeys()