Home
last modified time | relevance | path

Searched refs:canPulse (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeTriggers.java335 if (canPulse(mMachine.getState(), true)) { in onSensor()
560 || !canPulse(dozeState, performedProxCheck)) { in requestPulse()
565 } else if (!canPulse(dozeState, performedProxCheck)) { in requestPulse()
584 || !canPulse(dozeState, performedProxCheck)) { in requestPulse()
591 } else if (!canPulse(dozeState, performedProxCheck)) { in requestPulse()
608 private boolean canPulse(DozeMachine.State dozeState, boolean pulsePerformedProximityCheck) { in canPulse() method
H A DDozeMachine.java91 boolean canPulse() { in canPulse() method in DozeMachine.State
384 && (requestedState.canPulse() || requestedState.staysAwake())) { in transitionPolicy()
406 if (requestedState == State.DOZE_REQUEST_PULSE && !mState.canPulse()) { in transitionPolicy()