Home
last modified time | relevance | path

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

/webkit/integration-tests/common/src/main/java/androidx/webkit/test/common/
DWebViewOnUiThread.java114 WebkitUtils.onMainThreadSync(() -> { in WebViewOnUiThread()
134 WebkitUtils.onMainThreadSync(() -> { in createWebView()
152 WebkitUtils.onMainThreadSync(() -> { in cleanUp()
205 WebkitUtils.onMainThreadSync(webView::destroy); in destroy()
214 WebkitUtils.onMainThreadSync(() -> webView.setWebViewClient(webviewClient)); in setWebViewClient()
223 WebkitUtils.onMainThreadSync(() -> webView.setWebChromeClient(webChromeClient)); in setWebChromeClient()
234 WebkitUtils.onMainThreadSync(() -> WebViewCompat.setWebViewRenderProcessClient( in setWebViewRenderProcessClient()
248 WebkitUtils.onMainThreadSync(() -> WebViewCompat.setWebViewRenderProcessClient( in setWebViewRenderProcessClient()
258 return WebkitUtils.onMainThreadSync( in getWebViewRenderProcessClient()
263 return WebkitUtils.onMainThreadSync(() -> WebViewCompat.createWebMessageChannel(mWebView)); in createWebMessageChannelCompat()
[all …]
DWebkitUtils.java126 public static <T> T onMainThreadSync(final @NonNull Callable<T> callable) { in onMainThreadSync() method in WebkitUtils
143 public static void onMainThreadSync(final @NonNull Runnable runnable) { in onMainThreadSync() method in WebkitUtils
/webkit/integration-tests/instrumentation/src/androidTest/java/androidx/webkit/
DMultiProfileTest.java56 mProfileStore = WebkitUtils.onMainThreadSync(ProfileStore::getInstance); in setUp()
64 WebkitUtils.onMainThreadSync(() -> { in testCreateProfile()
82 WebkitUtils.onMainThreadSync(() -> { in testGetDefaultProfile()
95 WebkitUtils.onMainThreadSync( in testDeleteProfile()
124 WebkitUtils.onMainThreadSync(() -> ProfileStore.getInstance().getOrCreateProfile( in testSetGetProfile()
128 WebkitUtils.onMainThreadSync(() -> WebViewCompat.setProfile(webView, in testSetGetProfile()
131 Profile expectedProfile = WebkitUtils.onMainThreadSync( in testSetGetProfile()
152 Profile expectedProfile = WebkitUtils.onMainThreadSync( in testGetProfileReturnsDefault()
DWebViewRenderProcessClientTest.java120 WebkitUtils.onMainThreadSync(() -> {
129 WebkitUtils.onMainThreadSync(() -> {
139 WebkitUtils.onMainThreadSync(() -> {
DWebViewGarbageCollectionTest.java46 WebkitUtils.onMainThreadSync( in testOneWebViewGc()
67 WebkitUtils.onMainThreadSync( in testManyWebViewGc()
DWebViewRenderProcessTest.java45 return WebkitUtils.onMainThreadSync(renderer::terminate); in terminateRenderProcessOnUiThread()
49 return WebkitUtils.onMainThreadSync(() -> WebViewCompat.getWebViewRenderProcess(webView)); in getRenderProcessOnUiThread()
DPostMessageTest.java224 WebkitUtils.onMainThreadSync(() -> { in testClose()
272 WebkitUtils.onMainThreadSync(() -> channel[0].setWebMessageCallback( in testReceiveMessagePort()
308 WebkitUtils.onMainThreadSync(() -> { in testWebMessageHandler()
DPrefetchTest.java135 WebkitUtils.onMainThreadSync(() -> { in testSettingCacheConfig()
DWebSettingsCompatTest.java297 WebkitUtils.onMainThreadSync(() -> in testWebauthnSupport()
303 WebkitUtils.onMainThreadSync(() -> { in testWebauthnSupport()
DWebSettingsCompatDarkModeTestBase.java108 WebkitUtils.onMainThreadSync(() -> { in setWebViewSize()
DWebStorageTest.java143 WebkitUtils.onMainThreadSync(() -> { in testDeleteBrowsingDataForSiteDeletesCache()
DWebViewWebMessageListenerTest.java213 WebkitUtils.onMainThreadSync(() -> { in testJavaScriptReplyProxyBasicUsage()
DTracingControllerTest.java92 WebkitUtils.onMainThreadSync( in testTracingControllerCallbacksOnUI()
DWebViewCompatTest.java333 WebViewRenderProcess renderer = WebkitUtils.onMainThreadSync( in testMultiProcess()