Home
last modified time | relevance | path

Searched refs:triggerSpecsString (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DTriggerSpecs.java72 String triggerSpecsString, in TriggerSpecs() argument
78 triggerSpecsString, in TriggerSpecs()
95 String triggerSpecsString, in TriggerSpecs() argument
100 if (triggerSpecsString == null || triggerSpecsString.isEmpty()) { in TriggerSpecs()
103 JSONArray triggerSpecs = new JSONArray(triggerSpecsString); in TriggerSpecs()
DSource.java1726 public Builder setTriggerSpecsString(@Nullable String triggerSpecsString) { in setTriggerSpecsString() argument
1727 mBuilding.mTriggerSpecsString = triggerSpecsString; in setTriggerSpecsString()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/
DSourceFixture.java188 String triggerSpecsString = in getValidTriggerSpecsCountBased() local
202 triggerSpecArrayFrom(triggerSpecsString), 3, source); in getValidTriggerSpecsCountBased()
210 String triggerSpecsString = in getValidTriggerSpecsCountBasedWithFewerState() local
219 triggerSpecArrayFrom(triggerSpecsString), 1, source); in getValidTriggerSpecsCountBasedWithFewerState()
227 String triggerSpecsString = in getValidTriggerSpecsWithNonDefaultEpsilon() local
237 TriggerSpecs triggerSpecs = new TriggerSpecs(triggerSpecsString, "1", source, jsonString); in getValidTriggerSpecsWithNonDefaultEpsilon()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DTriggerSpecsTest.java153 String triggerSpecsString = SourceFixture.getTriggerSpecCountEncodedJsonValidBaseline(); in equals_fourParamConstructorFromRawJSON_returnsTrue() local
156 new TriggerSpecs(triggerSpecsString, "3", null, PRIVACY_PARAMETERS_JSON), in equals_fourParamConstructorFromRawJSON_returnsTrue()
157 new TriggerSpecs(triggerSpecsString, "3", null, PRIVACY_PARAMETERS_JSON)); in equals_fourParamConstructorFromRawJSON_returnsTrue()
279 String triggerSpecsString = in getSummaryBucketFromIndex_baseline_equal() local
291 TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString), 5, null); in getSummaryBucketFromIndex_baseline_equal()
DSourceTest.java1545 String triggerSpecsString = in validateAndSetNumReportStates_fullFlexValid_returnsTrue() local
1553 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in validateAndSetNumReportStates_fullFlexValid_returnsTrue()
1585 String triggerSpecsString = in validateAndSetNumReportStates_fullFlexArithmeticInvalid_returnsFalse() local
1598 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in validateAndSetNumReportStates_fullFlexArithmeticInvalid_returnsFalse()
1630 String triggerSpecsString = in validateAndSetNumReportStates_fullFlexIterativeInvalid_returnsFalse() local
1655 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in validateAndSetNumReportStates_fullFlexIterativeInvalid_returnsFalse()
1689 String triggerSpecsString = in validateAndSetMaxEventStates_fullFlexAttributionScopeMaxEventStatesNull_returnsFalse() local
1696 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in validateAndSetMaxEventStates_fullFlexAttributionScopeMaxEventStatesNull_returnsFalse()
1796 String triggerSpecsString = in isFlexEventApiValueValid_eventSource_true() local
1803 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in isFlexEventApiValueValid_eventSource_true()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java6201 String triggerSpecsString = in fetchSource_flexibleEventReportApi_valid() local
6234 + triggerSpecsString in fetchSource_flexibleEventReportApi_valid()
6277 String triggerSpecsString = in fetchSource_flexEventSourceTypeNavigationNoWindows_defaultsToNavigationWindows() local
6301 + triggerSpecsString in fetchSource_flexEventSourceTypeNavigationNoWindows_defaultsToNavigationWindows()
6344 String triggerSpecsString = in fetchSource_flexEventSourceTypeNavigationNoWindows_expiryBoundsWindows() local
6370 + triggerSpecsString in fetchSource_flexEventSourceTypeNavigationNoWindows_expiryBoundsWindows()
6412 String triggerSpecsString = in fetchSource_flexEventSourceTypeNavigationNoWindows_eventReportWindowBoundsWindows() local
6440 + triggerSpecsString in fetchSource_flexEventSourceTypeNavigationNoWindows_eventReportWindowBoundsWindows()
6482 String triggerSpecsString = in fetchSource_flexEventSourceTypeEventNoWindows_defaultsToEventWindows() local
6506 + triggerSpecsString in fetchSource_flexEventSourceTypeEventNoWindows_defaultsToEventWindows()
[all …]
DAsyncRegistrationQueueRunnerTest.java3273 String triggerSpecsString = in isSourceAllowedToInsert_flexEventApiValidNav_pass() local
3284 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in isSourceAllowedToInsert_flexEventApiValidNav_pass()
3337 String triggerSpecsString = in isSourceAllowedToInsert_flexEventApiInvalidEventExceedMaxInfoGain_fail() local
3348 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in isSourceAllowedToInsert_flexEventApiInvalidEventExceedMaxInfoGain_fail()
3402 String triggerSpecsString = in isSourceAllowedToInsert_flexEventApiInvalidEventExceedNumStatesArithmetic_fail() local
3416 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in isSourceAllowedToInsert_flexEventApiInvalidEventExceedNumStatesArithmetic_fail()
3472 String triggerSpecsString = in isSourceAllowedToInsert_flexEventApiInvalidEventExceedNumStatesIterative_fail() local
3499 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in isSourceAllowedToInsert_flexEventApiInvalidEventExceedNumStatesIterative_fail()
3558 String triggerSpecsString = in isSourceAllowedToInsert_fullFlexHighBoundAndStateCountIterative_catchesException() local
3587 TriggerSpec[] triggerSpecsArray = TriggerSpecsUtil.triggerSpecArrayFrom(triggerSpecsString); in isSourceAllowedToInsert_fullFlexHighBoundAndStateCountIterative_catchesException()
[all …]