Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java126 private static final int PASSENGER_DISPLAY_ID = 122; field in CarInputServiceTest
198 eq(CarOccupantZoneManager.DISPLAY_TYPE_MAIN))).thenReturn(PASSENGER_DISPLAY_ID); in setUpCarOccupantZoneService()
1048 verify(mCarPowerManagementService).notifyUserActivity(eq(PASSENGER_DISPLAY_ID), anyLong()); in onKeyEvent_keyCodeAtoPassengerSeat_triggersDefaultKeyEventMainListener()
1093 PASSENGER_DISPLAY_ID)); in onKeyEvent_homeKeyUpToPassengerSeat_triggersStartyHome()
1109 injectPowerKeyEventToSeat(Key.DOWN, /* isOn= */ true, PASSENGER_DISPLAY_ID, PASSENGER_SEAT); in onKeyEvent_powerKeyDownToPassengerSeatWhenDisplayOn_doesNothing()
1116 injectPowerKeyEventToSeat(Key.DOWN, /* isOn= */ false, PASSENGER_DISPLAY_ID, in onKeyEvent_powerKeyDownToPassengerSeatWhenDisplayOff_setsDisplayPowerOn()
1120 verify(mCarPowerManagementService).setDisplayPowerState(eq(PASSENGER_DISPLAY_ID), in onKeyEvent_powerKeyDownToPassengerSeatWhenDisplayOff_setsDisplayPowerOn()
1126 injectPowerKeyEventToSeat(Key.UP, /* isOn= */ true, PASSENGER_DISPLAY_ID, PASSENGER_SEAT); in onKeyEvent_powerKeyUpToPassengerSeatWhenDisplayOn_setsDisplayPowerOff()
1129 verify(mCarPowerManagementService).setDisplayPowerState(eq(PASSENGER_DISPLAY_ID), in onKeyEvent_powerKeyUpToPassengerSeatWhenDisplayOn_setsDisplayPowerOff()
1135 injectPowerKeyEventToSeat(Key.UP, /* isOn= */ false, PASSENGER_DISPLAY_ID, PASSENGER_SEAT); in onKeyEvent_powerKeyUpToPassengerSeatWhenDisplayOff_doesNothing()
[all …]