Searched refs:canPulse (Results 1 – 2 of 2) sorted by relevance
337 if (canPulse(mMachine.getState(), true)) { in onSensor()562 || !canPulse(dozeState, performedProxCheck)) { in requestPulse()567 } else if (!canPulse(dozeState, performedProxCheck)) { in requestPulse()586 || !canPulse(dozeState, performedProxCheck)) { in requestPulse()593 } else if (!canPulse(dozeState, performedProxCheck)) { in requestPulse()610 private boolean canPulse(DozeMachine.State dozeState, boolean pulsePerformedProximityCheck) { in canPulse() method
90 boolean canPulse() { in canPulse() method in DozeMachine.State384 && (requestedState.canPulse() || requestedState.staysAwake())) { in transitionPolicy()406 if (requestedState == State.DOZE_REQUEST_PULSE && !mState.canPulse()) { in transitionPolicy()