/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewRenderProcessTest.java | 44 WebView webView = activity.getWebView(); in setUp() local 45 mOnUiThread = new WebViewOnUiThread(webView); in setUp() 63 WebViewRenderProcess getRenderProcessOnUiThread(final WebView webView) { in getRenderProcessOnUiThread() argument 65 return webView.getWebViewRenderProcess(); in getRenderProcessOnUiThread() 70 final WebView webView) throws Throwable { 74 webView.setWebViewClient(new WebViewClient() { 77 WebViewRenderProcess result = webView.getWebViewRenderProcess(); 81 webView.loadUrl("about:blank"); 87 Future<Boolean> catchRenderProcessTermination(final WebView webView) { 91 webView.setWebViewClient(new WebViewClient() { [all …]
|
D | WebViewRenderProcessClientTest.java | 46 WebView webView = activity.getWebView(); in setUp() local 47 mOnUiThread = new WebViewOnUiThread(webView); in setUp() 96 WebView webView = mOnUiThread.getWebView(); in blockRenderProcess() 97 webView.evaluateJavascript("blocker.block();", null); in blockRenderProcess() 101 webView.dispatchKeyEvent( in blockRenderProcess() 111 WebView webView = mOnUiThread.getWebView(); in addJsBlockerInterface() 112 webView.getSettings().setJavaScriptEnabled(true); in addJsBlockerInterface() 113 webView.addJavascriptInterface(blocker, "blocker"); in addJsBlockerInterface()
|
D | WebViewTransportTest.java | 38 WebView webView = getActivity().getWebView(); in testAccessWebView() local 39 WebViewTransport transport = webView.new WebViewTransport(); in testAccessWebView() 43 transport.setWebView(webView); in testAccessWebView() 44 assertSame(webView, transport.getWebView()); in testAccessWebView()
|
D | WebViewTest.java | 929 public WebView webView; in testSetPictureListener() field in WebViewTest.MyPictureListener 938 this.webView = view; in testSetPictureListener() 954 assertEquals(mWebView, listener.webView); in testSetPictureListener() 2526 WebView webView = new WebView(getActivity()); in testGetWebViewClient() local 2527 WebViewClient client = webView.getWebViewClient(); in testGetWebViewClient() 2534 webView.setWebViewClient(client2); in testGetWebViewClient() 2535 assertSame(client2, webView.getWebViewClient()); in testGetWebViewClient() 2550 WebView webView = new WebView(getActivity()); in testGetWebChromeClient() local 2551 WebChromeClient client = webView.getWebChromeClient(); in testGetWebChromeClient() 2557 webView.setWebChromeClient(client2); in testGetWebChromeClient() [all …]
|
D | WebViewSslTest.java | 597 public WebView webView() { in testOnReceivedSslError() method in WebViewSslTest.MockWebViewClient 609 assertEquals(mWebView, webViewClient.webView()); in testOnReceivedSslError()
|
D | WebSettingsTest.java | 1206 WebView webView = mOnUiThread.getWebView(); in setWebViewSize() local 1207 ViewGroup.LayoutParams params = webView.getLayoutParams(); in setWebViewSize() 1210 webView.setLayoutParams(params); in setWebViewSize()
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewSyncLoader.java | 67 public WebViewSyncLoader(WebView webView) { in WebViewSyncLoader() argument 68 init(webView, new WaitForLoadedClient(this), new WaitForProgressClient(this), in WebViewSyncLoader() 73 WebView webView, in WebViewSyncLoader() argument 77 init(webView, waitForLoadedClient, waitForProgressClient, waitForNewPicture); in WebViewSyncLoader() 81 final WebView webView, in init() argument 87 init(webView, waitForLoadedClient, waitForProgressClient, waitForNewPicture); in init() 91 mWebView = webView; in init() 119 WebView webView = mWebView; in destroy() local 121 webView.clearHistory(); in destroy() 122 webView.clearCache(true); in destroy() [all …]
|
D | WebViewOnUiThread.java | 76 public WebViewOnUiThread(WebView webView) { in WebViewOnUiThread() argument 77 super(webView); in WebViewOnUiThread() 78 mWebView = webView; in WebViewOnUiThread() 109 final WebView webView, in setWebViewRenderProcessClient() argument 112 webView.setWebViewRenderProcessClient(webViewRenderProcessClient) in setWebViewRenderProcessClient() 130 final WebView webView, in setWebViewRenderProcessClient() argument 134 webView.setWebViewRenderProcessClient(executor, webViewRenderProcessClient) in setWebViewRenderProcessClient() 149 final WebView webView) { in getWebViewRenderProcessClient() argument 151 return webView.getWebViewRenderProcessClient(); in getWebViewRenderProcessClient()
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 103 WebView webView = mActivity.getWebView(); in testCookieManagerBlockingUiThread() local 104 WebViewSyncLoader syncLoader = new WebViewSyncLoader(webView); in testCookieManagerBlockingUiThread() 105 webView.setWebViewClient(new WaitForLoadedClient(syncLoader) { in testCookieManagerBlockingUiThread() 113 assertEquals("1|count=41", webView.getTitle()); // outgoing cookie in testCookieManagerBlockingUiThread() 237 WebView webView = WebkitUtils.onMainThreadSync(() -> { in testGetWebViewLooperCreatedOnUiThreadFromInstrThread() 240 assertEquals(Looper.getMainLooper(), webView.getWebViewLooper()); in testGetWebViewLooperCreatedOnUiThreadFromInstrThread()
|