/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/ |
D | ProtectedServersEncryptionConfigManagerBase.java | 66 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, in getLatestOhttpKeyConfigOfType() 72 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionKeyType, in fetchAndPersistActiveKeysOfType() 110 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int encryptionKeyType) { in parseKeyResponse() 112 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in parseKeyResponse() 114 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN: in parseKeyResponse() 116 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.UNASSIGNED: in parseKeyResponse() 122 protected AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() 135 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int type) { in getKeyCountForType() 137 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION: in getKeyCountForType() 141 case AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN: in getKeyCountForType() [all …]
|
D | AdSelectionEncryptionKeyManager.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.VALID_… 111 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, in getLatestActiveOhttpKeyConfigOfType() 147 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 166 private AdSelectionEncryptionKey maybeRefreshAndGetLatestKeyFromDatabase( 167 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 169 AdSelectionEncryptionKey key = 188 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 231 public AdSelectionEncryptionKey getLatestActiveKeyOfType( 232 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType 254 public AdSelectionEncryptionKey getLatestKeyOfType( [all …]
|
D | ProtectedServersEncryptionConfigManager.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.VALID_… 123 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, in getLatestOhttpKeyConfigOfType() 198 public AdSelectionEncryptionKey getLatestKeyFromDatabase( 199 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 218 private AdSelectionEncryptionKey maybeRefreshAndGetLatestKeyFromDatabase( 219 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 222 AdSelectionEncryptionKey key = 237 private AdSelectionEncryptionKey getLatestActiveKeyFromDatabase( 238 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int adSelectionEncryptionKeyType, 256 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 | 204 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in fetchNewKeys() 238 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in fetchNewKeys() 319 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in fetchAndPersistAuctionKeys() 335 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/protectedaudience/src/com/android/adservices/service/adselection/encryption/ |
D | AdSelectionEncryptionKeyManagerTest.java | 143 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN)) in test_getLatestActiveJoinKey_noJoinKey_returnsNull() 151 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_noAuctionKey_returnsNull() 163 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN)) in test_getLatestActiveJoinKey_noActiveJoinKey_returnsNull() 175 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_noActiveAuctionKey_returnsNull() 183 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN)) in test_getLatestActiveJoinKey_returnsActiveJoinKey() 191 AdSelectionEncryptionKey actualKey = in test_getLatestActiveJoinKey_returnsActiveJoinKey() 193 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN); in test_getLatestActiveJoinKey_returnsActiveJoinKey() 208 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION)) in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 216 AdSelectionEncryptionKey actualKey = in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 218 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION); in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() [all …]
|
D | ProtectedServersEncryptionConfigManagerTest.java | 173 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in test_getLatestJoinKey_noJoinKey_returnsNull() 182 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_noAuctionKey_returnsNull() 191 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in test_getLatestJoinKey_returnsJoinKey() 198 AdSelectionEncryptionKey actualKey = in test_getLatestJoinKey_returnsJoinKey() 200 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in test_getLatestJoinKey_returnsJoinKey() 217 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_returnsAuctionKey() 224 AdSelectionEncryptionKey actualKey = in test_getLatestAuctionKey_returnsAuctionKey() 226 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getLatestAuctionKey_returnsAuctionKey() 245 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in test_getAbsentAdSelectionEncryptionKeyTypes() 246 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN); in test_getAbsentAdSelectionEncryptionKeyTypes() [all …]
|
D | AuctionEncryptionKeyParserTest.java | 77 AdSelectionEncryptionKey.builder() in parseDbEncryptionKey_returnsSuccess() 79 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType in parseDbEncryptionKey_returnsSuccess() 144 AdSelectionEncryptionKey key = in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError() 145 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError() 146 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError() 160 AdSelectionEncryptionKey key = in getObliviousHttpKeyConfig_keyNotHexadecimal_throwsError() 161 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_keyNotHexadecimal_throwsError() 162 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_keyNotHexadecimal_throwsError() 176 AdSelectionEncryptionKey key = in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly() 177 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly() [all …]
|
D | JoinEncryptionKeyParserTest.java | 76 AdSelectionEncryptionKey.builder() in parseDbEncryptionKey_returnsSuccess() 78 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in parseDbEncryptionKey_returnsSuccess() 129 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_wrongFormat_throwsException() 132 AdSelectionEncryptionKey in getObliviousHttpKeyConfig_wrongFormat_throwsException() 144 AdSelectionEncryptionKey key = in getObliviousHttpKeyConfig_returnsKeyConfig() 145 AdSelectionEncryptionKey.builder() in getObliviousHttpKeyConfig_returnsKeyConfig() 147 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in getObliviousHttpKeyConfig_returnsKeyConfig()
|
D | BackgroundKeyFetchWorkerTest.java | 115 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, 116 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN); 307 eq(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN), in testRunBackgroundKeyFetch_auctionKeyFetchJobDisabled_joinKeysFetched()
|
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/protectedaudience/src/com/android/adservices/service/adselection/ |
D | ObliviousHttpEncryptorWithSeedImplTest.java | 19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
|