Home
last modified time | relevance | path

Searched refs:notifyKeyEventLocked (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java112 assertFalse(mKeyEventDispatcher.notifyKeyEventLocked(mKeyEvent, 0, Collections.EMPTY_LIST)); in testNotifyKeyEvent_withNoBoundServices_shouldReturnFalse()
121 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(keyEventFilter))); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse()
129 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1))); in testNotifyKeyEvent_withOneValidService_shouldNotifyService()
136 assertTrue(mKeyEventDispatcher.notifyKeyEventLocked( in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth()
150 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1)); in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework()
164 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1)); in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework()
177 mKeyEventDispatcher.notifyKeyEventLocked( in testSetOnKeyResult_twoServicesReturnsFalse_shouldPassEventToFramework()
193 mKeyEventDispatcher.notifyKeyEventLocked( in testSetOnKeyResult_twoServicesReturnsTrue_shouldNotPassEventToFramework()
210 mKeyEventDispatcher.notifyKeyEventLocked( in testSetOnKeyResult_firstOfTwoServicesReturnsTrue_shouldNotPassEventToFramework()
227 mKeyEventDispatcher.notifyKeyEventLocked( in testSetOnKeyResult_secondOfTwoServicesReturnsTrue_shouldNotPassEventToFramework()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyEventDispatcher.java126 public boolean notifyKeyEventLocked( in notifyKeyEventLocked() method in KeyEventDispatcher
DAccessibilityManagerService.java972 return getKeyEventDispatcher().notifyKeyEventLocked(event, policyFlags, boundServices); in notifyKeyEvent()