Searched refs:WebkitUtils (Results 1 – 14 of 14) sorted by relevance
86 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 …]
86 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()
39 public final class WebkitUtils { class194 private WebkitUtils() {} in WebkitUtils() method in WebkitUtils
61 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());
182 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()
91 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()
141 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()
134 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()
86 WebkitUtils.onMainThreadSync(() -> { in testWebHistoryItem()
285 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()
476 WebkitUtils.onMainThreadSync(() -> { in removeAllCookiesOnUiThread()482 WebkitUtils.onMainThreadSync(() -> { in removeSessionCookiesOnUiThread()
175 WebkitUtils.onMainThreadSync(() -> {
799 assertEquals(url, WebkitUtils.waitForFuture(pageCommitVisibleFuture)); in testOnPageCommitVisibleCalled()
36 import android.webkit.cts.WebkitUtils;142 WebkitUtils.onMainThreadSync(() -> { in runCurrentWebViewPackageTest()227 WebView webView = WebkitUtils.onMainThreadSync(() -> { in testGetWebViewLooperCreatedOnUiThreadFromInstrThread()