Searched refs:staysAwake (Results 1 – 1 of 1) sorted by relevance
85 boolean staysAwake() { in staysAwake() method in DozeMachine.State323 boolean staysAwake = newState.staysAwake(); in updateWakeLockState()324 if (mWakeLockHeldForCurrentState && !staysAwake) { in updateWakeLockState()327 } else if (!mWakeLockHeldForCurrentState && staysAwake) { in updateWakeLockState()