Home
last modified time | relevance | path

Searched refs:triggerIds (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/
DMeasurementDataDeleter.java135 Set<String> triggerIds = in delete() local
159 !sourceIds.isEmpty() || !triggerIds.isEmpty() || !asyncRegistrationIds.isEmpty(); in delete()
167 dao.fetchMatchingAggregateReports(sourceIds, triggerIds); in delete()
177 Set<String> extendedSourceIds = dao.fetchFlexSourceIdsFor(triggerIds); in delete()
186 triggerIds.addAll(source.getAttributedTriggerIds()); in delete()
201 eventReports = dao.fetchMatchingEventReports(extendedSourceIds, triggerIds); in delete()
203 eventReports = dao.fetchMatchingEventReports(sourceIds, triggerIds); in delete()
214 dao.deleteTriggers(triggerIds); in delete()
230 dao.updateTriggerStatus(triggerIds, Trigger.Status.MARKED_TO_DELETE); in delete()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/deletion/
DMeasurementDataDeleterTest.java488 Set<String> triggerIds = Set.of("triggerId1", "triggerId2"); in delete_deletionModeAll_success() local
523 when(mMeasurementDao.fetchMatchingEventReports(sourceIds, triggerIds)) in delete_deletionModeAll_success()
525 when(mMeasurementDao.fetchMatchingAggregateReports(sourceIds, triggerIds)) in delete_deletionModeAll_success()
568 verify(mMeasurementDao).deleteTriggers(triggerIds); in delete_deletionModeAll_success()
578 Set<String> triggerIds = new HashSet<>(); in delete_deletionModeAllFlexApi_success() local
579 triggerIds.addAll(List.of("triggerId1", "triggerId2")); in delete_deletionModeAllFlexApi_success()
648 when(mMeasurementDao.fetchMatchingEventReports(extendedSourceIds2, triggerIds)) in delete_deletionModeAllFlexApi_success()
650 when(mMeasurementDao.fetchMatchingAggregateReports(sourceIds, triggerIds)) in delete_deletionModeAllFlexApi_success()
675 .thenReturn(triggerIds); in delete_deletionModeAllFlexApi_success()
686 when(mMeasurementDao.fetchFlexSourceIdsFor(triggerIds)) in delete_deletionModeAllFlexApi_success()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DIMeasurementDao.java254 void updateTriggerStatus(@NonNull Collection<String> triggerIds, @Trigger.Status int status) in updateTriggerStatus() argument
522 void deleteTriggers(@NonNull Collection<String> triggerIds) throws DatastoreException; in deleteTriggers() argument
592 @NonNull Collection<String> sourceIds, @NonNull Collection<String> triggerIds) in fetchMatchingAggregateReports() argument
604 @NonNull Collection<String> sourceIds, @NonNull Collection<String> triggerIds) in fetchMatchingEventReports() argument
614 Set<String> fetchFlexSourceIdsFor(@NonNull Collection<String> triggerIds) in fetchFlexSourceIdsFor() argument
DMeasurementDao.java974 public void updateTriggerStatus(Collection<String> triggerIds, @Trigger.Status int status) in updateTriggerStatus() argument
987 .limit(triggerIds.size()) in updateTriggerStatus()
990 triggerIds.toArray(new String[0])); in updateTriggerStatus()
991 if (rows != triggerIds.size()) { in updateTriggerStatus()
1866 @NonNull Collection<String> sourceIds, @NonNull Collection<String> triggerIds) in fetchMatchingAggregateReports() argument
1873 triggerIds, in fetchMatchingAggregateReports()
1879 @NonNull Collection<String> sourceIds, @NonNull Collection<String> triggerIds) in fetchMatchingEventReports() argument
1886 triggerIds, in fetchMatchingEventReports()
1891 public Set<String> fetchFlexSourceIdsFor(@NonNull Collection<String> triggerIds) in fetchFlexSourceIdsFor() argument
1894 if (triggerIds.isEmpty()) { in fetchFlexSourceIdsFor()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java8351 private static String getAttributionStatus(List<String> triggerIds, List<String> triggerData,
8355 for (int i = 0; i < triggerIds.size(); i++) {
8358 .put("trigger_id", triggerIds.get(i))