Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowStateTests.java249 reset(mPowerManagerWrapper); in testPrepareWindowToDisplayDuringRelayout()
251 verify(mPowerManagerWrapper, never()).wakeUp(anyLong(), anyString()); in testPrepareWindowToDisplayDuringRelayout()
254 reset(mPowerManagerWrapper); in testPrepareWindowToDisplayDuringRelayout()
256 verify(mPowerManagerWrapper).wakeUp(anyLong(), anyString()); in testPrepareWindowToDisplayDuringRelayout()
265 reset(mPowerManagerWrapper); in testPrepareWindowToDisplayDuringRelayout()
267 verify(mPowerManagerWrapper).wakeUp(anyLong(), anyString()); in testPrepareWindowToDisplayDuringRelayout()
270 reset(mPowerManagerWrapper); in testPrepareWindowToDisplayDuringRelayout()
272 verify(mPowerManagerWrapper, never()).wakeUp(anyLong(), anyString()); in testPrepareWindowToDisplayDuringRelayout()
286 reset(mPowerManagerWrapper); in testPrepareWindowToDisplayDuringRelayout()
288 verify(mPowerManagerWrapper).wakeUp(anyLong(), anyString()); in testPrepareWindowToDisplayDuringRelayout()
[all …]
DWindowTestsBase.java99 static WindowState.PowerManagerWrapper mPowerManagerWrapper; // TODO(roosa): make non-static. field in WindowTestsBase
107 mPowerManagerWrapper = mock(WindowState.PowerManagerWrapper.class); in setUp()
308 mPowerManagerWrapper); in createWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java634 private PowerManagerWrapper mPowerManagerWrapper; field in WindowState
715 mPowerManagerWrapper = powerManagerWrapper; in WindowState()
2338 if (allowTheaterMode && canTurnScreenOn && !mPowerManagerWrapper.isInteractive()) { in prepareWindowToDisplayDuringRelayout()
2342 mPowerManagerWrapper.wakeUp(SystemClock.uptimeMillis(), in prepareWindowToDisplayDuringRelayout()