Lines Matching refs:mKeyguardState
46 private final KeyguardState mKeyguardState = new KeyguardState();
139 mKeyguardState.showing = false;
140 mKeyguardState.showingAndNotOccluded = false;
141 mKeyguardState.secure = false;
142 synchronized (mKeyguardState) {
146 mKeyguardState.deviceHasKeyguard = false;
159 if (mKeyguardState.systemIsReady) {
162 if (mKeyguardState.currentUser != UserHandle.USER_NULL) {
164 mKeyguardService.setCurrentUser(mKeyguardState.currentUser);
167 if (mKeyguardState.interactiveState == INTERACTIVE_STATE_AWAKE) {
170 if (mKeyguardState.screenState == SCREEN_STATE_ON
171 || mKeyguardState.screenState == SCREEN_STATE_TURNING_ON) {
175 if (mKeyguardState.screenState == SCREEN_STATE_ON) {
180 if (mKeyguardState.bootCompleted) {
183 if (mKeyguardState.occluded) {
184 mKeyguardService.setOccluded(mKeyguardState.occluded, false /* animate */);
186 if (!mKeyguardState.enabled) {
187 mKeyguardService.setKeyguardEnabled(mKeyguardState.enabled);
195 mKeyguardState.reset();
208 mKeyguardState.showing = mKeyguardService.isShowing();
210 return mKeyguardState.showing;
229 mKeyguardState.inputRestricted = mKeyguardService.isInputRestricted();
231 return mKeyguardState.inputRestricted;
245 mKeyguardState.occluded = isOccluded;
256 mKeyguardState.secure = mKeyguardService.isSecure(userId);
258 return mKeyguardState.secure;
265 mKeyguardState.dreaming = true;
272 mKeyguardState.dreaming = false;
280 mKeyguardState.interactiveState = INTERACTIVE_STATE_AWAKE;
288 mKeyguardState.screenState = SCREEN_STATE_OFF;
302 mKeyguardState.screenState = SCREEN_STATE_TURNING_ON;
310 mKeyguardState.screenState = SCREEN_STATE_ON;
317 mKeyguardState.offReason = why;
318 mKeyguardState.interactiveState = INTERACTIVE_STATE_GOING_TO_SLEEP;
325 mKeyguardState.interactiveState = INTERACTIVE_STATE_SLEEP;
332 mKeyguardState.enabled = enabled;
339 mKeyguardState.systemIsReady = true;
353 mKeyguardState.currentUser = newUserId;
372 mKeyguardState.bootCompleted = true;
384 pw.println(prefix + "showing=" + mKeyguardState.showing);
385 pw.println(prefix + "showingAndNotOccluded=" + mKeyguardState.showingAndNotOccluded);
386 pw.println(prefix + "inputRestricted=" + mKeyguardState.inputRestricted);
387 pw.println(prefix + "occluded=" + mKeyguardState.occluded);
388 pw.println(prefix + "secure=" + mKeyguardState.secure);
389 pw.println(prefix + "dreaming=" + mKeyguardState.dreaming);
390 pw.println(prefix + "systemIsReady=" + mKeyguardState.systemIsReady);
391 pw.println(prefix + "deviceHasKeyguard=" + mKeyguardState.deviceHasKeyguard);
392 pw.println(prefix + "enabled=" + mKeyguardState.enabled);
393 pw.println(prefix + "offReason=" + mKeyguardState.offReason);
394 pw.println(prefix + "currentUser=" + mKeyguardState.currentUser);
395 pw.println(prefix + "bootCompleted=" + mKeyguardState.bootCompleted);
396 pw.println(prefix + "screenState=" + mKeyguardState.screenState);
397 pw.println(prefix + "interactiveState=" + mKeyguardState.interactiveState);