/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyevent/domain/interactor/ |
D | SysUIKeyEventHandlerTest.kt | 84 val keyEvent = in dispatchKeyEvent_isNotHandledByKeyguardKeyEventInteractor() constant 95 val keyEvent = in dispatchKeyEvent_handledByKeyguardKeyEventInteractor() constant 106 val keyEvent = in interceptMediaKey_isNotHandledByKeyguardKeyEventInteractor() constant 117 val keyEvent = in interceptMediaKey_handledByKeyguardKeyEventInteractor() constant 128 val keyEvent = in dispatchKeyEventPreIme_isNotHandledByKeyguardKeyEventInteractor() constant 139 val keyEvent = in dispatchKeyEventPreIme_handledByKeyguardKeyEventInteractor() constant
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | GestureLauncherServiceTest.java | 254 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local 273 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched() local 292 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local 337 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local 384 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local 431 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local 485 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_fiveInboundPresses_cameraAndEmergencyEnabled_bothLaunch() local 574 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_fiveInboundPresses_emergencyGestureEnabled_launchesFlow() local 628 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_tenInboundPresses_emergencyGestureEnabled_keyIntercepted() local 687 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_triggerEmergency_singleTaps_cooldownTriggered() local [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaKeyDispatcher.java | 94 MediaSession.Token getMediaSession(@NonNull KeyEvent keyEvent, int uid, in getMediaSession() 112 PendingIntent getMediaButtonReceiver(@NonNull KeyEvent keyEvent, int uid, in getMediaButtonReceiver() 183 void onSingleTap(KeyEvent keyEvent) { in onSingleTap() 200 void onDoubleTap(KeyEvent keyEvent) { in onDoubleTap() 217 void onTripleTap(KeyEvent keyEvent) { in onTripleTap() 240 void onLongPress(KeyEvent keyEvent) { in onLongPress()
|
D | MediaSessionService.java | 1126 private void dispatchVolumeKeyLongPressLocked(KeyEvent keyEvent) { in dispatchVolumeKeyLongPressLocked() 1729 KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent() 1803 KeyEvent keyEvent, MediaSession.Token sessionToken) { in dispatchMediaKeyEventToSessionAsSystemService() 2098 boolean asSystemService, KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent() 2136 int uid, boolean asSystemService, KeyEvent keyEvent, int stream, in dispatchVolumeKeyEventLocked() 2194 String opPackageName, KeyEvent keyEvent, MediaSession.Token sessionToken) { in dispatchVolumeKeyEventToSessionAsSystemService() 2584 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEventLocked() 2744 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in MediaKeyListenerResultReceiver() 2883 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in handleMediaKeyEventLocked() 2889 boolean asSystemService, KeyEvent keyEvent, String opPackageName, int stream, in handleVolumeKeyEventLocked() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 65 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtain() local 73 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainFromKeyEvent() local 83 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainWithDisplayId() local 99 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainGeneratesUniqueId() local 111 KeyEvent keyEvent = new KeyEvent(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT); in testConstructorGeneratesUniqueId() local 121 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainGeneratesIdWithRightSource() local 130 KeyEvent keyEvent = new KeyEvent(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT); in testConstructorGeneratesIdWithRightSource() local 288 private void assertHasDefaultFields(KeyEvent keyEvent, int displayId) { in assertHasDefaultFields() 293 private void assertKeyEventFields(KeyEvent keyEvent, long downTime, long eventTime, in assertKeyEventFields()
|
D | VerifiedKeyEventTest.kt | 60 val keyEvent = createVerifiedKeyEvent() in testParcelUnparcel() constant 76 val keyEvent = createVerifiedKeyEvent() in testParcelInputEvent() constant 94 val keyEvent = createVerifiedKeyEvent() in testParcelKeyEvent() constant 111 val keyEvent = createVerifiedKeyEvent() in testParcelInputToKeyEvent() constant
|
/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 | BackspaceTest.java | 66 final KeyEvent keyEvent = KeyUtils.generateKeyEvent( in backspace() local 68 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in backspace() local
|
D | ForwardDeleteTest.java | 64 final KeyEvent keyEvent = KeyUtils.generateKeyEvent( in forwardDelete() local 66 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete() local
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 594 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent() 609 public void dispatchMediaKeyEventAsSystemService(@NonNull KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService() 613 private void dispatchMediaKeyEventInternal(KeyEvent keyEvent, boolean asSystemService, in dispatchMediaKeyEventInternal() 617 mService.dispatchMediaKeyEvent(mContext.getPackageName(), asSystemService, keyEvent, in dispatchMediaKeyEventInternal() local 636 public boolean dispatchMediaKeyEventToSessionAsSystemService(@NonNull KeyEvent keyEvent, in dispatchMediaKeyEventToSessionAsSystemService() 661 public void dispatchVolumeKeyEvent(@NonNull KeyEvent keyEvent, int streamType, in dispatchVolumeKeyEvent() 683 public void dispatchVolumeKeyEventAsSystemService(@NonNull KeyEvent keyEvent, int streamType) { in dispatchVolumeKeyEventAsSystemService() 688 private void dispatchVolumeKeyEventInternal(@NonNull KeyEvent keyEvent, int stream, in dispatchVolumeKeyEventInternal() 693 asSystemService, keyEvent, stream, musicOnly); in dispatchVolumeKeyEventInternal() local 710 public void dispatchVolumeKeyEventToSessionAsSystemService(@NonNull KeyEvent keyEvent, in dispatchVolumeKeyEventToSessionAsSystemService() [all …]
|
D | ISessionManager.aidl | 44 void dispatchMediaKeyEvent(String packageName, boolean asSystemService, in KeyEvent keyEvent, in dispatchMediaKeyEvent() 47 in KeyEvent keyEvent, in MediaSession.Token sessionToken); in dispatchMediaKeyEventToSessionAsSystemService() 49 in KeyEvent keyEvent, int stream, boolean musicOnly); in dispatchVolumeKeyEvent() 51 in KeyEvent keyEvent, in MediaSession.Token sessionToken); in dispatchVolumeKeyEventToSessionAsSystemService()
|
D | MediaSessionLegacyHelper.java | 172 public void sendMediaButtonEvent(KeyEvent keyEvent, boolean needWakeLock) { in sendMediaButtonEvent() 183 public void sendVolumeKeyEvent(KeyEvent keyEvent, int stream, boolean musicOnly) { in sendVolumeKeyEvent()
|
/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/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardKeyEventInteractorTest.kt | 219 val keyEvent = KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP) in interceptMediaKey_keyguard_SBKVMdoesNotHandle_doesNotHandleMediaKey() constant 229 val keyEvent = KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP) in interceptMediaKey_keyguard_handleMediaKey() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | LeftRightArrowPressedListenerTest.kt | 97 val keyEvent = in sendKeyWithRepeat() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewControllerTest.kt | 628 val keyEvent = KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_B) in forwardsDispatchKeyEvent() constant 635 val keyEvent = KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_B) in forwardsDispatchKeyEventPreIme() constant 642 val keyEvent = KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP) in forwardsInterceptMediaKey() constant 649 val keyEvent = KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A) in forwardsCollectKeyEvent() constant
|
/frameworks/base/core/java/android/view/ |
D | ISurfaceControlViewHostParent.aidl | 29 void forwardBackKeyToParent(in KeyEvent keyEvent); in forwardBackKeyToParent()
|
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/com/android/internal/policy/ |
D | PhoneFallbackEventHandler.java | 316 private void handleVolumeKeyEvent(KeyEvent keyEvent) { in handleVolumeKeyEvent() 321 private void handleMediaKeyEvent(KeyEvent keyEvent) { in handleMediaKeyEvent()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeWindows.cpp | 99 const KeyEvent& keyEvent = static_cast<const KeyEvent&>(*event); in consumeEvent() local 207 KeyEvent& keyEvent = static_cast<KeyEvent&>(*event); in assertNoEvents() local
|
/frameworks/base/services/core/java/com/android/server/input/debug/ |
D | FocusEventDebugView.java | 232 KeyEvent keyEvent = KeyEvent.obtain(event); in reportKeyEvent() local 247 private void handleKeyEvent(KeyEvent keyEvent) { in handleKeyEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardAbsKeyInputView.java | 91 boolean onKeyDown(int keyCode, KeyEvent keyEvent); in onKeyDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingDataProvider.java | 96 void onKeyEvent(KeyEvent keyEvent) { in onKeyEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 590 public boolean matchesSafely(KeyEvent keyEvent) { in matchesSafely()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
D | PasswordBouncer.kt | 122 .onInterceptKeyBeforeSoftKeyboard { keyEvent -> in <lambda>() method
|