/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 57 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtain() local 75 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainFromKeyEvent() local 84 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainWithDisplayId() local 110 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainGeneratesUniqueId() local 122 KeyEvent keyEvent = new KeyEvent(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT); in testConstructorGeneratesUniqueId() local 132 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainGeneratesIdWithRightSource() local 141 KeyEvent keyEvent = new KeyEvent(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT); in testConstructorGeneratesIdWithRightSource() local
|
D | VerifiedKeyEventTest.kt | 58 val keyEvent = createVerifiedKeyEvent() in testParcelUnparcel() constant 74 val keyEvent = createVerifiedKeyEvent() in testParcelInputEvent() constant 92 val keyEvent = createVerifiedKeyEvent() in testParcelKeyEvent() constant 109 val keyEvent = createVerifiedKeyEvent() in testParcelInputToKeyEvent() constant
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaKeyDispatcher.java | 94 MediaSession.Token getMediaSession(@NonNull KeyEvent keyEvent, int uid, in getMediaSession() 114 PendingIntent getMediaButtonReceiver(@NonNull KeyEvent keyEvent, int uid, in getMediaButtonReceiver() 198 void onSingleTap(KeyEvent keyEvent) { in onSingleTap() 215 void onDoubleTap(KeyEvent keyEvent) { in onDoubleTap() 232 void onTripleTap(KeyEvent keyEvent) { in onTripleTap() 255 void onLongPress(KeyEvent keyEvent) { in onLongPress()
|
D | MediaSessionService.java | 744 private void dispatchVolumeKeyLongPressLocked(KeyEvent keyEvent) { in dispatchVolumeKeyLongPressLocked() 1336 KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent() 1410 MediaSession.Token sessionToken, KeyEvent keyEvent) { in dispatchMediaKeyEventToSessionAsSystemService() 1689 boolean asSystemService, KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent() 1727 int uid, boolean asSystemService, KeyEvent keyEvent, int stream, in dispatchVolumeKeyEventLocked() 1787 String opPackageName, MediaSession.Token sessionToken, KeyEvent keyEvent) { in dispatchVolumeKeyEventToSessionAsSystemService() 2099 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEventLocked() 2243 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in MediaKeyListenerResultReceiver() 2382 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in handleMediaKeyEventLocked() 2388 boolean asSystemService, KeyEvent keyEvent, String opPackageName, int stream, in handleVolumeKeyEventLocked() [all …]
|
D | MediaButtonReceiverHolder.java | 191 public boolean send(Context context, KeyEvent keyEvent, String callingPackageName, in send()
|
D | MediaSessionRecord.java | 987 boolean asSystemService, KeyEvent keyEvent, int sequenceId, ResultReceiver cb) { in sendMediaButton() 1004 boolean asSystemService, KeyEvent keyEvent) { in sendMediaButton() 1208 private Intent createMediaButtonIntent(KeyEvent keyEvent) { in createMediaButtonIntent() 1224 public boolean sendMediaButton(String packageName, KeyEvent keyEvent) { in sendMediaButton()
|
/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/media/java/android/media/session/ |
D | MediaSessionManager.java | 500 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent) { in dispatchMediaKeyEvent() 511 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent() 525 public void dispatchMediaKeyEventAsSystemService(KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService() 529 private void dispatchMediaKeyEventInternal(boolean asSystemService, @NonNull KeyEvent keyEvent, in dispatchMediaKeyEventInternal() 532 mService.dispatchMediaKeyEvent(mContext.getPackageName(), asSystemService, keyEvent, in dispatchMediaKeyEventInternal() local 551 @NonNull KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService() 576 public void dispatchVolumeKeyEvent(@NonNull KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent() 592 public void dispatchVolumeKeyEventAsSystemService(@NonNull KeyEvent keyEvent, int streamType) { in dispatchVolumeKeyEventAsSystemService() 596 private void dispatchVolumeKeyEventInternal(boolean asSystemService, @NonNull KeyEvent keyEvent, in dispatchVolumeKeyEventInternal() 600 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 | 106 final KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testEditText() local 113 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/core/java/android/view/autofill/ |
D | IAutoFillManagerClient.aidl | 98 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 | 244 KeyEvent keyEvent = (KeyEvent)event; in onInputEvent() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 589 public boolean matchesSafely(KeyEvent keyEvent) { in matchesSafely()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardHostView.java | 407 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 | 109 KeyEvent* keyEvent = static_cast<KeyEvent*>(event); in PublishAndConsumeKeyEvent() local
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 91 void dispatchUnhandledKey(AutofillId id, KeyEvent keyEvent); in dispatchUnhandledKey()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 987 void NativeInputManager::interceptKeyBeforeQueueing(const KeyEvent* keyEvent, in interceptKeyBeforeQueueing() 1072 const KeyEvent* keyEvent, uint32_t policyFlags) { in interceptKeyBeforeDispatching() 1109 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) { in dispatchUnhandledKey() 1450 KeyEvent keyEvent; in nativeInjectInputEvent() local 1489 KeyEvent keyEvent; in nativeVerifyInputEvent() local
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 250 public boolean sendMediaKeyEvent(KeyEvent keyEvent) throws IllegalArgumentException { in sendMediaKeyEvent()
|