Searched refs:ProjectionKeyEventHandler (Results 1 – 7 of 7) sorted by relevance
128 CarProjectionManager.ProjectionKeyEventHandler eventHandler1 = in keyEventListener_registerMultipleEventListeners()129 mock(CarProjectionManager.ProjectionKeyEventHandler.class); in keyEventListener_registerMultipleEventListeners()130 CarProjectionManager.ProjectionKeyEventHandler eventHandler2 = in keyEventListener_registerMultipleEventListeners()131 mock(CarProjectionManager.ProjectionKeyEventHandler.class); in keyEventListener_registerMultipleEventListeners()161 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in keyEventHandler_canRegisterAllEvents()162 mock(CarProjectionManager.ProjectionKeyEventHandler.class); in keyEventHandler_canRegisterAllEvents()179 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in keyEventHandler_eventsOutOfRange_throw()180 mock(CarProjectionManager.ProjectionKeyEventHandler.class); in keyEventHandler_eventsOutOfRange_throw()196 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in keyEventHandler_whenRegisteredAgain_replacesEventList()197 mock(CarProjectionManager.ProjectionKeyEventHandler.class); in keyEventHandler_whenRegisteredAgain_replacesEventList()[all …]
161 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in voiceKey_shortPress_withRegisteredEventHandler_triggersEventHandler()174 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in voiceKey_longPress_withRegisteredEventHandler_triggersEventHandler()235 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in voiceKey_keyDown_withEventHandler_triggersEventHandler()246 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in voiceKey_keyUp_afterLongPress_withEventHandler_triggersEventHandler()300 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in callKey_shortPress_withEventHandler_triggersEventHandler()315 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in callKey_shortPress_withEventHandler_whenCallRinging_answersCall()376 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in callKey_longPress_withEventHandler_triggersEventHandler()389 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in callKey_longPress_withEventHandler_whenCallRinging_answersCall()407 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in callKey_keyDown_withEventHandler_triggersEventHandler()418 CarProjectionManager.ProjectionKeyEventHandler eventHandler = in callKey_keyUp_afterLongPress_withEventHandler_triggersEventHandler()[all …]
287 ArgumentCaptor<CarProjectionManager.ProjectionKeyEventHandler> eventListenerCaptor = in addedKeyEventHandler_registersWithCarInputService()288 ArgumentCaptor.forClass(CarProjectionManager.ProjectionKeyEventHandler.class); in addedKeyEventHandler_registersWithCarInputService()
93 public interface ProjectionKeyEventHandler { interface in CarProjectionManager203 private final ProjectionKeyEventHandler mLegacyListenerTranslator =210 private final Map<ProjectionKeyEventHandler, KeyEventHandlerRecord> mKeyEventHandlers =357 @NonNull ProjectionKeyEventHandler eventHandler) { in addKeyEventHandler()383 @NonNull ProjectionKeyEventHandler eventHandler) { in addKeyEventHandler()419 public void removeKeyEventHandler(@NonNull ProjectionKeyEventHandler eventHandler) { in removeKeyEventHandler()796 List<Pair<ProjectionKeyEventHandler, Executor>> toDispatch = new ArrayList<>(); in onKeyEvent()798 for (Map.Entry<ProjectionKeyEventHandler, KeyEventHandlerRecord> entry : in onKeyEvent()806 for (Pair<ProjectionKeyEventHandler, Executor> entry : toDispatch) { in onKeyEvent()807 ProjectionKeyEventHandler listener = entry.first; in onKeyEvent()
36 import android.car.CarProjectionManager.ProjectionKeyEventHandler;89 CarProjectionManager.ProjectionKeyEventHandler {251 ProjectionKeyEventHandler info = mKeyEventHandlers.get(eventHandler); in registerKeyEventHandler()253 info = new ProjectionKeyEventHandler(mKeyEventHandlers, eventHandler, events); in registerKeyEventHandler()797 ProjectionKeyEventHandler in dump()798 projectionKeyEventHandler = (ProjectionKeyEventHandler) handler; in dump()824 ProjectionKeyEventHandler eventHandler = in onKeyEvent()825 (ProjectionKeyEventHandler) eventHandlerInterface; in onKeyEvent()855 rv.or(((ProjectionKeyEventHandler) handlerInterface).mHandledEvents); in computeHandledEventsLocked()880 ProjectionKeyEventHandler get(ICarProjectionKeyEventHandler projectionCallback) { in get()[all …]
165 private CarProjectionManager.ProjectionKeyEventHandler mProjectionKeyEventHandler;316 @Nullable CarProjectionManager.ProjectionKeyEventHandler listener, in setProjectionKeyEventHandler()492 CarProjectionManager.ProjectionKeyEventHandler projectionKeyEventHandler; in dispatchProjectionKeyEvent()
57 ….util.Set<java.lang.Integer>, @NonNull android.car.CarProjectionManager.ProjectionKeyEventHandler);58 …ava.util.concurrent.Executor, @NonNull android.car.CarProjectionManager.ProjectionKeyEventHandler);65 …ic void removeKeyEventHandler(@NonNull android.car.CarProjectionManager.ProjectionKeyEventHandler);100 public static interface CarProjectionManager.ProjectionKeyEventHandler {