Searched refs:mDisplayInterface (Results 1 – 2 of 2) sorted by relevance
40 private final DisplayInterface mDisplayInterface; field in SystemInterface53 mDisplayInterface = displayInterface; in SystemInterface()61 public DisplayInterface getDisplayInterface() { return mDisplayInterface; } in getDisplayInterface()117 mDisplayInterface.setDisplayBrightness(brightness); in setDisplayBrightness()122 mDisplayInterface.setDisplayState(on); in setDisplayState()127 mDisplayInterface.reconfigureSecondaryDisplays(); in reconfigureSecondaryDisplays()132 mDisplayInterface.startDisplayStateMonitoring(service); in startDisplayStateMonitoring()137 mDisplayInterface.stopDisplayStateMonitoring(); in stopDisplayStateMonitoring()182 mDisplayInterface.refreshDisplayBrightness(); in refreshDisplayBrightness()186 private DisplayInterface mDisplayInterface; field in SystemInterface.Builder[all …]
98 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagementServiceTest151 .withDisplayInterface(mDisplayInterface) in setUp()201 mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS); in testDisplayOn()207 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testDisplayOn()216 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdown()225 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isFalse(); in testShutdown()236 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testSuspend()253 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdownOnSuspend()289 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdownCancel()601 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isFalse(); in suspendAndResumeForUserSwitchingTests()[all …]