Searched refs:ctx (Results 1 – 4 of 4) sorted by relevance
66 Context ctx = ApplicationProvider.getApplicationContext(); in setUpClass() local67 WebkitUtils.checkStartupFeature(ctx, in setUpClass()73 config.setPartitionedCookiesEnabled(ctx, true); in setUpClass()
189 public static void checkStartupFeature(@NonNull Context ctx, @NonNull String featureName) { in checkStartupFeature() argument191 final boolean hasFeature = WebViewFeature.isStartupFeatureSupported(ctx, featureName); in checkStartupFeature()
133 final Context ctx = ApplicationProvider.getApplicationContext(); in createWebView() local135 h.mView = new WebView(ctx); in createWebView()
145 final MockContext ctx = in testStartSafeBrowsingUseApplicationContext() local149 WebViewCompat.startSafeBrowsing(ctx, in testStartSafeBrowsingUseApplicationContext()150 value -> startSafeBrowsingFuture.set(ctx.wasGetApplicationContextCalled())); in testStartSafeBrowsingUseApplicationContext()