Home
last modified time | relevance | path

Searched refs:createExample (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DFilterMapTest.java41 FilterMap attributionFilterMap = createExample(); in testCreation()
56 final FilterMap data1 = createExample(); in testHashCode_equals()
57 final FilterMap data2 = createExample(); in testHashCode_equals()
67 final FilterMap data1 = createExample(); in testHashCode_notEquals()
87 FilterMap expected = createExample(); in serializeAsJson_success()
97 private FilterMap createExample() { in createExample() method in FilterMapTest
DXNetworkDataTest.java41 XNetworkData xNetworkData = createExample(); in testCreation()
79 final XNetworkData network1 = createExample(); in testHashCode_equals()
80 final XNetworkData network2 = createExample(); in testHashCode_equals()
90 final XNetworkData network1 = createExample(); in testHashCode_notEquals()
100 private XNetworkData createExample() { in createExample() method in XNetworkDataTest
DAttributionConfigTest.java47 AttributionConfig attributionConfig = createExample(); in testCreation()
83 final AttributionConfig config1 = createExample(); in testHashCode_equals()
84 final AttributionConfig config2 = createExample(); in testHashCode_equals()
94 final AttributionConfig config1 = createExample(); in testHashCode_notEquals()
174 AttributionConfig attributionConfig = createExample(); in serializeAsJson_success()
242 private AttributionConfig createExample() { in createExample() method in AttributionConfigTest
DEventTriggerTest.java154 EventTrigger eventTrigger1 = createExample(); in testHashCode_equals()
155 EventTrigger eventTrigger2 = createExample(); in testHashCode_equals()
165 EventTrigger eventTrigger1 = createExample(); in testHashCode_notEquals()
197 private EventTrigger createExample() throws JSONException { in createExample() method in EventTriggerTest
DEventReportTest.java128 EventReport eventReport = createExample(); in creation_success()
704 final EventReport eventReport1 = createExample(); in testHashCode_equals()
705 final EventReport eventReport2 = createExample(); in testHashCode_equals()
715 final EventReport eventReport1 = createExample(); in testHashCode_notEquals()
819 private EventReport createExample() { in createExample() method in EventReportTest
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateAttributionDataTest.java35 private AggregateAttributionData createExample() { in createExample() method in AggregateAttributionDataTest
43 AggregateAttributionData data = createExample(); in testCreation()
57 final AggregateAttributionData data1 = createExample(); in testHashCode_equals()
58 final AggregateAttributionData data2 = createExample(); in testHashCode_equals()
68 final AggregateAttributionData data1 = createExample(); in testHashCode_notEquals()
DAggregatableAttributionSourceTest.java34 private AggregatableAttributionSource createExample() { in createExample() method in AggregatableAttributionSourceTest
46 AggregatableAttributionSource attributionSource = createExample(); in testCreation()
63 final AggregatableAttributionSource attributionSource1 = createExample(); in testHashCode_equals()
64 final AggregatableAttributionSource attributionSource2 = createExample(); in testHashCode_equals()
74 final AggregatableAttributionSource attributionSource1 = createExample(); in testHashCode_notEquals()
DAggregateHistogramContributionTest.java35 private AggregateHistogramContribution createExample() { in createExample() method in AggregateHistogramContributionTest
43 AggregateHistogramContribution contribution = createExample(); in testCreation()
58 final AggregateHistogramContribution contribution1 = createExample(); in testHashCode_equals()
59 final AggregateHistogramContribution contribution2 = createExample(); in testHashCode_equals()
69 final AggregateHistogramContribution contribution1 = createExample(); in testHashCode_notEquals()
DAggregatableAttributionTriggerTest.java44 private AggregatableAttributionTrigger createExample( in createExample() method in AggregatableAttributionTriggerTest
76 AggregatableAttributionTrigger attributionTrigger = createExample(null); in testCreation()
97 final AggregatableAttributionTrigger attributionTrigger1 = createExample(null); in testHashCode_equals()
98 final AggregatableAttributionTrigger attributionTrigger2 = createExample(null); in testHashCode_equals()
110 final AggregatableAttributionTrigger attributionTrigger1 = createExample(null); in testHashCode_notEquals()
172 createExample(Arrays.asList(aggregateDeduplicationKey1, aggregateDeduplicationKey2)) in testExtractDedupKey_bothKeysHaveMatchingFilters()
235 createExample(Arrays.asList(aggregateDeduplicationKey1, aggregateDeduplicationKey2)) in testExtractDedupKey_secondKeyMatches_firstKeyHasInvalidFilters()
294 createExample(Arrays.asList(aggregateDeduplicationKey1, aggregateDeduplicationKey2)) in testExtractDedupKey_secondKeyMatches_firstKeyHasInvalidNotFilters()
328 createExample(Arrays.asList(aggregateDeduplicationKey1, aggregateDeduplicationKey2)) in testExtractDedupKey_noFiltersInFirstKey()
371 createExample(Arrays.asList(aggregateDeduplicationKey1, aggregateDeduplicationKey2)) in testExtractDedupKey_noKeysMatch()
[all …]
DAggregateEncryptionKeyTest.java34 private AggregateEncryptionKey createExample() { in createExample() method in AggregateEncryptionKeyTest
50 verifyExample(createExample()); in testCreation()
DAggregateDeduplicationKeyTest.java40 private AggregateDeduplicationKey createExample() { in createExample() method in AggregateDeduplicationKeyTest
61 verifyExample(createExample()); in testCreation()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/
DStatusParamTest.java36 private StatusParam createExample() { in createExample() method in StatusParamTest
68 verifyExample(createExample()); in testCreation()
74 createExample().writeToParcel(p, 0); in testParceling()
82 assertEquals(0, createExample().describeContents()); in testDescribeContents()
DMeasurementErrorResponseTest.java53 verifyExample(createExample()); in testCreationAttribution()
59 createExample().writeToParcel(p, 0); in testParceling()
106 assertEquals(0, createExample().describeContents()); in testDescribeContents()
109 private MeasurementErrorResponse createExample() { in createExample() method in MeasurementErrorResponseTest
DDeletionParamTest.java41 private DeletionParam createExample() { in createExample() method in DeletionParamTest
184 verifyExample(createExample()); in testCreation()
190 createExample().writeToParcel(p, 0); in testParcelingDelete()
207 assertEquals(0, createExample().describeContents()); in testDescribeContents()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DImpressionNoiseUtilTest.java344 final ImpressionNoiseParams data1 = createExample(); in testHashCode_equals()
345 final ImpressionNoiseParams data2 = createExample(); in testHashCode_equals()
355 final ImpressionNoiseParams data1 = createExample(); in testHashCode_notEquals()
366 final ImpressionNoiseParams data1 = createExample(); in testToString()
367 final ImpressionNoiseParams data2 = createExample(); in testToString()
371 private ImpressionNoiseParams createExample() { in createExample() method in ImpressionNoiseUtilTest