Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java49 IActivityManager activityManager, LockPatternUtils lockPatternUtils, in MockInjector() argument
56 mLockPatternUtils = lockPatternUtils; in MockInjector()
112 protected LockSettingsServiceTestable(Context context, LockPatternUtils lockPatternUtils, in LockSettingsServiceTestable() argument
116 super(new MockInjector(context, storage, keystore, mActivityManager, lockPatternUtils, in LockSettingsServiceTestable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBarKeyguardViewManager.java17 LockPatternUtils lockPatternUtils) { in CarStatusBarKeyguardViewManager() argument
18 super(context, callback, lockPatternUtils); in CarStatusBarKeyguardViewManager()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java533 final LockPatternUtils lockPatternUtils = new LockPatternUtils(this); in getLockSettings() local
534 final boolean ownerInfoEnabled = lockPatternUtils.isOwnerInfoEnabled(userId); in getLockSettings()
535 final String ownerInfo = lockPatternUtils.getOwnerInfo(userId); in getLockSettings()
536 final boolean lockPatternEnabled = lockPatternUtils.isLockPatternEnabled(userId); in getLockSettings()
537 final boolean visiblePatternEnabled = lockPatternUtils.isVisiblePatternEnabled(userId); in getLockSettings()
539 lockPatternUtils.getPowerButtonInstantlyLocks(userId); in getLockSettings()
550 if (lockPatternUtils.isVisiblePatternEverChosen(userId)) { in getLockSettings()
554 if (lockPatternUtils.isPowerButtonInstantlyLocksEverChosen(userId)) { in getLockSettings()
694 final LockPatternUtils lockPatternUtils = new LockPatternUtils(this); in restoreLockSettings() local
708 lockPatternUtils.setOwnerInfoEnabled("1".equals(value), userId); in restoreLockSettings()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/car/
DCarSystemUIFactory.java39 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager() argument
40 return new CarStatusBarKeyguardViewManager(context, viewMediatorCallback, lockPatternUtils); in createStatusBarKeyguardViewManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java95 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager() argument
96 return new StatusBarKeyguardViewManager(context, viewMediatorCallback, lockPatternUtils); in createStatusBarKeyguardViewManager()
100 LockPatternUtils lockPatternUtils, ViewGroup container, in createKeyguardBouncer() argument
103 return new KeyguardBouncer(context, callback, lockPatternUtils, container, in createKeyguardBouncer()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java48 LockSettingsShellCommand(Context context, LockPatternUtils lockPatternUtils) { in LockSettingsShellCommand() argument
50 mLockPatternUtils = lockPatternUtils; in LockSettingsShellCommand()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java184 LockPatternUtils lockPatternUtils) { in TestableStatusBarKeyguardViewManager() argument
185 super(context, callback, lockPatternUtils); in TestableStatusBarKeyguardViewManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java48 public PreviewInflater(Context context, LockPatternUtils lockPatternUtils) { in PreviewInflater() argument
50 mLockPatternUtils = lockPatternUtils; in PreviewInflater()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java423 LockPatternUtils lockPatternUtils = new LockPatternUtils(context); in checkIfPasswordQualityIsSet() local
424 if (sProxy.isSeparateProfileChallengeEnabled(lockPatternUtils, userId)) { in checkIfPasswordQualityIsSet()
477 final LockPatternUtils lockPatternUtils = new LockPatternUtils(context); in checkForLockSetting() local
487 sProxy.isSeparateProfileChallengeEnabled(lockPatternUtils, userInfo.id); in checkForLockSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java92 LockPatternUtils lockPatternUtils, ViewGroup container, in KeyguardBouncer() argument
97 mLockPatternUtils = lockPatternUtils; in KeyguardBouncer()
DStatusBarKeyguardViewManager.java133 LockPatternUtils lockPatternUtils) { in StatusBarKeyguardViewManager() argument
136 mLockPatternUtils = lockPatternUtils; in StatusBarKeyguardViewManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java98 public final LockPatternUtils lockPatternUtils; field in MockSystemServices
136 lockPatternUtils = mock(LockPatternUtils.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java213 return services.lockPatternUtils; in newLockPatternUtils()
DDevicePolicyManagerTest.java815 doReturn(true).when(getServices().lockPatternUtils) in testSetActivePasswordState_notSentToParent()
2606 when(getServices().lockPatternUtils in testSetMaximumTimeToLockProfile()
2633 reset(getServices().lockPatternUtils); in testSetMaximumTimeToLockProfile()
2634 when(getServices().lockPatternUtils in testSetMaximumTimeToLockProfile()
4172 when(getServices().lockPatternUtils.addEscrowToken(eq(token), eq(UserHandle.USER_SYSTEM))) in testResetPasswordWithToken()
4177 … when(getServices().lockPatternUtils.isEscrowTokenActive(eq(handle), eq(UserHandle.USER_SYSTEM))) in testResetPasswordWithToken()
4182 when(getServices().lockPatternUtils.setLockCredentialWithToken(eq(password), in testResetPasswordWithToken()
4190 … when(getServices().lockPatternUtils.removeEscrowToken(eq(handle), eq(UserHandle.USER_SYSTEM))) in testResetPasswordWithToken()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java276 LockPatternUtils lockPatternUtils = mLockPatternUtils; in refreshAgentList() local
294 if (!lockPatternUtils.isSecure(userInfo.id)) { in refreshAgentList()
300 DevicePolicyManager dpm = lockPatternUtils.getDevicePolicyManager(); in refreshAgentList()
305 List<ComponentName> enabledAgents = lockPatternUtils.getEnabledTrustAgents(userInfo.id); in refreshAgentList()