Searched refs:blocker (Results 1 – 3 of 3) sorted by relevance
128 private void blockRenderProcess(final JSBlocker blocker) { in blockRenderProcess() argument137 blocker.waitForBlocked(); in blockRenderProcess()147 private void addJsBlockerInterface(final JSBlocker blocker) { in addJsBlockerInterface() argument153 webView.addJavascriptInterface(blocker, "blocker"); in addJsBlockerInterface()159 final JSBlocker blocker = new JSBlocker(); in testWebViewRenderProcessClientOnExecutor() local166 blocker.releaseBlock(); in testWebViewRenderProcessClientOnExecutor()181 addJsBlockerInterface(blocker); in testWebViewRenderProcessClientOnExecutor()183 blockRenderProcess(blocker); in testWebViewRenderProcessClientOnExecutor()
748 final BlockingMethodVerifier blocker = new BlockingMethodVerifier(); in testGetTextAfterCursorFailWithTimeout() local763 blocker.onMethodCalled(); in testGetTextAfterCursorFailWithTimeout()770 blocker.expectMethodCalled("IC#getTextAfterCursor() must be called back", TIMEOUT); in testGetTextAfterCursorFailWithTimeout()778 }, blocker); in testGetTextAfterCursorFailWithTimeout()910 final BlockingMethodVerifier blocker = new BlockingMethodVerifier(); in testGetTextBeforeCursorFailWithTimeout() local925 blocker.onMethodCalled(); in testGetTextBeforeCursorFailWithTimeout()932 blocker.expectMethodCalled("IC#getTextBeforeCursor() must be called back", TIMEOUT); in testGetTextBeforeCursorFailWithTimeout()940 }, blocker); in testGetTextBeforeCursorFailWithTimeout()1032 final BlockingMethodVerifier blocker = new BlockingMethodVerifier(); in testGetSelectedTextFailWithTimeout() local1046 blocker.onMethodCalled(); in testGetSelectedTextFailWithTimeout()[all …]
157 CountDownLatch blocker; in waitForStateChange() local163 blocker = mBlocker; in waitForStateChange()165 return blocker.await(WAIT_FOR_AWARE_CHANGE_SECS, TimeUnit.SECONDS); in waitForStateChange()188 CountDownLatch blocker; in waitForStateChange() local194 blocker = mBlocker; in waitForStateChange()196 return blocker.await(WAIT_FOR_AWARE_CHANGE_SECS, TimeUnit.SECONDS); in waitForStateChange()