Home
last modified time | relevance | path

Searched refs:STATE_ON_SUSPEND (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapterTest.java79 mWrapper.setDozeScreenState(Display.STATE_ON_SUSPEND); in forwards_setDozeScreenState_on_suspend()
80 verify(mInner).setDozeScreenState(Display.STATE_ON_SUSPEND); in forwards_setDozeScreenState_on_suspend()
DDozeScreenStatePreventingAdapterTest.java74 verify(mInner).setDozeScreenState(Display.STATE_ON_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenStatePreventingAdapter.java40 state = Display.STATE_ON_SUSPEND; in setDozeScreenState()
/frameworks/base/core/java/android/view/
DDisplay.java417 public static final int STATE_ON_SUSPEND = ViewProtoEnums.DISPLAY_STATE_ON_SUSPEND; // 6 field in Display
1640 case STATE_ON_SUSPEND: in stateToString()
1653 return state == STATE_OFF || state == STATE_DOZE_SUSPEND || state == STATE_ON_SUSPEND; in isSuspendedState()
1688 return state == STATE_ON || state == STATE_VR || state == STATE_ON_SUSPEND; in isOnState()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java257 || mDisplay.getState() == Display.STATE_ON_SUSPEND) { in onDisplayChanged()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java174 case Display.STATE_ON_SUSPEND: in getPowerModeForState()
683 } else if (state == Display.STATE_ON_SUSPEND in requestDisplayStateLocked()
684 || oldState == Display.STATE_ON_SUSPEND) { in requestDisplayStateLocked()
DDisplayPowerController.java1831 } else if (target == Display.STATE_ON_SUSPEND) { in animateScreenStateChange()
1836 && mPowerState.getScreenState() != Display.STATE_ON_SUSPEND) { in animateScreenStateChange()
1842 if (mPowerState.getScreenState() != Display.STATE_ON_SUSPEND) { in animateScreenStateChange()
1846 setScreenState(Display.STATE_ON_SUSPEND); in animateScreenStateChange()
/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DMeasuredEnergyStatsTest.java496 assertEquals(exp, MeasuredEnergyStats.getDisplayPowerBucket(Display.STATE_ON_SUSPEND)); in testStandardBucketMapping()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3174 if (displayPowerRequest.dozeScreenState == Display.STATE_ON_SUSPEND) {
6023 case Display.STATE_ON_SUSPEND:
/frameworks/base/core/api/
Dcurrent.txt46952 field public static final int STATE_ON_SUSPEND = 6; // 0x6