Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemInterface.java40 private final DisplayInterface mDisplayInterface; field in SystemInterface
53 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 …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java98 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagementServiceTest
151 .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 …]