Home
last modified time | relevance | path

Searched refs:AUCTION (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManagerTest.java161 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 …]
DAdSelectionEncryptionKeyManagerTest.java153 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 …]
DObliviousHttpEncryptorImplTest.java19 …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()
DAuctionEncryptionKeyParserTest.java85 .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()
DBackgroundKeyFetchWorkerTest.java346 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/
DObliviousHttpEncryptorWithSeedImplTest.java19 …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()
DAuctionServerE2ETest.java3073 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/
DAdSelectionEncryptionKey.java33 AdSelectionEncryptionKeyType.AUCTION,
39 int AUCTION = 1; field
44 Set.of(AdSelectionEncryptionKeyType.AUCTION, AdSelectionEncryptionKeyType.JOIN);
DProtectedServersEncryptionConfigManagerBase.java115 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()
DObliviousHttpEncryptorImpl.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
75 .getLatestOhttpKeyConfigOfType(AUCTION, keyFetchTimeoutMs, coordinator, devContext) in encryptBytes()
116 ObliviousHttpKeyConfig.useFledgeAuctionServerMediaTypeChange(AUCTION)); in createAndSerializeRequest()
DObliviousHttpRequestContextMarshaller.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
85 .setEncryptionKeyType(EncryptionKeyConstants.from(AUCTION)) in insertAuctionEncryptionContext()
DAuctionEncryptionKeyParser.java69 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in parseDbEncryptionKey()
122 key.keyType() == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in getObliviousHttpKeyConfig()
DBackgroundKeyFetchWorker.java199 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in fetchNewKeys()
315 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in fetchAndPersistAuctionKeys()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DObliviousHttpEncryptorWithSeedImpl.java19 …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/
DEncryptionKeyConstants.java50 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/
DObliviousHttpRequestTest.java19 …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/
DObliviousHttpKeyConfig.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
76 return keyType == AUCTION in useFledgeAuctionServerMediaTypeChange()