Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java248 when(mMeasurementDao.getTrigger(trigger.getId())).thenReturn(trigger); in shouldIgnoreNonPendingTrigger()
250 verify(mMeasurementDao).getTrigger(trigger.getId()); in shouldIgnoreNonPendingTrigger()
262 when(mMeasurementDao.getTrigger(trigger.getId())).thenReturn(trigger); in shouldIgnoreIfNoSourcesFound()
305 when(mMeasurementDao.getTrigger(trigger.getId())).thenReturn(trigger); in shouldRejectBasedOnDedupKey()
347 when(mMeasurementDao.getTrigger(trigger.getId())).thenReturn(trigger); in shouldRejectBasedOnDedupKey_dedupAlignFlagOff()
388 when(mMeasurementDao.getTrigger(trigger.getId())).thenReturn(trigger); in shouldNotCreateEventReportAfterEventReportWindow()
434 when(mMeasurementDao.getTrigger(trigger1.getId())).thenReturn(trigger1); in shouldNotCreateEventReportAfterEventReportWindow_secondTrigger()
435 when(mMeasurementDao.getTrigger(trigger2.getId())).thenReturn(trigger2); in shouldNotCreateEventReportAfterEventReportWindow_secondTrigger()
501 when(mMeasurementDao.getTrigger(trigger.getId())).thenReturn(trigger); in shouldNotCreateEventReportAfterEventReportWindow_prioritisedSource()
530 when(mMeasurementDao.getTrigger(trigger.getId())).thenReturn(trigger); in shouldNotAddIfRateLimitExceeded_eventScopeOnly()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DIMeasurementDao.java112 Trigger getTrigger(String triggerId) throws DatastoreException; in getTrigger() method
DMeasurementDao.java539 public Trigger getTrigger(@NonNull String triggerId) throws DatastoreException { in getTrigger() method in MeasurementDao
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java2837 assertNotNull(measurementDao.getTrigger("T1")); in deleteFlexEventReportsAndAttributions_success()
2838 assertNotNull(measurementDao.getTrigger("T2")); in deleteFlexEventReportsAndAttributions_success()
2901 assertNotNull(measurementDao.getTrigger("T1")); in deleteFlexEventReportsAndAttributions_success()
2902 assertNotNull(measurementDao.getTrigger("T2")); in deleteFlexEventReportsAndAttributions_success()
2952 assertNotNull(measurementDao.getTrigger("T1")); in deleteSources_providedIds_deletesMatchingSourcesAndRelatedData()
2953 assertNotNull(measurementDao.getTrigger("T2")); in deleteSources_providedIds_deletesMatchingSourcesAndRelatedData()
2954 assertNotNull(measurementDao.getTrigger("T3")); in deleteSources_providedIds_deletesMatchingSourcesAndRelatedData()
2955 assertNotNull(measurementDao.getTrigger("T4")); in deleteSources_providedIds_deletesMatchingSourcesAndRelatedData()
3063 assertThrows(DatastoreException.class, () -> measurementDao.getTrigger("T1")); in deleteTriggers_providedIds_deletesMatchingTriggersAndRelatedData()
3064 assertThrows(DatastoreException.class, () -> measurementDao.getTrigger("T2")); in deleteTriggers_providedIds_deletesMatchingTriggersAndRelatedData()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java194 trigger = measurementDao.getTrigger(triggerId); in performAttribution()