/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventInjectionTest.java | 120 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()
|
D | KeyEventInjectionActivity.java | 29 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()
|
D | KeyEventInterceptTest.java | 130 private void testKey(int keyCode) { in testKey() 156 private void assertKeyReceived(int keyCode, int action) { in assertKeyReceived()
|
D | VerifyInputEventTest.java | 102 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/ |
D | MockViewForListPopupWindow.java | 41 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()
|
D | TextViewKeyboardShortcutTest.java | 42 private static void onSimpleKey(View view, int keyCode) { in onSimpleKey()
|
D | ToolbarCtsActivity.java | 64 public boolean onKeyShortcut(int keyCode, KeyEvent event) { in onKeyShortcut()
|
D | MultiAutoCompleteTextViewTest.java | 285 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/ |
D | HdmiCecKeyEventCapture.java | 60 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/ |
D | KeyguardManagerActivity.java | 30 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/ |
D | InputDeviceKeyLayoutMapTest.java | 184 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/ |
D | ActivityEmbeddingFocusTests.java | 212 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/ |
D | UiDeviceUtils.java | 143 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/ |
D | IHostAppInvoker.aidl | 28 void sendKeyDownUpSync(int keyCode); in sendKeyDownUpSync()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | UnresponsiveActivity.java | 39 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/ |
D | ProjectionWidgetActivity.java | 37 InjectDPadClickListener(int keyCode) { in InjectDPadClickListener()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ColorChangeOnKeyView.java | 41 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarInputTest.java | 203 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()
|
D | CarInputManagerSystemTest.java | 100 private void injectKey(int keyCode) { in injectKey()
|
/cts/tests/tests/tv/src/android/media/tv/ad/cts/ |
D | StubTvAdService.java | 232 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/ |
D | DeviceAdminActivationTest.java | 231 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/ |
D | WindowFocusTests.java | 96 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/ |
D | InputMethodServiceTest.java | 163 final int keyCode = event.getArguments().getInt("keyCode"); in backKeyDownMatcher() field in InputMethodServiceTest
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AbstractWebViewActivity.java | 52 public void dispatchKeyPress(int keyCode) { in dispatchKeyPress()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | TestFocusActivity.java | 78 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
|