Home
last modified time | relevance | path

Searched refs:ProjectionKeyEventHandler (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java128 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 …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java161 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 …]
DCarProjectionServiceTest.java287 ArgumentCaptor<CarProjectionManager.ProjectionKeyEventHandler> eventListenerCaptor = in addedKeyEventHandler_registersWithCarInputService()
288 ArgumentCaptor.forClass(CarProjectionManager.ProjectionKeyEventHandler.class); in addedKeyEventHandler_registersWithCarInputService()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java93 public interface ProjectionKeyEventHandler { interface in CarProjectionManager
203 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()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java36 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 …]
DCarInputService.java165 private CarProjectionManager.ProjectionKeyEventHandler mProjectionKeyEventHandler;
316 @Nullable CarProjectionManager.ProjectionKeyEventHandler listener, in setProjectionKeyEventHandler()
492 CarProjectionManager.ProjectionKeyEventHandler projectionKeyEventHandler; in dispatchProjectionKeyEvent()
/packages/services/Car/car-lib/api/
Dsystem-current.txt57 ….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 {