/frameworks/base/native/android/ |
D | surface_control_input_receiver.cpp | 35 AInputReceiver_onKeyEvent onKeyEvent = nullptr; member 54 void onKeyEvent(std::unique_ptr<KeyEvent> event, uint32_t seq) override { in onKeyEvent() function in InputReceiver 55 if (mCallbacks->onKeyEvent != nullptr) { in onKeyEvent() 56 const bool handled = mCallbacks->onKeyEvent(mCallbacks->context, in onKeyEvent() 207 AInputReceiver_onKeyEvent onKeyEvent) { in AInputReceiverCallbacks_setKeyEventCallback() argument 208 callbacks->onKeyEvent = onKeyEvent; in AInputReceiverCallbacks_setKeyEventCallback()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/ |
D | PinBouncerViewModelTest.kt | 466 underTest.onKeyEvent(KeyEventType.KeyDown, KEYCODE_0 + expectedPin[0]) in <lambda>() 467 underTest.onKeyEvent(KeyEventType.KeyUp, KEYCODE_0 + expectedPin[0]) in <lambda>() 469 underTest.onKeyEvent(KeyEventType.KeyDown, KEYCODE_NUMPAD_0 + expectedPin[1]) in <lambda>() 470 underTest.onKeyEvent(KeyEventType.KeyUp, KEYCODE_NUMPAD_0 + expectedPin[1]) in <lambda>() 472 underTest.onKeyEvent(KeyEventType.KeyDown, KEYCODE_0 + expectedPin[2]) in <lambda>() 473 underTest.onKeyEvent(KeyEventType.KeyUp, KEYCODE_0 + expectedPin[2]) in <lambda>() 476 underTest.onKeyEvent(KeyEventType.KeyDown, KEYCODE_4) in <lambda>() 477 underTest.onKeyEvent(KeyEventType.KeyUp, KEYCODE_4) in <lambda>() 480 underTest.onKeyEvent(KeyEventType.KeyDown, KEYCODE_DEL) in <lambda>() 481 underTest.onKeyEvent(KeyEventType.KeyUp, KEYCODE_DEL) in <lambda>() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyboardInterceptorTest.java | 78 mInterceptor.onKeyEvent(event, 0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms() 87 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms() 96 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped() 106 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms() 123 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped() 149 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDelayed_allEventsStillInOrder() 179 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDropped_otherEventsStillInOrder()
|
D | KeyEventDispatcherTest.java | 99 when(mKeyEventFilter1.onKeyEvent((KeyEvent) anyObject(), in setUp() 104 when(mKeyEventFilter2.onKeyEvent((KeyEvent) anyObject(), in setUp() 125 when(keyEventFilter.onKeyEvent((KeyEvent) anyObject(), anyInt())).thenReturn(false); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse() 136 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withOneValidService_shouldNotifyService() 144 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth() 146 verify(mKeyEventFilter2, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
|
D | AbstractAccessibilityServiceConnectionTest.java | 271 public void onKeyEvent() throws RemoteException { in onKeyEvent() method in AbstractAccessibilityServiceConnectionTest 275 mServiceConnection.onKeyEvent(mockKeyEvent, sequenceNumber); in onKeyEvent() 276 verify(mMockServiceInterface).onKeyEvent(mockKeyEvent, sequenceNumber); in onKeyEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | EventStreamTransformation.java | 81 default void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method 84 next.onKeyEvent(event, policyFlags); in onKeyEvent()
|
D | KeyEventDispatcher.java | 132 if (keyEventFilter.onKeyEvent(localClone, localClone.getSequenceNumber())) { in notifyKeyEventLocked() 268 mSentEventsVerifier.onKeyEvent(pendingEvent.event, 0); in removeReferenceToPendingEventLocked() 305 boolean onKeyEvent(KeyEvent event, int sequenceNumber); in onKeyEvent() method
|
D | AutoclickController.java | 98 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AutoclickController 111 super.onKeyEvent(event, policyFlags); in onKeyEvent()
|
D | KeyboardInterceptor.java | 68 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in KeyboardInterceptor
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingCollectorImplTest.java | 247 mFalsingCollector.onKeyEvent(enterDown); in testPassThroughEnterKeyEvent() 248 verify(mFalsingDataProvider, never()).onKeyEvent(any(KeyEvent.class)); in testPassThroughEnterKeyEvent() 250 mFalsingCollector.onKeyEvent(enterUp); in testPassThroughEnterKeyEvent() 251 verify(mFalsingDataProvider, times(1)).onKeyEvent(enterUp); in testPassThroughEnterKeyEvent() 263 mFalsingCollector.onKeyEvent(aKeyDown); in testAvoidAKeyEvent() 264 verify(mFalsingDataProvider, never()).onKeyEvent(any(KeyEvent.class)); in testAvoidAKeyEvent() 266 mFalsingCollector.onKeyEvent(aKeyUp); in testAvoidAKeyEvent() 267 verify(mFalsingDataProvider, never()).onKeyEvent(any(KeyEvent.class)); in testAvoidAKeyEvent()
|
D | FalsingDataProviderTest.java | 295 mDataProvider.onKeyEvent(eventDown); in test_isFromKeyboard_disallowedKey_false() 296 mDataProvider.onKeyEvent(eventUp); in test_isFromKeyboard_disallowedKey_false()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingCollector.java | 59 void onKeyEvent(KeyEvent ev); in onKeyEvent() method
|
D | FalsingCollectorFake.java | 76 public void onKeyEvent(KeyEvent ev) { in onKeyEvent() method in FalsingCollectorFake
|
D | FalsingCollectorNoOp.kt | 63 override fun onKeyEvent(ev: KeyEvent) { in onKeyEvent() method in com.android.systemui.classifier.FalsingCollectorNoOp
|
D | FalsingCollectorImpl.java | 322 public void onKeyEvent(KeyEvent ev) { in onKeyEvent() method in FalsingCollectorImpl 326 mFalsingDataProvider.onKeyEvent(ev); in onKeyEvent()
|
/frameworks/native/include/android/ |
D | surface_control_input_receiver.h | 199 AInputReceiver_onKeyEvent _Nonnull onKeyEvent)
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | IAccessibilityServiceClient.aidl | 49 void onKeyEvent(in KeyEvent event, int sequence); in onKeyEvent() method
|
D | AccessibilityService.java | 642 boolean onKeyEvent(KeyEvent event); in onKeyEvent() method 1014 protected boolean onKeyEvent(KeyEvent event) { in onKeyEvent() method in AccessibilityService 2821 public boolean onKeyEvent(KeyEvent event) { in onBind() method in AccessibilityService 2822 return AccessibilityService.this.onKeyEvent(event); in onBind() 3010 public void onKeyEvent(KeyEvent event, int sequence) { 3016 final boolean result = mCallback.onKeyEvent(event);
|
/frameworks/native/include/input/ |
D | InputConsumerNoResampling.h | 32 virtual void onKeyEvent(std::unique_ptr<KeyEvent> event, uint32_t seq) = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/ |
D | BouncerViewModel.kt | 389 fun onKeyEvent(keyEvent: KeyEvent): Boolean { in <lambda>() method 390 return (authMethodViewModel.value as? PinBouncerViewModel)?.onKeyEvent( in <lambda>()
|
D | PinBouncerViewModel.kt | 213 fun onKeyEvent(type: KeyEventType, keyCode: Int): Boolean { in <lambda>() method
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityDisplayProxy.java | 300 public boolean onKeyEvent(KeyEvent event) { in IAccessibilityServiceClientImpl()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 178 onKeyEvent(keyEvent, nestingLevel); in onInputEvent() 200 public void onKeyEvent(KeyEvent event, int nestingLevel) { in onKeyEvent() method in InputEventConsistencyVerifier
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
D | BouncerContent.kt | 69 import androidx.compose.ui.input.key.onKeyEvent in <lambda>() 141 modifier = modifier.imePadding().onKeyEvent(viewModel::onKeyEvent), in BouncerContent()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/ |
D | AccessibilityMenuService.java | 391 protected boolean onKeyEvent(KeyEvent event) { in onKeyEvent() method in AccessibilityMenuService
|