Home
last modified time | relevance | path

Searched refs:blocker (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessClientTest.java128 private void blockRenderProcess(final JSBlocker blocker) { in blockRenderProcess() argument
137 blocker.waitForBlocked(); in blockRenderProcess()
147 private void addJsBlockerInterface(final JSBlocker blocker) { in addJsBlockerInterface() argument
153 webView.addJavascriptInterface(blocker, "blocker"); in addJsBlockerInterface()
159 final JSBlocker blocker = new JSBlocker(); in testWebViewRenderProcessClientOnExecutor() local
166 blocker.releaseBlock(); in testWebViewRenderProcessClientOnExecutor()
181 addJsBlockerInterface(blocker); in testWebViewRenderProcessClientOnExecutor()
183 blockRenderProcess(blocker); in testWebViewRenderProcessClientOnExecutor()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionEndToEndTest.java748 final BlockingMethodVerifier blocker = new BlockingMethodVerifier(); in testGetTextAfterCursorFailWithTimeout() local
763 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() local
925 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() local
1046 blocker.onMethodCalled(); in testGetSelectedTextFailWithTimeout()
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java157 CountDownLatch blocker; in waitForStateChange() local
163 blocker = mBlocker; in waitForStateChange()
165 return blocker.await(WAIT_FOR_AWARE_CHANGE_SECS, TimeUnit.SECONDS); in waitForStateChange()
188 CountDownLatch blocker; in waitForStateChange() local
194 blocker = mBlocker; in waitForStateChange()
196 return blocker.await(WAIT_FOR_AWARE_CHANGE_SECS, TimeUnit.SECONDS); in waitForStateChange()