Home
last modified time | relevance | path

Searched refs:lockPatternUtils (Results 1 – 17 of 17) 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()
/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/CarSystemUI/src/com/android/systemui/
DCarSystemUIFactory.java59 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager() argument
60 return new CarStatusBarKeyguardViewManager(context, viewMediatorCallback, lockPatternUtils); in createStatusBarKeyguardViewManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java123 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager() argument
124 return new StatusBarKeyguardViewManager(context, viewMediatorCallback, lockPatternUtils); in createStatusBarKeyguardViewManager()
128 LockPatternUtils lockPatternUtils, ViewGroup container, in createKeyguardBouncer() argument
131 return new KeyguardBouncer(context, callback, lockPatternUtils, container, in createKeyguardBouncer()
/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/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java215 LockPatternUtils lockPatternUtils) { in TestableStatusBarKeyguardViewManager() argument
216 super(context, callback, lockPatternUtils); in TestableStatusBarKeyguardViewManager()
/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/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java96 LockPatternUtils lockPatternUtils, ViewGroup container, in KeyguardBouncer() argument
102 mLockPatternUtils = lockPatternUtils; in KeyguardBouncer()
DStatusBarNotificationActivityStarter.java131 LockPatternUtils lockPatternUtils, in StatusBarNotificationActivityStarter() argument
156 mLockPatternUtils = lockPatternUtils; in StatusBarNotificationActivityStarter()
DStatusBarKeyguardViewManager.java186 LockPatternUtils lockPatternUtils) { in StatusBarKeyguardViewManager() argument
189 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()
2605 when(getServices().lockPatternUtils in testSetMaximumTimeToLockProfile()
2632 reset(getServices().lockPatternUtils); in testSetMaximumTimeToLockProfile()
2633 when(getServices().lockPatternUtils in testSetMaximumTimeToLockProfile()
2636 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in testSetMaximumTimeToLockProfile()
4172 when(getServices().lockPatternUtils.addEscrowToken(eq(token), eq(UserHandle.USER_SYSTEM), in testResetPasswordWithToken()
4178 … when(getServices().lockPatternUtils.isEscrowTokenActive(eq(handle), eq(UserHandle.USER_SYSTEM))) in testResetPasswordWithToken()
4183 when(getServices().lockPatternUtils.setLockCredentialWithToken(eq(password.getBytes()), in testResetPasswordWithToken()
4191 … when(getServices().lockPatternUtils.removeEscrowToken(eq(handle), eq(UserHandle.USER_SYSTEM))) in testResetPasswordWithToken()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java149 LockPatternUtils lockPatternUtils, WakeLock wakeLock, ShadeController shadeController, in KeyguardIndicationController() argument
166 mLockPatternUtils = lockPatternUtils; in KeyguardIndicationController()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java462 LockPatternUtils lockPatternUtils = mLockPatternUtils; in refreshAgentList() local
480 if (!lockPatternUtils.isSecure(userInfo.id)) { in refreshAgentList()
486 DevicePolicyManager dpm = lockPatternUtils.getDevicePolicyManager(); in refreshAgentList()
491 List<ComponentName> enabledAgents = lockPatternUtils.getEnabledTrustAgents(userInfo.id); in refreshAgentList()