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/src/com/android/adservices/service/adselection/encryption/
DJoinEncryptionKeyParserTest.java53 private JoinEncryptionKeyParser mJoinEncryptionKeyParser; field in JoinEncryptionKeyParserTest
60 mJoinEncryptionKeyParser = new JoinEncryptionKeyParser(mFlags); in setUp()
67 () -> mJoinEncryptionKeyParser.parseDbEncryptionKey(null)); in parseDbEncryptionKey_nullDbEncryptionKey_throwsNPE()
74 () -> mJoinEncryptionKeyParser.parseDbEncryptionKey(ENCRYPTION_KEY_AUCTION)); in parseDbEncryptionKey_wrongKeyType_throwsIAE()
79 assertThat(mJoinEncryptionKeyParser.parseDbEncryptionKey(ENCRYPTION_KEY_JOIN)) in parseDbEncryptionKey_returnsSuccess()
97 mJoinEncryptionKeyParser.getDbEncryptionKeys( in getDbEncryptionKeys_missingHeaders_throwsIAE()
108 mJoinEncryptionKeyParser.getDbEncryptionKeys( in getDbEncryptionKeys_emptyResponseBody_throwsIAE()
118 mJoinEncryptionKeyParser.getDbEncryptionKeys(mockJoinKeyFetchResponse()); in getDbEncryptionKeys_missingMaxAge_usesDefaultAge()
133 mJoinEncryptionKeyParser.getObliviousHttpKeyConfig( in getObliviousHttpKeyConfig_wrongFormat_throwsException()
156 ObliviousHttpKeyConfig keyConfig = mJoinEncryptionKeyParser.getObliviousHttpKeyConfig(key); in getObliviousHttpKeyConfig_returnsKeyConfig()
DAdSelectionEncryptionKeyManagerTest.java107 private JoinEncryptionKeyParser mJoinEncryptionKeyParser = new JoinEncryptionKeyParser(mFlags); field in AdSelectionEncryptionKeyManagerTest
129 mJoinEncryptionKeyParser, in setUp()
400 mJoinEncryptionKeyParser, in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
DProtectedServersEncryptionConfigManagerTest.java115 private JoinEncryptionKeyParser mJoinEncryptionKeyParser = new JoinEncryptionKeyParser(mFlags); field in ProtectedServersEncryptionConfigManagerTest
137 mJoinEncryptionKeyParser, in setUp()
554 mJoinEncryptionKeyParser, in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManagerBase.java64 protected final JoinEncryptionKeyParser mJoinEncryptionKeyParser; field in ProtectedServersEncryptionConfigManagerBase
105 this.mJoinEncryptionKeyParser = joinEncryptionKeyParser; in ProtectedServersEncryptionConfigManagerBase()
118 return mJoinEncryptionKeyParser.getDbEncryptionKeys(keyFetchResponse); in parseKeyResponse()
130 return mJoinEncryptionKeyParser.parseDbEncryptionKey(dbEncryptionKey); in parseDbEncryptionKey()
159 return mJoinEncryptionKeyParser.getObliviousHttpKeyConfig(encryptionKey); in getOhttpKeyConfigForKey()