/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | ProtectedServersEncryptionConfigManagerTest.java | 161 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_noAuctionKey_returnsNull() 196 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_returnsAuctionKey() 205 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_returnsAuctionKey() 224 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getAbsentAdSelectionEncryptionKeyTypes() 234 .containsExactly(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); in test_getAbsentAdSelectionEncryptionKeyTypes_onlyJoinInDb_AuctionKeyIsMissing() 269 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_fetchAndPersistAuctionKey_fetchSuccess_returnsLatestActiveAuctionKey() 276 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_fetchAndPersistAuctionKey_fetchSuccess_returnsLatestActiveAuctionKey() 298 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_fetchAndPersistAuctionKey_fetchSuccess_withLogging() 305 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_fetchAndPersistAuctionKey_fetchSuccess_withLogging() 339 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_multipleCoordinatorKeys_fetchSuccess_returnsLatestActiveAuctionKey() [all …]
|
D | AdSelectionEncryptionKeyManagerTest.java | 153 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_noAuctionKey_returnsNull() 177 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_noActiveAuctionKey_returnsNull() 210 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 220 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 244 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestAuctionKey_noAuctionKey_returnsNull() 268 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestAuctionKey_returnsAuctionKey() 276 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); in test_getLatestAuctionKey_returnsAuctionKey() 284 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getAbsentAdSelectionEncryptionKeyTypes() 293 .containsExactly(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); in test_getAbsentAdSelectionEncryptionKeyTypes_onlyJoinInDb_AuctionKeyIsMissing() 325 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_fetchAndPersistAuctionKey_fetchSuccess_returnsLatestActiveAuctionKey() [all …]
|
D | ObliviousHttpEncryptorImplTest.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; 107 AUCTION, 1000L, null, mDevContext)) in test_encryptBytes_success() 135 AUCTION, 1000L, null, mDevContext)) in test_encryptBytes_success_withServerAuctionMediaTypeChange() 183 AUCTION, 1000, null, mDevContext)) in test_decryptBytes_success() 196 assertThat(mEncryptionContextDao.getEncryptionContext(1L, AUCTION)).isNotNull(); in test_decryptBytes_success() 211 AUCTION, 1000, null, mDevContext)) in test_decryptBytes_success_withServerAuctionMediaTypeChange() 224 assertThat(mEncryptionContextDao.getEncryptionContext(1L, AUCTION)).isNotNull(); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
|
D | AuctionEncryptionKeyParserTest.java | 85 .AUCTION) in parseDbEncryptionKey_returnsSuccess() 151 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError() 167 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_keyNotHexadecimal_throwsError() 183 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly()
|
D | BackgroundKeyFetchWorkerTest.java | 346 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 443 .doesNotContain(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); 447 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 6); 490 set.add(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); 567 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 572 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 6); 622 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 6); 635 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 8); 647 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 8);
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ObliviousHttpEncryptorWithSeedImplTest.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; 95 AUCTION, 1000L, null, mDevContext)) in test_encryptBytes_success() 135 AUCTION, 1000L, null, mDevContext)) in test_encryptBytes_success_withServerAuctionMediaTypeChange() 187 AUCTION, 1000, null, mDevContext)) in test_decryptBytes_success() 207 assertThat(mEncryptionContextDao.getEncryptionContext(1L, AUCTION)).isNotNull(); in test_decryptBytes_success() 227 AUCTION, 1000, null, mDevContext)) in test_decryptBytes_success_withServerAuctionMediaTypeChange() 247 assertThat(mEncryptionContextDao.getEncryptionContext(1L, AUCTION)).isNotNull(); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
|
D | AuctionServerE2ETest.java | 3073 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey() 3121 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey() 3211 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall() 3264 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall() 3344 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 100); in testGetAdSelectionData_multiCloudOff_refreshFlagOn_fetchesNewKey() 3388 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 100); in testGetAdSelectionData_multiCloudOff_refreshFlagOn_fetchesNewKey() 3470 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 100); in testGetAdSelectionData_multiCloudOff_refreshFlagOff_noNetworkCall() 3514 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 100); in testGetAdSelectionData_multiCloudOff_refreshFlagOff_noNetworkCall()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/ |
D | AdSelectionEncryptionKey.java | 33 AdSelectionEncryptionKeyType.AUCTION, 39 int AUCTION = 1; field 44 Set.of(AdSelectionEncryptionKeyType.AUCTION, AdSelectionEncryptionKeyType.JOIN);
|
D | ProtectedServersEncryptionConfigManagerBase.java | 115 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in parseKeyResponse() 140 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in getKeyCountForType() 156 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in getOhttpKeyConfigForKey() 174 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in fetchKeyPayload() 205 == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) { in getKeyFetchUriOfType() 214 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in getKeyFetchUriOfType()
|
D | ObliviousHttpEncryptorImpl.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; 75 .getLatestOhttpKeyConfigOfType(AUCTION, keyFetchTimeoutMs, coordinator, devContext) in encryptBytes() 116 ObliviousHttpKeyConfig.useFledgeAuctionServerMediaTypeChange(AUCTION)); in createAndSerializeRequest()
|
D | ObliviousHttpRequestContextMarshaller.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; 85 .setEncryptionKeyType(EncryptionKeyConstants.from(AUCTION)) in insertAuctionEncryptionContext()
|
D | AuctionEncryptionKeyParser.java | 69 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in parseDbEncryptionKey() 122 key.keyType() == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in getObliviousHttpKeyConfig()
|
D | BackgroundKeyFetchWorker.java | 199 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in fetchNewKeys() 315 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in fetchAndPersistAuctionKeys()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | ObliviousHttpEncryptorWithSeedImpl.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; 80 AUCTION, keyFetchTimeoutMs, coordinatorUri, devContext) in encryptBytes() 117 ObliviousHttpKeyConfig.useFledgeAuctionServerMediaTypeChange(AUCTION)); in createAndSerializeRequestWithSeed()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | EncryptionKeyConstants.java | 50 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in from() 66 return AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; in toAdSelectionEncryptionKeyType()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/ |
D | ObliviousHttpRequestTest.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; 63 ObliviousHttpKeyConfig.useFledgeAuctionServerMediaTypeChange(AUCTION)); in serialize_serializesCorrectly()
|
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/ |
D | ObliviousHttpKeyConfig.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; 76 return keyType == AUCTION in useFledgeAuctionServerMediaTypeChange()
|