Home
last modified time | relevance | path

Searched refs:waitForFuture (Results 1 – 12 of 12) sorted by relevance

/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebkitUtils.java99 return waitForFuture(onMainThread(callable)); in onMainThreadSync()
128 waitForFuture(exceptionPropagatingFuture); in onMainThreadSync()
141 public static <T> T waitForFuture(Future<T> future) { in waitForFuture() method in WebkitUtils
DWebViewOnUiThread.java491 return WebkitUtils.waitForFuture(future);
574 WebkitUtils.waitForFuture(future);
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessTest.java155 …final WebViewRenderProcess renderer = WebkitUtils.waitForFuture(startAndGetRenderProcess(webView));
162 renderer, WebkitUtils.waitForFuture(startAndGetRenderProcess(webView)));
170 WebkitUtils.waitForFuture(terminationFuture));
180 renderer, WebkitUtils.waitForFuture(startAndGetRenderProcess(webView2)));
DTestProcessService.java56 return WebkitUtils.waitForFuture(testResultFuture);
DWebViewRenderProcessClientTest.java124 WebkitUtils.waitForFuture(mIsBlocked); in waitForBlocked()
184 WebkitUtils.waitForFuture(rendererUnblocked); in testWebViewRenderProcessClientOnExecutor()
DPostMessageTest.java330 WebkitUtils.waitForFuture(messageHandlerThreadFuture)); in testWebMessageHandler()
358 WebkitUtils.waitForFuture(messageMainLooperFuture)); in testWebMessageDefaultHandler()
DTestProcessClient.java92 WebkitUtils.waitForFuture(exceptionPropagatingFuture); in run()
DWebViewTest.java831 WebkitUtils.waitForFuture(onCreateWindowFuture); in testJavascriptInterfaceForClientPopup()
1378 assertEquals(2, (int) WebkitUtils.waitForFuture(l.future())); in testFindAll()
1402 WebkitUtils.waitForFuture(l.future()); in testFindNext()
1483 assertEquals(1, (int) WebkitUtils.waitForFuture(handler.future())); in testDocumentHasImages()
1818 WebkitUtils.waitForFuture(imageLoaded.future()); in testRequestImageRef()
2157 WebkitUtils.waitForFuture(downloadStartFuture); in testSetDownloadListener()
2232 WebkitUtils.waitForFuture(future); in testSetWebChromeClient()
2364 WebkitUtils.waitForFuture(result); in testPrinting()
2413 WebkitUtils.waitForFuture(result); in testPrintingPagesCount()
2446 assertEquals(kRequest, (long) WebkitUtils.waitForFuture(visualStateFuture)); in testVisualStateCallbackCalled()
[all …]
DWebViewStartupTest.java210 final WebView webview = WebkitUtils.waitForFuture(webViewFuture); in run()
DWebChromeClientTest.java278 WebkitUtils.waitForFuture(onJsBeforeUnloadFuture); in testOnJsBeforeUnloadIsCalled()
DWebViewClientTest.java786 assertEquals(url, WebkitUtils.waitForFuture(pageCommitVisibleFuture)); in testOnPageCommitVisibleCalled()
DWebSettingsTest.java527 WebkitUtils.waitForFuture(createWindowFuture); in testAccessJavaScriptCanOpenWindowsAutomatically()