/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/ |
D | JSScriptArgumentTest.java | 24 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 47 JSScriptArgument arg = stringArg("stringArg", "value"); in testStringArg() 107 "arrayArg", stringArg("ignored", "value1"), stringArg("ignored", "value2")); in testArrayArg() 121 stringArg("ignored", "value1"), in testRecordArg() 122 stringArg("ignored", "value2"))); in testRecordArg()
|
D | JSScriptEngineTest.java | 22 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 273 ImmutableList.of(stringArg("name", "Stefano")), in testCanRunSimpleScriptWithOneArg() 286 ImmutableList.of(stringArg("name", "Stefano")), in testCanRunAScriptWithOneArg() 300 recordArg("jsonArg", stringArg("name", "Stefano"))), in testCanUseJSONArguments() 319 stringArg("name", "Stefano"))), in testCanNotReferToScriptArguments() 351 ImmutableList.of(recordArg("jsonArg", stringArg("name", "Stefano"))); in testParallelCallsToTheScriptEngineDoNotInterfere()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | CustomAudienceBiddingSignalsArgumentUtil.java | 22 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 61 stringArg(OWNER_FIELD_NAME, customAudienceSignals.getOwner()), in asScriptArgument() 62 stringArg(BUYER_FIELD_NAME, customAudienceSignals.getBuyer().toString()), in asScriptArgument() 63 stringArg(NAME_FIELD_NAME, customAudienceSignals.getName()), in asScriptArgument()
|
D | AdSelectionConfigArgumentUtil.java | 21 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 69 stringArg(SELLER_FIELD_NAME, adSelectionConfig.getSeller().toString()), in asScriptArgument() 70 stringArg( in asScriptArgument() 83 stringArg( in asScriptArgument()
|
D | CustomAudienceScoringSignalsArgumentUtil.java | 20 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 54 stringArg(BUYER_FIELD_NAME, customAudienceSignals.getBuyer().toString()), in asScriptArgument() 55 stringArg(NAME_FIELD_NAME, customAudienceSignals.getName())); in asScriptArgument()
|
D | AdDataArgumentUtil.java | 21 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 86 stringArg(RENDER_URI_FIELD_NAME, adData.getRenderUri().toString()), in asScriptArgument() 103 stringArg(RENDER_URI_FIELD_NAME, adData.getRenderUri().toString()), in asRecordArgument()
|
D | CustomAudienceReportingSignalsArgumentUtil.java | 20 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 47 return recordArg(name, stringArg(NAME_FIELD_NAME, customAudienceSignals.getName())); in asScriptArgument()
|
D | SelectAdsFromOutcomesArgumentUtil.java | 21 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 45 stringArg( in asScriptArgument()
|
D | ReportImpressionScriptEngine.java | 22 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 221 .add(stringArg(RENDER_URI_ARG_NAME, renderUri.toString())) in reportResult()
|
D | AdSelectionScriptEngine.java | 22 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 1049 stringArg("owner", customAudience.getOwner()), 1050 stringArg("name", customAudience.getName()),
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdSelectionConfigArgumentUtilTest.java | 21 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 74 stringArg( in testConversionToScriptArgument() 77 stringArg( in testConversionToScriptArgument() 97 stringArg( in testConversionToScriptArgument()
|
D | CustomAudienceBiddingSignalsArgumentUtilTest.java | 23 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 79 stringArg( in matchCustomAudienceSignals() 82 stringArg( in matchCustomAudienceSignals() 85 stringArg( in matchCustomAudienceSignals()
|
D | AdDataArgumentUtilTest.java | 22 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 168 stringArg( in testConversionToScriptArgument() 182 stringArg( in testConversionToScriptArgumentWithCopier() 198 stringArg( in testConversionToScriptArgumentWithAdCounterKeys()
|
D | AdWithBidArgumentUtilTest.java | 23 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 176 stringArg( in testConversionToScriptArgument() 195 stringArg( in testConversionToScriptArgumentWithCopier() 216 stringArg( in testConversionToScriptArgumentWithAdCounterKeys()
|
D | CustomAudienceScoringSignalsArgumentUtilTest.java | 21 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 134 stringArg( in matchCustomAudienceSignals() 137 stringArg( in matchCustomAudienceSignals()
|
D | CustomAudienceReportingSignalsArgumentUtilTest.java | 22 import static com.android.adservices.service.js.JSScriptArgument.stringArg; 74 .isEqualTo(recordArg(argName, stringArg(NAME_FIELD_NAME, actualSignals.getName()))); in matchCustomAudienceSignals()
|
D | SelectAdsFromOutcomesArgumentUtilTest.java | 59 JSScriptArgument.stringArg(ID_FIELD_NAME, Long.toString(AD_SELECTION_ID)), in testConvertsToScriptArgument()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/js/ |
D | JSScriptArgument.java | 44 public static JSScriptStringArgument stringArg(String name, String value) { in stringArg() method in JSScriptArgument 122 items.stream().map(str -> stringArg("ignored", str)).collect(Collectors.toList())); in stringArrayArg()
|