Home
last modified time | relevance | path

Searched refs:aggregatableSource (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregatePayloadGeneratorTest.java77 TreeMap<String, BigInteger> aggregatableSource = new TreeMap<>(); in testGenerateAttributionReport_twoContributions_filterSetMatches() local
78 aggregatableSource.put("campaignCounts", BigInteger.valueOf(345L)); in testGenerateAttributionReport_twoContributions_filterSetMatches()
79 aggregatableSource.put("geoValue", BigInteger.valueOf(5L)); in testGenerateAttributionReport_twoContributions_filterSetMatches()
89 .setAggregatableSource(aggregatableSource) in testGenerateAttributionReport_twoContributions_filterSetMatches()
179 TreeMap<String, BigInteger> aggregatableSource = new TreeMap<>(); in testGenerateAttributionReport_filterSetMatches_withPayloadPadding() local
180 aggregatableSource.put("campaignCounts", BigInteger.valueOf(345L)); in testGenerateAttributionReport_filterSetMatches_withPayloadPadding()
181 aggregatableSource.put("geoValue", BigInteger.valueOf(5L)); in testGenerateAttributionReport_filterSetMatches_withPayloadPadding()
191 .setAggregatableSource(aggregatableSource) in testGenerateAttributionReport_filterSetMatches_withPayloadPadding()
276 JSONObject aggregatableSource = new JSONObject(); in testGenerateAttributionReport_insideLookbackWindow_filterSetMatches() local
277 aggregatableSource.put("campaignCounts", "0x159"); in testGenerateAttributionReport_insideLookbackWindow_filterSetMatches()
[all …]
DAggregatableAttributionSourceTest.java35 TreeMap<String, BigInteger> aggregatableSource = new TreeMap<>(); in createExample() local
36 aggregatableSource.put("campaignCounts", BigInteger.valueOf(159L)); in createExample()
37 aggregatableSource.put("geoValue", BigInteger.valueOf(5L)); in createExample()
40 .setAggregatableSource(aggregatableSource) in createExample()
76 TreeMap<String, BigInteger> aggregatableSource = new TreeMap<>(); in testHashCode_notEquals() local
77 aggregatableSource.put("campaignCounts", BigInteger.valueOf(159L)); in testHashCode_notEquals()
78 aggregatableSource.put("geoValue", BigInteger.valueOf(1L)); in testHashCode_notEquals()
82 .setAggregatableSource(aggregatableSource) in testHashCode_notEquals()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DXnaSourceCreatorTest.java144 JSONObject aggregatableSource = new JSONObject(); in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() local
145 aggregatableSource.put("key1", "0x159"); in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
146 aggregatableSource.put("key2", "0x1"); in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
147 aggregatableSource.put("key3", "0x2"); in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
155 .setAggregateSource(aggregatableSource.toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
196 .setAggregateSource(aggregatableSource.toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
345 JSONObject aggregatableSource = new JSONObject(); in generateDerivedSources_sharedDebugKeyDisabled_doesntAddDebugKeyToDerivedSource() local
346 aggregatableSource.put("key1", "0x159"); in generateDerivedSources_sharedDebugKeyDisabled_doesntAddDebugKeyToDerivedSource()
347 aggregatableSource.put("key2", "0x1"); in generateDerivedSources_sharedDebugKeyDisabled_doesntAddDebugKeyToDerivedSource()
348 aggregatableSource.put("key3", "0x2"); in generateDerivedSources_sharedDebugKeyDisabled_doesntAddDebugKeyToDerivedSource()
[all …]
DAttributionJobHandlerTest.java4836 String aggregatableSource = SourceFixture.ValidSourceParams.buildAggregateSource();
4842 .setAggregateSource(aggregatableSource)
4854 .setAggregateSource(aggregatableSource)
4862 .setAggregateSource(aggregatableSource)
4933 String aggregatableSource = SourceFixture.ValidSourceParams.buildAggregateSource();
4940 .setAggregateSource(aggregatableSource)
4951 .setAggregateSource(aggregatableSource)
4959 .setAggregateSource(aggregatableSource)
5029 String aggregatableSource = SourceFixture.ValidSourceParams.buildAggregateSource();
5036 .setAggregateSource(aggregatableSource)
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregatableAttributionSource.java82 TreeMap<String, BigInteger> aggregatableSource) { in setAggregatableSource() argument
83 mBuilding.mAggregatableSource = aggregatableSource; in setAggregatableSource()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DSourceTest.java811 final TreeMap<String, BigInteger> aggregatableSource = new TreeMap<>(); in testAggregatableAttributionSource() local
812 aggregatableSource.put("2", new BigInteger("71")); in testAggregatableAttributionSource()
816 .setAggregatableSource(aggregatableSource) in testAggregatableAttributionSource()
837 aggregatableSource, in testAggregatableAttributionSource()
862 JSONObject aggregatableSource = new JSONObject(); in testAggregatableAttributionSourceWithTrigger_addsLookbackWindow() local
863 aggregatableSource.put("campaignCounts", "0x159"); in testAggregatableAttributionSourceWithTrigger_addsLookbackWindow()
864 aggregatableSource.put("geoValue", "0x5"); in testAggregatableAttributionSourceWithTrigger_addsLookbackWindow()
871 .setAggregateSource(aggregatableSource.toString()) in testAggregatableAttributionSourceWithTrigger_addsLookbackWindow()
1073 JSONObject aggregatableSource = new JSONObject(); in testParseAggregateSource() local
1074 aggregatableSource.put("campaignCounts", "0x159"); in testParseAggregateSource()
[all …]