/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayTest.java | 38 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/ |
D | DisplayStateControllerTest.java | 160 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/ |
D | DozeScreenStateTest.java | 122 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()
|
D | DozeScreenStatePreventingAdapterTest.java | 82 mWrapper.setDozeScreenState(Display.STATE_DOZE_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
|
D | DozeSuspendScreenStatePreventingAdapterTest.java | 79 mWrapper.setDozeScreenState(Display.STATE_DOZE_SUSPEND); in forwards_setDozeScreenState_doze_suspend()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeSuspendScreenStatePreventingAdapter.java | 39 if (state == Display.STATE_DOZE_SUSPEND) { in setDozeScreenState()
|
D | DozeScreenStatePreventingAdapter.java | 41 } else if (state == Display.STATE_DOZE_SUSPEND) { in setDozeScreenState()
|
D | DozeMachine.java | 139 return Display.STATE_DOZE_SUSPEND; in screenState()
|
D | DozeTriggers.java | 540 || state == Display.STATE_DOZE_SUSPEND || state == Display.STATE_OFF; in onScreenState()
|
D | DozeSensors.java | 456 || state == Display.STATE_DOZE_SUSPEND in onScreenState()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayDeviceInfoTest.java | 145 ddi.committedState = Display.STATE_DOZE_SUSPEND; in createInfo()
|
D | LocalDisplayAdapterTest.java | 143 = new ArrayList<>(List.of(Display.STATE_DOZE_SUSPEND)); 1241 Display.STATE_DOZE_SUSPEND, 0, 0, mDisplayOffloadSession); in test_displayStateToDozeFromDozeSuspend_DisplayOffloadStop()
|
D | DisplayPowerControllerTest.java | 1574 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/ |
D | Display.java | 484 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/ |
D | BurnInProtectionHelper.java | 256 || mDisplay.getState() == Display.STATE_DOZE_SUSPEND in onDisplayChanged()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerGroup.java | 451 if (mDisplayPowerRequest.dozeScreenState == Display.STATE_DOZE_SUSPEND) { in updateLocked()
|
D | PowerManagerService.java | 7106 case Display.STATE_DOZE_SUSPEND:
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 211 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()
|
D | DisplayPowerController.java | 1652 || 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/ |
D | EnergyConsumerStatsTest.java | 527 assertEquals(exp, EnergyConsumerStats.getDisplayPowerBucket(Display.STATE_DOZE_SUSPEND)); in testStandardBucketMapping()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsNoteTest.java | 503 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/ |
D | BatteryStats.java | 1412 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/ |
D | FlashNotificationsController.java | 606 return mDisplayState == Display.STATE_DOZE || mDisplayState == Display.STATE_DOZE_SUSPEND; in isDozeMode()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 420 || mDisplayState == Display.STATE_DOZE_SUSPEND) { 2394 && mDisplay.getState() != Display.STATE_DOZE_SUSPEND;
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 5517 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()
|