/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | VirtualDpadTest.java | 49 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()
|
D | VirtualKeyboardTest.java | 49 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()
|
D | VirtualDeviceMirrorDisplayTest.java | 289 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/ |
D | MediaActivityTest.java | 210 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/ |
D | HdmiControlManagerHelper.java | 110 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/ |
D | DatasetFilteringTest.java | 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() 619 sendKeyEvent("KEYCODE_A"); in testFilter_mixPlainAndRegex_usingKeyboard() 623 sendKeyEvent("KEYCODE_B"); in testFilter_mixPlainAndRegex_usingKeyboard()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | InputConnectionSplitter.java | 181 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in InputConnectionSplitter 182 mForNotify.sendKeyEvent(event); in sendKeyEvent() 183 return super.sendKeyEvent(event); in sendKeyEvent()
|
D | NoOpInputConnection.java | 127 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in NoOpInputConnection
|
/cts/tests/inputmethod/legacyimeclienttestlib/src/com/android/cts/inputmethod/ |
D | LegacyImeClientTestUtils.java | 156 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in LegacyImeClientTestUtils.MinimallyImplementedNoOpInputConnection
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | NoOpInputConnection.java | 129 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in NoOpInputConnection
|
D | HandlerInputConnection.java | 142 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in HandlerInputConnection
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ShellUtils.java | 117 public static void sendKeyEvent(String keyCode) { in sendKeyEvent() method in ShellUtils
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionWrapperTest.java | 140 wrapper.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0)); in testInputConnectionWrapper() 142 verify(inputConnection, times(1)).sendKeyEvent(keyEventCaptor.capture()); in testInputConnectionWrapper()
|
D | InputConnectionDefaultMethodTest.java | 300 public boolean sendKeyEvent(KeyEvent event) { in sendKeyEvent() method in InputConnectionDefaultMethodTest.TestInputConnection 301 return mDelegate.sendKeyEvent(event); in sendKeyEvent()
|
D | InputMethodServiceTest.java | 490 public boolean sendKeyEvent(KeyEvent event) { 492 return super.sendKeyEvent(event);
|
D | InputConnectionEndToEndTest.java | 4442 public boolean sendKeyEvent(KeyEvent event) { 4479 public boolean sendKeyEvent(KeyEvent event) { 4529 public boolean sendKeyEvent(KeyEvent event) {
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityInputConnectionTest.java | 209 ic.sendKeyEvent(keyEvent); in testSendKeyEvent() 211 .sendKeyEvent(keyEvent); in testSendKeyEvent()
|
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/ |
D | MockA11yIme.java | 283 getMemorizedOrCurrentInputConnection().sendKeyEvent(event); in onHandleCommand()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | LoginActivityTest.java | 74 import static com.android.compatibility.common.util.ShellUtils.sendKeyEvent; 3011 sendKeyEvent("KEYCODE_DEL"); in testUiShowOnChangeAfterAutofill()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 349 return getMemorizedOrCurrentInputConnection().sendKeyEvent(event); in onHandleCommand()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 5175 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…
|
D | current.txt | 3669 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);
|