/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/ |
D | ProtectedServersEncryptionConfigManagerBase.java | 69 @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 …]
|
D | AdSelectionEncryptionKey.java | 32 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()
|
D | AdSelectionEncryptionKeyManager.java | 108 @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,
|
D | ProtectedServersEncryptionConfigManager.java | 108 @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,
|
D | BackgroundKeyFetchWorker.java | 199 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in fetchNewKeys() 234 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in fetchNewKeys() 315 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in fetchAndPersistAuctionKeys() 331 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in fetchAndPersistJoinKey()
|
D | JoinEncryptionKeyParser.java | 58 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in parseDbEncryptionKey() 104 key.keyType() == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in getObliviousHttpKeyConfig()
|
D | AuctionEncryptionKeyParser.java | 69 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in parseDbEncryptionKey() 122 key.keyType() == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in getObliviousHttpKeyConfig()
|
D | KAnonObliviousHttpEncryptorImpl.java | 19 …services.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN;
|
D | ObliviousHttpRequestContextMarshaller.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
|
D | ObliviousHttpEncryptorImpl.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | AdSelectionEncryptionKeyManagerTest.java | 145 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 …]
|
D | ProtectedServersEncryptionConfigManagerTest.java | 152 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 …]
|
D | BackgroundKeyFetchWorkerTest.java | 237 @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 …]
|
D | AuctionEncryptionKeyParserTest.java | 84 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()
|
D | JoinEncryptionKeyParserTest.java | 83 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in parseDbEncryptionKey_returnsSuccess() 138 .AdSelectionEncryptionKeyType.JOIN) in getObliviousHttpKeyConfig_wrongFormat_throwsException() 152 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in getObliviousHttpKeyConfig_returnsKeyConfig()
|
D | KAnonObliviousHttpEncryptorImplTest.java | 19 …services.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN;
|
D | ObliviousHttpEncryptorImplTest.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | EncryptionKeyConstants.java | 47 @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/ |
D | EncryptionContext.java | 34 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType 55 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int encryptionKeyType); in setAdSelectionEncryptionKeyType()
|
D | DBValidator.java | 37 != AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.UNASSIGNED); in validateEncryptionContext()
|
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/ |
D | ObliviousHttpKeyConfig.java | 19 …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/ |
D | ObliviousHttpRequestTest.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | ObliviousHttpEncryptorWithSeedImpl.java | 19 …vices.service.adselection.encryption.AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION;
|
/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;
|
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()
|