Home
last modified time | relevance | path

Searched refs:destinations (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DReportUtil.java43 public static Object serializeAttributionDestinations(@NonNull List<Uri> destinations) { in serializeAttributionDestinations() argument
44 if (destinations.size() == 0) { in serializeAttributionDestinations()
48 if (destinations.size() == 1) { in serializeAttributionDestinations()
49 return destinations.get(0).toString(); in serializeAttributionDestinations()
51 List<Uri> sortedDestinations = new ArrayList<>(destinations); in serializeAttributionDestinations()
DEventReportingJobHandler.java322 Pair<List<Uri>, List<Uri>> destinations = in updateAppReportHistory() local
324 List<Uri> webDestinations = destinations.first; in updateAppReportHistory()
325 List<Uri> appDestinations = destinations.second; in updateAppReportHistory()
DDebugReportApi.java589 List<Uri> destinations = new ArrayList<>(); in generateSourceDestinations() local
590 Optional.ofNullable(source.getAppDestinations()).ifPresent(destinations::addAll); in generateSourceDestinations()
595 webUri.ifPresent(destinations::add); in generateSourceDestinations()
598 return ReportUtil.serializeAttributionDestinations(destinations); in generateSourceDestinations()
DAggregateReportingJobHandler.java357 Pair<List<Uri>, List<Uri>> destinations = in updateAppReportHistory() local
359 List<Uri> appDestinations = destinations.second; in updateAppReportHistory()
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/attribution_scope/
Dattribution_scope_multiple_trigger_attribution_scopes.json8 // S1: attribution scopes -> ["1"], destinations -> [D1], priority -> 102
44 // S2: attribution scopes -> ["2"], destinations -> [D1], priority -> 102
80 // S3: attribution scopes -> ["2", "3"], destinations -> [D1], priority -> 102
116 // S4: attribution scopes -> ["3"], destinations -> [D1], priority -> 102
Dattribution_scope_multiple_destinations.json8 // S1: attribution scopes -> ["1"], destinations -> [D1], priority -> 102
51 // S2: attribution scopes -> ["1"], destinations -> [D2], priority -> 102
94 // S3: attribution scopes -> ["2"], destinations -> [D1, D2], priority -> 101
140 // S4: attribution scopes -> null, destinations -> [D1, D2], priority -> 102
Dattribution_scope_information_gain.json8 // S1: navigation, attribution scopes -> ["1"], destinations -> [D1], priority -> 102
45 // S2: event, attribution scopes -> ["1"], destinations -> [D2], priority -> 102
82 // S3: navigation, attribution scopes -> ["1"], destinations -> [D1], priority -> 101
118 // S4: event, attribution scopes -> ["1"], destinations -> [D2], priority -> 101
Dattribution_scope_basic.json8 // S1: attribution scopes -> ["1"], destinations -> [D1]
44 // S2: attribution scopes -> ["2"], destinations -> [D1]
81 // S3: attribution scopes -> ["3"], destinations -> [D2]
118 // S4: attribution scopes -> ["4"], destinations -> [D2]
Dattribution_scope_highest_priority.json8 // S1: attribution scopes -> ["1"], destinations -> [D1], priority -> 102
44 // S2: attribution scopes -> ["1"], destinations -> [D1], priority -> 102
80 // S3: attribution scopes -> ["1"], destinations -> [D1], priority -> 101
Dattribution_scope_older_scopes_removed.json8 // S1: attribution scopes-> ["1", "2", "3"] destinations -> [D1]
47 // S2: attribution scopes-> ["3", "4", "5"] destinations -> [D1]
87 // S3: attribution scopes-> ["4"] destinations -> [D1]
Dattribution_scope_different_max_event_states_deactivation.json8 // S1: max_event_states -> 10, attribution scopes-> ["1", "2", "3"] destinations -> [D1]
47 // S2: max_event_states -> 11 attribution scopes-> ["1", "2", "3"] destinations -> [D1]
Dattribution_scope_smaller_attribution_scope_limit_deactivation.json8 // S1: attribution scope limit -> 3 destinations -> [D1], priority -> 102
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java544 List<Uri> destinations) in maybeDeleteSourcesForLruDestination() argument
546 if (destinations == null || destinations.isEmpty()) { in maybeDeleteSourcesForLruDestination()
550 if (destinations.size() > fifoLimit) { in maybeDeleteSourcesForLruDestination()
553 "Incoming destinations: " + destinations.size() + "; FIFO limit:" + fifoLimit); in maybeDeleteSourcesForLruDestination()
560 destinations, in maybeDeleteSourcesForLruDestination()
563 if (distinctDestinations + destinations.size() <= fifoLimit) { in maybeDeleteSourcesForLruDestination()
573 while (distinctDestinations + destinations.size() > fifoLimit) { in maybeDeleteSourcesForLruDestination()
580 destinations, in maybeDeleteSourcesForLruDestination()
588 + destinations.size() in maybeDeleteSourcesForLruDestination()
611 destinations, in maybeDeleteSourcesForLruDestination()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2EMockTest.java520 List<EventReport> eventReports, List<Uri> destinations, List<JSONObject> payloads) in processActualEventReports() argument
523 getActualEventReportObjects(eventReports, destinations, payloads); in processActualEventReports()
530 List<Uri> destinations, in processActualDebugEventReports() argument
534 getActualEventReportObjects(eventReports, destinations, payloads); in processActualDebugEventReports()
543 List<Uri> destinations, in processActualDebugReports() argument
546 timestamp, destinations, payloads); in processActualDebugReports()
551 List<EventReport> eventReports, List<Uri> destinations, List<JSONObject> payloads) { in getActualEventReportObjects() argument
553 for (int i = 0; i < destinations.size(); i++) { in getActualEventReportObjects()
556 map.put(TestFormatJsonMapping.REPORT_TO_KEY, destinations.get(i).toString()); in getActualEventReportObjects()
565 List<Uri> destinations, in getActualDebugReportObjects() argument
[all …]
DE2EImpressionNoiseMockTest.java108 List<EventReport> eventReports, List<Uri> destinations, List<JSONObject> payloads) in processActualEventReports() argument
114 for (int i = 0; i < destinations.size(); i++) { in processActualEventReports()
115 String uri = getReportUrl(ReportType.EVENT, destinations.get(i).toString()); in processActualEventReports()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DSourceNoiseHandler.java223 ImmutableList.Builder<Uri> destinations = new ImmutableList.Builder<>(); in resolveFakeReportDestinations() local
224 Optional.ofNullable(source.getAppDestinations()).ifPresent(destinations::addAll); in resolveFakeReportDestinations()
225 Optional.ofNullable(source.getWebDestinations()).ifPresent(destinations::addAll); in resolveFakeReportDestinations()
226 return destinations.build(); in resolveFakeReportDestinations()
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_interop_tests/
Ddefault_config.json6 // Positive integer that controls the maximum number of distinct destinations
11 // Positive integer that controls the maximum number of distinct destinations
18 // destinations covered by sources for a given source site over
24 // destinations. Formatted as a base-10 string.
Drate_limit_max_source_registration_reporting_origin_endpoints.json91 // reached for one of the destinations.
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DEventReportPayloadTest.java95 List<Uri> destinations) { in createEventReportPayloadBuilder() argument
97 .setAttributionDestination(destinations) in createEventReportPayloadBuilder()
114 List<Uri> destinations) { in createEventReportPayload() argument
120 destinations) in createEventReportPayload()
DReportUtilTest.java50 List<Uri> destinations = List.of(Uri.parse(DESTINATION_1)); in serializeAttributionDestinations_singleDestination_returnsString() local
51 assertEquals(DESTINATION_1, ReportUtil.serializeAttributionDestinations(destinations)); in serializeAttributionDestinations_singleDestination_returnsString()
DEventReportingJobHandlerTest.java294 Pair<List<Uri>, List<Uri>> destinations = in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() local
305 .thenReturn(destinations); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory()
365 Pair<List<Uri>, List<Uri>> destinations = in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() local
376 .thenReturn(destinations); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory()
434 Pair<List<Uri>, List<Uri>> destinations = in testSendReportForPendingReportSuccess_coarseSource_doesNotPersistAppReportHistory() local
446 .thenReturn(destinations); in testSendReportForPendingReportSuccess_coarseSource_doesNotPersistAppReportHistory()
DAggregateReportingJobHandlerTest.java260 Pair<List<Uri>, List<Uri>> destinations = in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() local
272 .thenReturn(destinations); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory()
320 Pair<List<Uri>, List<Uri>> destinations = in testSendReportSuccess_reinstallAttributionEnabled_skipNullAggregateReport() local
332 .thenReturn(destinations); in testSendReportSuccess_reinstallAttributionEnabled_skipNullAggregateReport()
379 Pair<List<Uri>, List<Uri>> destinations = in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() local
391 .thenReturn(destinations); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DSource.java449 List<Uri> destinations, in FakeReport() argument
453 mDestinations = destinations; in FakeReport()
744 List<Pair<Integer, String>> destinations = new ArrayList<>(); in getAllAttributionDestinations() local
747 destinations.add(Pair.create(EventSurfaceType.APP, appDestination.toString())); in getAllAttributionDestinations()
752 destinations.add(Pair.create(EventSurfaceType.WEB, webDestination.toString())); in getAllAttributionDestinations()
755 return destinations; in getAllAttributionDestinations()
1278 List<Uri> destinations, List<Uri> otherDestinations) { in areEqualNullableDestinations() argument
1279 if (destinations == null && otherDestinations == null) { in areEqualNullableDestinations()
1281 } else if (destinations == null || otherDestinations == null) { in areEqualNullableDestinations()
1284 return ImmutableMultiset.copyOf(destinations) in areEqualNullableDestinations()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DSqliteObjectMapper.java68 (destinations) -> in constructEventReportFromCursor()
69 builder.setAttributionDestinations(destinationsStringToList(destinations))); in constructEventReportFromCursor()
518 static List<Uri> destinationsStringToList(String destinations) { in destinationsStringToList() argument
519 return Arrays.stream(destinations.split(" ")) in destinationsStringToList()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java974 Pair<List<Uri>, List<Uri>> destinations = in maybeGenerateEventReport() local
976 source.setAppDestinations(destinations.first); in maybeGenerateEventReport()
977 source.setWebDestinations(destinations.second); in maybeGenerateEventReport()
1235 ImmutableList.Builder<Uri> destinations = new ImmutableList.Builder<>(); in getEventReportDestinations() local
1238 Optional.ofNullable(source.getAppDestinations()).ifPresent(destinations::addAll); in getEventReportDestinations()
1239 Optional.ofNullable(source.getWebDestinations()).ifPresent(destinations::addAll); in getEventReportDestinations()
1241 destinations.addAll(source.getAttributionDestinations(destinationType)); in getEventReportDestinations()
1243 return destinations.build(); in getEventReportDestinations()

12