Home
last modified time | relevance | path

Searched refs:isOnState (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayTest.java80 public void isOnState() { in isOnState() method in DisplayTest
82 Display::isOnState, in isOnState()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowWakeUpPolicy.java233 return Display.isOnState(mWindowManager.getDefaultDisplay().getState()); in isDefaultDisplayOn()
DPhoneWindowManager.java1189 final boolean defaultDisplayOn = Display.isOnState(mDefaultDisplay.getState()); in shouldHandleShortPressPowerAction()
4721 final boolean isDefaultDisplayOn = Display.isOnState(mDefaultDisplay.getState());
/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java523 if (Display.isOnState(screenState)) { in getDisplayPowerBucket()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardController.java221 && Display.isOnState(dc.getDisplayInfo().state)) { in setKeyguardShown()
/frameworks/base/core/java/android/view/
DDisplay.java2161 public static boolean isOnState(int state) { in isOnState() method in Display
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java4549 final boolean screenOff = !Display.isOnState(screenState); in updateTimeBasesLocked()
5513 if (Display.isOnState(displayState)) { in noteScreenStateLocked()
5680 if (Display.isOnState(state)) { in noteScreenStateLocked()
5687 } else if (Display.isOnState(oldState)) { in noteScreenStateLocked()
5704 if (Display.isOnState(state)) { in noteScreenStateLocked()
5710 } else if (Display.isOnState(oldState)) { in noteScreenStateLocked()
11903 if (Display.isOnState(mScreenState)) { in resetAllStatsAndHistoryLocked()
12142 if (Display.isOnState(state)) { in updateOldDischargeScreenLevelLocked()
12165 if (Display.isOnState(state)) { in updateNewDischargeScreenLevelLocked()
14921 if (Display.isOnState(screenState)) {
[all …]
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1680 boolean displayFullyOn = Display.isOnState(mDisplayState) && !mIsScreenTurningOn; in reportVisibility()