Searched refs:ENCRYPTION_KEY_AUCTION (Results 1 – 6 of 6) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | EncryptionKeyDaoTest.java | 45 private static final DBEncryptionKey ENCRYPTION_KEY_AUCTION = field in EncryptionKeyDaoTest 119 ENCRYPTION_KEY_AUCTION, in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 130 .isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 171 ENCRYPTION_KEY_AUCTION, in test_getLatestExpiryNActiveKeyOfType_returnsNFreshestKey() 185 .isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestExpiryNActiveKeyOfType_returnsNFreshestKey() 220 ENCRYPTION_KEY_AUCTION, in test_getExpiredKeysForType_returnsExpiredKeys_success() 252 ENCRYPTION_KEY_AUCTION, ENCRYPTION_KEY_JOIN, ENCRYPTION_KEY_QUERY)); in test_getExpiredKeys_noExpiredKeys_returnsEmpty() 260 ENCRYPTION_KEY_AUCTION, in test_getExpiredKeys_returnsExpiredKeys() 280 mEncryptionKeyDao.insertAllKeys(ImmutableList.of(ENCRYPTION_KEY_AUCTION)); in test_deleteExpiredKeys_noExpiredKeys_returnsZero() 306 mEncryptionKeyDao.insertAllKeys(ImmutableList.of(ENCRYPTION_KEY_AUCTION)); in test_insertAllKeys_validKeys_success() [all …]
|
D | ProtectedServersEncryptionConfigDaoTest.java | 50 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_AUCTION = field in ProtectedServersEncryptionConfigDaoTest 146 ENCRYPTION_KEY_AUCTION, in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 158 .isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 185 ImmutableList.of(ENCRYPTION_KEY_AUCTION, ENCRYPTION_AUCTION_WITH_DIFF_COORDINATOR)); in test_getLatestExpiryNKeysOfType_diffCoordinators_returnsNFreshestKey() 192 .isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_diffCoordinators_returnsNFreshestKey() 224 ENCRYPTION_KEY_AUCTION, in test_getLatestExpiryNActiveKeyOfType_returnsNFreshestKey() 238 .isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestExpiryNActiveKeyOfType_returnsNFreshestKey() 275 ENCRYPTION_KEY_AUCTION, in test_getExpiredKeysForType_returnsExpiredKeys_success() 309 ENCRYPTION_KEY_AUCTION, ENCRYPTION_KEY_JOIN, ENCRYPTION_KEY_QUERY)); in test_getExpiredKeys_noExpiredKeys_returnsEmpty() 317 ENCRYPTION_KEY_AUCTION, in test_getExpiredKeys_returnsExpiredKeys() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | AdSelectionEncryptionKeyManagerTest.java | 20 import static android.adservices.adselection.AuctionEncryptionKeyFixture.ENCRYPTION_KEY_AUCTION; 214 ImmutableList.of(ENCRYPTION_KEY_AUCTION, ENCRYPTION_KEY_AUCTION_TTL_1SECS)); in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 222 assertThat(actualKey.keyIdentifier()).isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 227 ENCRYPTION_KEY_AUCTION in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 272 ImmutableList.of(ENCRYPTION_KEY_AUCTION, ENCRYPTION_KEY_AUCTION_TTL_1SECS)); in test_getLatestAuctionKey_returnsAuctionKey() 298 mEncryptionKeyDao.insertAllKeys(ImmutableList.of(ENCRYPTION_KEY_AUCTION)); in test_getAbsentAdSelectionEncryptionKeyTypes_onlyAuctionInDb_JoinKeyIsMissing() 307 ImmutableList.of(ENCRYPTION_KEY_AUCTION, ENCRYPTION_KEY_JOIN)); in test_getAbsentAdSelectionEncryptionKeyTypes_bothKeysInDB_nothingIsMissing() 458 mEncryptionKeyDao.insertAllKeys(ImmutableList.of(ENCRYPTION_KEY_AUCTION)); in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey() 472 ENCRYPTION_KEY_AUCTION in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey() 482 mEncryptionKeyDao.insertAllKeys(ImmutableList.of(ENCRYPTION_KEY_AUCTION)); in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging() [all …]
|
D | AuctionEncryptionKeyParserTest.java | 23 import static android.adservices.adselection.AuctionEncryptionKeyFixture.ENCRYPTION_KEY_AUCTION; 80 assertThat(mAuctionEncryptionKeyParser.parseDbEncryptionKey(ENCRYPTION_KEY_AUCTION)) in parseDbEncryptionKey_returnsSuccess() 86 .setKeyIdentifier(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()) in parseDbEncryptionKey_returnsSuccess() 90 ENCRYPTION_KEY_AUCTION in parseDbEncryptionKey_returnsSuccess()
|
D | JoinEncryptionKeyParserTest.java | 19 import static android.adservices.adselection.AuctionEncryptionKeyFixture.ENCRYPTION_KEY_AUCTION; 74 () -> mJoinEncryptionKeyParser.parseDbEncryptionKey(ENCRYPTION_KEY_AUCTION)); in parseDbEncryptionKey_wrongKeyType_throwsIAE()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | AuctionEncryptionKeyFixture.java | 46 public static final DBEncryptionKey ENCRYPTION_KEY_AUCTION = field in AuctionEncryptionKeyFixture
|