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.java57 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagementServiceTest
75 .withDisplayInterface(mDisplayInterface) in setUp()
117 mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS); in testDisplayOn()
123 assertTrue(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testDisplayOn()
131 assertTrue(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testShutdown()
140 assertFalse(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testShutdown()
183 assertTrue(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testSleepEntryAndWakeUpForProcessing()
186 assertFalse(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testSleepEntryAndWakeUpForProcessing()
198 assertFalse(mDisplayInterface.getDisplayState()); in testSleepEntryAndWakeUpForProcessing()
202 assertTrue(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testSleepEntryAndWakeUpForProcessing()
[all …]