Home
last modified time | relevance | path

Searched refs:onKeyEvent (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java76 mInterceptor.onKeyEvent(event, 0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms()
85 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
94 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
104 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
121 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
147 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDelayed_allEventsStillInOrder()
177 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDropped_otherEventsStillInOrder()
DKeyEventDispatcherTest.java98 when(mKeyEventFilter1.onKeyEvent((KeyEvent) anyObject(), in setUp()
103 when(mKeyEventFilter2.onKeyEvent((KeyEvent) anyObject(), in setUp()
124 when(keyEventFilter.onKeyEvent((KeyEvent) anyObject(), anyInt())).thenReturn(false); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse()
135 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withOneValidService_shouldNotifyService()
143 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
145 verify(mKeyEventFilter2, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
DAccessibilityInputFilterTest.java102 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AccessibilityInputFilterTest.EventCaptor
DAbstractAccessibilityServiceConnectionTest.java251 public void onKeyEvent() throws RemoteException { in onKeyEvent() method in AbstractAccessibilityServiceConnectionTest
255 mServiceConnection.onKeyEvent(mockKeyEvent, sequenceNumber); in onKeyEvent()
256 verify(mMockServiceInterface).onKeyEvent(mockKeyEvent, sequenceNumber); in onKeyEvent()
DMotionEventInjectorTest.java689 mMotionEventInjector.onKeyEvent(event, 0); in testOnKeyEvent_shouldPassToNext()
690 verify(next).onKeyEvent(event, 0); in testOnKeyEvent_shouldPassToNext()
696 mMotionEventInjector.onKeyEvent(event, 0); in testOnKeyEvent_withNoNext_shouldNotCrash()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DEventStreamTransformation.java81 default void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method
84 next.onKeyEvent(event, policyFlags); in onKeyEvent()
DKeyEventDispatcher.java132 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
DAutoclickController.java91 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AutoclickController
100 super.onKeyEvent(event, policyFlags); in onKeyEvent()
DKeyboardInterceptor.java66 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in KeyboardInterceptor
DAccessibilityInputFilter.java308 mEventHandler.get(Display.DEFAULT_DISPLAY).onKeyEvent(event, policyFlags); in processKeyEvent()
334 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AccessibilityInputFilter
DAbstractAccessibilityServiceConnection.java276 public boolean onKeyEvent(KeyEvent keyEvent, int sequenceNumber) { in onKeyEvent() method in AbstractAccessibilityServiceConnection
288 mServiceInterface.onKeyEvent(keyEvent, sequenceNumber); in onKeyEvent()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceClient.aidl43 void onKeyEvent(in KeyEvent event, int sequence); in onKeyEvent() method
DAccessibilityService.java543 boolean onKeyEvent(KeyEvent event); in onKeyEvent() method
827 protected boolean onKeyEvent(KeyEvent event) { in onKeyEvent() method in AccessibilityService
2101 public boolean onKeyEvent(KeyEvent event) { in onBind() method in AccessibilityService
2102 return AccessibilityService.this.onKeyEvent(event); in onBind()
2214 public void onKeyEvent(KeyEvent event, int sequence) {
2338 final boolean result = mCallback.onKeyEvent(event);
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java178 onKeyEvent(keyEvent, nestingLevel); in onInputEvent()
200 public void onKeyEvent(KeyEvent event, int nestingLevel) { in onKeyEvent() method in InputEventConsistencyVerifier
DViewGroup.java1949 mInputEventConsistencyVerifier.onKeyEvent(event, 1); in dispatchKeyEvent()
DView.java14236 mInputEventConsistencyVerifier.onKeyEvent(event, 0);
/frameworks/base/core/java/android/app/
DUiAutomation.java1309 public boolean onKeyEvent(KeyEvent event) { in IAccessibilityServiceClientImpl()
/frameworks/base/services/
Dart-profile4133 PLcom/android/server/accessibility/AbstractAccessibilityServiceConnection;->onKeyEvent(Landroid/vie…
4184 PLcom/android/server/accessibility/AccessibilityInputFilter;->onKeyEvent(Landroid/view/KeyEvent;I)V
4604 HPLcom/android/server/accessibility/EventStreamTransformation;->onKeyEvent(Landroid/view/KeyEvent;I…
4699 PLcom/android/server/accessibility/KeyboardInterceptor;->onKeyEvent(Landroid/view/KeyEvent;I)V
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt2577 method protected boolean onKeyEvent(android.view.KeyEvent);
/frameworks/base/api/
Dcurrent.txt2873 method protected boolean onKeyEvent(android.view.KeyEvent);