Searched refs:mKeyEventDispatcher (Results 1 – 2 of 2) sorted by relevance
71 private KeyEventDispatcher mKeyEventDispatcher; field in KeyEventDispatcherTest89 mKeyEventDispatcher = new KeyEventDispatcher(mInputEventsHandler, SEND_FRAMEWORK_KEY_EVENT, in setUp()112 assertFalse(mKeyEventDispatcher.notifyKeyEventLocked(mKeyEvent, 0, Collections.EMPTY_LIST)); in testNotifyKeyEvent_withNoBoundServices_shouldReturnFalse()120 assertFalse(mKeyEventDispatcher in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse()128 assertTrue(mKeyEventDispatcher in testNotifyKeyEvent_withOneValidService_shouldNotifyService()136 assertTrue(mKeyEventDispatcher.notifyKeyEventLocked( in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()149 mKeyEventDispatcher in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework()152 mKeyEventDispatcher.setOnKeyEventResult(mKeyEventFilter1, false, in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework()163 mKeyEventDispatcher in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework()166 mKeyEventDispatcher.setOnKeyEventResult(mKeyEventFilter1, true, in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework()[all …]
234 private KeyEventDispatcher mKeyEventDispatcher; field in AccessibilityManagerService2365 if (mKeyEventDispatcher == null) { in getKeyEventDispatcher()2366 mKeyEventDispatcher = new KeyEventDispatcher( in getKeyEventDispatcher()2370 return mKeyEventDispatcher; in getKeyEventDispatcher()