Home
last modified time | relevance | path

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

12

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManagerBase.java66 @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 …]
DAdSelectionEncryptionKeyManager.java19 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 …]
DProtectedServersEncryptionConfigManager.java19 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 …]
DJoinEncryptionKeyParser.java49 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()
DAuctionEncryptionKeyParser.java61 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()
DEncryptionKeyParser.java30 AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey); in parseDbEncryptionKey()
39 ObliviousHttpKeyConfig getObliviousHttpKeyConfig(AdSelectionEncryptionKey key) in getObliviousHttpKeyConfig()
DAdSelectionEncryptionKey.java29 public abstract class AdSelectionEncryptionKey { class
74 public abstract AdSelectionEncryptionKey build(); in build()
DBackgroundKeyFetchWorker.java204 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in fetchNewKeys()
238 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in fetchNewKeys()
319 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION, in fetchAndPersistAuctionKeys()
335 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN, in fetchAndPersistJoinKey()
DKAnonObliviousHttpEncryptorImpl.java19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
DObliviousHttpRequestContextMarshaller.java19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
DObliviousHttpEncryptorImpl.java19 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/
DAdSelectionEncryptionKeyManagerTest.java143 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 …]
DProtectedServersEncryptionConfigManagerTest.java173 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 …]
DAuctionEncryptionKeyParserTest.java77 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 …]
DJoinEncryptionKeyParserTest.java76 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()
DBackgroundKeyFetchWorkerTest.java115 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION,
116 AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN);
307 eq(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN), in testRunBackgroundKeyFetch_auctionKeyFetchJobDisabled_joinKeysFetched()
DKAnonObliviousHttpEncryptorImplTest.java19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
DObliviousHttpEncryptorImplTest.java19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DEncryptionKeyConstants.java21 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/
DEncryptionContext.java22 import com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey;
34 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType
55 @AdSelectionEncryptionKey.AdSelectionEncryptionKeyType int encryptionKeyType); in setAdSelectionEncryptionKeyType()
DDBValidator.java20 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/
DObliviousHttpKeyConfig.java19 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/
DObliviousHttpRequestTest.java19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DObliviousHttpEncryptorWithSeedImpl.java19 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/
DObliviousHttpEncryptorWithSeedImplTest.java19 import static com.android.adservices.service.adselection.encryption.AdSelectionEncryptionKey.AdSele…

12