Searched refs:mDisplayInterface (Results 1 – 4 of 4) sorted by relevance
44 private final DisplayInterface mDisplayInterface; field in SystemInterface59 mDisplayInterface = displayInterface; in SystemInterface()70 public DisplayInterface getDisplayInterface() { return mDisplayInterface; } in getDisplayInterface()132 mDisplayInterface.setDisplayBrightness(brightness); in setDisplayBrightness()137 mDisplayInterface.setDisplayBrightness(displayId, brightness); in setDisplayBrightness()142 mDisplayInterface.setDisplayState(displayId, on); in setDisplayState()147 mDisplayInterface.setAllDisplayState(on); in setAllDisplayState()153 mDisplayInterface.init(carPowerManagementService, carUserService); in init()158 mDisplayInterface.startDisplayStateMonitoring(); in startDisplayStateMonitoring()163 mDisplayInterface.stopDisplayStateMonitoring(); in stopDisplayStateMonitoring()[all …]
78 private DisplayInterface.DefaultImpl mDisplayInterface; field in DisplayInterfaceTest102 mDisplayInterface.startDisplayStateMonitoring(); in testStartDisplayStateMonitoring_perDisplayBrightnessSupported()115 mDisplayInterface.startDisplayStateMonitoring(); in testStartDisplayStateMonitoring_perDisplayBrightnessNotSupported()125 mDisplayInterface.startDisplayStateMonitoring(); in testStopDisplayStateMonitoring_perDisplayBrightnessSupported()126 mDisplayInterface.stopDisplayStateMonitoring(); in testStopDisplayStateMonitoring_perDisplayBrightnessSupported()136 mDisplayInterface.startDisplayStateMonitoring(); in testStopDisplayStateMonitoring_perDisplayBrightnessNoSupported()137 mDisplayInterface.stopDisplayStateMonitoring(); in testStopDisplayStateMonitoring_perDisplayBrightnessNoSupported()148 mDisplayInterface = new DisplayInterface.DefaultImpl(mContext, mWakeLockInterface) { in createDisplayInterface()157 mDisplayInterface.init(mCarPowerManagementService, mCarUserService); in createDisplayInterface()
219 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagementServiceUnitTest279 .withDisplayInterface(mDisplayInterface) in setUp()327 mDisplayInterface.waitForAllDisplaysOff(WAIT_TIMEOUT_MS); in shutdownTest_withCarPowerCancelShellCommand()557 mDisplayInterface.waitForAllDisplaysOff(WAIT_TIMEOUT_MS); in testShutdownImmediately()607 mDisplayInterface.waitForAllDisplaysOff(WAIT_TIMEOUT_MS); in testEmergencyShutdown()638 mDisplayInterface.waitForAllDisplaysOff(WAIT_TIMEOUT_MS); in testEmergencyShutdownCancel()906 mDisplayInterface.waitForAllDisplaysOff(WAIT_TIMEOUT_MS); in testShutdownPostponeAfterSuspend_powerPolicyRefactorFlagDisabled()918 assertThat(mDisplayInterface.isAnyDisplayEnabled()).isTrue(); in testShutdownPostponeAfterSuspend_powerPolicyRefactorFlagDisabled()924 mDisplayInterface.waitForAllDisplaysOn(WAIT_TIMEOUT_MS); in testShutdownPostponeAfterSuspend_powerPolicyRefactorFlagDisabled()947 mDisplayInterface.waitForAllDisplaysOff(WAIT_TIMEOUT_MS); in testShutdownPostponeAfterSuspend_powerPolicyRefactorFlagEnabled()[all …]
112 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagerUnitTest157 .withDisplayInterface(mDisplayInterface) in setUp()