Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java344 if (canPulse(mMachine.getState(), true)) { in onSensor()
575 || !canPulse(dozeState, performedProxCheck)) { in requestPulse()
580 } else if (!canPulse(dozeState, performedProxCheck)) { in requestPulse()
599 || !canPulse(dozeState, performedProxCheck)) { in requestPulse()
606 } else if (!canPulse(dozeState, performedProxCheck)) { in requestPulse()
623 private boolean canPulse(DozeMachine.State dozeState, boolean pulsePerformedProximityCheck) { in canPulse() method
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()