Home
last modified time | relevance | path

Searched refs:mLockPatternUtils (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityModel.java48 private LockPatternUtils mLockPatternUtils; field in KeyguardSecurityModel
52 mLockPatternUtils = new LockPatternUtils(context); in KeyguardSecurityModel()
56 mLockPatternUtils = utils; in setLockPatternUtils()
64 return mLockPatternUtils.usingBiometricWeak() in isBiometricUnlockEnabled()
65 && mLockPatternUtils.isBiometricWeakInstalled(); in isBiometricUnlockEnabled()
89 && mLockPatternUtils.isPukUnlockScreenEnable()) { in getSecurityMode()
92 final int security = mLockPatternUtils.getKeyguardStoredPasswordQuality(); in getSecurityMode()
96 mode = mLockPatternUtils.isLockPasswordEnabled() ? in getSecurityMode()
102 mode = mLockPatternUtils.isLockPasswordEnabled() ? in getSecurityMode()
108 if (mLockPatternUtils.isLockPatternEnabled()) { in getSecurityMode()
[all …]
DEmergencyButton.java53 private LockPatternUtils mLockPatternUtils; field in EmergencyButton
79 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate()
96 if (mLockPatternUtils.isInCall()) { in takeEmergencyCallAction()
97 mLockPatternUtils.resumeCall(); in takeEmergencyCallAction()
105 new UserHandle(mLockPatternUtils.getCurrentUser())); in takeEmergencyCallAction()
111 if (mLockPatternUtils.isInCall()) { in updateEmergencyCallButton()
113 } else if (mLockPatternUtils.isEmergencyCallCapable()) { in updateEmergencyCallButton()
117 enabled = mLockPatternUtils.isEmergencyCallEnabledWhileSimLocked(); in updateEmergencyCallButton()
121 enabled = mLockPatternUtils.isSecure(); in updateEmergencyCallButton()
124 mLockPatternUtils.updateEmergencyCallButtonState(this, enabled, false); in updateEmergencyCallButton()
DKeyguardAccountView.java57 private LockPatternUtils mLockPatternUtils; field in KeyguardAccountView
79 mLockPatternUtils = new LockPatternUtils(getContext()); in KeyguardAccountView()
105 mLockPatternUtils = utils; in setLockPatternUtils()
141 boolean permLocked = mLockPatternUtils.isPermanentlyLocked(); in reset()
152 mLockPatternUtils = null; in cleanUp()
168 mLockPatternUtils.setPermanentlyLocked(false); in postOnCheckPasswordResult()
169 mLockPatternUtils.setLockPatternEnabled(false); in postOnCheckPasswordResult()
170 mLockPatternUtils.saveLockPattern(null); in postOnCheckPasswordResult()
178 new UserHandle(mLockPatternUtils.getCurrentUser())); in postOnCheckPasswordResult()
196 if (mLockPatternUtils.isPermanentlyLocked()) { in dispatchKeyEvent()
[all …]
DKeyguardAbsKeyInputView.java37 protected LockPatternUtils mLockPatternUtils; field in KeyguardAbsKeyInputView
60 mLockPatternUtils = utils; in setLockPatternUtils()
61 mEnableHaptics = mLockPatternUtils.isTactileFeedbackEnabled(); in setLockPatternUtils()
68 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); in reset()
86 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate()
106 if (mLockPatternUtils.checkPassword(entry)) { in verifyPasswordAndUnlock()
116 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); in verifyPasswordAndUnlock()
DKeyguardPatternView.java61 private LockPatternUtils mLockPatternUtils; field in KeyguardPatternView
119 mLockPatternUtils = utils; in setLockPatternUtils()
125 mLockPatternUtils = mLockPatternUtils == null in onFinishInflate()
126 ? new LockPatternUtils(mContext) : mLockPatternUtils; in onFinishInflate()
134 mLockPatternView.setInStealthMode(!mLockPatternUtils.isVisiblePatternEnabled()); in onFinishInflate()
137 mLockPatternView.setTactileFeedbackEnabled(mLockPatternUtils.isTactileFeedbackEnabled()); in onFinishInflate()
176 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(); in reset()
199 mLockPatternUtils = null; in cleanUp()
217 if (mLockPatternUtils.checkPattern(pattern)) { in onPatternDetected()
234 long deadline = mLockPatternUtils.setLockoutAttemptDeadline(); in onPatternDetected()
DKeyguardSecurityContainer.java45 private LockPatternUtils mLockPatternUtils; field in KeyguardSecurityContainer
74 mLockPatternUtils = new LockPatternUtils(context); in KeyguardSecurityContainer()
160 ksv.setLockPatternUtils(mLockPatternUtils); in updateSecurityView()
173 mSecurityViewFlipper.setLockPatternUtils(mLockPatternUtils); in onFinishInflate()
177 mLockPatternUtils = utils; in setLockPatternUtils()
179 mSecurityViewFlipper.setLockPatternUtils(mLockPatternUtils); in setLockPatternUtils()
281 final int currentUser = mLockPatternUtils.getCurrentUser(); in reportFailedUnlockAttempt()
282 final DevicePolicyManager dpm = mLockPatternUtils.getDevicePolicyManager(); in reportFailedUnlockAttempt()
322 mLockPatternUtils.setPermanentlyLocked(true); in reportFailedUnlockAttempt()
330 mLockPatternUtils.reportFailedPasswordAttempt(); in reportFailedUnlockAttempt()
[all …]
DKeyguardStatusView.java45 private LockPatternUtils mLockPatternUtils; field in KeyguardStatusView
112 mLockPatternUtils = new LockPatternUtils(getContext()); in onFinishInflate()
143 AlarmManager.AlarmClockInfo nextAlarm = mLockPatternUtils.getNextAlarm(); in refresh()
203 final boolean ownerInfoEnabled = mLockPatternUtils.isOwnerInfoEnabled(); in getOwnerInfo()
205 info = mLockPatternUtils.getOwnerInfo(mLockPatternUtils.getCurrentUser()); in getOwnerInfo()
DFaceUnlock.java45 private final LockPatternUtils mLockPatternUtils; field in FaceUnlock
77 mLockPatternUtils = new LockPatternUtils(context); in FaceUnlock()
127 + mLockPatternUtils.getCurrentUser()); in start()
132 new UserHandle(mLockPatternUtils.getCurrentUser())); in start()
302 int currentUserId = mLockPatternUtils.getCurrentUser(); in handleUnlock()
382 mLockPatternUtils.isBiometricWeakLivelinessEnabled()); in startUi()
DKeyguardViewBase.java65 protected LockPatternUtils mLockPatternUtils; field in KeyguardViewBase
106 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate()
107 mSecurityContainer.setLockPatternUtils(mLockPatternUtils); in onFinishInflate()
450 return mLockPatternUtils;
478 mLockPatternUtils = utils; in setLockPatternUtils()
DKeyguardHostView.java131 mLockPatternUtils = new LockPatternUtils(context); in KeyguardHostView()
137 mUserId = mLockPatternUtils.getCurrentUser(); in KeyguardHostView()
203 int[] appWidgetIdsInKeyguardSettings = mLockPatternUtils.getAppWidgets(); in cleanupAppWidgetIds()
303 mAppWidgetContainer.setLockPatternUtils(mLockPatternUtils); in onFinishInflate()
392 final int currentUser = mLockPatternUtils.getCurrentUser(); in getDisabledFeatures()
402 boolean disabledByUser = !mLockPatternUtils.getWidgetsEnabled(); in widgetsDisabled()
595 mLockPatternUtils.removeAppWidget(appId); in addWidget()
714 final int[] widgets = mLockPatternUtils.getAppWidgets(); in addWidgetsFromSettings()
777 int appWidgetId = mLockPatternUtils.getFallbackAppWidgetId(); in checkAppWidgetConsistency()
781 mLockPatternUtils.writeFallbackAppWidgetId(appWidgetId); in checkAppWidgetConsistency()
[all …]
DCarrierText.java44 private LockPatternUtils mLockPatternUtils; field in CarrierText
81 mLockPatternUtils = new LockPatternUtils(mContext); in CarrierText()
225 if (mLockPatternUtils.isEmergencyCallCapable()) { in makeCarrierStringOnEmergencyCapable()
DKeyguardMessageArea.java69 private LockPatternUtils mLockPatternUtils; field in KeyguardMessageArea
149 mLockPatternUtils = new LockPatternUtils(context); in KeyguardMessageArea()
DKeyguardSimpleHostView.java74 if (userId != mLockPatternUtils.getCurrentUser()) return;
DKeyguardFaceUnlockView.java40 private LockPatternUtils mLockPatternUtils; field in KeyguardFaceUnlockView
106 mLockPatternUtils = utils; in setLockPatternUtils()
DKeyguardWidgetPager.java61 private LockPatternUtils mLockPatternUtils; field in KeyguardWidgetPager
129 mLockPatternUtils = l; in setLockPatternUtils()
289 mLockPatternUtils.removeAppWidget(appWidgetId); in onRemoveView()
314 mLockPatternUtils.addAppWidget(appWidgetId, index - pagesRange[0]); in onAddView()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardStateMonitor.java44 private final LockPatternUtils mLockPatternUtils; field in KeyguardStateMonitor
47 mLockPatternUtils = new LockPatternUtils(context); in KeyguardStateMonitor()
48 mLockPatternUtils.setCurrentUser(ActivityManager.getCurrentUser()); in KeyguardStateMonitor()
61 return mLockPatternUtils.isSecure() || mSimSecure; in isSecure()
79 mLockPatternUtils.setCurrentUser(userId); in setCurrentUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUnlockMethodCache.java36 private final LockPatternUtils mLockPatternUtils; field in UnlockMethodCache
47 mLockPatternUtils = new LockPatternUtils(ctx); in UnlockMethodCache()
83 int user = mLockPatternUtils.getCurrentUser(); in update()
84 boolean secure = mLockPatternUtils.isSecure(); in update()
DSecureCameraLaunchManager.java84 private LockPatternUtils mLockPatternUtils; field in SecureCameraLaunchManager
122 mLockPatternUtils = new LockPatternUtils(context); in SecureCameraLaunchManager()
231 intent, PackageManager.MATCH_DEFAULT_ONLY, mLockPatternUtils.getCurrentUser()); in targetWillWaitForCameraAvailable()
240 mLockPatternUtils.getCurrentUser()); in targetWillWaitForCameraAvailable()
DKeyguardBottomAreaView.java93 private LockPatternUtils mLockPatternUtils; field in KeyguardBottomAreaView
161 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate()
228 mLockPatternUtils.getCurrentUser()); in getCameraIntent()
229 return mLockPatternUtils.isSecure() && !currentUserHasTrust in getCameraIntent()
236 mLockPatternUtils.getCurrentUser()); in updateCameraVisibility()
330 mLockPatternUtils.requireCredentialEntry(mLockPatternUtils.getCurrentUser()); in handleTrustCircleClick()
337 mContext, intent, mLockPatternUtils.getCurrentUser()); in launchCamera()
DKeyguardBouncer.java43 private LockPatternUtils mLockPatternUtils; field in KeyguardBouncer
56 mLockPatternUtils = lockPatternUtils; in KeyguardBouncer()
175 mKeyguardView.setLockPatternUtils(mLockPatternUtils); in inflateView()
DStatusBarKeyguardViewManager.java56 private LockPatternUtils mLockPatternUtils; field in StatusBarKeyguardViewManager
80 mLockPatternUtils = lockPatternUtils; in StatusBarKeyguardViewManager()
90 mBouncer = new KeyguardBouncer(mContext, mViewMediatorCallback, mLockPatternUtils, in registerStatusBar()
436 return mBouncer.isSecure() || mLockPatternUtils.isSecure(userId); in isSecure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java277 private LockPatternUtils mLockPatternUtils; field in KeyguardViewMediator
337 mLockPatternUtils.removeUser(userId);
538 mLockPatternUtils = new LockPatternUtils(mContext); in setupLocked()
539 mLockPatternUtils.setCurrentUser(ActivityManager.getCurrentUser()); in setupLocked()
542 setShowingLocked(!shouldWaitForProvisioning() && !mLockPatternUtils.isLockScreenDisabled()); in setupLocked()
546 mViewMediatorCallback, mLockPatternUtils); in setupLocked()
609 if (mLockPatternUtils.usingBiometricWeak() in onSystemReady()
610 && mLockPatternUtils.isBiometricWeakInstalled()) { in onSystemReady()
641 mLockPatternUtils.getPowerButtonInstantlyLocks() || !mLockPatternUtils.isSecure(); in onScreenTurnedOff()
686 final long policyTimeout = mLockPatternUtils.getDevicePolicyManager() in doKeyguardLaterLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java43 private LockPatternUtils mLockPatternUtils; field in PreviewInflater
47 mLockPatternUtils = lockPatternUtils; in PreviewInflater()
83 intent, PackageManager.MATCH_DEFAULT_ONLY, mLockPatternUtils.getCurrentUser()); in getWidgetInfo()
89 mLockPatternUtils.getCurrentUser()); in getWidgetInfo()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java71 private LockPatternUtils mLockPatternUtils; field in LockSettingsService
78 mLockPatternUtils = new LockPatternUtils(context); in LockSettingsService()
310 mStorage.writePasswordHash(mLockPatternUtils.passwordToHash(password, userId), userId); in setLockPassword()
334 byte[] hash = mLockPatternUtils.passwordToHash(password, userId); in checkPassword()
373 if (mLockPatternUtils.isLockPatternEnabled()) { in checkVoldPassword()
382 if (mLockPatternUtils.isLockPasswordEnabled()) { in checkVoldPassword()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java111 private final LockPatternUtils mLockPatternUtils; field in TrustManagerService
129 mLockPatternUtils = new LockPatternUtils(context); in TrustManagerService()
150 maybeEnableFactoryTrustAgents(mLockPatternUtils, UserHandle.USER_OWNER); in onBootPhase()
219 LockPatternUtils lockPatternUtils = mLockPatternUtils; in refreshAgentList()
321 boolean secure = mLockPatternUtils.isSecure(id); in refreshDeviceLockedForUser()
858 maybeEnableFactoryTrustAgents(mLockPatternUtils, userId); in onReceive()

12