Searched refs:notifyKeyEventLocked (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 118 assertFalse(mKeyEventDispatcher.notifyKeyEventLocked(mKeyEvent, 0, Collections.EMPTY_LIST)); in testNotifyKeyEvent_withNoBoundServices_shouldReturnFalse() 127 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(keyEventFilter))); in testNotifyKeyEvent_boundServiceDoesntProcessEvents_shouldReturnFalse() 135 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1))); in testNotifyKeyEvent_withOneValidService_shouldNotifyService() 142 assertTrue(mKeyEventDispatcher.notifyKeyEventLocked( in testNotifyKeyEvent_withTwoValidService_shouldNotifyBoth() 156 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1)); in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework() 170 .notifyKeyEventLocked(mKeyEvent, 0, Arrays.asList(mKeyEventFilter1)); in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework() 183 mKeyEventDispatcher.notifyKeyEventLocked( in testSetOnKeyResult_twoServicesReturnsFalse_shouldPassEventToFramework() 199 mKeyEventDispatcher.notifyKeyEventLocked( in testSetOnKeyResult_twoServicesReturnsTrue_shouldNotPassEventToFramework() 216 mKeyEventDispatcher.notifyKeyEventLocked( in testSetOnKeyResult_firstOfTwoServicesReturnsTrue_shouldNotPassEventToFramework() 233 mKeyEventDispatcher.notifyKeyEventLocked( in testSetOnKeyResult_secondOfTwoServicesReturnsTrue_shouldNotPassEventToFramework() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyEventDispatcher.java | 126 public boolean notifyKeyEventLocked( in notifyKeyEventLocked() method in KeyEventDispatcher
|
D | AccessibilityManagerService.java | 1810 return getKeyEventDispatcher().notifyKeyEventLocked(event, policyFlags, boundServices); in notifyKeyEvent()
|