Home
last modified time | relevance | path

Searched refs:sendKeyEvent (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaActivityTest.java175 sendKeyEvent(testKeyCode); in testVolumeKey_whileSessionAlive()
195 sendKeyEvent(KeyEvent.KEYCODE_VOLUME_DOWN); in testVolumeKey_afterSessionReleased()
206 sendKeyEvent(KeyEvent.KEYCODE_VOLUME_UP); in testVolumeKey_afterSessionReleased()
228 sendKeyEvent(testKeyEvent); in testMediaKey_whileSessionAlive()
248 sendKeyEvent(testKeyEvent); in testMediaKey_whileSessionReleased()
253 private void sendKeyEvent(int keyCode) { in sendKeyEvent() method in MediaActivityTest
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DDatasetFilteringTest.java22 import static com.android.compatibility.common.util.ShellUtils.sendKeyEvent;
163 sendKeyEvent("KEYCODE_A"); in testFilter_injectingEvents()
167 sendKeyEvent("KEYCODE_A"); in testFilter_injectingEvents()
171 sendKeyEvent("KEYCODE_DEL"); in testFilter_injectingEvents()
175 sendKeyEvent("KEYCODE_DEL"); in testFilter_injectingEvents()
180 sendKeyEvent("KEYCODE_A"); in testFilter_injectingEvents()
181 sendKeyEvent("KEYCODE_A"); in testFilter_injectingEvents()
182 sendKeyEvent("KEYCODE_A"); in testFilter_injectingEvents()
586 sendKeyEvent("KEYCODE_A"); in testFilter_mixPlainAndRegex_usingKeyboard()
590 sendKeyEvent("KEYCODE_B"); in testFilter_mixPlainAndRegex_usingKeyboard()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellUtils.java75 public static void sendKeyEvent(String keyCode) { in sendKeyEvent() method in ShellUtils
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionWrapperTest.java133 wrapper.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0)); in testInputConnectionWrapper()
135 verify(inputConnection, times(1)).sendKeyEvent(keyEventCaptor.capture()); in testInputConnectionWrapper()
DInputMethodServiceTest.java385 public boolean sendKeyEvent(KeyEvent event) {
387 return super.sendKeyEvent(event);
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java67 import static com.android.compatibility.common.util.ShellUtils.sendKeyEvent;
2797 sendKeyEvent("KEYCODE_DEL"); in testUiShowOnChangeAfterAutofill()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java286 return getMemorizedOrCurrentInputConnection().sendKeyEvent(event); in onHandleCommand()