/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() 125 protected AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() 138 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int type) { in getKeyCountForType() 140 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in getKeyCountForType() 144 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN: in getKeyCountForType() [all …]
|
D | AdSelectionEncryptionKeyManager.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.VALID_… 108 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, in getLatestActiveOhttpKeyConfigOfType() 144 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 163 private AdSelectionEncryptionKey maybeRefreshAndGetLatestKeyFromDatabase( 164 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 166 AdSelectionEncryptionKey key = 185 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 228 public AdSelectionEncryptionKey getLatestActiveKeyOfType( 229 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType 251 public AdSelectionEncryptionKey getLatestKeyOfType( [all …]
|
D | ProtectedServersEncryptionConfigManager.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.VALID_… 108 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, in getLatestOhttpKeyConfigOfType() 186 public AdSelectionEncryptionKey getLatestKeyFromDatabase( 187 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 206 private AdSelectionEncryptionKey maybeRefreshAndGetLatestKeyFromDatabase( 207 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 210 AdSelectionEncryptionKey key = 225 private AdSelectionEncryptionKey getLatestActiveKeyFromDatabase( 226 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 244 FluentFuture<AdSelectionEncryptionKey> fetchPersistAndGetActiveKey( [all …]
|
D | JoinEncryptionKeyParser.java | 49 public AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() 56 return AdSelectionEncryptionKey.builder() in parseDbEncryptionKey() 58 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in parseDbEncryptionKey() 100 public ObliviousHttpKeyConfig getObliviousHttpKeyConfig(AdSelectionEncryptionKey key) in getObliviousHttpKeyConfig() 104 key.keyType() == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in getObliviousHttpKeyConfig()
|
D | AuctionEncryptionKeyParser.java | 61 public AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() 68 return AdSelectionEncryptionKey.builder() in parseDbEncryptionKey() 69 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in parseDbEncryptionKey() 118 public ObliviousHttpKeyConfig getObliviousHttpKeyConfig(AdSelectionEncryptionKey key) in getObliviousHttpKeyConfig() 122 key.keyType() == AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in getObliviousHttpKeyConfig()
|
D | EncryptionKeyParser.java | 30 AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey); in parseDbEncryptionKey() 39 ObliviousHttpKeyConfig getObliviousHttpKeyConfig(AdSelectionEncryptionKey key) in getObliviousHttpKeyConfig()
|
D | AdSelectionEncryptionKey.java | 29 public abstract class AdSelectionEncryptionKey { class 74 public abstract AdSelectionEncryptionKey build(); in build()
|
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 | KAnonObliviousHttpEncryptorImpl.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|
D | ObliviousHttpRequestContextMarshaller.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|
D | ObliviousHttpEncryptorImpl.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|
/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() 193 AdSelectionEncryptionKey actualKey = in test_getLatestActiveJoinKey_returnsActiveJoinKey() 195 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN); in test_getLatestActiveJoinKey_returnsActiveJoinKey() 210 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 218 AdSelectionEncryptionKey actualKey = in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 220 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() [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() 177 AdSelectionEncryptionKey actualKey = in test_getLatestJoinKey_returnsJoinKey() 179 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in test_getLatestJoinKey_returnsJoinKey() 196 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_returnsAuctionKey() 203 AdSelectionEncryptionKey actualKey = 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() [all …]
|
D | AuctionEncryptionKeyParserTest.java | 82 AdSelectionEncryptionKey.builder() in parseDbEncryptionKey_returnsSuccess() 84 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType in parseDbEncryptionKey_returnsSuccess() 149 AdSelectionEncryptionKey key = in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError() 150 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError() 151 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError() 165 AdSelectionEncryptionKey key = in getObliviousHttpKeyConfig_keyNotHexadecimal_throwsError() 166 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_keyNotHexadecimal_throwsError() 167 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_keyNotHexadecimal_throwsError() 181 AdSelectionEncryptionKey key = in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly() 182 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly() [all …]
|
D | JoinEncryptionKeyParserTest.java | 81 AdSelectionEncryptionKey.builder() in parseDbEncryptionKey_returnsSuccess() 83 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in parseDbEncryptionKey_returnsSuccess() 134 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_wrongFormat_throwsException() 137 AdSelectionEncryptionKey in getObliviousHttpKeyConfig_wrongFormat_throwsException() 149 AdSelectionEncryptionKey key = in getObliviousHttpKeyConfig_returnsKeyConfig() 150 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_returnsKeyConfig() 152 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in getObliviousHttpKeyConfig_returnsKeyConfig()
|
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 | KAnonObliviousHttpEncryptorImplTest.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|
D | ObliviousHttpEncryptorImplTest.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | EncryptionKeyConstants.java | 21 import com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey; 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 | 22 import com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey; 34 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType 55 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int encryptionKeyType); in setAdSelectionEncryptionKeyType()
|
D | DBValidator.java | 20 import com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey; 37 != AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.UNASSIGNED); in validateEncryptionContext()
|
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/ |
D | ObliviousHttpKeyConfig.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele… 24 import com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey; 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 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | ObliviousHttpEncryptorWithSeedImpl.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ObliviousHttpEncryptorWithSeedImplTest.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|