/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | GestureLauncherServiceTest.java | 180 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local 199 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local 243 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local 289 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local 335 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local 382 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_longpress() local 427 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupIncomplete() local 473 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOnInteractive() local 519 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOnInteractive() local 563 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffNotInteractive() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 47 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtain() local 65 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainFromKeyEvent() local 85 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainWithDisplayId() local
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 497 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent) { in dispatchMediaKeyEvent() 508 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent() 522 public void dispatchMediaKeyEventAsSystemService(KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService() 526 private void dispatchMediaKeyEventInternal(boolean asSystemService, @NonNull KeyEvent keyEvent, in dispatchMediaKeyEventInternal() 529 mService.dispatchMediaKeyEvent(mContext.getPackageName(), asSystemService, keyEvent, in dispatchMediaKeyEventInternal() local 548 @NonNull KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService() 573 public void dispatchVolumeKeyEvent(@NonNull KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent() 589 public void dispatchVolumeKeyEventAsSystemService(@NonNull KeyEvent keyEvent, int streamType) { in dispatchVolumeKeyEventAsSystemService() 593 private void dispatchVolumeKeyEventInternal(boolean asSystemService, @NonNull KeyEvent keyEvent, in dispatchVolumeKeyEventInternal() 597 asSystemService, keyEvent, stream, musicOnly); in dispatchVolumeKeyEventInternal() local [all …]
|
D | ISessionManager.aidl | 44 void dispatchMediaKeyEvent(String packageName, boolean asSystemService, in KeyEvent keyEvent, in dispatchMediaKeyEvent() 47 in MediaSession.Token sessionToken, in KeyEvent keyEvent); in dispatchMediaKeyEventToSessionAsSystemService() 49 in KeyEvent keyEvent, int stream, boolean musicOnly); in dispatchVolumeKeyEvent() 51 in MediaSession.Token sessionToken, in KeyEvent keyEvent); in dispatchVolumeKeyEventToSessionAsSystemService()
|
D | MediaSessionLegacyHelper.java | 169 public void sendMediaButtonEvent(KeyEvent keyEvent, boolean needWakeLock) { in sendMediaButtonEvent() 180 public void sendVolumeKeyEvent(KeyEvent keyEvent, int stream, boolean musicOnly) { in sendVolumeKeyEvent()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | MockWindow.java | 97 public void openPanel(int i, KeyEvent keyEvent) { in openPanel() 107 public void togglePanel(int i, KeyEvent keyEvent) { in togglePanel() 117 public boolean performPanelShortcut(int i, int i1, KeyEvent keyEvent, int i2) { in performPanelShortcut() 177 public boolean superDispatchKeyEvent(KeyEvent keyEvent) { in superDispatchKeyEvent() 182 public boolean superDispatchKeyShortcutEvent(KeyEvent keyEvent) { in superDispatchKeyShortcutEvent() 237 public boolean isShortcutKey(int i, KeyEvent keyEvent) { in isShortcutKey()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | ForwardDeleteTest.java | 64 final KeyEvent keyEvent = KeyUtils.generateKeyEvent( in forwardDelete() local 66 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete() local
|
D | BackspaceTest.java | 66 final KeyEvent keyEvent = KeyUtils.generateKeyEvent( in backspace() local 68 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in backspace() local
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | EditTextLongTextPerfTest.java | 105 final KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testEditText() local 112 editText.onKeyDown(keyEvent.getKeyCode(), keyEvent); in testEditText() local
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneFallbackEventHandler.java | 331 private void handleVolumeKeyEvent(KeyEvent keyEvent) { in handleVolumeKeyEvent() 336 private void handleMediaKeyEvent(KeyEvent keyEvent) { in handleMediaKeyEvent()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 709 private void dispatchVolumeKeyLongPressLocked(KeyEvent keyEvent) { in dispatchVolumeKeyLongPressLocked() 1312 KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent() 1387 MediaSession.Token sessionToken, KeyEvent keyEvent) { in dispatchMediaKeyEventToSessionAsSystemService() 1666 boolean asSystemService, KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent() 1743 int uid, boolean asSystemService, KeyEvent keyEvent, int stream, in dispatchVolumeKeyEventLocked() 1803 String opPackageName, MediaSession.Token sessionToken, KeyEvent keyEvent) { in dispatchVolumeKeyEventToSessionAsSystemService() 2083 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in handleVoiceKeyEventLocked() 2110 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEventLocked() 2273 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in MediaKeyListenerResultReceiver()
|
D | MediaSessionRecord.java | 995 boolean asSystemService, KeyEvent keyEvent, int sequenceId, ResultReceiver cb) { in sendMediaButton() 1013 KeyEvent keyEvent) { in sendMediaButton() 1229 private Intent createMediaButtonIntent(KeyEvent keyEvent) { in createMediaButtonIntent() 1246 KeyEvent keyEvent) { in sendMediaButton()
|
/frameworks/base/core/java/android/view/autofill/ |
D | IAutoFillManagerClient.aidl | 84 void dispatchUnhandledKey(int sessionId, in AutofillId id, in KeyEvent keyEvent); in dispatchUnhandledKey()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 177 final KeyEvent keyEvent = (KeyEvent)event; in onInputEvent() local 597 final KeyEvent keyEvent = (KeyEvent)event; in onUnhandledEvent() local
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | IInputMethodSessionWrapper.java | 234 KeyEvent keyEvent = (KeyEvent)event; in onInputEvent() local
|
D | MultiClientInputMethodClientCallbackAdaptor.java | 167 final KeyEvent keyEvent = (KeyEvent) event; in onInputEvent() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 584 public boolean matchesSafely(KeyEvent keyEvent) { in matchesSafely()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardHostView.java | 400 private void handleMediaKeyEvent(KeyEvent keyEvent) { in handleMediaKeyEvent()
|
/frameworks/base/core/jni/ |
D | android_view_InputQueue.cpp | 117 KeyEvent* keyEvent = static_cast<KeyEvent*>(e); in preDispatchEvent() local
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 102 KeyEvent* keyEvent = static_cast<KeyEvent*>(event); in PublishAndConsumeKeyEvent() local
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 86 void dispatchUnhandledKey(AutofillId id, KeyEvent keyEvent); in dispatchUnhandledKey()
|
D | FillUi.java | 90 void dispatchUnhandledKey(KeyEvent keyEvent); in dispatchUnhandledKey()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 250 public boolean sendMediaKeyEvent(KeyEvent keyEvent) throws IllegalArgumentException { in sendMediaKeyEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 221 KeyEvent keyEvent = (KeyEvent) event; in onInputEvent() local
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1024 void NativeInputManager::interceptKeyBeforeQueueing(const KeyEvent* keyEvent, in interceptKeyBeforeQueueing() 1109 const KeyEvent* keyEvent, uint32_t policyFlags) { in interceptKeyBeforeDispatching() 1146 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) { in dispatchUnhandledKey() 1480 KeyEvent keyEvent; in nativeInjectInputEvent() local
|