Home
last modified time | relevance | path

Searched refs:KeyguardUpdateMonitor (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeAuthRemover.java21 import com.android.keyguard.KeyguardUpdateMonitor;
28 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor;
31 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(context); in DozeAuthRemover()
37 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in transitionTo()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java94 private KeyguardUpdateMonitor.StrongAuthTracker mStrongAuthTracker;
125 KeyguardUpdateMonitor.getCurrentUser()); in setup()
342 KeyguardUpdateMonitor.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_BOOT); in skipsAuthentication_whenEncryptedKeyguard()
354 KeyguardUpdateMonitor.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_BOOT); in requiresAuthentication_whenEncryptedKeyguard_andBypass()
360 KeyguardUpdateMonitor.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_TIMEOUT); in requiresAuthentication_whenTimeoutKeyguard_andBypass()
396 KeyguardUpdateMonitor.getCurrentUser(), 0 /* flags */); in testTriesToAuthenticate_whenTrustOnAgentKeyguard_ifBypass()
406 KeyguardUpdateMonitor.getCurrentUser(), 0 /* flags */); in testIgnoresAuth_whenTrustAgentOnKeyguard_withoutBypass()
416 KeyguardUpdateMonitor.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN); in testIgnoresAuth_whenLockdown()
427 KeyguardUpdateMonitor.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_LOCKOUT); in testIgnoresAuth_whenLockout()
435 mKeyguardUpdateMonitor.onFaceAuthenticated(KeyguardUpdateMonitor.getCurrentUser()); in testOnFaceAuthenticated_skipsFaceWhenAuthenticated()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java109 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mInfoCallback); in onAttachedToWindow()
115 KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mInfoCallback); in onDetachedFromWindow()
191 KeyguardUpdateMonitor.getInstance(mContext).reportEmergencyCallAction( in takeEmergencyCallAction()
195 new UserHandle(KeyguardUpdateMonitor.getCurrentUser())); in takeEmergencyCallAction()
206 final boolean simLocked = KeyguardUpdateMonitor.getInstance(mContext) in updateEmergencyCallButton()
213 visible = mLockPatternUtils.isSecure(KeyguardUpdateMonitor.getCurrentUser()); in updateEmergencyCallButton()
DKeyguardSimPinView.java113 SubscriptionInfo info = KeyguardUpdateMonitor.getInstance(mContext). in setLockedSimMessage()
151 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in handleSubInfoChangeIfNeeded()
224 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mUpdateMonitorCallback); in onResume()
235 KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mUpdateMonitorCallback); in onPause()
342 KeyguardUpdateMonitor.getInstance(getContext()) in verifyPasswordAndUnlock()
347 mCallback.dismiss(true, KeyguardUpdateMonitor.getCurrentUser()); in verifyPasswordAndUnlock()
DKeyguardSimPukView.java80 mCallback.dismiss(true, KeyguardUpdateMonitor.getCurrentUser());
173 SubscriptionInfo info = KeyguardUpdateMonitor.getInstance(mContext). in showDefaultMessage()
207 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in handleSubInfoChangeIfNeeded()
276 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mUpdateMonitorCallback); in onAttachedToWindow()
283 KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mUpdateMonitorCallback); in onDetachedFromWindow()
416 KeyguardUpdateMonitor.getInstance(getContext()) in updateSim()
422 KeyguardUpdateMonitor.getCurrentUser()); in updateSim()
DKeyguardStatusView.java202 boolean shouldMarquee = KeyguardUpdateMonitor.getInstance(mContext).isDeviceInteractive(); in onFinishInflate()
306 KeyguardUpdateMonitor.getCurrentUser()); in updateOwnerInfo()
308 info = mLockPatternUtils.getOwnerInfo(KeyguardUpdateMonitor.getCurrentUser()); in updateOwnerInfo()
318 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mInfoCallback); in onAttachedToWindow()
325 KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mInfoCallback); in onDetachedFromWindow()
445 return KeyguardUpdateMonitor.getInstance(mContext).isLogoutEnabled() in shouldShowLogout()
446 && KeyguardUpdateMonitor.getCurrentUser() != UserHandle.USER_SYSTEM; in shouldShowLogout()
450 int currentUserId = KeyguardUpdateMonitor.getCurrentUser(); in onLogoutClicked()
DKeyguardPatternView.java71 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor;
120 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in KeyguardPatternView()
157 KeyguardUpdateMonitor.getCurrentUser())); in onFinishInflate()
221 KeyguardUpdateMonitor.getCurrentUser())); in reset()
232 KeyguardUpdateMonitor.getCurrentUser()); in reset()
288 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in onPatternDetected()
347 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPatternChecked()
DKeyguardSecurityModel.java58 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in getSecurityMode()
DKeyguardMessageArea.java89 this(context, attrs, KeyguardUpdateMonitor.getInstance(context), configurationController); in KeyguardMessageArea()
92 public KeyguardMessageArea(Context context, AttributeSet attrs, KeyguardUpdateMonitor monitor, in KeyguardMessageArea()
181 boolean shouldMarquee = KeyguardUpdateMonitor.getInstance(mContext).isDeviceInteractive(); in onFinishInflate()
DKeyguardAbsKeyInputView.java85 KeyguardUpdateMonitor.getCurrentUser()); in reset()
141 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in verifyPasswordAndUnlock()
202 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPasswordChecked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUnlockMethodCache.java28 import com.android.keyguard.KeyguardUpdateMonitor;
46 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor;
59 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(ctx); in UnlockMethodCache()
60 KeyguardUpdateMonitor.getInstance(ctx).registerCallback(mCallback); in UnlockMethodCache()
120 int user = KeyguardUpdateMonitor.getCurrentUser(); in update()
DKeyguardLiftController.kt23 import com.android.keyguard.KeyguardUpdateMonitor
35 private val keyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(context)
76 val userId = KeyguardUpdateMonitor.getCurrentUser() in updateListeningState()
DKeyguardBouncer.java41 import com.android.keyguard.KeyguardUpdateMonitor;
70 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor;
101 KeyguardUpdateMonitor keyguardUpdateMonitor, in KeyguardBouncer()
129 final int keyguardUserId = KeyguardUpdateMonitor.getCurrentUser(); in show()
156 final int activeUserId = KeyguardUpdateMonitor.getCurrentUser(); in show()
509 mKeyguardView.finish(strongAuth, KeyguardUpdateMonitor.getCurrentUser()); in notifyKeyguardAuthenticated()
DKeyguardBottomAreaView.java67 import com.android.keyguard.KeyguardUpdateMonitor;
283 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mUpdateMonitorCallback); in onAttachedToWindow()
293 KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mUpdateMonitorCallback); in onDetachedFromWindow()
370 KeyguardUpdateMonitor.getCurrentUser()); in resolveCameraIntent()
430 KeyguardUpdateMonitor.getCurrentUser(), true /* onlyDirectBootAware */); in bindCameraPrewarmService()
471 intent, KeyguardUpdateMonitor.getCurrentUser()); in launchCamera()
821 KeyguardUpdateMonitor updateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in getIntent()
823 KeyguardUpdateMonitor.getCurrentUser()); in getIntent()
824 boolean secure = mLockPatternUtils.isSecure(KeyguardUpdateMonitor.getCurrentUser()); in getIntent()
DBiometricUnlockController.java34 import com.android.keyguard.KeyguardUpdateMonitor;
129 private final KeyguardUpdateMonitor mUpdateMonitor;
154 KeyguardUpdateMonitor keyguardUpdateMonitor, in BiometricUnlockController()
170 KeyguardUpdateMonitor keyguardUpdateMonitor, in BiometricUnlockController()
394 && mPendingAuthenticatedUserId == KeyguardUpdateMonitor.getCurrentUser(); in hasPendingAuthentication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java80 import com.android.keyguard.KeyguardUpdateMonitor;
281 private KeyguardUpdateMonitor mUpdateMonitor;
524 final int currentUser = KeyguardUpdateMonitor.getCurrentUser();
541 if (userId == KeyguardUpdateMonitor.getCurrentUser()) {
651 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker =
683 && KeyguardUpdateMonitor.getCurrentUser() == UserHandle.USER_SYSTEM; in mustNotUnlockCurrentUser()
710 mUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in setupLocked()
713 KeyguardUpdateMonitor.setCurrentUser(ActivityManager.getCurrentUser()); in setupLocked()
720 KeyguardUpdateMonitor.getCurrentUser()), true /* forceCallbacks */); in setupLocked()
814 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in onStartedGoingToSleep()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java47 import com.android.keyguard.KeyguardUpdateMonitor;
92 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor;
147 KeyguardUpdateMonitor.getInstance(context), in KeyguardIndicationController()
159 KeyguardUpdateMonitor keyguardUpdateMonitor, in KeyguardIndicationController()
212 mLockPatternUtils.requireCredentialEntry(KeyguardUpdateMonitor.getCurrentUser()); in handleLockLongClick()
411 int userId = KeyguardUpdateMonitor.getCurrentUser(); in updateIndication()
519 case KeyguardUpdateMonitor.BatteryStatus.CHARGING_FAST: in computePowerIndication()
524 case KeyguardUpdateMonitor.BatteryStatus.CHARGING_SLOWLY: in computePowerIndication()
656 public void onRefreshBatteryInfo(KeyguardUpdateMonitor.BatteryStatus status) { in onRefreshBatteryInfo()
691 msgId == KeyguardUpdateMonitor.BIOMETRIC_HELP_FACE_NOT_RECOGNIZED; in onBiometricHelp()
[all …]
DOperatorNameView.java28 import com.android.keyguard.KeyguardUpdateMonitor;
48 private KeyguardUpdateMonitor mKeyguardUpdateMonitor;
73 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardMonitorImpl.java23 import com.android.keyguard.KeyguardUpdateMonitor;
40 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor;
59 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in KeyguardMonitorImpl()
DEmergencyCryptkeeperText.java33 import com.android.keyguard.KeyguardUpdateMonitor;
40 private KeyguardUpdateMonitor mKeyguardUpdateMonitor;
69 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in onAttachedToWindow()
DPreviewInflater.java30 import com.android.keyguard.KeyguardUpdateMonitor;
129 intent, flags, KeyguardUpdateMonitor.getCurrentUser()); in getWidgetInfo()
135 KeyguardUpdateMonitor.getCurrentUser()); in getWidgetInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DBrightLineFalsingManager.java28 import com.android.keyguard.KeyguardUpdateMonitor;
47 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor;
65 if (userId == KeyguardUpdateMonitor.getCurrentUser()
74 KeyguardUpdateMonitor keyguardUpdateMonitor, in BrightLineFalsingManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLatencyTester.java29 import com.android.keyguard.KeyguardUpdateMonitor;
80 KeyguardUpdateMonitor.getCurrentUser(), BiometricSourceType.FINGERPRINT); in fakeWakeAndUnlock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DBypassHeadsUpNotifier.kt22 import com.android.keyguard.KeyguardUpdateMonitor in <lambda>()
69 KeyguardUpdateMonitor.getCurrentUser()) != 0 in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestCase.java32 import com.android.keyguard.KeyguardUpdateMonitor;
76 KeyguardUpdateMonitor.disableHandlerCheckForTesting(inst); in SysuiSetup()

123