Searched refs:mKeyEventDispatcher (Results 1 – 2 of 2) sorted by relevance
74 private KeyEventDispatcher mKeyEventDispatcher; field in KeyEventDispatcherTest95 mKeyEventDispatcher = new KeyEventDispatcher(mInputEventsHandler, SEND_FRAMEWORK_KEY_EVENT, in setUp()118 assertFalse(mKeyEventDispatcher.notifyKeyEventLocked(mKeyEvent, 0, Collections.EMPTY_LIST)); in testNotifyKeyEvent_withNoBoundServices_shouldReturnFalse()126 assertFalse(mKeyEventDispatcher in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse()134 assertTrue(mKeyEventDispatcher in testNotifyKeyEvent_withOneValidService_shouldNotifyService()142 assertTrue(mKeyEventDispatcher.notifyKeyEventLocked( in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()155 mKeyEventDispatcher in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework()158 mKeyEventDispatcher.setOnKeyEventResult(mKeyEventFilter1, false, in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework()169 mKeyEventDispatcher in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework()172 mKeyEventDispatcher.setOnKeyEventResult(mKeyEventFilter1, true, in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework()[all …]
327 private KeyEventDispatcher mKeyEventDispatcher; field in AccessibilityManagerService3936 if (mKeyEventDispatcher == null) { in getKeyEventDispatcher()3937 mKeyEventDispatcher = new KeyEventDispatcher( in getKeyEventDispatcher()3941 return mKeyEventDispatcher; in getKeyEventDispatcher()