Home
last modified time | relevance | path

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

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceStrictModeTest.java23 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()
DInputMethodServiceTest.java36 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 …]
DImeSwitchingTest.java23 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()
DInputMethodSubtypeEndToEndTest.java20 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()
DSearchViewTest.java24 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher;
153 expectEvent(stream, eventMatcher("hideSoftInput"), TIMEOUT); in testTapThenSetQuery()
216 notExpectEvent(stream, eventMatcher("hideSoftInput"), in testShowImeWhenSearchViewFocusInListView()
DInputConnectionEndToEndTest.java26 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 …]
DAccessibilityInputMethodTest.java26 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()
DStylusHandwritingTest.java29 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 …]
DKeyboardVisibilityControlTest.java42 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 …]
DFocusHandlingTest.java38 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()
DInputMethodStartInputLifecycleTest.java28 import static com.android.cts.mockime.ImeEventStreamTestUtils.eventMatcher;
606 notExpectEvent(stream, eventMatcher("onUpdateSelection"), in testInvalidateInputMain()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java155 public static DescribedPredicate<ImeEvent> eventMatcher(@NonNull String eventName) { in eventMatcher() method in ImeEventStreamTestUtils