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.java167 Set<Integer> events = new ArraySet<>(CarProjectionManager.NUM_KEY_EVENTS); in keyEventHandler_canRegisterAllEvents()
168 for (int evt = 0; evt < CarProjectionManager.NUM_KEY_EVENTS; evt++) { in keyEventHandler_canRegisterAllEvents()
192 Collections.singleton(CarProjectionManager.NUM_KEY_EVENTS), eventHandler); in keyEventHandler_eventsOutOfRange_throw()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java174 public static final int NUM_KEY_EVENTS = 8; field in CarProjectionManager
388 Preconditions.checkArgument(event >= 0 && event < NUM_KEY_EVENTS, "Invalid key event"); in addKeyEventHandler()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java247 events.length() <= CarProjectionManager.NUM_KEY_EVENTS, in registerKeyEventHandler()