Home
last modified time | relevance | path

Searched refs:WebkitUtils (Results 1 – 14 of 14) sorted by relevance

/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java86 WebkitUtils.onMainThreadSync(() -> { in setWebViewClient()
92 WebkitUtils.onMainThreadSync(() -> { in setWebChromeClient()
111 WebkitUtils.onMainThreadSync(() -> in setWebViewRenderProcessClient()
133 WebkitUtils.onMainThreadSync(() -> in setWebViewRenderProcessClient()
150 return WebkitUtils.onMainThreadSync(() -> { in getWebViewRenderProcessClient()
156 WebkitUtils.onMainThreadSync(() -> { in setPictureListener()
162 WebkitUtils.onMainThreadSync(() -> { in setNetworkAvailable()
168 WebkitUtils.onMainThreadSync(() -> { in setDownloadListener()
174 WebkitUtils.onMainThreadSync(() -> { in setBackgroundColor()
180 WebkitUtils.onMainThreadSync(() -> { in clearCache()
[all …]
DWebViewSyncLoader.java86 WebkitUtils.onMainThreadSync(() -> { in init()
102 WebkitUtils.onMainThreadSync(this::detach); in detach()
116 WebkitUtils.onMainThreadSync(this::destroy); in destroy()
241 waitForCriteria(WebkitUtils.TEST_TIMEOUT_MS, in waitForLoadCompletion()
283 WebkitUtils.onMainThread(call); in callAndWait()
DWebkitUtils.java39 public final class WebkitUtils { class
194 private WebkitUtils() {} in WebkitUtils() method in WebkitUtils
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessTest.java61 return WebkitUtils.onMainThreadSync(() -> { in terminateRenderProcessOnUiThread()
67 return WebkitUtils.onMainThreadSync(() -> { in getRenderProcessOnUiThread()
76 WebkitUtils.onMainThread(() -> {
93 WebkitUtils.onMainThread(() -> {
124 …final WebViewRenderProcess renderer = WebkitUtils.waitForFuture(startAndGetRenderProcess(webView));
131 renderer, WebkitUtils.waitForFuture(startAndGetRenderProcess(webView)));
139 WebkitUtils.waitForFuture(terminationFuture));
149 renderer, WebkitUtils.waitForFuture(startAndGetRenderProcess(webView2)));
153 WebkitUtils.onMainThreadSync(() -> webView2.destroy());
DPostMessageTest.java182 WebkitUtils.onMainThreadSync(() -> { in testMessageChannel()
200 WebkitUtils.waitForNextQueueElement(queue)); in testMessageChannel()
218 WebkitUtils.onMainThreadSync(() -> { in testClose()
263 WebkitUtils.onMainThreadSync(() -> { in testReceiveMessagePort()
296 WebkitUtils.onMainThreadSync(() -> { in testWebMessageHandler()
307 WebkitUtils.waitForFuture(messageHandlerThreadFuture)); in testWebMessageHandler()
327 WebkitUtils.onMainThreadSync(() -> { in testWebMessageDefaultHandler()
337 WebkitUtils.waitForFuture(messageMainLooperFuture)); in testWebMessageDefaultHandler()
DWebViewRenderProcessClientTest.java91 WebkitUtils.waitForFuture(mIsBlocked); in waitForBlocked()
96 WebkitUtils.onMainThreadSync(() -> { in blockRenderProcess()
105 WebkitUtils.onMainThreadSync(() -> { in blockRenderProcess()
115 WebkitUtils.onMainThreadSync(new Runnable() { in addJsBlockerInterface()
151 WebkitUtils.waitForFuture(rendererUnblocked); in testWebViewRenderProcessClientOnExecutor()
DWebViewZoomTest.java141 WebkitUtils.onMainThreadSync(() -> { return mWebView.getZoomControls(); })); in testGetZoomControls()
148 WebkitUtils.onMainThreadSync(() -> { return mWebView.getZoomControls(); })); in testGetZoomControls()
158 WebkitUtils.onMainThreadSync(() -> mWebView.invokeZoomPicker()); in testInvokeZoomPicker()
303 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in pollingCheckForCanZoomIn()
384 return WebkitUtils.waitForNextQueueElement(mCallQueue); in waitForNextScaleChange()
DWebChromeClientTest.java134 WebkitUtils.onMainThreadSync(() -> { in testOnReceivedIcon()
247 assertEquals(JAVASCRIPT_UNLOAD, WebkitUtils.waitForNextQueueElement(pageTitleQueue)); in testOnJsBeforeUnloadIsCalled()
248 assertEquals(LISTENER_ADDED, WebkitUtils.waitForNextQueueElement(pageTitleQueue)); in testOnJsBeforeUnloadIsCalled()
251 assertEquals(TOUCH_RECEIVED, WebkitUtils.waitForNextQueueElement(pageTitleQueue)); in testOnJsBeforeUnloadIsCalled()
257 WebkitUtils.waitForFuture(onJsBeforeUnloadFuture); in testOnJsBeforeUnloadIsCalled()
388 WebkitUtils.waitForNextQueueElement(consoleMessageQueue); in testOnConsoleMessage()
DWebHistoryItemTest.java86 WebkitUtils.onMainThreadSync(() -> { in testWebHistoryItem()
DWebSettingsTest.java285 WebkitUtils.onMainThreadSync(() -> { in openIconDatabase()
529 WebkitUtils.waitForFuture(createWindowFuture); in testAccessJavaScriptCanOpenWindowsAutomatically()
1213 WebkitUtils.onMainThreadSync(() -> { in setWebViewSize()
1231 WebkitUtils.onMainThreadSync(() -> { in testForceDark_rendersDark()
1330 WebkitUtils.waitForNextQueueElement(mReceivedIconQueue); in waitForNextIcon()
DCookieManagerTest.java476 WebkitUtils.onMainThreadSync(() -> { in removeAllCookiesOnUiThread()
482 WebkitUtils.onMainThreadSync(() -> { in removeSessionCookiesOnUiThread()
DTracingControllerTest.java175 WebkitUtils.onMainThreadSync(() -> {
DWebViewClientTest.java799 assertEquals(url, WebkitUtils.waitForFuture(pageCommitVisibleFuture)); in testOnPageCommitVisibleCalled()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java36 import android.webkit.cts.WebkitUtils;
142 WebkitUtils.onMainThreadSync(() -> { in runCurrentWebViewPackageTest()
227 WebView webView = WebkitUtils.onMainThreadSync(() -> { in testGetWebViewLooperCreatedOnUiThreadFromInstrThread()