Searched refs:mDisplayInterface (Results 1 – 3 of 3) sorted by relevance
44 private final DisplayInterface mDisplayInterface; field in SystemInterface59 mDisplayInterface = displayInterface; in SystemInterface()70 public DisplayInterface getDisplayInterface() { return mDisplayInterface; } in getDisplayInterface()131 mDisplayInterface.setDisplayBrightness(brightness); in setDisplayBrightness()136 mDisplayInterface.setDisplayState(on); in setDisplayState()141 mDisplayInterface.startDisplayStateMonitoring(service); in startDisplayStateMonitoring()146 mDisplayInterface.stopDisplayStateMonitoring(); in stopDisplayStateMonitoring()191 mDisplayInterface.refreshDisplayBrightness(); in refreshDisplayBrightness()196 private DisplayInterface mDisplayInterface; field in SystemInterface.Builder225 .withDisplayInterface(otherBuilder.mDisplayInterface) in fromBuilder()[all …]
91 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagementServiceTest127 .withDisplayInterface(mDisplayInterface) in setUp()170 mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS); in testDisplayOn()175 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testDisplayOn()182 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdown()190 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isFalse(); in testShutdown()201 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdownImmediately()211 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isFalse(); in testShutdownImmediately()222 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testSuspend()237 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdownOnSuspend()[all …]
63 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagerUnitTest85 .withDisplayInterface(mDisplayInterface) in setUp()226 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in setPowerOn()