Home
last modified time | relevance | path

Searched refs:lockPatternUtils (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java52 IActivityManager activityManager, LockPatternUtils lockPatternUtils, in MockInjector() argument
60 mLockPatternUtils = lockPatternUtils; in MockInjector()
133 protected LockSettingsServiceTestable(Context context, LockPatternUtils lockPatternUtils, in LockSettingsServiceTestable() argument
138 super(new MockInjector(context, storage, keystore, mActivityManager, lockPatternUtils, in LockSettingsServiceTestable()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBarKeyguardViewManager.java33 LockPatternUtils lockPatternUtils) { in CarStatusBarKeyguardViewManager() argument
34 super(context, callback, lockPatternUtils); in CarStatusBarKeyguardViewManager()
DFullscreenUserSwitcher.java204 LockPatternUtils lockPatternUtils = new LockPatternUtils(mContext); in hasScreenLock() local
205 return lockPatternUtils.isSecure(uid); in hasScreenLock()
DCarTrustAgentUnlockDialogHelper.java208 LockPatternUtils lockPatternUtils = new LockPatternUtils(mContext); in setButtonText() local
209 int passwordQuality = lockPatternUtils.getActivePasswordQuality(mUid); in setButtonText()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java547 final LockPatternUtils lockPatternUtils = new LockPatternUtils(this); in getLockSettings() local
548 final boolean ownerInfoEnabled = lockPatternUtils.isOwnerInfoEnabled(userId); in getLockSettings()
549 final String ownerInfo = lockPatternUtils.getOwnerInfo(userId); in getLockSettings()
550 final boolean lockPatternEnabled = lockPatternUtils.isLockPatternEnabled(userId); in getLockSettings()
551 final boolean visiblePatternEnabled = lockPatternUtils.isVisiblePatternEnabled(userId); in getLockSettings()
553 lockPatternUtils.getPowerButtonInstantlyLocks(userId); in getLockSettings()
564 if (lockPatternUtils.isVisiblePatternEverChosen(userId)) { in getLockSettings()
568 if (lockPatternUtils.isPowerButtonInstantlyLocksEverChosen(userId)) { in getLockSettings()
713 final LockPatternUtils lockPatternUtils = new LockPatternUtils(this); in restoreLockSettings() local
727 lockPatternUtils.setOwnerInfoEnabled("1".equals(value), userId); in restoreLockSettings()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java111 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager() argument
112 return new StatusBarKeyguardViewManager(context, viewMediatorCallback, lockPatternUtils); in createStatusBarKeyguardViewManager()
127 LockPatternUtils lockPatternUtils, ViewGroup container, in createKeyguardBouncer() argument
131 return new KeyguardBouncer(context, callback, lockPatternUtils, container, in createKeyguardBouncer()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/
DCarSystemUIFactory.java66 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager() argument
67 return new CarStatusBarKeyguardViewManager(context, viewMediatorCallback, lockPatternUtils); in createStatusBarKeyguardViewManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java49 public PreviewInflater(Context context, LockPatternUtils lockPatternUtils, in PreviewInflater() argument
52 mLockPatternUtils = lockPatternUtils; in PreviewInflater()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java49 LockSettingsShellCommand(LockPatternUtils lockPatternUtils) { in LockSettingsShellCommand() argument
50 mLockPatternUtils = lockPatternUtils; in LockSettingsShellCommand()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java447 LockPatternUtils lockPatternUtils = new LockPatternUtils(context); in checkIfPasswordQualityIsSet() local
448 if (sProxy.isSeparateProfileChallengeEnabled(lockPatternUtils, userId)) { in checkIfPasswordQualityIsSet()
502 final LockPatternUtils lockPatternUtils = new LockPatternUtils(context); in checkForLockSetting() local
513 sProxy.isSeparateProfileChallengeEnabled(lockPatternUtils, userInfo.id); in checkForLockSetting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java253 LockPatternUtils lockPatternUtils) { in TestableStatusBarKeyguardViewManager() argument
254 super(context, callback, lockPatternUtils); in TestableStatusBarKeyguardViewManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java98 LockPatternUtils lockPatternUtils, ViewGroup container, in KeyguardBouncer() argument
105 mLockPatternUtils = lockPatternUtils; in KeyguardBouncer()
DStatusBarNotificationActivityStarter.java131 LockPatternUtils lockPatternUtils, in StatusBarNotificationActivityStarter() argument
156 mLockPatternUtils = lockPatternUtils; in StatusBarNotificationActivityStarter()
DStatusBarKeyguardViewManager.java194 LockPatternUtils lockPatternUtils) { in StatusBarKeyguardViewManager() argument
197 mLockPatternUtils = lockPatternUtils; in StatusBarKeyguardViewManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java102 public final LockPatternUtils lockPatternUtils; field in MockSystemServices
142 lockPatternUtils = mock(LockPatternUtils.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java221 return services.lockPatternUtils; in newLockPatternUtils()
DDevicePolicyManagerTest.java212 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in setUp()
825 doReturn(true).when(getServices().lockPatternUtils) in testSetActivePasswordState_notSentToParent()
2632 when(getServices().lockPatternUtils in testSetMaximumTimeToLockProfile()
2659 reset(getServices().lockPatternUtils); in testSetMaximumTimeToLockProfile()
2660 when(getServices().lockPatternUtils in testSetMaximumTimeToLockProfile()
2663 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in testSetMaximumTimeToLockProfile()
4199 when(getServices().lockPatternUtils.addEscrowToken(eq(token), eq(UserHandle.USER_SYSTEM), in testResetPasswordWithToken()
4205 … when(getServices().lockPatternUtils.isEscrowTokenActive(eq(handle), eq(UserHandle.USER_SYSTEM))) in testResetPasswordWithToken()
4210 when(getServices().lockPatternUtils.setLockCredentialWithToken(eq(password.getBytes()), in testResetPasswordWithToken()
4218 … when(getServices().lockPatternUtils.removeEscrowToken(eq(handle), eq(UserHandle.USER_SYSTEM))) in testResetPasswordWithToken()
[all …]
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java490 LockPatternUtils lockPatternUtils = mLockPatternUtils; in refreshAgentList() local
508 if (!lockPatternUtils.isSecure(userInfo.id)) { in refreshAgentList()
514 DevicePolicyManager dpm = lockPatternUtils.getDevicePolicyManager(); in refreshAgentList()
519 List<ComponentName> enabledAgents = lockPatternUtils.getEnabledTrustAgents(userInfo.id); in refreshAgentList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java156 LockPatternUtils lockPatternUtils, WakeLock wakeLock, ShadeController shadeController, in KeyguardIndicationController() argument
177 mLockPatternUtils = lockPatternUtils; in KeyguardIndicationController()