Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DDisplay.java424 public static final int STATE_VR = ViewProtoEnums.DISPLAY_STATE_VR; // 5 field in Display
1781 case STATE_VR: in stateToString()
1814 return state == STATE_ON || state == STATE_VR; in isActiveState()
1831 return state == STATE_ON || state == STATE_VR || state == STATE_ON_SUSPEND; in isOnState()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1317 state = Display.STATE_VR; in updatePowerState()
1412 if (state == Display.STATE_VR) { in updatePowerState()
1677 (state == Display.STATE_VR || oldState == Display.STATE_VR); in updatePowerState()
2255 } else if (target == Display.STATE_VR) {
2265 if (!setScreenState(Display.STATE_VR)) {
DLocalDisplayAdapter.java771 if ((state == Display.STATE_VR || currentState == Display.STATE_VR) && in requestDisplayStateLocked()
773 setVrMode(state == Display.STATE_VR); in requestDisplayStateLocked()
/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DMeasuredEnergyStatsTest.java521 assertEquals(exp, MeasuredEnergyStats.getDisplayPowerBucket(Display.STATE_VR)); in testStandardBucketMapping()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsNoteTest.java496 bi.noteScreenStateLocked(0, Display.STATE_VR); in testNoteScreenStateLocked()
545 bi.noteScreenStateLocked(0, Display.STATE_VR); in testNoteScreenStateLocked_multiDisplay()
585 bi.noteScreenStateLocked(0, Display.STATE_VR); in testNoteScreenStateLocked_multiDisplay()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6586 case Display.STATE_VR:
/frameworks/base/core/api/
Dcurrent.txt47891 field public static final int STATE_VR = 5; // 0x5