Home
last modified time | relevance | path

Searched refs:displayType (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DInputCaptureClientController.java173 private ClientsToDispatch(int displayType) { in ClientsToDispatch() argument
174 mDisplayType = displayType; in ClientsToDispatch()
511 public boolean onKeyEvent(@DisplayTypeEnum int displayType, KeyEvent event) { in onKeyEvent() argument
512 if (!SUPPORTED_DISPLAY_TYPES.contains(displayType)) { in onKeyEvent()
521 callback = getClientForInputTypeLocked(displayType, inputType); in onKeyEvent()
528 dispatchKeyEvent(displayType, event, callback); in onKeyEvent()
540 public boolean onRotaryEvent(@DisplayTypeEnum int displayType, RotaryEvent event) { in onRotaryEvent() argument
541 if (!SUPPORTED_DISPLAY_TYPES.contains(displayType)) { in onRotaryEvent()
542 Slog.w(TAG, "onRotaryEvent for not supported display:" + displayType); in onRotaryEvent()
553 callback = getClientForInputTypeLocked(displayType, inputType); in onRotaryEvent()
[all …]
DCarOccupantZoneService.java98 public final int displayType; field in CarOccupantZoneService.DisplayConfig
101 DisplayConfig(int displayType, int occupantZoneId) { in DisplayConfig() argument
102 this.displayType = displayType; in DisplayConfig()
111 b.append(Integer.toHexString(displayType)); in toString()
134 public final int displayType; field in CarOccupantZoneService.DisplayInfo
136 DisplayInfo(Display display, int displayType) { in DisplayInfo() argument
138 this.displayType = displayType; in DisplayInfo()
148 b.append(displayType); in toString()
475 public int getDisplayForOccupant(int occupantZoneId, int displayType) { in getDisplayForOccupant() argument
482 if (displayType == config.displayInfos.get(i).displayType) { in getDisplayForOccupant()
[all …]
/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java329 @DisplayTypeEnum int displayType) { in getDisplayForOccupant() argument
332 int displayId = mService.getDisplayForOccupant(occupantZone.zoneId, displayType); in getDisplayForOccupant()
357 public int getDisplayIdForDriver(@DisplayTypeEnum int displayType) { in getDisplayIdForDriver() argument
359 return mService.getDisplayIdForDriver(displayType); in getDisplayIdForDriver()
DICarOccupantZone.aidl28 int getDisplayForOccupant(in int occupantZoneId, in int displayType); in getDisplayForOccupant() argument
41 int getDisplayIdForDriver(in int displayType); in getDisplayIdForDriver() argument
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/
DCustomInputEventListener.java142 private static boolean isValidTargetDisplayType(int displayType) { in isValidTargetDisplayType() argument
143 if (displayType == CarOccupantZoneManager.DISPLAY_TYPE_MAIN) { in isValidTargetDisplayType()
150 + displayType + "})"); in isValidTargetDisplayType()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java295 private void assertDisplayConfig(DisplayConfig c, int displayType, int occupantZoneId) { in assertDisplayConfig() argument
296 assertThat(displayType).isEqualTo(c.displayType); in assertDisplayConfig()
476 ArrayList<DisplayInfo> displayInfos, Display display, int displayType) { in assertDisplayInfoIncluded() argument
478 if (info.display == display && info.displayType == displayType) { in assertDisplayInfoIncluded()
482 fail("Cannot find display:" + display + " type:" + displayType); in assertDisplayInfoIncluded()
DCarInputServiceTest.java703 private void injectKeyEventAndVerify(KeyEvent event, @DisplayTypeEnum int displayType) { in injectKeyEventAndVerify() argument
710 mCarInputService.injectKeyEvent(event, displayType); in injectKeyEventAndVerify()
712 verify(mCarOccupantZoneService).getDisplayIdForDriver(displayType); in injectKeyEventAndVerify()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java1011 private static boolean isValidDisplayType(int displayType) { in isValidDisplayType() argument
1012 if (displayType == CarOccupantZoneManager.DISPLAY_TYPE_MAIN) { in isValidDisplayType()
1015 L.e("RotaryService shouldn't capture events from display type " + displayType); in isValidDisplayType()