Home
last modified time | relevance | path

Searched refs:onMainThreadSync (Results 1 – 13 of 13) 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 …]
DWebkitUtils.java95 public static <T> T onMainThreadSync(final Callable<T> callable) { in onMainThreadSync() method in WebkitUtils
112 public static void onMainThreadSync(final Runnable runnable) { in onMainThreadSync() method in WebkitUtils
DWebViewSyncLoader.java86 WebkitUtils.onMainThreadSync(() -> { in init()
102 WebkitUtils.onMainThreadSync(this::detach); in detach()
116 WebkitUtils.onMainThreadSync(this::destroy); in destroy()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessTest.java61 return WebkitUtils.onMainThreadSync(() -> { in terminateRenderProcessOnUiThread()
67 return WebkitUtils.onMainThreadSync(() -> { in getRenderProcessOnUiThread()
153 WebkitUtils.onMainThreadSync(() -> webView2.destroy());
DPostMessageTest.java182 WebkitUtils.onMainThreadSync(() -> { in testMessageChannel()
218 WebkitUtils.onMainThreadSync(() -> { in testClose()
263 WebkitUtils.onMainThreadSync(() -> { in testReceiveMessagePort()
296 WebkitUtils.onMainThreadSync(() -> { in testWebMessageHandler()
327 WebkitUtils.onMainThreadSync(() -> { in testWebMessageDefaultHandler()
DWebViewRenderProcessClientTest.java96 WebkitUtils.onMainThreadSync(() -> { in blockRenderProcess()
105 WebkitUtils.onMainThreadSync(() -> { in blockRenderProcess()
115 WebkitUtils.onMainThreadSync(new Runnable() { in addJsBlockerInterface()
DWebViewZoomTest.java141 WebkitUtils.onMainThreadSync(() -> { return mWebView.getZoomControls(); })); in testGetZoomControls()
148 WebkitUtils.onMainThreadSync(() -> { return mWebView.getZoomControls(); })); in testGetZoomControls()
158 WebkitUtils.onMainThreadSync(() -> mWebView.invokeZoomPicker()); in testInvokeZoomPicker()
DWebHistoryItemTest.java86 WebkitUtils.onMainThreadSync(() -> { in testWebHistoryItem()
DCookieManagerTest.java476 WebkitUtils.onMainThreadSync(() -> { in removeAllCookiesOnUiThread()
482 WebkitUtils.onMainThreadSync(() -> { in removeSessionCookiesOnUiThread()
DTracingControllerTest.java175 WebkitUtils.onMainThreadSync(() -> {
DWebSettingsTest.java285 WebkitUtils.onMainThreadSync(() -> { in openIconDatabase()
1213 WebkitUtils.onMainThreadSync(() -> { in setWebViewSize()
1231 WebkitUtils.onMainThreadSync(() -> { in testForceDark_rendersDark()
DWebChromeClientTest.java134 WebkitUtils.onMainThreadSync(() -> { in testOnReceivedIcon()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java142 WebkitUtils.onMainThreadSync(() -> { in runCurrentWebViewPackageTest()
227 WebView webView = WebkitUtils.onMainThreadSync(() -> { in testGetWebViewLooperCreatedOnUiThreadFromInstrThread()