Home
last modified time | relevance | path

Searched refs:sendKeyCombination (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DModifierShortcutTests.java95 sendKeyCombination(new int[]{KEYCODE_META_LEFT, keyCode}, 0); in testMetaShortcuts()
103 sendKeyCombination(new int[]{KEYCODE_META_LEFT, keyCode}, 0); in testMetaShortcuts()
114 sendKeyCombination(new int[]{KEYCODE_ALT_LEFT, KEYCODE_TAB}, 0); in testAltTab()
123 sendKeyCombination(new int[]{KEYCODE_CTRL_LEFT, KEYCODE_SPACE}, /* duration= */ 0, in testCtrlSpace()
133 sendKeyCombination(new int[]{KEYCODE_CTRL_LEFT, KEYCODE_SHIFT_LEFT, KEYCODE_SPACE}, in testCtrlShiftSpace()
143 sendKeyCombination(new int[]{KEYCODE_CTRL_LEFT, KEYCODE_ALT_LEFT, KEYCODE_Z}, 0); in testCtrlAltZ()
152 sendKeyCombination(new int[]{KEYCODE_META_LEFT, KEYCODE_CTRL_LEFT, KEYCODE_S}, 0); in testMetaCtrlS()
162 sendKeyCombination(new int[]{KEYCODE_META_LEFT, KEYCODE_N}, 0); in testMetaN()
172 sendKeyCombination(new int[]{KEYCODE_META_LEFT, KEYCODE_SLASH}, 0); in testMetaSlash()
181 sendKeyCombination(new int[]{KEYCODE_META_LEFT, KEYCODE_ALT_LEFT}, 0); in testMetaAlt()
[all …]
DCombinationKeyTests.java55 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_DOWN}, in testPowerVolumeDown()
67 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 0); in testPowerVolumeUp()
72 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 100); in testPowerVolumeUp()
81 sendKeyCombination(new int[]{KEYCODE_VOLUME_DOWN, KEYCODE_VOLUME_UP}, A11Y_KEY_HOLD_MILLIS); in testVolumeDownVolumeUp()
DShortcutKeyTestBase.java141 void sendKeyCombination(int[] keyCodes, long durationMillis, boolean longPress, int displayId) { in sendKeyCombination() method in ShortcutKeyTestBase
186 void sendKeyCombination(int[] keyCodes, long durationMillis) { in sendKeyCombination() method in ShortcutKeyTestBase
187 sendKeyCombination(keyCodes, durationMillis, false /* longPress */, DEFAULT_DISPLAY); in sendKeyCombination()
190 void sendKeyCombination(int[] keyCodes, long durationMillis, int displayId) { in sendKeyCombination() method in ShortcutKeyTestBase
191 sendKeyCombination(keyCodes, durationMillis, false /* longPress */, displayId); in sendKeyCombination()
195 sendKeyCombination(keyCodes, ViewConfiguration.getLongPressTimeout(), true /* longPress */, in sendLongPressKeyCombination()
204 sendKeyCombination(new int[]{keyCode}, 0 /*durationMillis*/, longPress, DEFAULT_DISPLAY); in sendKey()
DShortcutLoggingTests.java321 sendKeyCombination(testKeys, 0 /* duration */); in testShortcuts()
344 sendKeyCombination(testKeys, 0 /* duration */); in testDoubleTapOnHomeBehavior()
345 sendKeyCombination(testKeys, 0 /* duration */); in testDoubleTapOnHomeBehavior()
357 sendKeyCombination(testKeys, 0 /* duration */); in testSettingsKey()
366 sendKeyCombination(new int[]{META_KEY, CTRL_KEY, KeyEvent.KEYCODE_DEL}, 0); in testBugreportShortcutPress()
DPowerKeyGestureTests.java128 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_UP}, 0); in testIgnoreSinglePressWhenCombinationKeyTriggered()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java689 sendKeyCombination(inputSource, keyCodes, displayId, duration); in runKeyCombination()
692 private void sendKeyCombination(int inputSource, IntArray keyCodes, int displayId, in sendKeyCombination() method in InputShellCommand