Searched refs:callOnMainSync (Results 1 – 5 of 5) sorted by relevance
138 public static <V> V callOnMainSync(Callable<V> callable) { in callOnMainSync() method in ImeStressTestUtil156 boolean result = callOnMainSync(activity::requestFocus); in requestFocusAndVerify()166 eventually(() -> assertWithMessage(message).that(callOnMainSync(pred)).isTrue(), TIMEOUT); in waitOnMainUntil()174 .that(callOnMainSync(() -> isImeShown(view))) in waitOnMainUntilImeIsShown()184 .that(callOnMainSync(() -> isImeShown(view))) in waitOnMainUntilImeIsHidden()195 .that(callOnMainSync(view::hasWindowFocus)) in waitOnMainUntilWindowGainsFocus()205 .that(callOnMainSync(view::hasFocus)) in waitOnMainUntilViewGainsFocus()215 .that(callOnMainSync(() -> isImeShown(view))) in verifyImeIsAlwaysHidden()226 .that(callOnMainSync(view::hasWindowFocus)) in verifyWindowNeverGainsFocus()236 .that(callOnMainSync(view::hasFocus)) in verifyViewNeverGainsFocus()
28 import static com.android.inputmethod.stresstest.ImeStressTestUtil.callOnMainSync;110 callOnMainSync(activity::showImeWithInputMethodManager); in testShowHideWithInputMethodManager_waitingVisibilityChange()113 callOnMainSync(activity::hideImeWithInputMethodManager); in testShowHideWithInputMethodManager_waitingVisibilityChange()132 callOnMainSync(activity::showImeWithInputMethodManager); in testShowHideWithInputMethodManager_waitingAnimationEnd()137 callOnMainSync(activity::hideImeWithInputMethodManager); in testShowHideWithInputMethodManager_waitingAnimationEnd()161 callOnMainSync(activity::hideImeWithInputMethodManager); in testShowHideWithInputMethodManager_intervalAfterHide()164 callOnMainSync(activity::showImeWithInputMethodManager); in testShowHideWithInputMethodManager_intervalAfterHide()243 callOnMainSync(activity::showImeWithInputMethodManager); in testShowWithInputMethodManager_notRequestFocus()449 callOnMainSync(activity::showImeWithInputMethodManager); in testScreenOffOn()477 callOnMainSync(activity::showImeWithInputMethodManager); in testRotateScreenWithKeyboardOn()
25 import static com.android.inputmethod.stresstest.ImeStressTestUtil.callOnMainSync;110 callOnMainSync(activity::showImeWithInputMethodManager); in showHideDefaultIme()113 callOnMainSync(activity::hideImeWithInputMethodManager); in showHideDefaultIme()
23 import static com.android.inputmethod.stresstest.ImeStressTestUtil.callOnMainSync;203 callOnMainSync(firstActivity::showImeWithInputMethodManager); in autoShow_forwardWithKeyboardOn()267 callOnMainSync(secondActivity::showImeWithInputMethodManager); in autoShow_backwardWithKeyboardOn()
151 InputBindResult result = callOnMainSync(() -> { in testBindCurrentMethodWithMainConnection()220 private static <V> V callOnMainSync(Callable<V> callable) { in callOnMainSync() method in InputMethodBindingControllerTest