Home
last modified time | relevance | path

Searched refs:mKeyEventDispatcher (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java74 private KeyEventDispatcher mKeyEventDispatcher; field in KeyEventDispatcherTest
95 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 …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java327 private KeyEventDispatcher mKeyEventDispatcher; field in AccessibilityManagerService
3936 if (mKeyEventDispatcher == null) { in getKeyEventDispatcher()
3937 mKeyEventDispatcher = new KeyEventDispatcher( in getKeyEventDispatcher()
3941 return mKeyEventDispatcher; in getKeyEventDispatcher()