Home
last modified time | relevance | path

Searched refs:attributionConfig (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DAttributionConfigTest.java63 AttributionConfig attributionConfig = createExample(); in testCreation() local
65 assertEquals("AdTech1-Ads", attributionConfig.getSourceAdtech()); in testCreation()
66 assertEquals(100L, attributionConfig.getSourcePriorityRange().first.longValue()); in testCreation()
67 assertEquals(1000L, attributionConfig.getSourcePriorityRange().second.longValue()); in testCreation()
68 List<FilterMap> sourceFilter = attributionConfig.getSourceFilters(); in testCreation()
71 List<FilterMap> sourceNotFilter = attributionConfig.getSourceNotFilters(); in testCreation()
74 assertEquals(600000L, attributionConfig.getSourceExpiryOverride().longValue()); in testCreation()
75 assertEquals(99L, attributionConfig.getPriority().longValue()); in testCreation()
76 assertEquals(604800L, attributionConfig.getExpiry().longValue()); in testCreation()
77 FilterMap filterData = attributionConfig.getFilterData(); in testCreation()
[all …]
DTriggerTest.java963 JSONObject attributionConfig = new JSONObject(); in createAttributionConfigJSONArray() local
964 attributionConfig.put("source_network", adtechId); in createAttributionConfigJSONArray()
968 attributionConfig.put("source_priority_range", sourcePriorityRange); in createAttributionConfigJSONArray()
974 attributionConfig.put("source_filters", sourceFilterSet); in createAttributionConfigJSONArray()
979 attributionConfig.put("source_not_filters", sourceNotFilterSet); in createAttributionConfigJSONArray()
980 attributionConfig.put("source_expiry_override", 600000L); in createAttributionConfigJSONArray()
981 attributionConfig.put("priority", 99L); in createAttributionConfigJSONArray()
982 attributionConfig.put("expiry", 604800L); in createAttributionConfigJSONArray()
987 attributionConfig.put("filter_data", filterDataSet); in createAttributionConfigJSONArray()
988 attributionConfig.put("post_install_exclusivity_window", 100000L); in createAttributionConfigJSONArray()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DAttributionConfig.java77 AttributionConfig attributionConfig = (AttributionConfig) obj; in equals() local
78 return Objects.equals(mSourceAdtech, attributionConfig.mSourceAdtech) in equals()
79 && Objects.equals(mSourcePriorityRange, attributionConfig.mSourcePriorityRange) in equals()
80 && Objects.equals(mSourceFilters, attributionConfig.mSourceFilters) in equals()
81 && Objects.equals(mSourceNotFilters, attributionConfig.mSourceNotFilters) in equals()
82 && Objects.equals(mSourceExpiryOverride, attributionConfig.mSourceExpiryOverride) in equals()
83 && Objects.equals(mPriority, attributionConfig.mPriority) in equals()
84 && Objects.equals(mExpiry, attributionConfig.mExpiry) in equals()
85 && Objects.equals(mFilterData, attributionConfig.mFilterData) in equals()
88 attributionConfig.mPostInstallExclusivityWindow); in equals()
[all …]
DTrigger.java724 public Builder setAttributionConfig(@Nullable String attributionConfig) { in setAttributionConfig() argument
725 mBuilding.mAttributionConfig = attributionConfig; in setAttributionConfig()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DXnaSourceCreator.java89 attributionConfig -> in generateDerivedSources()
91 attributionConfig, in generateDerivedSources()
93 attributionConfig.getSourceAdtech()), in generateDerivedSources()
101 AttributionConfig attributionConfig, in generateDerivedSources() argument
108 Pair<Long, Long> sourcePriorityRange = attributionConfig.getSourcePriorityRange(); in generateDerivedSources()
109 List<FilterMap> sourceFilters = attributionConfig.getSourceFilters(); in generateDerivedSources()
110 List<FilterMap> sourceNotFilters = attributionConfig.getSourceNotFilters(); in generateDerivedSources()
118 .filter(createSourceExpiryOverridePredicate(attributionConfig, trigger)) in generateDerivedSources()
127 return generateDerivedSource(attributionConfig, parentSource, trigger); in generateDerivedSources()
135 AttributionConfig attributionConfig, Trigger trigger) { in createSourceExpiryOverridePredicate() argument
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfigParser.java61 AppManifestAttributionConfig attributionConfig = null; in getConfig() local
113 if (attributionConfig != null) { in getConfig()
117 attributionConfig = in getConfig()
207 attributionConfig, in getConfig()
DAppManifestConfig.java68 @Nullable AppManifestAttributionConfig attributionConfig, in AppManifestConfig() argument
76 mAttributionConfig = attributionConfig; in AppManifestConfig()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigParserTest.java86 AppManifestAttributionConfig attributionConfig = appManifestConfig.getAttributionConfig(); in testValidXml() local
87 expect.withMessage("getAttributionConfig()").that(attributionConfig).isNotNull(); in testValidXml()
88 if (attributionConfig != null) { in testValidXml()
90 .that(attributionConfig.getAllowAllToAccess()) in testValidXml()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcher.java837 AttributionConfig attributionConfig = in extractValidAttributionConfigs() local
840 validAttributionConfigsArray.put(attributionConfig.serializeAsJson(mFlags)); in extractValidAttributionConfigs()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java4816 AttributionConfig attributionConfig =
4832 attributionConfig.serializeAsJson(mFlags)))
4912 AttributionConfig attributionConfig =
4929 attributionConfig.serializeAsJson(mFlags)))
5008 AttributionConfig attributionConfig =
5025 attributionConfig.serializeAsJson(mFlags)))
6564 AttributionConfig attributionConfig =
6581 attributionConfig.serializeAsJson(mFlags)))