Home
last modified time | relevance | path

Searched defs:keyCode (Results 1 – 25 of 69) sorted by relevance

123

/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionTest.java120 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
126 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
132 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
138 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple()
152 private void sendKeyViaAdb(int keyCode, boolean longPress) { in sendKeyViaAdb()
162 private void sendKeyViaInstrumentation(int keyCode, boolean longPress) { in sendKeyViaInstrumentation()
179 private void waitForLongPress(int keyCode) { in waitForLongPress()
190 private void checkKeyEvent(int action, int keyCode, int repeatCount) { in checkKeyEvent()
200 private void checkKeyLongPress(int keyCode) { in checkKeyLongPress()
207 private void checkKeyPress(int keyCode) { in checkKeyPress()
DKeyEventInjectionActivity.java29 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
36 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
41 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
46 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple()
DKeyEventInterceptTest.java130 private void testKey(int keyCode) { in testKey()
156 private void assertKeyReceived(int keyCode, int action) { in assertKeyReceived()
DVerifyInputEventTest.java102 final int keyCode = KEYCODE_A; in testKeyEvent() local
126 final int keyCode = KEYCODE_A; in testKeyEventWithoutHmac() local
148 final int keyCode = KEYCODE_A; in testTamperedKeyEvent() local
/cts/tests/tests/widget/src/android/widget/cts/
DMockViewForListPopupWindow.java41 public boolean onKeyPreIme(int keyCode, KeyEvent event) { in onKeyPreIme()
49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
DTextViewKeyboardShortcutTest.java42 private static void onSimpleKey(View view, int keyCode) { in onSimpleKey()
DToolbarCtsActivity.java64 public boolean onKeyShortcut(int keyCode, KeyEvent event) { in onKeyShortcut()
DMultiAutoCompleteTextViewTest.java285 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering()
289 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { in performFiltering()
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/
DHdmiCecKeyEventCapture.java60 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
66 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
79 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
/cts/tests/app/app/src/android/app/stubs/
DKeyguardManagerActivity.java30 public int keyCode; field in KeyguardManagerActivity
54 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceKeyLayoutMapTest.java184 private void assertReceivedKeyEvent(int action, int keyCode) { in assertReceivedKeyEvent()
230 private static boolean isVolumeKey(int keyCode) { in isVolumeKey()
240 private boolean isForwardedToApps(int keyCode) { in isForwardedToApps()
259 final int keyCode = KeyEvent.keyCodeFromString(label); in testLayoutKeyEvents() local
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingFocusTests.java212 private static void sendKey(int keyCode) { in sendKey()
216 private static void sendKey(int keyCode, int metaState) { in sendKey()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DUiDeviceUtils.java143 private static void retryPressKeyCode(int keyCode, BooleanSupplier waitFor, String msg) { in retryPressKeyCode()
158 private static void pressKeyCode(int keyCode) { in pressKeyCode()
/cts/libs/webkit-shared/src/android/webkit/cts/
DIHostAppInvoker.aidl28 void sendKeyDownUpSync(int keyCode); in sendKeyDownUpSync()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DUnresponsiveActivity.java39 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/
DProjectionWidgetActivity.java37 InjectDPadClickListener(int keyCode) { in InjectDPadClickListener()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java41 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/cts/tests/tests/car/src/android/car/cts/
DCarInputTest.java203 int keyCode = KeyEvent.KEYCODE_BACK; in testBackKeyForAnyPassengerMainDisplay() local
208 keyCode); in testBackKeyForAnyPassengerMainDisplay() local
236 int keyCode = KeyEvent.KEYCODE_A; in testAKeyForAnyPassengerMainDisplay() local
240 keyCode); in testAKeyForAnyPassengerMainDisplay() local
269 int keyCode = KeyEvent.KEYCODE_POWER; in testPowerKeyForAnyPassengerMainDisplay() local
532 private static void injectKeyByShell(OccupantZoneInfo zone, int keyCode) { in injectKeyByShell()
538 int keyCode) { in assertReceivedKeyCode()
DCarInputManagerSystemTest.java100 private void injectKey(int keyCode) { in injectKey()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DStubTvAdService.java232 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
241 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
250 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
259 public boolean onKeyMultiple(int keyCode, int repeatCnt, KeyEvent event) { in onKeyMultiple()
/cts/tests/admin/src/android/admin/cts/
DDeviceAdminActivationTest.java231 private KeyEvent createUntrustedKeyEvent(int action, int keyCode) { in createUntrustedKeyEvent()
247 void sendUntrustedDownUpKeyEvents(int keyCode) { in sendUntrustedDownUpKeyEvents()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowFocusTests.java96 private static void sendKey(int action, int keyCode, int displayId) { in sendKey()
102 private static void sendAndAssertTargetConsumedKey(InputTargetActivity target, int keyCode, in sendAndAssertTargetConsumedKey()
109 int keyCode, int targetDisplayId) { in sendAndAssertTargetConsumedKey()
586 private KeyEvent consumeKeyEvent(int action, int keyCode, int flags) { in consumeKeyEvent()
600 void assertAndConsumeKeyEvent(int action, int keyCode, int flags) { in assertAndConsumeKeyEvent()
605 void waitAssertAndConsumeKeyEvent(int action, int keyCode, int flags) { in waitAssertAndConsumeKeyEvent()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java163 final int keyCode = event.getArguments().getInt("keyCode"); in backKeyDownMatcher() field in InputMethodServiceTest
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractWebViewActivity.java52 public void dispatchKeyPress(int keyCode) { in dispatchKeyPress()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DTestFocusActivity.java78 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()

123