Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java164 Set<Integer> events = new ArraySet<>(CarProjectionManager.NUM_KEY_EVENTS); in keyEventHandler_canRegisterAllEvents()
165 for (int evt = 0; evt < CarProjectionManager.NUM_KEY_EVENTS; evt++) { in keyEventHandler_canRegisterAllEvents()
189 Collections.singleton(CarProjectionManager.NUM_KEY_EVENTS), eventHandler); in keyEventHandler_eventsOutOfRange_throw()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java172 public static final int NUM_KEY_EVENTS = 8; field in CarProjectionManager
386 Preconditions.checkArgument(event >= 0 && event < NUM_KEY_EVENTS, "Invalid key event"); in addKeyEventHandler()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java248 events.length() <= CarProjectionManager.NUM_KEY_EVENTS, in registerKeyEventHandler()