Home
last modified time | relevance | path

Searched refs:isJSSandboxAvailable (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/common/
DWebViewSupportUtil.java40 "JS Sandbox is not available", () -> isJSSandboxAvailable(context)); in createJSSandboxAvailableRule()
56 public static boolean isJSSandboxAvailable(Context context) in isJSSandboxAvailable() method in WebViewSupportUtil
58 return JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable() in isJSSandboxAvailable()
69 return isJSSandboxAvailable(context) in isJSIsolateConsoleCallbackAvailable()
80 return JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable() in isWasmSupportAvailable()
92 return isJSSandboxAvailable(context) in isEvaluationWithoutTransactionLimitSupportAvailable()
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/
DPermissionsAppOptOutTest.java188 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testNoEnrollment_selectAds_adSelectionConfig()
208 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testWithEnrollment_selectAds_adSelectionConfig()
231 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testNoEnrollment_selectAds_adSelectionFromOutcomesConfig()
250 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testWithEnrollment_selectAds_adSelectionFromOutcomesConfig()
272 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testNoEnrollment_reportImpression()
297 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testWithEnrollment_reportImpression()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DCtsWebViewSupportUtil.java45 "JS Sandbox is not available", () -> isJSSandboxAvailable(context)); in createJSSandboxAvailableRule()
73 public static boolean isJSSandboxAvailable(Context context) { in isJSSandboxAvailable() method in CtsWebViewSupportUtil
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/valid/src/com/android/adservices/tests/permissions/
DPermissionsValidTest.java122 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testValidPermissions_selectAds_adSelectionConfig()
141 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testValidPermissions_selectAds_adSelectionFromOutcomesConfig()
160 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testValidPermissions_reportImpression()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DTestAdSelectionManagerTest.java144 Assume.assumeTrue(CtsWebViewSupportUtil.isJSSandboxAvailable(sContext)); in testFailsWithInvalidAdSelectionId()
157 Assume.assumeTrue(CtsWebViewSupportUtil.isJSSandboxAvailable(sContext)); in testFailsWithInvalidAdSelectionId_usingGetMethodToCreateManager()
281 Assume.assumeTrue(CtsWebViewSupportUtil.isJSSandboxAvailable(sContext)); in testFailsWithInvalidAdSelectionConfigNoBuyers()
292 Assume.assumeTrue(CtsWebViewSupportUtil.isJSSandboxAvailable(sContext)); in testFailsWithInvalidAdSelectionConfigNoBuyers_usingGetMethodToCreateManager()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionServiceImplTest.java448 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionSuccessWithRegisterAdBeaconDisabled()
576 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionSuccessCallbackThrowsErrorAuctionServerEnabled()
704 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionFailureCallbackThrowsErrorAuctionServerEnabled()
825 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionSuccessCallbackThrowsErrorAuctionServerDisabled()
953 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionFailureCallbackThrowsErrorAuctionServerDisabled()
1073 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionSuccessfullyReportsAdCost()
1204 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionSuccessfullyReportsDataVersionHeader()
1348 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionSuccessfullyReportsSellerDataVersionHeader()
1479 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionSuccessWithRegisterAdBeaconEnabled()
1599 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testReportImpressionSuccessWithUnifiedTablesEnabledAuctionServerDisabled()
[all …]
DFrequencyCapFilteringE2ETest.java589 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testAdSelectionPersistsAdCounterKeys()
623 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testEmptyHistogramDoesNotFilterAds()
646 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testUpdatedHistogramFiltersAdsForBuyerWithinInterval()
688 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testUpdatedHistogramDoesNotFilterAdsForBuyerOutsideInterval()
728 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testUpdatedHistogramDoesNotFilterAdsForOtherBuyer()
765 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testUpdateHistogramBeyondMaxTotalEventCountDoesNotFilterAds()
885 JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in testUpdateHistogramBeyondMaxPerBuyerEventCountDoesNotFilterAds()
DAdSelectionFailureE2ETest.java254 WebViewSupportUtil.isJSSandboxAvailable(mContext)); in setUp()
DAuctionServerE2ETest.java1714 Assume.assumeTrue(WebViewSupportUtil.isJSSandboxAvailable(mContext)); in testAuctionServerResult_usedInWaterfallMediation_success()
1979 Assume.assumeTrue(WebViewSupportUtil.isJSSandboxAvailable(mContext)); in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesDisabled()
2167 Assume.assumeTrue(WebViewSupportUtil.isJSSandboxAvailable(mContext)); in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesEnabled()
2313 Assume.assumeTrue(WebViewSupportUtil.isJSSandboxAvailable(mContext)); in testReportImpression_serverAuction_sellerReportingFailure_noExceptionThrown()
2421 Assume.assumeTrue(WebViewSupportUtil.isJSSandboxAvailable(mContext)); in testReportImpression_serverAuction_buyerReportingFailure_noExceptionThrown()
DAdSelectionScriptEngineTest.java213 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in setUp()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/js/
DJSScriptEngine.java117 if (!AvailabilityChecker.isJSSandboxAvailable()) { in getFutureInstance()
751 public static boolean isJSSandboxAvailable() {
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DSignalsScriptEngineTest.java71 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in setUp()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/
DJSScriptEngineTest.java147 if (JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()) { in initJavaScriptSandbox()
155 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in setup()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/
DFledgeCtsDebuggableJetpackTest.java204 Assume.assumeTrue(JSScriptEngine.AvailabilityChecker.isJSSandboxAvailable()); in setup()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java558 if (!CtsWebViewSupportUtil.isJSSandboxAvailable(sContext)) { in tearDown()