Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/encryption/
DJoinEncryptionKeyParserTest.java51 private JoinEncryptionKeyParser mJoinEncryptionKeyParser; field in JoinEncryptionKeyParserTest
55 mJoinEncryptionKeyParser = new JoinEncryptionKeyParser(mFlags); in setUp()
62 () -> mJoinEncryptionKeyParser.parseDbEncryptionKey(null)); in parseDbEncryptionKey_nullDbEncryptionKey_throwsNPE()
69 () -> mJoinEncryptionKeyParser.parseDbEncryptionKey(ENCRYPTION_KEY_AUCTION)); in parseDbEncryptionKey_wrongKeyType_throwsIAE()
74 assertThat(mJoinEncryptionKeyParser.parseDbEncryptionKey(ENCRYPTION_KEY_JOIN)) in parseDbEncryptionKey_returnsSuccess()
92 mJoinEncryptionKeyParser.getDbEncryptionKeys( in getDbEncryptionKeys_missingHeaders_throwsIAE()
103 mJoinEncryptionKeyParser.getDbEncryptionKeys( in getDbEncryptionKeys_emptyResponseBody_throwsIAE()
113 mJoinEncryptionKeyParser.getDbEncryptionKeys(mockJoinKeyFetchResponse()); in getDbEncryptionKeys_missingMaxAge_usesDefaultAge()
128 mJoinEncryptionKeyParser.getObliviousHttpKeyConfig( in getObliviousHttpKeyConfig_wrongFormat_throwsException()
151 ObliviousHttpKeyConfig keyConfig = mJoinEncryptionKeyParser.getObliviousHttpKeyConfig(key); in getObliviousHttpKeyConfig_returnsKeyConfig()
DProtectedServersEncryptionConfigManagerTest.java133 private JoinEncryptionKeyParser mJoinEncryptionKeyParser = field in ProtectedServersEncryptionConfigManagerTest
162 mJoinEncryptionKeyParser, in setUp()
576 mJoinEncryptionKeyParser, in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
729 mJoinEncryptionKeyParser, in test_getKeyFetchUriOfType_withAuctionKeyType_success()
764 mJoinEncryptionKeyParser, in test_getKeyFetchUriOfType_withAuctionKeyType_coordinatorNull_success()
791 mJoinEncryptionKeyParser, in test_getKeyFetchUriOfType_withJoinKeyType_success()
DAdSelectionEncryptionKeyManagerTest.java109 private JoinEncryptionKeyParser mJoinEncryptionKeyParser = field in AdSelectionEncryptionKeyManagerTest
132 mJoinEncryptionKeyParser, in setUp()
399 mJoinEncryptionKeyParser, in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManagerBase.java61 protected final JoinEncryptionKeyParser mJoinEncryptionKeyParser; field in ProtectedServersEncryptionConfigManagerBase
102 this.mJoinEncryptionKeyParser = joinEncryptionKeyParser; in ProtectedServersEncryptionConfigManagerBase()
115 return mJoinEncryptionKeyParser.getDbEncryptionKeys(keyFetchResponse); in parseKeyResponse()
127 return mJoinEncryptionKeyParser.parseDbEncryptionKey(dbEncryptionKey); in parseDbEncryptionKey()
156 return mJoinEncryptionKeyParser.getObliviousHttpKeyConfig(encryptionKey); in getOhttpKeyConfigForKey()