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 …]
57 private final MockDisplayInterface mDisplayInterface = new MockDisplayInterface(); field in CarPowerManagementServiceTest75 .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 …]