Home
last modified time | relevance | path

Searched refs:AdSelectionEncryptionKeyType (Results 1 – 25 of 25) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManagerBase.java69 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, in getLatestOhttpKeyConfigOfType()
75 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionKeyType, in fetchAndPersistActiveKeysOfType()
113 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int encryptionKeyType) { in parseKeyResponse()
115 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in parseKeyResponse()
117 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN: in parseKeyResponse()
119 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.UNASSIGNED: in parseKeyResponse()
138 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int type) { in getKeyCountForType()
140 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in getKeyCountForType()
144 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN: in getKeyCountForType()
146 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.UNASSIGNED: in getKeyCountForType()
[all …]
DAdSelectionEncryptionKey.java32 AdSelectionEncryptionKeyType.UNASSIGNED,
33 AdSelectionEncryptionKeyType.AUCTION,
34 AdSelectionEncryptionKeyType.JOIN,
37 public @interface AdSelectionEncryptionKeyType { annotation in AdSelectionEncryptionKey
44 Set.of(AdSelectionEncryptionKeyType.AUCTION, AdSelectionEncryptionKeyType.JOIN);
47 @AdSelectionEncryptionKeyType
65 public abstract Builder setKeyType(@AdSelectionEncryptionKeyType int keyType); in setKeyType()
DAdSelectionEncryptionKeyManager.java108 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, in getLatestActiveOhttpKeyConfigOfType()
144 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType,
164 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType,
185 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType,
229 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType
252 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType
271 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionKeyType,
293 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionKeyType,
DProtectedServersEncryptionConfigManager.java108 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, in getLatestOhttpKeyConfigOfType()
187 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType,
207 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType,
226 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType,
245 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionKeyType,
269 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionKeyType,
DBackgroundKeyFetchWorker.java199 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in fetchNewKeys()
234 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in fetchNewKeys()
315 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in fetchAndPersistAuctionKeys()
331 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in fetchAndPersistJoinKey()
DJoinEncryptionKeyParser.java58 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in parseDbEncryptionKey()
104 key.keyType() == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in getObliviousHttpKeyConfig()
DAuctionEncryptionKeyParser.java69 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in parseDbEncryptionKey()
122 key.keyType() == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in getObliviousHttpKeyConfig()
DKAnonObliviousHttpEncryptorImpl.java19 …services.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN;
DObliviousHttpRequestContextMarshaller.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
DObliviousHttpEncryptorImpl.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DAdSelectionEncryptionKeyManagerTest.java145 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN)) in test_getLatestActiveJoinKey_noJoinKey_returnsNull()
153 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_noAuctionKey_returnsNull()
165 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN)) in test_getLatestActiveJoinKey_noActiveJoinKey_returnsNull()
177 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_noActiveAuctionKey_returnsNull()
185 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN)) in test_getLatestActiveJoinKey_returnsActiveJoinKey()
195 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN); in test_getLatestActiveJoinKey_returnsActiveJoinKey()
210 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_returnsActiveAuctionKey()
220 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); in test_getLatestActiveAuctionKey_returnsActiveAuctionKey()
236 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN)) in test_getLatestJoinKey_noJoinKey_returnsNull()
244 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestAuctionKey_noAuctionKey_returnsNull()
[all …]
DProtectedServersEncryptionConfigManagerTest.java152 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in test_getLatestJoinKey_noJoinKey_returnsNull()
161 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_noAuctionKey_returnsNull()
170 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in test_getLatestJoinKey_returnsJoinKey()
179 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in test_getLatestJoinKey_returnsJoinKey()
196 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_returnsAuctionKey()
205 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_returnsAuctionKey()
224 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getAbsentAdSelectionEncryptionKeyTypes()
225 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN); in test_getAbsentAdSelectionEncryptionKeyTypes()
234 .containsExactly(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); in test_getAbsentAdSelectionEncryptionKeyTypes_onlyJoinInDb_AuctionKeyIsMissing()
243 .containsExactly(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN); in test_getAbsentAdSelectionEncryptionKeyTypes_onlyAuctionInDb_JoinKeyIsMissing()
[all …]
DBackgroundKeyFetchWorkerTest.java237 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionKeyType, in testRunBackgroundKeyFetch_longRuntime_throwsTimeoutDuringFetch()
346 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION,
347 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN);
392 .doesNotContain(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN);
396 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, 3);
443 .doesNotContain(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION);
447 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 6);
490 set.add(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION);
567 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION,
568 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN);
[all …]
DAuctionEncryptionKeyParserTest.java84 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType 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()
DJoinEncryptionKeyParserTest.java83 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in parseDbEncryptionKey_returnsSuccess()
138 .AdSelectionEncryptionKeyType.JOIN) in getObliviousHttpKeyConfig_wrongFormat_throwsException()
152 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in getObliviousHttpKeyConfig_returnsKeyConfig()
DKAnonObliviousHttpEncryptorImplTest.java19 …services.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN;
DObliviousHttpEncryptorImplTest.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DEncryptionKeyConstants.java47 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType in from()
50 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in from()
52 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN: in from()
54 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.UNASSIGNED: in from()
62 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType
66 return AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION; in toAdSelectionEncryptionKeyType()
68 return AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN; in toAdSelectionEncryptionKeyType()
74 return AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.UNASSIGNED; in toAdSelectionEncryptionKeyType()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/datahandlers/
DEncryptionContext.java34 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType
55 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int encryptionKeyType); in setAdSelectionEncryptionKeyType()
DDBValidator.java37 != AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.UNASSIGNED); in validateEncryptionContext()
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DObliviousHttpKeyConfig.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
75 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int keyType) { in useFledgeAuctionServerMediaTypeChange()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/
DObliviousHttpRequestTest.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DObliviousHttpEncryptorWithSeedImpl.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DObliviousHttpEncryptorWithSeedImplTest.java19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
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()