CTS for InputMethodService#sendDownUpKeyEvents()

This CL adds a CTS test for InputMethodService#sendDownUpKeyEvents().

This also makes it possible for other tests to safely rely on
MockImeSession#callSendDownUpKeyEvents() to test a scenario where an
IME injects a pair of key down/up events for the given key code.

Fix: 124241425
Fix: 124334209
Test: atest CtsInputMethodTestCases:InputMethodServiceTest
Change-Id: I1cd0865a87fbd9f7914930535db8d4708cc7cfd5
3 files changed