Home
last modified time | relevance | path

Searched refs:encodeToJson (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DTriggerSpecs.java414 public String encodeToJson() { in encodeToJson() method in TriggerSpecs
415 return encodeToJson(mTriggerSpecs); in encodeToJson()
424 public static String encodeToJson(TriggerSpec[] triggerSpecs) { in encodeToJson() method in TriggerSpecs
DAttributedTrigger.java195 public JSONObject encodeToJson() { in encodeToJson() method in AttributedTrigger
DSource.java542 jsonArray.put(trigger.encodeToJson()); in attributedTriggersToJson()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/
DSourceFixture.java331 .setTriggerSpecsString(triggerSpecs.encodeToJson()) in getValidSourceBuilderWithFlexEventReportValueSum()
341 .setTriggerSpecsString(triggerSpecs.encodeToJson()) in getValidSourceBuilderWithFlexEventReport()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DTriggerSpecsTest.java228 String encodedJSON = testObject1.encodeToJson(); in encodeToJson_equal()
DSourceTest.java176 .setTriggerSpecsString(triggerSpecs.encodeToJson()) in testEqualsPass()
230 .setTriggerSpecsString(triggerSpecs.encodeToJson()) in testEqualsPass()
471 .setTriggerSpecsString(triggerSpecsValueSumBased.encodeToJson()) in testEqualsFail()
474 .setTriggerSpecsString(triggerSpecsCountBased.encodeToJson()) in testEqualsFail()
1280 String encodedTriggerSpecs = originalTriggerSpecs.encodeToJson(); in triggerSpecs_encodingDecoding_equal()
DAttributedTriggerTest.java472 JSONObject encodedObj = triggerFromJson.encodeToJson(); in encodeToJson_jsonConstructor_equalAfterReconstructing()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DEventReportWindowCalcDelegateTest.java1967 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fallsWithinWindow_flexApi_windowNotStarted()
2019 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fallsWithinWindow_flexApi_windowWithin()
2073 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fallsWithinWindow_flexApi_windowPassed()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java5135 .setTriggerSpecsString(triggerSpecs.encodeToJson())
5224 .setTriggerSpecsString(triggerSpecs.encodeToJson())
5349 .setTriggerSpecsString(templateTriggerSpecs.encodeToJson())
5513 .setTriggerSpecsString(templateTriggerSpecs.encodeToJson())
5691 .setTriggerSpecsString(templateTriggerSpecs.encodeToJson())
5864 .setTriggerSpecsString(templateTriggerSpecs.encodeToJson())
6000 .setTriggerSpecsString(templateTriggerSpecs.encodeToJson())
6157 .setTriggerSpecsString(templateTriggerSpecs.encodeToJson())
6315 .setTriggerSpecsString(templateTriggerSpecs.encodeToJson())
6412 .setTriggerSpecsString(templateTriggerSpecs.encodeToJson())
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java334 validSource.getTriggerSpecs().encodeToJson(), in testInsertSource_flexibleEventReport_equal()
7485 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_bringsMatchingSources_expectedSourceReturned()
7498 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_bringsMatchingSources_expectedSourceReturned()
7543 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_bringsMatchingSources_expectedSourceReturned()
7607 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_moreThanSqliteMaxCompoundSelect_expectedSourceReturned()
7620 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_moreThanSqliteMaxCompoundSelect_expectedSourceReturned()
7665 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_moreThanSqliteMaxCompoundSelect_expectedSourceReturned()
7729 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_emptyInputSourceId_noSourceReturned()
7743 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_emptyInputSourceId_noSourceReturned()
7788 .setTriggerSpecsString(testTriggerSpecs.encodeToJson()) in fetchFlexSourceIdsFor_emptyInputSourceId_noSourceReturned()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDao.java712 values.put(SourceContract.TRIGGER_SPECS, source.getTriggerSpecs().encodeToJson()); in insertSource()