Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java125 boolean isDisplayEnabled(int displayId); in isDisplayEnabled() method
436 if (isDisplayEnabled(mDisplayStateSet.keyAt(i))) { in isAnyDisplayEnabled()
445 public boolean isDisplayEnabled(int displayId) { in isDisplayEnabled() method in DisplayInterface.DefaultImpl
DSystemInterface.java172 public boolean isDisplayEnabled(int displayId) { in isDisplayEnabled() method in SystemInterface
173 return mDisplayInterface.isDisplayEnabled(displayId); in isDisplayEnabled()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java265 boolean isDisplayEnabled =
269 didStateChange = mIsDisplayEnabled != isDisplayEnabled;
270 mIsDisplayEnabled = isDisplayEnabled;
273 mWatchdogPerfHandler.onDisplayStateChanged(isDisplayEnabled);
/packages/services/Car/service/src/com/android/car/power/
DScreenOffHandler.java322 || !mSystemInterface.isDisplayEnabled(displayId)) { in updateDisplayPowerStateLocked()
338 if (on != mSystemInterface.isDisplayEnabled(displayId)) { in handleSetDisplayState()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java614 if (isDisplayEnabled(displayId)) { in isAnyDisplayEnabled()
623 public boolean isDisplayEnabled(int displayId) { in isDisplayEnabled() method in CarPowerManagerUnitTest.MockDisplayInterface
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputRotaryServiceTest.java152 when(mSystemInterface.isDisplayEnabled(anyInt())).thenReturn(true); in setUp()
DCarInputServiceTest.java1152 when(mSystemInterface.isDisplayEnabled(eq(displayId))).thenReturn(isOn); in injectPowerKeyEventToSeat()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java824 if (isDisplayEnabled(displayId)) { in isAnyDisplayEnabled()
833 public boolean isDisplayEnabled(int displayId) { in isDisplayEnabled() method in CarPowerManagementTest.MockDisplayInterface
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DScreenOffHandlerUnitTest.java420 when(mSystemInterface.isDisplayEnabled(anyInt())).thenReturn(true); in setService()
DCarPowerManagementServiceUnitTest.java3238 if (isDisplayEnabled(displayId)) { in isAnyDisplayEnabled()
3247 public boolean isDisplayEnabled(int displayId) { in isDisplayEnabled() method in CarPowerManagementServiceUnitTest.MockDisplayInterface
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java678 public boolean isDisplayEnabled(int displayId) { in isDisplayEnabled() method in MockedCarTestBase.MockDisplayInterface
/packages/services/Car/service/src/com/android/car/
DCarInputService.java870 boolean isOn = mSystemInterface.isDisplayEnabled(displayId); in handlePowerKey()