/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ReportImpressionScriptEngineTest.java | 213 String jsScript = in testReportResultSuccessfulCaseRegisterAdBeaconEnabled() local 224 reportResult(jsScript, adSelectionConfig, TEST_DOMAIN_URI, bid, mContextualSignals); in testReportResultSuccessfulCaseRegisterAdBeaconEnabled() 240 String jsScript = in testReportResultSuccessfulCaseRegisterAdBeaconDisabled() local 251 reportResult(jsScript, adSelectionConfig, TEST_DOMAIN_URI, bid, mContextualSignals); in testReportResultSuccessfulCaseRegisterAdBeaconDisabled() 263 String jsScript = in testReportResultSuccessfulCaseWithMoreResultsFieldsThanExpected() local 274 reportResult(jsScript, adSelectionConfig, TEST_DOMAIN_URI, bid, mContextualSignals); in testReportResultSuccessfulCaseWithMoreResultsFieldsThanExpected() 287 String jsScript = in testReportResultSuccessfulCaseWithCallingRegisterAdBeacon() local 301 reportResult(jsScript, adSelectionConfig, TEST_DOMAIN_URI, bid, mContextualSignals); in testReportResultSuccessfulCaseWithCallingRegisterAdBeacon() 326 String jsScript = in testReportResultFailsWhenCallingRegisterAdBeaconWhenFlagDisabled() local 344 jsScript, in testReportResultFailsWhenCallingRegisterAdBeaconWhenFlagDisabled() [all …]
|
D | AdSelectionScriptEngineTest.java | 788 String jsScript = in testGetFunctionArgumentCountSuccess() local 795 int argCount = getArgCount(jsScript, functionName); in testGetFunctionArgumentCountSuccess() 801 String jsScript = in testGetFunctionArgumentCountGracefulFallBack() local 808 int argCount = getArgCount(jsScript, functionName); in testGetFunctionArgumentCountGracefulFallBack() 1737 String jsScript, in callAuctionEngine() argument 1744 jsScript, in callAuctionEngine() 1752 String jsScript, in generateBids() argument 1764 jsScript, in generateBids() 1776 String jsScript, in generateBidsV3() argument 1787 jsScript, in generateBidsV3() [all …]
|
D | JSScriptEngineE2ETest.java | 158 private void callAndVerifyJSScriptEngine(String jsScript) throws InterruptedException { in callAndVerifyJSScriptEngine() argument 159 sLogger.v("callAndVerifyJSScriptEngine called with script\n%s", jsScript); in callAndVerifyJSScriptEngine() 172 jsScript, in callAndVerifyJSScriptEngine()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | DebugReportingScriptDisabledStrategy.java | 30 String wrapGenerateBidsV3Js(@NonNull String jsScript) { in wrapGenerateBidsV3Js() argument 31 return DEFAULT_SCRIPT + jsScript; in wrapGenerateBidsV3Js() 35 String wrapIterativeJs(@NonNull String jsScript) { in wrapIterativeJs() argument 36 return DEFAULT_SCRIPT + jsScript; in wrapIterativeJs()
|
D | DebugReportingEnabledScriptStrategy.java | 33 String wrapGenerateBidsV3Js(@NonNull String jsScript) { in wrapGenerateBidsV3Js() argument 34 return DEFAULT_SCRIPT + jsScript; in wrapGenerateBidsV3Js() 38 String wrapIterativeJs(@NonNull String jsScript) { in wrapIterativeJs() argument 40 return DEFAULT_SCRIPT + jsScript; in wrapIterativeJs()
|
D | AdSelectionScriptEngine.java | 695 String jsScript, 702 mDebugReportingScript.wrapIterativeJs(jsScript), 716 String jsScript, 722 mDebugReportingScript.wrapGenerateBidsV3Js(jsScript), 756 String jsScript, 763 jsScript, 783 String jsScript, List<String> expectedFunctionsNames) { 786 jsScript + "\n" + CHECK_FUNCTIONS_EXIST_JS, 831 ListenableFuture<Integer> getAuctionScriptArgCount(String jsScript, String functionName) { 834 jsScript + "\n" + GET_FUNCTION_ARGUMENT_COUNT, [all …]
|
D | DebugReportingScriptStrategy.java | 30 abstract String wrapGenerateBidsV3Js(@NonNull String jsScript); in wrapGenerateBidsV3Js() argument 32 abstract String wrapIterativeJs(@NonNull String jsScript); in wrapIterativeJs() argument
|
D | ReportImpressionScriptEngine.java | 330 String jsScript, String functionName, List<JSScriptArgument> args) { 334 callReportingScript(jsScript, functionName, args), 355 String jsScript, String functionName, List<JSScriptArgument> args) 363 return mJsEngine.evaluate(jsScript, args, functionName, isolateSettings, mRetryStrategy);
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/js/ |
D | JSScriptEngine.java | 381 String jsScript, 386 jsScript, 405 String jsScript, 411 jsScript, args, entryFunctionName, null, isolateSettings, retryStrategy, true); 423 String jsScript, IsolateSettings isolateSettings, RetryStrategy retryStrategy) { 425 jsScript, List.of(), "", null, isolateSettings, retryStrategy, false); 443 String jsScript, 450 jsScript, 460 String jsScript, 475 jsScript, [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/signals/ |
D | GenerateInputForEncodingCommandTest.java | 101 String jsScript = actualResult.mOut; in testRun_happyPath_returnsSuccess() local 108 jsScript, in testRun_happyPath_returnsSuccess() 118 assertThat(jsScript).contains(ProtectedSignalsFixture.PACKAGE_NAME_PREFIX); in testRun_happyPath_returnsSuccess() 120 assertThat(jsScript) in testRun_happyPath_returnsSuccess() 122 assertThat(jsScript) in testRun_happyPath_returnsSuccess()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/ |
D | JSScriptEngineTest.java | 1139 @NonNull String jsScript, in callJSEngine() 1146 sJSScriptEngine, jsScript, args, functionName, isolateSettings, retryStrategy); in callJSEngine() 1150 @NonNull String jsScript, in callJSEngine() 1159 jsScript, in callJSEngine() 1169 @NonNull String jsScript, in callJSEngine() argument 1179 jsScript, in callJSEngine() 1191 @NonNull String jsScript, in callJSEngine() argument 1202 jsScript, in callJSEngine() 1214 @NonNull String jsScript, in callJSEngineAsync() 1222 jsScript, in callJSEngineAsync() [all …]
|