/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceStrictModeTest.java | 23 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 127 expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT); in verifyIms() 145 notExpectEvent(stream, eventMatcher("onStrictModeViolated"), in verifyIms() 163 expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT); in testIncorrectContextUseOnImsDerivedDisplayContext() 171 expectEvent(stream, eventMatcher("onStrictModeViolated"), in testIncorrectContextUseOnImsDerivedDisplayContext() 180 expectEvent(stream, eventMatcher("onStrictModeViolated"), in testIncorrectContextUseOnImsDerivedDisplayContext() 189 expectEvent(stream, eventMatcher("onStrictModeViolated"), in testIncorrectContextUseOnImsDerivedDisplayContext()
|
D | InputMethodServiceTest.java | 36 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 232 expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT); 256 expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT); 337 expectEvent(stream, eventMatcher("hideSoftInput"), TIMEOUT); 338 expectEvent(stream, eventMatcher("onFinishInputView"), TIMEOUT); 362 expectEvent(stream, eventMatcher("showSoftInput"), TIMEOUT); 383 expectEvent(stream, eventMatcher("showSoftInput"), TIMEOUT); 388 notExpectEvent(stream, eventMatcher("onCreate"), 402 notExpectEvent(stream, eventMatcher("onCreate"), 526 eventMatcher("onUpdateSelection"), [all …]
|
D | ImeSwitchingTest.java | 23 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 88 expectEvent(stream2, eventMatcher("onDestroy"), TIMEOUT); in testSwitchingIme() 90 expectEvent(stream1, eventMatcher("onCreate"), TIMEOUT); in testSwitchingIme() 146 expectEvent(stream1, eventMatcher("onCreate"), TIMEOUT); in testImeRemainsVisibleAfterSwitchingIme()
|
D | InputMethodSubtypeEndToEndTest.java | 20 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 163 expectEvent(stream, eventMatcher("onCreate"), TIMEOUT); in testNoOnCurrentInputMethodSubtypeChangedForColdStartup() 197 …final ImeEvent result = expectEvent(stream, eventMatcher("onCurrentInputMethodSubtypeChanged"), TI… in testSubtypeSwitchingInTheSameIme() 224 expectEvent(stream, eventMatcher("onCreate"), TIMEOUT); in testSetExplicitlyEnabledInputMethodSubtypes() 307 expectEvent(stream, eventMatcher("onCreate"), TIMEOUT); in testSetAdditionalInputMethodSubtypesForAlreadyEnabledSubtype() 346 expectEvent(stream, eventMatcher("onCreate"), TIMEOUT); in testSetAdditionalInputMethodSubtypeDoesNotRemoveImesInvisibleFromCaller()
|
D | SearchViewTest.java | 24 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 153 expectEvent(stream, eventMatcher("hideSoftInput"), TIMEOUT); in testTapThenSetQuery() 216 notExpectEvent(stream, eventMatcher("hideSoftInput"), in testShowImeWhenSearchViewFocusInListView()
|
D | InputConnectionEndToEndTest.java | 26 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 812 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); in testGetTextAfterCursorFailFastAfterUnbindInput() 974 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); in testGetTextBeforeCursorFailFastAfterUnbindInput() 1093 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); in testGetSelectedTextFailFastAfterUnbindInput() 1394 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); in testGetSurroundingTextFailFastAfterUnbindInput() 2128 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); 2330 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); 2490 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); 2662 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); 2766 expectEvent(stream, eventMatcher("unbindInput"), TIMEOUT); [all …]
|
D | AccessibilityInputMethodTest.java | 26 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 282 expectEvent(imeEventStream, eventMatcher("onFinishInput"), TIMEOUT); in testNoFallbackInputConnection() 288 … final var startInputEvent = expectEvent(imeEventStream, eventMatcher("onStartInput"), TIMEOUT); in testNoFallbackInputConnection() 341 … final var startInputEvent = expectEvent(imeEventStream, eventMatcher("onStartInput"), TIMEOUT); in testNoFallbackInputConnectionAfterRestartInput() 528 notExpectEvent(imeEventStream, eventMatcher("onUpdateSelection"), NOT_EXPECT_TIMEOUT); in testInvalidateInputMain()
|
D | StylusHandwritingTest.java | 29 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 555 expectEvent(stream, eventMatcher("onStylusMotionEvent"), TIMEOUT); in testHandwritingStylusEvents() 1713 eventMatcher("onPrepareStylusHandwriting"), 1717 eventMatcher("onStartConnectionlessStylusHandwriting"), 1731 eventMatcher("onFinishStylusHandwriting"), 1779 eventMatcher("onPrepareStylusHandwriting"), 1783 eventMatcher("onStartConnectionlessStylusHandwriting"), 1792 eventMatcher("onFinishStylusHandwriting"), 2057 eventMatcher("onStartStylusHandwriting"), 2070 eventMatcher("onStartStylusHandwriting"), [all …]
|
D | KeyboardVisibilityControlTest.java | 42 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 680 notExpectEvent(stream, eventMatcher("showSoftInput"), in testShowSoftInputWithShowForcedFlagWhenAppIsLeaving() 684 expectEvent(stream, eventMatcher("showSoftInput"), TIMEOUT); in testShowSoftInputWithShowForcedFlagWhenAppIsLeaving() 779 expectEvent(stream, eventMatcher("showSoftInput"), TIMEOUT); in testImeVisibilityWhenDismissingDialogWithImeFocused() 806 final ImeEvent onStart = expectEvent(stream, eventMatcher("onStartInput"), TIMEOUT); in testImeVisibilityWhenDismissingDialogWithImeFocused() 888 expectEvent(stream, eventMatcher("showSoftInput"), TIMEOUT); in runImeDoesntReshowAfterKeyguardTest() 908 expectEvent(stream, eventMatcher("onFinishInput"), in runImeDoesntReshowAfterKeyguardTest() 910 notExpectEvent(stream, eventMatcher("showSoftInput"), in runImeDoesntReshowAfterKeyguardTest() 918 expectEvent(stream, eventMatcher("showSoftInput"), in runImeDoesntReshowAfterKeyguardTest() 1202 expectEvent(stream, eventMatcher("showSoftInput"), TIMEOUT); in runImeVisibilityWhenImeTransitionBetweenActivities() [all …]
|
D | FocusHandlingTest.java | 38 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 1026 expectEvent(stream, eventMatcher("onFinishInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateUnspecified_hidesIme() 1035 expectEvent(stream, eventMatcher("onFinishInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateHidden_hidesIme() 1044 expectEvent(stream, eventMatcher("onFinishInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateAlwaysHidden_hidesIme() 1055 expectEvent(stream, eventMatcher("onFinishInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateVisible() 1058 expectEvent(stream, eventMatcher("onStartInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateVisible() 1080 expectEvent(stream, eventMatcher("onFinishInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateAlwaysVisible() 1083 expectEvent(stream, eventMatcher("onStartInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateAlwaysVisible() 1103 expectEvent(stream, eventMatcher("onFinishInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateUnchanged() 1106 expectEvent(stream, eventMatcher("onStartInput"), EXPECT_TIMEOUT); in testUnfocusedEditor_stateUnchanged()
|
D | InputMethodStartInputLifecycleTest.java | 28 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher; 606 notExpectEvent(stream, eventMatcher("onUpdateSelection"), in testInvalidateInputMain()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 155 public static DescribedPredicate<ImeEvent> eventMatcher(@NonNull String eventName) { in eventMatcher() method in ImeEventStreamTestUtils
|