Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java75 mInterceptor.onKeyEvent(event, 0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms()
84 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
93 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
103 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
120 mInterceptor.onKeyEvent(event, 0); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
146 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDelayed_allEventsStillInOrder()
176 mInterceptor.onKeyEvent(event, 0); in whenSomeEventsGetDropped_otherEventsStillInOrder()
DKeyEventDispatcherTest.java93 when(mKeyEventFilter1.onKeyEvent((KeyEvent) anyObject(), in setUp()
98 when(mKeyEventFilter2.onKeyEvent((KeyEvent) anyObject(), in setUp()
119 when(keyEventFilter.onKeyEvent((KeyEvent) anyObject(), anyInt())).thenReturn(false); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse()
130 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withOneValidService_shouldNotifyService()
138 verify(mKeyEventFilter1, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
140 verify(mKeyEventFilter2, times(1)).onKeyEvent(argThat(new KeyEventMatcher(mKeyEvent)), in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
DAccessibilityInputFilterTest.java100 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AccessibilityInputFilterTest.EventCaptor
DMotionEventInjectorTest.java686 mMotionEventInjector.onKeyEvent(event, 0); in testOnKeyEvent_shouldPassToNext()
687 verify(next).onKeyEvent(event, 0); in testOnKeyEvent_shouldPassToNext()
693 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.java286 mEventHandler.get(Display.DEFAULT_DISPLAY).onKeyEvent(event, policyFlags); in processKeyEvent()
312 public void onKeyEvent(KeyEvent event, int policyFlags) { in onKeyEvent() method in AccessibilityInputFilter
DAbstractAccessibilityServiceConnection.java270 public boolean onKeyEvent(KeyEvent keyEvent, int sequenceNumber) { in onKeyEvent() method in AbstractAccessibilityServiceConnection
282 mServiceInterface.onKeyEvent(keyEvent, sequenceNumber); in onKeyEvent()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceClient.aidl42 void onKeyEvent(in KeyEvent event, int sequence); in onKeyEvent() method
DAccessibilityService.java385 boolean onKeyEvent(KeyEvent event); in onKeyEvent() method
574 protected boolean onKeyEvent(KeyEvent event) { in onKeyEvent() method in AccessibilityService
1655 public boolean onKeyEvent(KeyEvent event) { in onBind() method in AccessibilityService
1656 return AccessibilityService.this.onKeyEvent(event); in onBind()
1761 public void onKeyEvent(KeyEvent event, int sequence) {
1879 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.java1912 mInputEventConsistencyVerifier.onKeyEvent(event, 1); in dispatchKeyEvent()
/frameworks/base/core/java/android/app/
DUiAutomation.java1260 public boolean onKeyEvent(KeyEvent event) { in IAccessibilityServiceClientImpl()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...