Home
last modified time | relevance | path

Searched refs:isDozeState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java2174 mDozeStateByDisplay.put(d.getDisplayId(), mInjector.isDozeState(d)); in observe()
2215 boolean isDozeState = mInjector.isDozeState(mDisplayManager.getDisplay(displayId)); in onDisplayAdded()
2217 mDozeStateByDisplay.put(displayId, isDozeState); in onDisplayAdded()
2227 mInjector.isDozeState(mDisplayManager.getDisplay(displayId))); in onDisplayChanged()
2472 boolean isDozeState(Display d); in isDozeState() method
2526 public boolean isDozeState(Display d) { in isDozeState() method in DisplayModeDirector.RealInjector
2530 return Display.isDozeState(d.getState()); in isDozeState()
DDisplayPowerController.java1119 mAllowAutoBrightnessWhileDozingConfig && Display.isDozeState(state); in updatePowerState()
1228 && Display.isDozeState(state)) { in updatePowerState()
1332 Display.isDozeState(state) && mBrightnessBucketsInDozeConfig; in updatePowerState()
1725 && Display.isDozeState(mPowerState.getScreenState()) in animateScreenStateChange()
1726 && !Display.isDozeState(target)) { in animateScreenStateChange()
/frameworks/base/core/java/com/android/internal/power/
DMeasuredEnergyStats.java285 if (Display.isDozeState(screenState)) { in getDisplayPowerBucket()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java1364 when(mInjector.isDozeState(any(Display.class))).thenReturn(false); in testProximitySensorVoting()
1372 when(mInjector.isDozeState(any(Display.class))).thenReturn(true); in testProximitySensorVoting()
1378 when(mInjector.isDozeState(any(Display.class))).thenReturn(false); in testProximitySensorVoting()
1384 when(mInjector.isDozeState(any(Display.class))).thenReturn(true); in testProximitySensorVoting()
1747 public boolean isDozeState(Display d) { in isDozeState() method in DisplayModeDirectorTest.FakesInjector
/frameworks/base/core/java/android/view/
DDisplay.java1661 public static boolean isDozeState(int state) { in isDozeState() method in Display
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4904 if (Display.isDozeState(state) && !Display.isDozeState(oldState)) { in noteScreenStateLocked()
4908 } else if (Display.isDozeState(oldState) && !Display.isDozeState(state)) { in noteScreenStateLocked()
11234 } else if (Display.isDozeState(mScreenState)) { in resetAllStatsCmdLocked()
11435 } else if (Display.isDozeState(state)) { in updateOldDischargeScreenLevelLocked()
11455 } else if (Display.isDozeState(state)) { in updateNewDischargeScreenLevelLocked()
13610 } else if (Display.isDozeState(screenState)) { in setOnBatteryLocked()
13767 if (Display.isDozeState(mScreenState)) { in setBatteryStateLocked()
13818 if (Display.isDozeState(mScreenState)) { in setBatteryStateLocked()
14324 if (mOnBattery && Display.isDozeState(mScreenState) in getDischargeAmountScreenDoze()
14336 if (mOnBattery && Display.isDozeState(mScreenState) in getDischargeAmountScreenDozeSinceCharge()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt63037 Landroid/view/Display;->isDozeState(I)Z