Home
last modified time | relevance | path

Searched refs:mAuctionEncryptionKeyParser (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DAuctionEncryptionKeyParserTest.java54 private AuctionEncryptionKeyParser mAuctionEncryptionKeyParser; field in AuctionEncryptionKeyParserTest
61 mAuctionEncryptionKeyParser = new AuctionEncryptionKeyParser(mFlags); in setUp()
68 () -> mAuctionEncryptionKeyParser.parseDbEncryptionKey(null)); in parseDbEncryptionKey_nullDbEncryptionKey_throwsNPE()
75 () -> mAuctionEncryptionKeyParser.parseDbEncryptionKey(ENCRYPTION_KEY_JOIN)); in parseDbEncryptionKey_wrongKeyType_throwsIAE()
80 assertThat(mAuctionEncryptionKeyParser.parseDbEncryptionKey(ENCRYPTION_KEY_AUCTION)) in parseDbEncryptionKey_returnsSuccess()
99 mAuctionEncryptionKeyParser.getDbEncryptionKeys( in getDbEncryptionKeys_emptyResponseBody_emptyList()
107 mAuctionEncryptionKeyParser.getDbEncryptionKeys( in getDbEncryptionKeys_missingMaxAge_usesDefaultAge()
123 mAuctionEncryptionKeyParser.getDbEncryptionKeys( in getDbEncryptionKeys_parsesSingleKey()
141 mAuctionEncryptionKeyParser.getDbEncryptionKeys(mockAuctionKeyFetchResponse()); in getDbEncryptionKeys_parsesMultipleKeys()
158 () -> mAuctionEncryptionKeyParser.getObliviousHttpKeyConfig(key)); in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError()
[all …]
DAdSelectionEncryptionKeyManagerTest.java105 private AuctionEncryptionKeyParser mAuctionEncryptionKeyParser = field in AdSelectionEncryptionKeyManagerTest
128 mAuctionEncryptionKeyParser, in setUp()
399 mAuctionEncryptionKeyParser, in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
DProtectedServersEncryptionConfigManagerTest.java113 private AuctionEncryptionKeyParser mAuctionEncryptionKeyParser = field in ProtectedServersEncryptionConfigManagerTest
136 mAuctionEncryptionKeyParser, in setUp()
553 mAuctionEncryptionKeyParser, in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManagerBase.java63 protected final AuctionEncryptionKeyParser mAuctionEncryptionKeyParser; field in ProtectedServersEncryptionConfigManagerBase
104 this.mAuctionEncryptionKeyParser = auctionEncryptionKeyParser; in ProtectedServersEncryptionConfigManagerBase()
116 return mAuctionEncryptionKeyParser.getDbEncryptionKeys(keyFetchResponse); in parseKeyResponse()
128 return mAuctionEncryptionKeyParser.parseDbEncryptionKey(dbEncryptionKey); in parseDbEncryptionKey()
157 return mAuctionEncryptionKeyParser.getObliviousHttpKeyConfig(encryptionKey); in getOhttpKeyConfigForKey()