/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 110 verify(mDefaultMainListener).onKeyEvent(event); in ordinaryEvents_onMainDisplay_routedToInputManager() 117 verify(mDefaultMainListener, never()).onKeyEvent(any()); in ordinaryEvents_onInstrumentClusterDisplay_notRoutedToInputManager() 126 verify(listener).onKeyEvent(event); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener() 143 verify(listener).onKeyEvent(event, InputHalService.DISPLAY_MAIN); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 144 verify(mDefaultMainListener, never()).onKeyEvent(any()); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 147 verify(listener).onKeyEvent(event, InputHalService.DISPLAY_INSTRUMENT_CLUSTER); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 148 verify(instrumentClusterListener, never()).onKeyEvent(any()); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 151 verify(listener).onKeyEvent(event, InputHalService.DISPLAY_MAIN); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 152 verify(mDefaultMainListener, never()).onKeyEvent(any()); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 155 verify(listener, never()).onKeyEvent(event, InputHalService.DISPLAY_INSTRUMENT_CLUSTER); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() [all …]
|
D | CarProjectionServiceTest.java | 271 mService.onKeyEvent(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_getsDispatchedEvents() 273 .onKeyEvent(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_getsDispatchedEvents() 310 .onKeyEvent(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_registersWithCarInputService() 312 .onKeyEvent(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_registersWithCarInputService() 314 .onKeyEvent(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_registersWithCarInputService() 317 .onKeyEvent(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_LONG_PRESS_KEY_DOWN); in addedKeyEventHandler_registersWithCarInputService() 319 .onKeyEvent(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_LONG_PRESS_KEY_DOWN); in addedKeyEventHandler_registersWithCarInputService() 321 .onKeyEvent(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_LONG_PRESS_KEY_DOWN); in addedKeyEventHandler_registersWithCarInputService()
|
/packages/services/Car/tests/CarLibTests/src/android/car/ |
D | CarProjectionManagerTest.java | 146 verify(eventHandler1).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP); in keyEventListener_registerMultipleEventListeners() 147 verify(eventHandler2).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP); in keyEventListener_registerMultipleEventListeners() 151 .onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_LONG_PRESS_KEY_DOWN); in keyEventListener_registerMultipleEventListeners() 152 verify(eventHandler2).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_LONG_PRESS_KEY_DOWN); in keyEventListener_registerMultipleEventListeners() 155 verify(eventHandler1, never()).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_KEY_DOWN); in keyEventListener_registerMultipleEventListeners() 156 verify(eventHandler2, never()).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_KEY_DOWN); in keyEventListener_registerMultipleEventListeners() 173 verify(eventHandler).onKeyEvent(evt); in keyEventHandler_canRegisterAllEvents() 206 .onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP); in keyEventHandler_whenRegisteredAgain_replacesEventList() 214 .onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP); in keyEventHandler_whenRegisteredAgain_replacesEventList() 230 .onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP); in keyEventHandler_removed_noLongerFires() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 391 mManager.onKeyEvent(event); in testUpdateState_UpdatesToCopy_SameRoot_LeftCtrlPressed() 413 mManager.onKeyEvent(event); in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed() 435 mManager.onKeyEvent(event); in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed() 457 mManager.onKeyEvent(event); in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed() 479 mManager.onKeyEvent(event); in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased() 482 mManager.onKeyEvent(event); in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased() 504 mManager.onKeyEvent(event); in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased() 507 mManager.onKeyEvent(event); in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased() 529 mManager.onKeyEvent(event); in testUpdateState_UpdatesToCopy_DifferentRoot_LeftCtrlReleased() 532 mManager.onKeyEvent(event); in testUpdateState_UpdatesToCopy_DifferentRoot_LeftCtrlReleased() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarInputService.java | 72 void onKeyEvent(KeyEvent event); in onKeyEvent() method 374 public void onKeyEvent(KeyEvent event, int targetDisplay) { in onKeyEvent() method in CarInputService 382 carInputListener.onKeyEvent(event, targetDisplay); in onKeyEvent() 406 mMainDisplayHandler.onKeyEvent(event); in onKeyEvent() 501 projectionKeyEventHandler.onKeyEvent(event); in dispatchProjectionKeyEvent() 589 listener.onKeyEvent(event); in handleInstrumentClusterKey()
|
D | ICarImpl.java | 859 mCarInputService.onKeyEvent(keyDown, display); 862 mCarInputService.onKeyEvent(keyUp, display);
|
D | CarProjectionService.java | 819 public void onKeyEvent(@CarProjectionManager.KeyEventNum int keyEvent) { in onKeyEvent() method in CarProjectionService 830 eventHandler.binderInterface.onKeyEvent(keyEvent); in onKeyEvent()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | ClusterRenderingService.java | 90 void onKeyEvent(KeyEvent keyEvent); in onKeyEvent() method 233 public void onKeyEvent(KeyEvent keyEvent) { in onKeyEvent() method in ClusterRenderingService 237 broadcastClientEvent(client -> client.onKeyEvent(keyEvent)); in onKeyEvent() 306 onKeyEvent(event); in emulateKeyEvent() 310 onKeyEvent(event); in emulateKeyEvent()
|
D | MainClusterActivity.java | 275 public void onKeyEvent(KeyEvent event) { in onKeyEvent() method in MainClusterActivity
|
/packages/services/Car/car-lib/src/android/car/input/ |
D | CarInputHandlingService.java | 113 protected abstract void onKeyEvent(KeyEvent keyEvent, int targetDisplay); in onKeyEvent() method in CarInputHandlingService 129 public void onKeyEvent(KeyEvent keyEvent, int targetDisplay) throws RemoteException { in onKeyEvent() method in CarInputHandlingService.InputBinder 150 service.onKeyEvent((KeyEvent) msg.obj, msg.arg1); in handleMessage()
|
D | ICarInputListener.aidl | 27 void onKeyEvent(in KeyEvent keyEvent, int targetDisplay) = 1; in onKeyEvent() method
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 95 verify(mInputListener, never()).onKeyEvent(any(), anyInt()); in ignoresSetListener_beforeKeyInputSupported() 132 }).when(mInputListener).onKeyEvent(any(), eq(DISPLAY)); in dispatchesInputEvent_multiple_toListener() 258 verify(mInputListener).onKeyEvent(captor.capture(), eq(DISPLAY)); in dispatchSingleEvent() 279 verify(mInputListener).onKeyEvent(captor.capture(), eq(DISPLAY)); in dispatchSingleEventWithIndents()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | InputConsumer.java | 71 default void onKeyEvent(KeyEvent ev) { } in onKeyEvent() method 77 onKeyEvent((KeyEvent) ev); in onInputEvent()
|
D | OverviewInputConsumer.java | 113 public void onKeyEvent(KeyEvent ev) { in onKeyEvent() method in OverviewInputConsumer
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | InputHalService.java | 49 void onKeyEvent(KeyEvent event, int targetDisplay); in onKeyEvent() method 202 listener.onKeyEvent(event, display);
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarProjectionManager.java | 99 void onKeyEvent(@KeyEventNum int event); in onKeyEvent() method 789 public void onKeyEvent(@KeyEventNum int event) { in onKeyEvent() method in CarProjectionManager.ICarProjectionKeyEventHandlerImpl 808 entry.second.execute(() -> listener.onKeyEvent(event)); in onKeyEvent()
|
D | ICarProjectionKeyEventHandler.aidl | 23 void onKeyEvent(int event) = 0; in onKeyEvent() method
|
/packages/services/Car/car-lib/src/android/car/cluster/renderer/ |
D | InstrumentClusterRenderingService.java | 207 public void onKeyEvent(@NonNull KeyEvent keyEvent) { in onKeyEvent() method in InstrumentClusterRenderingService 510 public void onKeyEvent(KeyEvent keyEvent) throws RemoteException { in onKeyEvent() method in InstrumentClusterRenderingService.RendererBinder 511 mUiHandler.post(() -> InstrumentClusterRenderingService.this.onKeyEvent(keyEvent)); in onKeyEvent()
|
D | IInstrumentCluster.aidl | 44 oneway void onKeyEvent(in KeyEvent keyEvent); in onKeyEvent() method
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | InstrumentClusterService.java | 284 public void onKeyEvent(KeyEvent event) { in onKeyEvent() method in InstrumentClusterService 292 service.onKeyEvent(event); in onKeyEvent()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragAndDropManager.java | 64 void onKeyEvent(KeyEvent event); in onKeyEvent() method 203 public void onKeyEvent(KeyEvent event) { in onKeyEvent() method in DragAndDropManager.RuntimeDragAndDropManager
|
/packages/services/Car/car-default-input-service/src/android/car/input/service/ |
D | DefaultInputService.java | 37 protected void onKeyEvent(KeyEvent event, int targetDisplay) { in onKeyEvent() method in DefaultInputService
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDragAndDropManager.java | 47 public void onKeyEvent(KeyEvent event) {} in onKeyEvent() method in TestDragAndDropManager
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | RecentsAnimationWrapper.java | 178 mInputConsumer.onKeyEvent((KeyEvent) ev); in onInputConsumerEvent()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarProjectionService.java | 103 entry.getKey().onKeyEvent(event); in fireKeyEvent()
|