Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemInterface.java44 private final DisplayInterface mDisplayInterface; field in SystemInterface
59 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.Builder
225 .withDisplayInterface(otherBuilder.mDisplayInterface) in fromBuilder()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java91 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagementServiceTest
127 .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 …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java63 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagerUnitTest
85 .withDisplayInterface(mDisplayInterface) in setUp()
226 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in setPowerOn()