Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualDpadTest.java49 public void sendKeyEvent() { in sendKeyEvent() method in VirtualDpadTest
50 mVirtualDpad.sendKeyEvent( in sendKeyEvent()
55 mVirtualDpad.sendKeyEvent( in sendKeyEvent()
60 mVirtualDpad.sendKeyEvent( in sendKeyEvent()
65 mVirtualDpad.sendKeyEvent( in sendKeyEvent()
85 () -> mVirtualDpad.sendKeyEvent( in sendKeyEvent_withoutCreateVirtualDevicePermission_throwsException()
95 () -> mVirtualDpad.sendKeyEvent(new VirtualKeyEvent.Builder() in rejectsUnsupportedKeyCodes()
DVirtualKeyboardTest.java49 public void sendKeyEvent() { in sendKeyEvent() method in VirtualKeyboardTest
50 mVirtualKeyboard.sendKeyEvent( in sendKeyEvent()
55 mVirtualKeyboard.sendKeyEvent( in sendKeyEvent()
71 () -> mVirtualKeyboard.sendKeyEvent( in sendKeyEvent_withoutCreateVirtualDevicePermission_throwsException()
80 assertThrows(NullPointerException.class, () -> mVirtualKeyboard.sendKeyEvent(null)); in keyEvent_nullEvent_throwsNpe()
86 () -> mVirtualKeyboard.sendKeyEvent( in rejectsUnsupportedKeyCodes()
DVirtualDeviceMirrorDisplayTest.java289 keyboard.sendKeyEvent( in virtualKeyboard_keyEvent()
294 keyboard.sendKeyEvent( in virtualKeyboard_keyEvent()
311 dpad.sendKeyEvent( in virtualDpad_keyEvent()
316 dpad.sendKeyEvent( in virtualDpad_keyEvent()
321 dpad.sendKeyEvent( in virtualDpad_keyEvent()
326 dpad.sendKeyEvent( in virtualDpad_keyEvent()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaActivityTest.java210 sendKeyEvent(testKeyCode); in testVolumeKey_whileSessionAlive()
234 sendKeyEvent(KeyEvent.KEYCODE_VOLUME_DOWN); in testVolumeKey_afterSessionReleased()
245 sendKeyEvent(KeyEvent.KEYCODE_VOLUME_UP); in testVolumeKey_afterSessionReleased()
267 sendKeyEvent(testKeyEvent); in testMediaKey_whileSessionAlive()
288 sendKeyEvent(testKeyEvent); in testMediaKey_whileSessionReleased()
293 private void sendKeyEvent(int keyCode) { in sendKeyEvent() method in MediaActivityTest
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/
DHdmiControlManagerHelper.java110 client.sendKeyEvent(KeyEvent.KEYCODE_DPAD_UP, true); in interruptedLongPress()
113 client.sendKeyEvent(KeyEvent.KEYCODE_DPAD_UP, false); in interruptedLongPress()
116 client.sendKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, true); in interruptedLongPress()
/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()
619 sendKeyEvent("KEYCODE_A"); in testFilter_mixPlainAndRegex_usingKeyboard()
623 sendKeyEvent("KEYCODE_B"); in testFilter_mixPlainAndRegex_usingKeyboard()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DInputConnectionSplitter.java181 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in InputConnectionSplitter
182 mForNotify.sendKeyEvent(event); in sendKeyEvent()
183 return super.sendKeyEvent(event); in sendKeyEvent()
DNoOpInputConnection.java127 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in NoOpInputConnection
/cts/tests/inputmethod/legacyimeclienttestlib/src/com/android/cts/inputmethod/
DLegacyImeClientTestUtils.java156 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in LegacyImeClientTestUtils.MinimallyImplementedNoOpInputConnection
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DNoOpInputConnection.java129 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in NoOpInputConnection
DHandlerInputConnection.java142 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in HandlerInputConnection
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellUtils.java117 public static void sendKeyEvent(String keyCode) { in sendKeyEvent() method in ShellUtils
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionWrapperTest.java140 wrapper.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0)); in testInputConnectionWrapper()
142 verify(inputConnection, times(1)).sendKeyEvent(keyEventCaptor.capture()); in testInputConnectionWrapper()
DInputConnectionDefaultMethodTest.java300 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in InputConnectionDefaultMethodTest.TestInputConnection
301 return mDelegate.sendKeyEvent(event); in sendKeyEvent()
DInputMethodServiceTest.java490 public boolean sendKeyEvent(KeyEvent event) {
492 return super.sendKeyEvent(event);
DInputConnectionEndToEndTest.java4442 public boolean sendKeyEvent(KeyEvent event) {
4479 public boolean sendKeyEvent(KeyEvent event) {
4529 public boolean sendKeyEvent(KeyEvent event) {
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityInputConnectionTest.java209 ic.sendKeyEvent(keyEvent); in testSendKeyEvent()
211 .sendKeyEvent(keyEvent); in testSendKeyEvent()
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/
DMockA11yIme.java283 getMemorizedOrCurrentInputConnection().sendKeyEvent(event); in onHandleCommand()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java74 import static com.android.compatibility.common.util.ShellUtils.sendKeyEvent;
3011 sendKeyEvent("KEYCODE_DEL"); in testUiShowOnChangeAfterAutofill()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java349 return getMemorizedOrCurrentInputConnection().sendKeyEvent(event); in onHandleCommand()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt5175 method public void sendKeyEvent(int, boolean);
5598 …ission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendKeyEvent(@NonNull androi…
5650 …ission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void sendKeyEvent(@NonNull androi…
Dcurrent.txt3669 method public void sendKeyEvent(@NonNull android.view.KeyEvent);
55902 method public boolean sendKeyEvent(android.view.KeyEvent);
56217 method public boolean sendKeyEvent(android.view.KeyEvent);
56275 method public boolean sendKeyEvent(android.view.KeyEvent);