Home
last modified time | relevance | path

Searched refs:onMainThreadSync (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 …]
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/
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()
DWebViewRenderProcessTest.java58 return WebkitUtils.onMainThreadSync(() -> { in terminateRenderProcessOnUiThread()
64 return WebkitUtils.onMainThreadSync(() -> { in getRenderProcessOnUiThread()
154 WebkitUtils.onMainThreadSync(() -> webView2.destroy());
DWebViewRenderProcessClientTest.java93 WebkitUtils.onMainThreadSync(new Runnable() { in blockRenderProcess()
108 WebkitUtils.onMainThreadSync(new Runnable() { in addJsBlockerInterface()
DWebViewZoomTest.java140 WebkitUtils.onMainThreadSync(() -> { return mWebView.getZoomControls(); })); in testGetZoomControls()
147 WebkitUtils.onMainThreadSync(() -> { return mWebView.getZoomControls(); })); in testGetZoomControls()
157 WebkitUtils.onMainThreadSync(() -> mWebView.invokeZoomPicker()); in testInvokeZoomPicker()
DWebHistoryItemTest.java86 WebkitUtils.onMainThreadSync(() -> { in testWebHistoryItem()
DCookieManagerTest.java416 WebkitUtils.onMainThreadSync(() -> { in removeAllCookiesOnUiThread()
422 WebkitUtils.onMainThreadSync(() -> { in removeSessionCookiesOnUiThread()
DTracingControllerTest.java175 WebkitUtils.onMainThreadSync(() -> {
DWebViewTest.java884 WebkitUtils.onMainThreadSync(() -> { in waitForPictureToHaveColor()
1483 WebkitUtils.onMainThreadSync(() -> { in testDocumentHasImages()
2263 WebkitUtils.onMainThreadSync(() -> { in testPauseResumeTimers()
2687 WebkitUtils.onMainThreadSync(() -> { in printDocumentStart()
2695 WebkitUtils.onMainThreadSync(() -> { in printDocumentLayout()
DWebChromeClientTest.java134 WebkitUtils.onMainThreadSync(() -> { in testOnReceivedIcon()
DWebSettingsTest.java275 WebkitUtils.onMainThreadSync(() -> { in openIconDatabase()
1205 WebkitUtils.onMainThreadSync(() -> { in setWebViewSize()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java145 WebkitUtils.onMainThreadSync(() -> { in runCurrentWebViewPackageTest()
237 WebView webView = WebkitUtils.onMainThreadSync(() -> { in testGetWebViewLooperCreatedOnUiThreadFromInstrThread()