Searched refs:sendKeyEvent (Results 1 – 7 of 7) sorted by relevance
175 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
22 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()
75 public static void sendKeyEvent(String keyCode) { in sendKeyEvent() method in ShellUtils
133 wrapper.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0)); in testInputConnectionWrapper()135 verify(inputConnection, times(1)).sendKeyEvent(keyEventCaptor.capture()); in testInputConnectionWrapper()
385 public boolean sendKeyEvent(KeyEvent event) {387 return super.sendKeyEvent(event);
67 import static com.android.compatibility.common.util.ShellUtils.sendKeyEvent;2797 sendKeyEvent("KEYCODE_DEL"); in testUiShowOnChangeAfterAutofill()
286 return getMemorizedOrCurrentInputConnection().sendKeyEvent(event); in onHandleCommand()