Home
last modified time | relevance | path

Searched refs:AuctionEncryptionKeyFixture (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DAuctionEncryptionKeyParserTest.java19 import static android.adservices.adselection.AuctionEncryptionKeyFixture.AUCTION_KEY_1;
20 import static android.adservices.adselection.AuctionEncryptionKeyFixture.DEFAULT_CACHED_AGE;
21 import static android.adservices.adselection.AuctionEncryptionKeyFixture.DEFAULT_MAX_AGE_SECONDS;
22 import static android.adservices.adselection.AuctionEncryptionKeyFixture.DEFAULT_RESPONSE_HEADERS;
23 import static android.adservices.adselection.AuctionEncryptionKeyFixture.ENCRYPTION_KEY_AUCTION;
24 import static android.adservices.adselection.AuctionEncryptionKeyFixture.getAuctionResponseBodySing…
25 import static android.adservices.adselection.AuctionEncryptionKeyFixture.mockAuctionKeyFetchRespons…
DProtectedServersEncryptionConfigManagerTest.java19 import static android.adservices.adselection.AuctionEncryptionKeyFixture.AUCTION_KEY_1;
20 import static android.adservices.adselection.AuctionEncryptionKeyFixture.AUCTION_KEY_2;
21 import static android.adservices.adselection.AuctionEncryptionKeyFixture.COORDINATOR_URL_AUCTION;
22 import static android.adservices.adselection.AuctionEncryptionKeyFixture.COORDINATOR_URL_AUCTION_OR…
23 import static android.adservices.adselection.AuctionEncryptionKeyFixture.ENCRYPTION_KEY_AUCTION_WIT…
42 import android.adservices.adselection.AuctionEncryptionKeyFixture;
265 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponse())); in test_fetchAndPersistAuctionKey_fetchSuccess_returnsLatestActiveAuctionKey()
294 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponse())); in test_fetchAndPersistAuctionKey_fetchSuccess_withLogging()
327 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponseWithGivenKey( in test_multipleCoordinatorKeys_fetchSuccess_returnsLatestActiveAuctionKey()
334 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponseWithGivenKey( in test_multipleCoordinatorKeys_fetchSuccess_returnsLatestActiveAuctionKey()
[all …]
DAdSelectionEncryptionKeyManagerTest.java19 import static android.adservices.adselection.AuctionEncryptionKeyFixture.AUCTION_KEY_1;
20 import static android.adservices.adselection.AuctionEncryptionKeyFixture.ENCRYPTION_KEY_AUCTION;
21 import static android.adservices.adselection.AuctionEncryptionKeyFixture.ENCRYPTION_KEY_AUCTION_TTL…
40 import android.adservices.adselection.AuctionEncryptionKeyFixture;
321 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponse())); in test_fetchAndPersistAuctionKey_fetchSuccess_returnsLatestActiveAuctionKey()
391 AuctionEncryptionKeyFixture in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
435 AuctionEncryptionKeyFixture in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey()
582 AuctionEncryptionKeyFixture in test_getLatestActiveOhttpKeyConfig_withExpiredKey_shouldFetchAndPersistAndReturnNewKey()
615 AuctionEncryptionKeyFixture in test_getLatestActiveOhttpKeyConfigOfType_withNoKey_shouldFetchPersistAndReturnNewKey()
DBackgroundKeyFetchWorkerTest.java19 import static android.adservices.adselection.AuctionEncryptionKeyFixture.DEFAULT_MAX_AGE_SECONDS;
39 import android.adservices.adselection.AuctionEncryptionKeyFixture;
425 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponse()));
488 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponse()));
547 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponse()));
602 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponse()));
DJoinEncryptionKeyParserTest.java19 import static android.adservices.adselection.AuctionEncryptionKeyFixture.ENCRYPTION_KEY_AUCTION;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerE2ETest.java62 import android.adservices.adselection.AuctionEncryptionKeyFixture;
2927 AuctionEncryptionKeyFixture.AuctionKey auctionKey = in testGetAdSelectionData_multiCloudOn_success()
2928 AuctionEncryptionKeyFixture.AuctionKey.builder() in testGetAdSelectionData_multiCloudOn_success()
2934 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponseWithGivenKey(auctionKey); in testGetAdSelectionData_multiCloudOn_success()
3046 AuctionEncryptionKeyFixture.AuctionKey auctionKey = in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey()
3047 AuctionEncryptionKeyFixture.AuctionKey.builder() in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey()
3053 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponseWithGivenKey(auctionKey); in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey()
3184 AuctionEncryptionKeyFixture.AuctionKey auctionKey = in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall()
3185 AuctionEncryptionKeyFixture.AuctionKey.builder() in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall()
3191 AuctionEncryptionKeyFixture.mockAuctionKeyFetchResponseWithGivenKey(auctionKey); in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DAuctionEncryptionKeyFixture.java34 public class AuctionEncryptionKeyFixture { class