Home
last modified time | relevance | path

Searched refs:AdTechIdentifier (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdTechIdentifierTest.java22 import android.adservices.common.AdTechIdentifier;
44 new AdTechIdentifier[ARRAY_SIZE], AdTechIdentifier.CREATOR.newArray(ARRAY_SIZE)); in testAdTechIdentifierCreatorArray()
49 AdTechIdentifier preParcel = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testAdTechIdentifierParceling()
53 AdTechIdentifier postParcel = AdTechIdentifier.CREATOR.createFromParcel(parcel); in testAdTechIdentifierParceling()
61 AdTechIdentifier.fromString(AD_TECH_ID_STRING).describeContents()); in testAdTechIdentifierDescribeContents()
66 AdTechIdentifier validAdTechId = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testBuildValidAdTechIdentifierSuccess()
72 AdTechIdentifier.fromString(null); in testBuildAdTechIdentifierNull()
77 AdTechIdentifier validAdTechId = AdTechIdentifier.fromString(AD_TECH_ID_STRING, false); in testBuildValidAdTechIdentifierSuccessNoValidation()
83 AdTechIdentifier identicalId1 = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testAdTechIdentifierEquality()
84 AdTechIdentifier identicalId2 = AdTechIdentifier.fromString(AD_TECH_ID_STRING); in testAdTechIdentifierEquality()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdTechIdentifier.java26 public final class AdTechIdentifier implements Parcelable { class
30 private AdTechIdentifier(@NonNull Parcel in) { in AdTechIdentifier() method in AdTechIdentifier
34 private AdTechIdentifier(@NonNull String adTechIdentifier) { in AdTechIdentifier() method in AdTechIdentifier
38 private AdTechIdentifier(@NonNull String adTechIdentifier, boolean validate) { in AdTechIdentifier() method in AdTechIdentifier
47 public static final Creator<AdTechIdentifier> CREATOR =
48 new Creator<AdTechIdentifier>() {
50 public AdTechIdentifier createFromParcel(Parcel in) {
52 return new AdTechIdentifier(in);
56 public AdTechIdentifier[] newArray(int size) {
57 return new AdTechIdentifier[size];
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DAdSelectionConfig.java19 import android.adservices.common.AdTechIdentifier;
53 @NonNull private final AdTechIdentifier mSeller;
55 @NonNull private final List<AdTechIdentifier> mCustomAudienceBuyers;
58 @NonNull private final Map<AdTechIdentifier, AdSelectionSignals> mPerBuyerSignals;
59 @NonNull private final Map<AdTechIdentifier, SignedContextualAds> mBuyerSignedContextualAds;
78 this.mSeller = AdTechIdentifier.fromString(""); in AdSelectionConfig()
89 @NonNull AdTechIdentifier seller, in AdSelectionConfig()
91 @NonNull List<AdTechIdentifier> customAudienceBuyers, in AdSelectionConfig()
94 @NonNull Map<AdTechIdentifier, AdSelectionSignals> perBuyerSignals, in AdSelectionConfig() argument
95 @NonNull Map<AdTechIdentifier, SignedContextualAds> perBuyerSignedContextualAds, in AdSelectionConfig()
[all …]
DSetAppInstallAdvertisersRequest.java19 import android.adservices.common.AdTechIdentifier;
33 @NonNull private final Set<AdTechIdentifier> mAdvertisers;
35 private SetAppInstallAdvertisersRequest(@NonNull Set<AdTechIdentifier> advertisers) { in SetAppInstallAdvertisersRequest()
47 public Set<AdTechIdentifier> getAdvertisers() { in getAdvertisers()
52 @Nullable private Set<AdTechIdentifier> mAdvertisers;
62 @NonNull Set<AdTechIdentifier> advertisers) { in setAdvertisers()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DAdSelectionConfigFixture.java20 import android.adservices.common.AdTechIdentifier;
32 public static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("test.com");
33 public static final AdTechIdentifier SELLER_1 = AdTechIdentifier.fromString("test2.com");
42 public static final AdTechIdentifier BUYER = AdTechIdentifier.fromString("buyer.example.com");
43 public static final AdTechIdentifier BUYER_1 = CommonFixture.VALID_BUYER_1;
44 public static final AdTechIdentifier BUYER_2 = CommonFixture.VALID_BUYER_2;
45 public static final AdTechIdentifier BUYER_3 = AdTechIdentifier.fromString("test3.com");
46 public static final List<AdTechIdentifier> CUSTOM_AUDIENCE_BUYERS =
57 public static final Map<AdTechIdentifier, AdSelectionSignals> PER_BUYER_SIGNALS =
111 public static AdSelectionConfig anAdSelectionConfig(@NonNull AdTechIdentifier seller) { in anAdSelectionConfig()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/
DFetchCustomAudienceFixture.java21 import android.adservices.common.AdTechIdentifier;
37 public static String getFullSuccessfulJsonResponseString(AdTechIdentifier buyer) in getFullSuccessfulJsonResponseString()
55 public static String getFullSuccessfulJsonResponseStringWithAdRenderId(AdTechIdentifier buyer) in getFullSuccessfulJsonResponseStringWithAdRenderId()
74 public static String getFullJsonResponseStringWithInvalidAdRenderId(AdTechIdentifier buyer) in getFullJsonResponseStringWithInvalidAdRenderId()
91 AdTechIdentifier buyer, boolean auctionServerRequestFlagsEnabled) throws JSONException { in getFullSuccessfulJsonResponse()
116 .setBuyer(AdTechIdentifier.fromString("localhost")) in getFullSuccessfulDBCustomAudience()
126 AdTechIdentifier.fromString("localhost"))) in getFullSuccessfulDBCustomAudience()
129 AdTechIdentifier.fromString("localhost")) in getFullSuccessfulDBCustomAudience()
133 AdTechIdentifier.fromString("localhost"))) in getFullSuccessfulDBCustomAudience()
141 .setBuyer(AdTechIdentifier.fromString("localhost")) in getFullSuccessfulDBCustomAudienceWithAdRenderId()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/
DProtectedSignalsDao.java19 import android.adservices.common.AdTechIdentifier;
56 public abstract List<DBProtectedSignal> getSignalsByBuyer(AdTechIdentifier buyer); in getSignalsByBuyer()
82 @NonNull AdTechIdentifier buyer, in insertAndDelete()
105 protected abstract List<AdTechIdentifier> getBuyersWithExpiredSignals( in getBuyersWithExpiredSignals()
116 List<AdTechIdentifier> buyers = getBuyersWithExpiredSignals(expiryTime); in deleteExpiredSignalsAndUpdateSignalsUpdateMetadata()
117 for (AdTechIdentifier buyer : buyers) { in deleteExpiredSignalsAndUpdateSignalsUpdateMetadata()
137 List<AdTechIdentifier> buyersToRemove = getAllBuyers(); in deleteDisallowedBuyerSignals()
142 Set<AdTechIdentifier> enrolledAdTechs = enrollmentDao.getAllFledgeEnrolledAdTechs(); in deleteDisallowedBuyerSignals()
148 for (AdTechIdentifier buyer : buyersToRemove) { in deleteDisallowedBuyerSignals()
162 protected abstract List<AdTechIdentifier> getAllBuyers(); in getAllBuyers()
[all …]
DEncoderLogicMetadataDao.java19 import android.adservices.common.AdTechIdentifier;
48 int updateEncoderFailedCount(AdTechIdentifier buyer, int failedCount); in updateEncoderFailedCount()
55 DBEncoderLogicMetadata getMetadata(AdTechIdentifier buyer); in getMetadata()
62 boolean doesEncoderExist(AdTechIdentifier buyer); in doesEncoderExist()
74 List<AdTechIdentifier> getAllBuyersWithRegisteredEncoders(); in getAllBuyersWithRegisteredEncoders()
80 List<AdTechIdentifier> getBuyersWithEncodersBeforeTime(@NonNull Instant time); in getBuyersWithEncodersBeforeTime()
86 void deleteEncoder(AdTechIdentifier buyer); in deleteEncoder()
DEncoderLogicHandler.java21 import android.adservices.common.AdTechIdentifier;
85 private static final Map<AdTechIdentifier, ReentrantLock> BUYER_REENTRANT_LOCK_HASH_MAP =
156 @NonNull AdTechIdentifier buyer, @NonNull DevContext devContext) { in downloadAndUpdate()
198 AdTechIdentifier buyer, AdServicesHttpClientResponse response) { in extractAndPersistEncoder()
250 protected ReentrantLock getBuyerLock(AdTechIdentifier buyer) { in getBuyerLock()
264 public List<AdTechIdentifier> getBuyersWithEncoders() { in getBuyersWithEncoders()
274 public String getEncoder(AdTechIdentifier buyer) { in getEncoder()
279 public DBEncoderLogicMetadata getEncoderLogicMetadata(AdTechIdentifier adTechIdentifier) { in getEncoderLogicMetadata()
284 public void updateEncoderFailedCount(AdTechIdentifier adTechIdentifier, int count) { in updateEncoderFailedCount()
292 public List<AdTechIdentifier> getBuyersWithStaleEncoders(Instant expiry) { in getBuyersWithStaleEncoders()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DCompressedBuyerInputCreatorNoOptimizationsTest.java24 import android.adservices.common.AdTechIdentifier;
76 Map<String, AdTechIdentifier> nameAndBuyersMap = in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs()
82 List<AdTechIdentifier> buyersList = ImmutableList.of(BUYER_1, BUYER_2); in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs()
89 Map<AdTechIdentifier, DBEncodedPayload> encodedPayloadMap = in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs()
92 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> compressedDataMap = in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs()
96 for (AdTechIdentifier buyer : buyersList) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs()
126 List<AdTechIdentifier> buyersList = ImmutableList.of(BUYER_1, BUYER_2); in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs_OnlyPAS()
127 Map<AdTechIdentifier, DBEncodedPayload> encodedPayloadMap = in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs_OnlyPAS()
130 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> compressedDataMap = in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs_OnlyPAS()
134 for (AdTechIdentifier buyer : buyersList) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignalsReturnsCompressedInputs_OnlyPAS()
[all …]
DBuyerInputGeneratorTest.java38 import android.adservices.common.AdTechIdentifier;
96 private static final AdTechIdentifier BUYER_1 = AdSelectionConfigFixture.BUYER_1;
97 private static final AdTechIdentifier BUYER_2 = AdSelectionConfigFixture.BUYER_2;
180 Map<String, AdTechIdentifier> nameAndBuyersMap = in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_success()
185 Set<AdTechIdentifier> buyers = new HashSet<>(nameAndBuyersMap.values()); in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_success()
192 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> buyerAndBuyerInputs = in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_success()
201 for (AdTechIdentifier buyer : buyerAndBuyerInputs.keySet()) { in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_success()
231 Map<String, AdTechIdentifier> nameAndBuyersMap = in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()
236 Set<AdTechIdentifier> buyers = new HashSet<>(nameAndBuyersMap.values()); in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()
260 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> buyerAndBuyerInputs = in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()
[all …]
DAdSelectionConfigValidatorTest.java33 import android.adservices.common.AdTechIdentifier;
61 private static final AdTechIdentifier EMPTY_STRING = AdTechIdentifier.fromString("");
62 private static final AdTechIdentifier SELLER_VALID =
63 AdTechIdentifier.fromString("developer.android.com");
64 private static final AdTechIdentifier SELLER_VALID_WITH_PREFIX =
65 AdTechIdentifier.fromString("www.developer.android.com");
66 private static final AdTechIdentifier SELLER_NOT_DOMAIN_NAME =
67 AdTechIdentifier.fromString("developer.android.com/test");
68 private static final AdTechIdentifier SELLER_INVALID =
69 AdTechIdentifier.fromString("developer%$android.com");
[all …]
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DAdDataFixture.java62 public static Uri getValidRenderUriByBuyer(AdTechIdentifier buyer, int sequence) { in getValidRenderUriByBuyer()
66 public static Uri getValidRenderUriByBuyer(AdTechIdentifier buyer, String sequence) { in getValidRenderUriByBuyer()
70 public static List<AdData> getValidAdsByBuyer(AdTechIdentifier buyer) { in getValidAdsByBuyer()
79 public static List<AdData> getValidFilterAdsByBuyer(AdTechIdentifier buyer) { in getValidFilterAdsByBuyer()
87 public static List<AdData> getValidFilterAdsWithAdRenderIdByBuyer(AdTechIdentifier buyer) { in getValidFilterAdsWithAdRenderIdByBuyer()
99 AdTechIdentifier buyer) { in getValidFilterAdsWithInvalidAdRenderIdByBuyer()
105 public static List<AdData> getInvalidAdsByBuyer(AdTechIdentifier buyer) { in getInvalidAdsByBuyer()
126 AdTechIdentifier buyer, int sequenceNumber) { in getValidAdDataBuilderByBuyer()
140 AdTechIdentifier buyer, int sequenceNumber) { in getValidAdDataWithSubdomainBuilderByBuyer()
149 AdTechIdentifier buyer, int sequenceNumber) { in getValidFilterAdDataBuilderByBuyer()
[all …]
DCommonFixture.java59 public static final AdTechIdentifier NOT_ENROLLED_BUYER =
60 AdTechIdentifier.fromString("notenrolled.com");
61 public static final AdTechIdentifier VALID_BUYER_1 = AdTechIdentifier.fromString("test.com");
62 public static final AdTechIdentifier VALID_BUYER_2 = AdTechIdentifier.fromString("test2.com");
63 public static final AdTechIdentifier INVALID_EMPTY_BUYER = AdTechIdentifier.fromString("");
64 public static final Set<AdTechIdentifier> BUYER_SET =
79 public static Uri getUri(AdTechIdentifier authority, String path) { in getUri()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DCustomAudienceDao.java19 import android.adservices.common.AdTechIdentifier;
226 @NonNull String owner, @NonNull AdTechIdentifier buyer); in listDebuggableCustomAudiencesByOwnerAndBuyer()
233 @NonNull String owner, @NonNull AdTechIdentifier buyer, @NonNull String name); in getDebuggableCustomAudienceByPrimaryKey()
281 @NonNull String owner, @NonNull AdTechIdentifier buyer, @NonNull String name); in doesCustomAudienceOverrideExist()
293 @NonNull String owner, @NonNull AdTechIdentifier buyer); in doesCustomAudienceQuarantineExist()
304 @NonNull String owner, @NonNull AdTechIdentifier buyer); in getCustomAudienceQuarantineExpiration()
314 @NonNull String owner, @NonNull AdTechIdentifier buyer, @NonNull String name); in getCustomAudienceByPrimaryKey()
324 @NonNull AdTechIdentifier buyer, @NonNull String name); in getCustomAudiencesForBuyerAndName()
338 @NonNull String owner, @NonNull AdTechIdentifier buyer, @NonNull String name); in getCustomAudienceBackgroundFetchDataByPrimaryKey()
351 @NonNull String owner, @NonNull AdTechIdentifier buyer, @NonNull String name); in getDebuggableCustomAudienceBackgroundFetchDataByPrimaryKey()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DSignalsMaintenanceTasksWorkerTest.java25 import android.adservices.common.AdTechIdentifier;
111 AdTechIdentifier buyer1 = AdTechIdentifier.fromString("buyer1"); in testClearInvalidEncoderLogic()
112 AdTechIdentifier buyer2 = AdTechIdentifier.fromString("buyer2"); in testClearInvalidEncoderLogic()
113 AdTechIdentifier buyer3 = AdTechIdentifier.fromString("buyer3"); in testClearInvalidEncoderLogic()
133 AdTechIdentifier buyer1 = AdTechIdentifier.fromString("buyer1"); in testClearInvalidEncoderLogicEnrollmentDisabled()
148 AdTechIdentifier buyer1 = AdTechIdentifier.fromString("buyer1"); in testClearInvalidEncodedPayloads()
149 AdTechIdentifier buyer2 = AdTechIdentifier.fromString("buyer2"); in testClearInvalidEncodedPayloads()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DCompressedBuyerInputCreatorNoOptimizations.java19 import android.adservices.common.AdTechIdentifier;
48 public Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData>
51 @NonNull Map<AdTechIdentifier, DBEncodedPayload> encodedPayloadMap) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignals() argument
54 final Map<AdTechIdentifier, BiddingAuctionServers.BuyerInput.Builder> buyerInputs = in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
56 final Map<AdTechIdentifier, BuyerInputGeneratorIntermediateStats> perBuyerStats = in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
59 final AdTechIdentifier buyerName = dBcustomAudience.getBuyer(); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
75 for (Map.Entry<AdTechIdentifier, DBEncodedPayload> entry : encodedPayloadMap.entrySet()) { in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
76 final AdTechIdentifier buyerName = entry.getKey(); in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
96 Map<AdTechIdentifier, AuctionServerDataCompressor.CompressedData> compressedInputs = in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
98 for (Map.Entry<AdTechIdentifier, BiddingAuctionServers.BuyerInput.Builder> entry : in generateCompressedBuyerInputFromDBCAsAndEncodedSignals()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/
DIEnrollmentDao.java19 import android.adservices.common.AdTechIdentifier;
60 EnrollmentData getEnrollmentDataForFledgeByAdTechIdentifier(AdTechIdentifier adTechIdentifier); in getEnrollmentDataForFledgeByAdTechIdentifier()
68 Set<AdTechIdentifier> getAllFledgeEnrolledAdTechs(); in getAllFledgeEnrolledAdTechs()
81 Pair<AdTechIdentifier, EnrollmentData> getEnrollmentDataForFledgeByMatchingAdTechIdentifier( in getEnrollmentDataForFledgeByMatchingAdTechIdentifier()
93 EnrollmentData getEnrollmentDataForPASByAdTechIdentifier(AdTechIdentifier adTechIdentifier); in getEnrollmentDataForPASByAdTechIdentifier()
101 Set<AdTechIdentifier> getAllPASEnrolledAdTechs(); in getAllPASEnrolledAdTechs()
114 Pair<AdTechIdentifier, EnrollmentData> getEnrollmentDataForPASByMatchingAdTechIdentifier( in getEnrollmentDataForPASByMatchingAdTechIdentifier()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/customaudience/
DCustomAudienceFixture.java25 import android.adservices.common.AdTechIdentifier;
82 public static Uri getValidFetchUriByBuyer(AdTechIdentifier buyer, String token) { in getValidFetchUriByBuyer()
87 public static Uri getValidFetchUriByBuyer(AdTechIdentifier buyer) { in getValidFetchUriByBuyer()
91 public static Uri getValidDailyUpdateUriByBuyer(AdTechIdentifier buyer) { in getValidDailyUpdateUriByBuyer()
95 public static Uri getValidBiddingLogicUriByBuyer(AdTechIdentifier buyer) { in getValidBiddingLogicUriByBuyer()
99 public static CustomAudience.Builder getValidBuilderForBuyer(AdTechIdentifier buyer) { in getValidBuilderForBuyer()
114 AdTechIdentifier buyer, in getValidBuilderByBuyerWithAuctionServerRequestFlags()
121 AdTechIdentifier buyer) { in getValidBuilderWithSubdomainsForBuyer()
144 public static CustomAudience.Builder getValidBuilderForBuyerFilters(AdTechIdentifier buyer) { in getValidBuilderForBuyerFilters()
159 AdTechIdentifier buyer) { in getValidBuilderForBuyerFiltersWithAdRenderId()
[all …]
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/
DStaticAdTechServerUtils.java22 import android.adservices.common.AdTechIdentifier;
58 private static final AdTechIdentifier SELLER = AdTechIdentifier.fromString(SELLER_BASE_DOMAIN);
81 private final List<AdTechIdentifier> mCustomAudienceBuyers;
82 private final Map<AdTechIdentifier, AdSelectionSignals> mPerBuyerSignals;
87 List<AdTechIdentifier> customAudienceBuyers, in StaticAdTechServerUtils()
88 Map<AdTechIdentifier, AdSelectionSignals> perBuyerSignals) { in StaticAdTechServerUtils() argument
123 List<AdTechIdentifier> customAudienceBuyers = new ArrayList<>(numberOfBuyers); in withNumberOfBuyers()
124 Map<AdTechIdentifier, AdSelectionSignals> perBuyerSignals = new HashMap<>(numberOfBuyers); in withNumberOfBuyers()
126 AdTechIdentifier buyer = AdTechIdentifier.fromString(BUYER_BASE_DOMAINS.get(i)); in withNumberOfBuyers()
198 AdTechIdentifier buyerIdentifier = mCustomAudienceBuyers.get(buyerIndex); in createCustomAudience()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceBlobValidatorTest.java84 import android.adservices.common.AdTechIdentifier;
608 AdTechIdentifier emptyBuyer = AdTechIdentifier.fromString(""); in testValidator_invalidBuyer_emptyIdentifier()
629 AdTechIdentifier buyerWithoutHost = AdTechIdentifier.fromString("test@"); in testValidator_invalidBuyer_missingHost()
649 AdTechIdentifier buyerWithPath = AdTechIdentifier.fromString(VALID_BUYER_1 + "/path"); in testValidator_invalidBuyer_domainHasPath()
669 AdTechIdentifier buyerWithPort = AdTechIdentifier.fromString(VALID_BUYER_1 + ":80"); in testValidator_invalidBuyer_domainHasPort()
719 AdTechIdentifier emptyBuyer = AdTechIdentifier.fromString(""); in testValidator_invalidBiddingLogicUri_invalidBuyer_emptyIdentifier()
740 AdTechIdentifier buyerWithoutHost = AdTechIdentifier.fromString("test@"); in testValidator_invalidBiddingLogicUri_invalidBuyer_missingHost()
769 AdTechIdentifier buyerWithPath = AdTechIdentifier.fromString(VALID_BUYER_1 + "/path"); in testValidator_invalidBiddingLogicUri_invalidBuyer_domainHasPath()
798 AdTechIdentifier buyerWithPort = AdTechIdentifier.fromString(VALID_BUYER_1 + ":80"); in testValidator_invalidBiddingLogicUri_invalidBuyer_domainHasPort()
919 AdTechIdentifier emptyBuyer = AdTechIdentifier.fromString(""); in testValidator_invalidDailyUpdateUri_invalidBuyer_emptyIdentifier()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/customaudience/
DDBCustomAudienceFixture.java21 import android.adservices.common.AdTechIdentifier;
36 public static DBCustomAudience.Builder getValidBuilderByBuyer(AdTechIdentifier buyer) { in getValidBuilderByBuyer()
53 AdTechIdentifier buyer, String name) { in getValidBuilderByBuyer()
70 AdTechIdentifier buyer, String name) { in getValidBuilderByBuyerWithAdRenderId()
75 AdTechIdentifier buyer, String name, String owner) { in getValidBuilderByBuyerWithAdRenderId()
91 public static DBCustomAudience.Builder getValidBuilderByBuyerNoFilters(AdTechIdentifier buyer) { in getValidBuilderByBuyerNoFilters()
108 List<AdTechIdentifier> buyers) { in getListOfBuyersCustomAudiences()
116 AdTechIdentifier buyer) { in getValidBuilderByBuyerWithOmitAdsEnabled()
123 AdTechIdentifier buyer, String name) { in getValidBuilderByBuyerWithOmitAdsEnabled()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DGetAdSelectionDataLatency.java23 import android.adservices.common.AdTechIdentifier;
118 .setSeller(AdTechIdentifier.fromString(SELLER)) in warmup()
138 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_1()
165 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_10()
192 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_100()
220 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_500()
249 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingBuyers_1000()
277 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_1()
304 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_10()
331 .setSeller(AdTechIdentifier.fromString(SELLER)) in test_withoutFiltering_varyingCAs_100()
[all …]
DAbstractPerfTest.java25 import android.adservices.common.AdTechIdentifier;
79 public static final AdTechIdentifier SELLER = AdTechIdentifier.fromString("localhost");
86 public static final AdTechIdentifier BUYER_1 = AdTechIdentifier.fromString("localhost");
87 public static final List<AdTechIdentifier> CUSTOM_AUDIENCE_BUYERS =
93 public static final Map<AdTechIdentifier, AdSelectionSignals> PER_BUYER_SIGNALS =
225 final AdTechIdentifier buyer, in createCustomAudience()
260 final AdTechIdentifier buyer, String name, List<Double> bids) { in createCustomAudience()
281 AdTechIdentifier buyer, String customAudienceName, int adNumber) { in createExpectedWinningUri()
286 protected Uri getValidDailyUpdateUriByBuyer(AdTechIdentifier buyer) { in getValidDailyUpdateUriByBuyer()
290 protected TrustedBiddingData getValidTrustedBiddingDataByBuyer(AdTechIdentifier buyer) { in getValidTrustedBiddingDataByBuyer()
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/
DPermissionsAppOptOutTest.java32 import android.adservices.common.AdTechIdentifier;
93 .setBuyer(AdTechIdentifier.fromString("buyer.example.com")) in testNoEnrollment_fledgeJoinCustomAudience()
139 .setBuyer(AdTechIdentifier.fromString("test.com")) in testWithEnrollment_fledgeJoinCustomAudience()
163 AdTechIdentifier.fromString("buyer.example.com"), in testNoEnrollment_fledgeLeaveCustomAudience()
182 AdTechIdentifier.fromString("test.com"), "exampleCustomAudience") in testWithEnrollment_fledgeLeaveCustomAudience()
191 AdTechIdentifier.fromString("seller.example.com")); in testNoEnrollment_selectAds_adSelectionConfig()
212 AdTechIdentifier.fromString("test.com")); in testWithEnrollment_selectAds_adSelectionConfig()
234 AdTechIdentifier.fromString("unauthorized.seller.com")); in testNoEnrollment_selectAds_adSelectionFromOutcomesConfig()
254 AdTechIdentifier.fromString("test.com")); in testWithEnrollment_selectAds_adSelectionFromOutcomesConfig()
275 AdTechIdentifier.fromString("seller.example.com")); in testNoEnrollment_reportImpression()
[all …]

12345678910>>...13