Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/mode/
DProximitySensorObserver.java70 mDozeStateByDisplay.put(d.getDisplayId(), mInjector.isDozeState(d)); in observe()
112 boolean isDozeState = mInjector.isDozeState(mInjector.getDisplay(displayId)); in onDisplayAdded()
114 mDozeStateByDisplay.put(displayId, isDozeState); in onDisplayAdded()
124 mInjector.isDozeState(mInjector.getDisplay(displayId))); in onDisplayChanged()
DDisplayModeDirector.java3000 boolean isDozeState(Display d); in isDozeState() method
3090 public boolean isDozeState(Display d) { in isDozeState() method in DisplayModeDirector.RealInjector
3094 return Display.isDozeState(d.getState()); in isDozeState()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayTest.java54 public void isDozeState() { in isDozeState() method in DisplayTest
56 Display::isDozeState, in isDozeState()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy.java137 allowAutoBrightnessWhileDozingConfig && Display.isDozeState(targetDisplayState); in setAutoBrightnessState()
494 mAutomaticBrightnessController.switchMode(Display.isDozeState(state) in switchMode()
DAutomaticBrightnessStrategy2.java111 allowAutoBrightnessWhileDozingConfig && Display.isDozeState(targetDisplayState); in setAutoBrightnessState()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DProximitySensorObserverTest.java123 public boolean isDozeState(Display d) { in isDozeState() method in ProximitySensorObserverTest.FakesInjector
DDisplayModeDirectorTest.java2635 when(mInjector.isDozeState(any(Display.class))).thenReturn(false); in testProximitySensorVoting()
2643 when(mInjector.isDozeState(any(Display.class))).thenReturn(true); in testProximitySensorVoting()
2649 when(mInjector.isDozeState(any(Display.class))).thenReturn(false); in testProximitySensorVoting()
2655 when(mInjector.isDozeState(any(Display.class))).thenReturn(true); in testProximitySensorVoting()
3710 public boolean isDozeState(Display d) { in isDozeState() method in DisplayModeDirectorTest.FakesInjector
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1399 mAutomaticBrightnessController.switchMode(Display.isDozeState(state) in updatePowerStateInternal()
1472 if (Display.isDozeState(state)) { in updatePowerStateInternal()
1492 if (Float.isNaN(brightnessState) && Display.isDozeState(state) in updatePowerStateInternal()
1614 Display.isDozeState(state) && mBrightnessBucketsInDozeConfig; in updatePowerStateInternal()
2276 && Display.isDozeState(mPowerState.getScreenState()) in animateScreenStateChange()
2277 && !Display.isDozeState(target)) { in animateScreenStateChange()
DAutomaticBrightnessController.java1263 return Display.isDozeState(mDisplayState) && getMode() != AUTO_BRIGHTNESS_MODE_DOZE;
/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java526 if (Display.isDozeState(screenState)) { in getDisplayPowerBucket()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java5523 } else if (Display.isDozeState(displayState)) { in noteScreenStateLocked()
5681 if (Display.isDozeState(state) && !Display.isDozeState(oldState)) { in noteScreenStateLocked()
5684 } else if (Display.isDozeState(oldState) && !Display.isDozeState(state)) { in noteScreenStateLocked()
11929 } else if (Display.isDozeState(mScreenState)) { in resetAllStatsAndHistoryLocked()
12170 } else if (Display.isDozeState(state)) { in updateOldDischargeScreenLevelLocked()
12191 } else if (Display.isDozeState(state)) { in updateNewDischargeScreenLevelLocked()
14959 } else if (Display.isDozeState(screenState)) {
15070 if (Display.isDozeState(mScreenState)) {
15121 if (Display.isDozeState(mScreenState)) {
15573 if (mOnBattery && Display.isDozeState(mScreenState)
[all …]
/frameworks/base/core/java/android/view/
DDisplay.java2132 public static boolean isDozeState(int state) { in isDozeState() method in Display
DViewRootImpl.java2417 if (!Display.isDozeState(mAttachInfo.mDisplayState)) { in pokeDrawLockIfNeeded()
/frameworks/base/services/
Dart-wear-profile11393 PLcom/android/server/display/mode/DisplayModeDirector$RealInjector;->isDozeState(Landroid/view/Disp…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59071 Landroid/view/Display;->isDozeState(I)Z