Home
last modified time | relevance | path

Searched refs:stringArg (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/
DJSScriptArgumentTest.java24 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()
DJSScriptEngineTest.java22 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/
DCustomAudienceBiddingSignalsArgumentUtil.java22 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()
DAdSelectionConfigArgumentUtil.java21 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()
DCustomAudienceScoringSignalsArgumentUtil.java20 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()
DAdDataArgumentUtil.java21 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()
DCustomAudienceReportingSignalsArgumentUtil.java20 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
47 return recordArg(name, stringArg(NAME_FIELD_NAME, customAudienceSignals.getName())); in asScriptArgument()
DSelectAdsFromOutcomesArgumentUtil.java21 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
45 stringArg( in asScriptArgument()
DReportImpressionScriptEngine.java22 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
221 .add(stringArg(RENDER_URI_ARG_NAME, renderUri.toString())) in reportResult()
DAdSelectionScriptEngine.java22 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/
DAdSelectionConfigArgumentUtilTest.java21 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
74 stringArg( in testConversionToScriptArgument()
77 stringArg( in testConversionToScriptArgument()
97 stringArg( in testConversionToScriptArgument()
DCustomAudienceBiddingSignalsArgumentUtilTest.java23 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
79 stringArg( in matchCustomAudienceSignals()
82 stringArg( in matchCustomAudienceSignals()
85 stringArg( in matchCustomAudienceSignals()
DAdDataArgumentUtilTest.java22 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
168 stringArg( in testConversionToScriptArgument()
182 stringArg( in testConversionToScriptArgumentWithCopier()
198 stringArg( in testConversionToScriptArgumentWithAdCounterKeys()
DAdWithBidArgumentUtilTest.java23 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
176 stringArg( in testConversionToScriptArgument()
195 stringArg( in testConversionToScriptArgumentWithCopier()
216 stringArg( in testConversionToScriptArgumentWithAdCounterKeys()
DCustomAudienceScoringSignalsArgumentUtilTest.java21 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
134 stringArg( in matchCustomAudienceSignals()
137 stringArg( in matchCustomAudienceSignals()
DCustomAudienceReportingSignalsArgumentUtilTest.java22 import static com.android.adservices.service.js.JSScriptArgument.stringArg;
74 .isEqualTo(recordArg(argName, stringArg(NAME_FIELD_NAME, actualSignals.getName()))); in matchCustomAudienceSignals()
DSelectAdsFromOutcomesArgumentUtilTest.java59 JSScriptArgument.stringArg(ID_FIELD_NAME, Long.toString(AD_SELECTION_ID)), in testConvertsToScriptArgument()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/js/
DJSScriptArgument.java44 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()