Home
last modified time | relevance | path

Searched refs:STATE_DOZE_SUSPEND (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayTest.java38 Display.STATE_DOZE_SUSPEND,
48 Display.STATE_DOZE_SUSPEND, in isSuspendedState()
58 Display.STATE_DOZE_SUSPEND in isDozeState()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/state/
DDisplayStateControllerTest.java160 Display.STATE_DOZE_SUSPEND, Display.STATE_REASON_OFFLOAD); in dozeScreenStateOverrideToDozeSuspend_DozePolicy_updateDisplayStateToDozeSuspend()
166 assertTrue(Display.STATE_DOZE_SUSPEND == stateAndReason.first); in dozeScreenStateOverrideToDozeSuspend_DozePolicy_updateDisplayStateToDozeSuspend()
176 Display.STATE_DOZE_SUSPEND, Display.STATE_REASON_DEFAULT_POLICY); in dozeScreenStateOverrideToDozeSuspend_OffPolicy_displayRemainOff()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenStateTest.java122 assertEquals(Display.STATE_DOZE_SUSPEND, mServiceFake.screenState); in testScreen_onInAod()
177 assertEquals(Display.STATE_DOZE_SUSPEND, mServiceFake.screenState); in test_initialScreenStatePostedToHandler()
283 assertEquals(Display.STATE_DOZE_SUSPEND, mServiceFake.screenState); in testDelayEnterDozeScreenState_whenUdfpsFingerDown()
311 assertEquals(Display.STATE_DOZE_SUSPEND, mServiceFake.screenState); in testDelayExitPulsingScreenState_whenUdfpsFingerDown()
DDozeScreenStatePreventingAdapterTest.java82 mWrapper.setDozeScreenState(Display.STATE_DOZE_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
DDozeSuspendScreenStatePreventingAdapterTest.java79 mWrapper.setDozeScreenState(Display.STATE_DOZE_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapter.java39 if (state == Display.STATE_DOZE_SUSPEND) { in setDozeScreenState()
DDozeScreenStatePreventingAdapter.java41 } else if (state == Display.STATE_DOZE_SUSPEND) { in setDozeScreenState()
DDozeMachine.java139 return Display.STATE_DOZE_SUSPEND; in screenState()
DDozeTriggers.java540 || state == Display.STATE_DOZE_SUSPEND || state == Display.STATE_OFF; in onScreenState()
DDozeSensors.java456 || state == Display.STATE_DOZE_SUSPEND in onScreenState()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayDeviceInfoTest.java145 ddi.committedState = Display.STATE_DOZE_SUSPEND; in createInfo()
DLocalDisplayAdapterTest.java143 = new ArrayList<>(List.of(Display.STATE_DOZE_SUSPEND));
1241 Display.STATE_DOZE_SUSPEND, 0, 0, mDisplayOffloadSession); in test_displayStateToDozeFromDozeSuspend_DisplayOffloadStop()
DDisplayPowerControllerTest.java1574 int supportedTargetState = Display.STATE_DOZE_SUSPEND; in testDozeScreenStateOverride_toSupportedOffloadStateFromDoze_DisplayStateChanges()
1635 int supportedTargetState = Display.STATE_DOZE_SUSPEND; in testDozeScreenStateOverride_toSupportedOffloadStateFromOFF_stateRemains()
/frameworks/base/core/java/android/view/
DDisplay.java484 public static final int STATE_DOZE_SUSPEND = ViewProtoEnums.DISPLAY_STATE_DOZE_SUSPEND; // 4 field in Display
2081 case STATE_DOZE_SUSPEND: in stateToString()
2123 return state == STATE_OFF || state == STATE_DOZE_SUSPEND || state == STATE_ON_SUSPEND; in isSuspendedState()
2133 return state == STATE_DOZE || state == STATE_DOZE_SUSPEND; in isDozeState()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java256 || mDisplay.getState() == Display.STATE_DOZE_SUSPEND in onDisplayChanged()
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java451 if (mDisplayPowerRequest.dozeScreenState == Display.STATE_DOZE_SUSPEND) { in updateLocked()
DPowerManagerService.java7106 case Display.STATE_DOZE_SUSPEND:
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java211 case Display.STATE_DOZE_SUSPEND: in getPowerModeForState()
819 } else if (state == Display.STATE_DOZE_SUSPEND in requestDisplayStateLocked()
820 || oldState == Display.STATE_DOZE_SUSPEND) { in requestDisplayStateLocked()
DDisplayPowerController.java1652 || mPowerRequest.dozeScreenState == Display.STATE_DOZE_SUSPEND in updatePowerStateInternal()
2343 } else if (target == Display.STATE_DOZE_SUSPEND) { in animateScreenStateChange()
2348 && mPowerState.getScreenState() != Display.STATE_DOZE_SUSPEND) { in animateScreenStateChange()
2354 if (mPowerState.getScreenState() != Display.STATE_DOZE_SUSPEND) { in animateScreenStateChange()
2358 setScreenState(Display.STATE_DOZE_SUSPEND, reason); // already on so can't block in animateScreenStateChange()
/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DEnergyConsumerStatsTest.java527 assertEquals(exp, EnergyConsumerStats.getDisplayPowerBucket(Display.STATE_DOZE_SUSPEND)); in testStandardBucketMapping()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsNoteTest.java503 bi.noteScreenStateLocked(0, Display.STATE_DOZE_SUSPEND); in testNoteScreenStateLocked()
505 assertEquals(Display.STATE_DOZE_SUSPEND, bi.getScreenState()); in testNoteScreenStateLocked()
552 bi.noteScreenStateLocked(0, Display.STATE_DOZE_SUSPEND); in testNoteScreenStateLocked_multiDisplay()
554 assertEquals(Display.STATE_DOZE_SUSPEND, bi.getScreenState()); in testNoteScreenStateLocked_multiDisplay()
592 bi.noteScreenStateLocked(0, Display.STATE_DOZE_SUSPEND); in testNoteScreenStateLocked_multiDisplay()
/frameworks/base/core/java/android/os/
DBatteryStats.java1412 case Display.STATE_DOZE_SUSPEND: out.append('z'); break; in encodeEntryAt()
1424 case Display.STATE_DOZE_SUSPEND: out.append('Z'); break; in encodeEntryAt()
1452 case 'z': out |= (((long)Display.STATE_DOZE_SUSPEND-1) in decodeEntryAt()
1467 case 'Z': out |= (((long)Display.STATE_DOZE_SUSPEND-1) in decodeEntryAt()
3522 public static final int MAX_TRACKED_SCREEN_STATE = Display.STATE_DOZE_SUSPEND;
3550 (Display.STATE_DOZE_SUSPEND-1),
3551 (Display.STATE_DOZE_SUSPEND-1)|STEP_LEVEL_MODE_POWER_SAVE,
3552 (Display.STATE_DOZE_SUSPEND-1)|STEP_LEVEL_MODE_DEVICE_IDLE,
7392 case Display.STATE_DOZE_SUSPEND: lineArgs[2] = "sds"; break; in dumpDurationSteps()
7421 case Display.STATE_DOZE_SUSPEND: pw.print("screen-doze-suspend"); break; in dumpDurationSteps()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DFlashNotificationsController.java606 return mDisplayState == Display.STATE_DOZE || mDisplayState == Display.STATE_DOZE_SUSPEND; in isDozeMode()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java420 || mDisplayState == Display.STATE_DOZE_SUSPEND) {
2394 && mDisplay.getState() != Display.STATE_DOZE_SUSPEND;
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java5517 displayState = Display.STATE_DOZE_SUSPEND; in noteScreenStateLocked()
5568 if (displayState == Display.STATE_DOZE_SUSPEND) break; in noteScreenStateLocked()
5572 case Display.STATE_DOZE_SUSPEND: in noteScreenStateLocked()
5601 if (oldDisplayState == Display.STATE_DOZE_SUSPEND) break; in noteScreenStateLocked()
5605 case Display.STATE_DOZE_SUSPEND: in noteScreenStateLocked()
5640 } else if (tempState == Display.STATE_DOZE_SUSPEND in noteScreenStateLocked()
5641 || state == Display.STATE_DOZE_SUSPEND) { in noteScreenStateLocked()
5642 state = Display.STATE_DOZE_SUSPEND; in noteScreenStateLocked()

12