| /packages/apps/Settings/tests/robotests/src/com/android/settings/security/ | 
| D | ChangeScreenLockPreferenceControllerTest.java | 62     private LockPatternUtils mLockPatternUtils;  field in ChangeScreenLockPreferenceControllerTest 83                 .thenReturn(mLockPatternUtils);  in setUp() 105         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in updateState_notSecureDisableKeyguard_shouldNotShowGear() 106         when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true);  in updateState_notSecureDisableKeyguard_shouldNotShowGear() 116         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in updateState_notSecureDisableKeyguard_summaryShouldShowOff() 117         when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true);  in updateState_notSecureDisableKeyguard_summaryShouldShowOff() 128         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in updateState_notSecureWithSwipeKeyguard_shouldNotShowGear() 129         when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false);  in updateState_notSecureWithSwipeKeyguard_shouldNotShowGear() 139         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in updateState_notSecureWithSwipeKeyguard_summaryShouldShowSwipe() 140         when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false);  in updateState_notSecureWithSwipeKeyguard_summaryShouldShowSwipe() [all …] 
 | 
| D | VisiblePatternProfilePreferenceControllerTest.java | 63     private LockPatternUtils mLockPatternUtils;  field in VisiblePatternProfilePreferenceControllerTest 87                 .thenReturn(mLockPatternUtils);  in setUp() 99         when(mLockPatternUtils.isSecure(FAKE_PROFILE_USER_ID)).thenReturn(false);  in getAvailabilityStatus_notSecure_DISABLED() 100         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(FAKE_PROFILE_USER_ID))  in getAvailabilityStatus_notSecure_DISABLED() 108         when(mLockPatternUtils.isSecure(FAKE_PROFILE_USER_ID)).thenReturn(true);  in getAvailabilityStatus_secureWithPassword_DISABLED() 109         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(FAKE_PROFILE_USER_ID))  in getAvailabilityStatus_secureWithPassword_DISABLED() 117         when(mLockPatternUtils.isSecure(FAKE_PROFILE_USER_ID)).thenReturn(true);  in getAvailabilityStatus_secureWithPattern_AVAILABLE() 118         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(FAKE_PROFILE_USER_ID))  in getAvailabilityStatus_secureWithPattern_AVAILABLE()
  | 
| /packages/apps/Settings/tests/unit/src/com/android/settings/security/ | 
| D | ScreenLockPreferenceDetailsUtilsTest.java | 62     private LockPatternUtils mLockPatternUtils;  field in ScreenLockPreferenceDetailsUtilsTest 92                 .thenReturn(mLockPatternUtils);  in setUp() 115         when(mLockPatternUtils.isSecure(USER_ID)).thenReturn(false);  in getSummary_unsecureAndDisabledPattern_shouldReturnUnlockModeOff() 116         when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true);  in getSummary_unsecureAndDisabledPattern_shouldReturnUnlockModeOff() 126         when(mLockPatternUtils.isSecure(USER_ID)).thenReturn(false);  in getSummary_unsecurePattern_shouldReturnUnlockModeNone() 127         when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false);  in getSummary_unsecurePattern_shouldReturnUnlockModeNone() 137         when(mLockPatternUtils.isSecure(USER_ID)).thenReturn(true);  in getSummary_passwordQualitySomething_shouldUnlockModePattern() 138         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(USER_ID))  in getSummary_passwordQualitySomething_shouldUnlockModePattern() 149         when(mLockPatternUtils.isSecure(USER_ID)).thenReturn(true);  in getSummary_passwordQualityNumeric_shouldUnlockModePin() 150         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(USER_ID))  in getSummary_passwordQualityNumeric_shouldUnlockModePin() [all …] 
 | 
| /packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/ | 
| D | PowerButtonInstantLockPreferenceControllerTest.java | 48     private LockPatternUtils mLockPatternUtils;  field in PowerButtonInstantLockPreferenceControllerTest 67                 mContext, TEST_USER_ID, mLockPatternUtils);  in setUp() 72         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_lockSetToPattern_shouldReturnTrue() 73         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))  in isAvailable_lockSetToPattern_shouldReturnTrue() 81         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_lockSetToPin_shouldReturnTrue() 82         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))  in isAvailable_lockSetToPin_shouldReturnTrue() 90         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_lockSetToPassword_shouldReturnTrue() 91         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))  in isAvailable_lockSetToPassword_shouldReturnTrue() 99         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false);  in isAvailable_lockSetToNone_shouldReturnFalse() 107         when(mTrustAgentManager.getActiveTrustAgentLabel(mContext, mLockPatternUtils))  in updateState_shouldSetPref() [all …] 
 | 
| D | LockScreenPreferenceControllerTest.java | 58     private LockPatternUtils mLockPatternUtils;  field in LockScreenPreferenceControllerTest 79                 .thenReturn(mLockPatternUtils);  in setUp() 90         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in getAvailabilityStatus_notSecure_lockscreenDisabled_AVAILABLE() 91         when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true);  in getAvailabilityStatus_notSecure_lockscreenDisabled_AVAILABLE() 98         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in getAvailabilityStatus_notSecure_lockscreenEnabled_AVAILABLE() 99         when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false);  in getAvailabilityStatus_notSecure_lockscreenEnabled_AVAILABLE() 106         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true);  in getAvailabilityStatus_secure_hasLockScreen_AVAILABLE() 107         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(anyInt()))  in getAvailabilityStatus_secure_hasLockScreen_AVAILABLE() 115         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true);  in getAvailabilityStatus_secure_noLockScreen_AVAILABLE() 116         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(anyInt()))  in getAvailabilityStatus_secure_noLockScreen_AVAILABLE() [all …] 
 | 
| D | AutoPinConfirmPreferenceControllerTest.java | 42     private LockPatternUtils mLockPatternUtils;  field in AutoPinConfirmPreferenceControllerTest 53                 new AutoPinConfirmPreferenceController(context, TEST_USER_ID, mLockPatternUtils,  in setUp() 60         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_featureEnabledAndLockSetToNone_shouldReturnFalse() 67         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_featureEnabledAndLockSetToPassword_shouldReturnFalse() 68         when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID))  in isAvailable_featureEnabledAndLockSetToPassword_shouldReturnFalse() 76         when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID))  in isAvailable_featureEnabledAndLockSetToPIN_lengthLessThanSix_shouldReturnFalse() 78         when(mLockPatternUtils.getPinLength(TEST_USER_ID)).thenReturn(5);  in isAvailable_featureEnabledAndLockSetToPIN_lengthLessThanSix_shouldReturnFalse() 85         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_featureEnabledAndLockSetToPIN_lengthMoreThanEqSix_shouldReturnTrue() 86         when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID))  in isAvailable_featureEnabledAndLockSetToPIN_lengthMoreThanEqSix_shouldReturnTrue() 88         when(mLockPatternUtils.getPinLength(TEST_USER_ID)).thenReturn(6);  in isAvailable_featureEnabledAndLockSetToPIN_lengthMoreThanEqSix_shouldReturnTrue() [all …] 
 | 
| D | PatternVisiblePreferenceControllerTest.java | 44     private LockPatternUtils mLockPatternUtils;  field in PatternVisiblePreferenceControllerTest 54                 new PatternVisiblePreferenceController(mContext, TEST_USER_ID, mLockPatternUtils);  in setUp() 60         when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID))  in isAvailable_lockSetToPattern_shouldReturnTrue() 68         when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID)).thenReturn(  in isAvailable_lockSetToPin_shouldReturnFalse() 76         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false);  in isAvailable_lockSetToNone_shouldReturnFalse() 83         when(mLockPatternUtils.isVisiblePatternEnabled(TEST_USER_ID)).thenReturn(true);  in updateState_shouldSetPref() 87         when(mLockPatternUtils.isVisiblePatternEnabled(TEST_USER_ID)).thenReturn(false);  in updateState_shouldSetPref() 96         verify(mLockPatternUtils).setVisiblePatternEnabled(true, TEST_USER_ID);  in onPreferenceChange_shouldUpdateLockPatternUtils()
  | 
| D | PinPrivacyPreferenceControllerTest.java | 49     private LockPatternUtils mLockPatternUtils;  field in PinPrivacyPreferenceControllerTest 59                 new PinPrivacyPreferenceController(mContext, TEST_USER_ID, mLockPatternUtils);  in setUp() 65         when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID)).thenReturn(  in isAvailable_lockSetToPin_shouldReturnTrue() 73         when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID)).thenReturn(  in isAvailable_lockSetToPinOrPw_shouldReturnTrue() 80         when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID)).thenReturn(  in isAvailable_lockSetToOther_shouldReturnFalse() 87         when(mLockPatternUtils.isPinEnhancedPrivacyEnabled(TEST_USER_ID)).thenReturn(true);  in updateState_shouldSetPref() 94         when(mLockPatternUtils.isPinEnhancedPrivacyEnabled(TEST_USER_ID)).thenReturn(false);  in updateState_shouldSetPref_false() 102         verify(mLockPatternUtils).setPinEnhancedPrivacyEnabled(true, TEST_USER_ID);  in onPreferenceChange_shouldUpdateLockPatternUtils()
  | 
| D | LockAfterTimeoutPreferenceControllerTest.java | 58     private LockPatternUtils mLockPatternUtils;  field in LockAfterTimeoutPreferenceControllerTest 77                 mContext, TEST_USER_ID, mLockPatternUtils);  in setUp() 82         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_lockSetToPattern_shouldReturnTrue() 83         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))  in isAvailable_lockSetToPattern_shouldReturnTrue() 91         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_lockSetToPin_shouldReturnTrue() 92         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))  in isAvailable_lockSetToPin_shouldReturnTrue() 100         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);  in isAvailable_lockSetToPassword_shouldReturnTrue() 101         when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))  in isAvailable_lockSetToPassword_shouldReturnTrue() 109         when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false);  in isAvailable_lockSetToNone_shouldReturnFalse()
  | 
| /packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/ | 
| D | RestrictedProfilePinStorageTest.java | 56     private LockPatternUtils mLockPatternUtils;  field in RestrictedProfilePinStorageTest 71         when(mLockPatternUtils.getLockSettings()).thenReturn(mLockSettings);  in setUp() 74         mPinStorage = new RestrictedProfilePinStorage(mLockPatternUtils, USER_ID, mConnection);  in setUp() 94         verify(mLockPatternUtils, never()).setLockCredential(  in testSetPinWhenNoPinIsSet_success() 109         verify(mLockPatternUtils, never()).setLockCredential(  in testSetPinWhenWrongPinIsInput_fail() 125         verify(mLockPatternUtils, never()).setLockCredential(  in testSetPinWhenCorrectPinIsInput_success() 138         verify(mLockPatternUtils, never()).setLockCredential(  in testDeletePin_success() 151         verify(mLockPatternUtils, never()).setLockCredential(  in testDeletePin_fail() 163         verify(mLockPatternUtils, never()).isSecure(eq(USER_ID));  in testIsPinCorrect() 175         verify(mLockPatternUtils).isSecure(eq(USER_ID));  in testIsPinCorrect_legacy() [all …] 
 | 
| /packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ | 
| D | LockPatternUtilsCompat.java | 26     LockPatternUtils mLockPatternUtils;  field in LockPatternUtilsCompat 29         mLockPatternUtils = new LockPatternUtils(context);  in LockPatternUtilsCompat() 34         return mLockPatternUtils.setLockCredential(newCredentialCompat.mLockscreenCredential,  in setLockCredential() 41             return mLockPatternUtils.checkCredential(  in checkCredential() 50         return mLockPatternUtils.isSecure(userId);  in isSecure() 54         return mLockPatternUtils.isLockPatternEnabled(userId);  in isLockPatternEnabled() 58         return mLockPatternUtils.isLockPasswordEnabled(userId);  in isLockPasswordEnabled() 66         return mLockPatternUtils.isSeparateProfileChallengeEnabled(userHandler);  in isSeparateProfileChallengeEnabled() 74         return (ILockSettingsCompat) mLockPatternUtils.getLockSettings();  in getLockSettings()
  | 
| /packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/ | 
| D | GatekeeperPasswordProviderTest.java | 53     @Mock private LockPatternUtils mLockPatternUtils;  field in GatekeeperPasswordProviderTest 58         mGatekeeperPasswordProvider = new GatekeeperPasswordProvider(mLockPatternUtils);  in setUp() 67         when(mLockPatternUtils.verifyGatekeeperPasswordHandle(gkPwHandle, challenge, userId))  in testRequestGatekeeperHatWithHandle_success() 84         when(mLockPatternUtils.verifyGatekeeperPasswordHandle(gkPwHandle, challenge, userId))  in testRequestGatekeeperHatWithHandle_GatekeeperCredentialNotMatchException() 96         when(mLockPatternUtils.verifyGatekeeperPasswordHandle(gkPwHandle, challenge, userId))  in testRequestGatekeeperHatWithIntent_success() 113         when(mLockPatternUtils.verifyGatekeeperPasswordHandle(gkPwHandle, challenge, userId))  in testRequestGatekeeperHatWithIntent_GatekeeperCredentialNotMatchException() 143         doNothing().when(mLockPatternUtils).removeGatekeeperPasswordHandle(gkPwHandle);  in testRemoveGatekeeperPasswordHandleAsHandle() 147         verify(mLockPatternUtils, only()).removeGatekeeperPasswordHandle(gkPwHandle);  in testRemoveGatekeeperPasswordHandleAsHandle() 154         doNothing().when(mLockPatternUtils).removeGatekeeperPasswordHandle(gkPwHandle);  in testRemoveGatekeeperPasswordHandleAsIntent() 158         verify(mLockPatternUtils, only()).removeGatekeeperPasswordHandle(gkPwHandle);  in testRemoveGatekeeperPasswordHandleAsIntent() [all …] 
 | 
| /packages/apps/Settings/src/com/android/settings/password/ | 
| D | ChooseLockGenericController.java | 61     private final LockPatternUtils mLockPatternUtils;  field in ChooseLockGenericController 70         mLockPatternUtils = lockPatternUtils;  in ChooseLockGenericController() 82         private final LockPatternUtils mLockPatternUtils;  field in ChooseLockGenericController.Builder 111             mLockPatternUtils = lockPatternUtils;  in Builder() 156                     mLockPatternUtils, mHideInsecureScreenLockTypes, mAppRequestedMinComplexity,  in build() 183                 return mLockPatternUtils.hasSecureLockScreen();  in isScreenLockVisible() 193         return !mLockPatternUtils.isCredentialsDisabledForUser(mUserId)  in isScreenLockEnabled() 260         PasswordMetrics metrics = mLockPatternUtils.getRequestedPasswordMetrics(mUserId,  in getAggregatedPasswordMetrics() 263             metrics.maxWith(mLockPatternUtils.getRequestedPasswordMetrics(mUnificationProfileId));  in getAggregatedPasswordMetrics() 275                 mLockPatternUtils.getRequestedPasswordComplexity(  in getAggregatedPasswordComplexity() [all …] 
 | 
| /packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/ | 
| D | AutoCredentialViewModelTest.java | 81     @Mock private LockPatternUtils mLockPatternUtils;  field in AutoCredentialViewModelTest 90                 mLockPatternUtils,  in setUp() 95         when(mLockPatternUtils.getActivePasswordQuality(userId)).thenReturn(  in setupGenerateChallenge() 108                 mLockPatternUtils,  in testSetCredentialModel_sameResultFromSavedInstanceOrIntent() 134                 mLockPatternUtils,  in testSetCredentialModel_sameResultFromSavedInstanceOrIntent_invalidValues() 153         when(mLockPatternUtils.getActivePasswordQuality(userId)).thenReturn(  in testCheckCredential_validCredentialCase() 178         when(mLockPatternUtils.getActivePasswordQuality(userId)).thenReturn(  in testCheckCredential_needToChooseLock() 203         when(mLockPatternUtils.getActivePasswordQuality(userId)).thenReturn(  in testCheckCredential_needToConfirmLockForSomething() 228         when(mLockPatternUtils.getActivePasswordQuality(userId)).thenReturn(  in testCheckCredential_needToConfirmLockForNumeric() 253         when(mLockPatternUtils.getActivePasswordQuality(userId)).thenReturn(  in testCheckCredential_needToConfirmLockForAlphabetic() [all …] 
 | 
| /packages/apps/Settings/src/com/android/settings/security/screenlock/ | 
| D | PowerButtonInstantLockPreferenceController.java | 39     private final LockPatternUtils mLockPatternUtils;  field in PowerButtonInstantLockPreferenceController 46         mLockPatternUtils = lockPatternUtils;  in PowerButtonInstantLockPreferenceController() 53         if (!mLockPatternUtils.isSecure(mUserId)) {  in isAvailable() 56         switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(mUserId)) {  in isAvailable() 73                 mLockPatternUtils.getPowerButtonInstantlyLocks(mUserId));  in updateState() 75                 mContext, mLockPatternUtils);  in updateState() 92         mLockPatternUtils.setPowerButtonInstantlyLocks((Boolean) newValue, mUserId);  in onPreferenceChange()
  | 
| D | AutoPinConfirmPreferenceController.java | 42     private final LockPatternUtils mLockPatternUtils;  field in AutoPinConfirmPreferenceController 50         mLockPatternUtils = lockPatternUtils;  in AutoPinConfirmPreferenceController() 77         return mLockPatternUtils.getCredentialTypeForUser(mUserId)  in isPinLock() 82         return mLockPatternUtils.getPinLength(mUserId) >= MIN_AUTO_PIN_REQUIREMENT_LENGTH;  in isPinLengthEligibleForAutoConfirmation() 86         return mLockPatternUtils.isAutoPinConfirmEnabled(mUserId);  in getPinAutoConfirmSettingState() 90         mLockPatternUtils.setAutoPinConfirm(state, mUserId);  in setPinAutoConfirmSettingState()
  | 
| D | PatternVisiblePreferenceController.java | 34     private final LockPatternUtils mLockPatternUtils;  field in PatternVisiblePreferenceController 40         mLockPatternUtils = lockPatternUtils;  in PatternVisiblePreferenceController() 56                 mLockPatternUtils.isVisiblePatternEnabled(mUserId));  in updateState() 60         return mLockPatternUtils.getCredentialTypeForUser(mUserId)  in isPatternLock() 66         mLockPatternUtils.setVisiblePatternEnabled((Boolean) newValue, mUserId);  in onPreferenceChange()
  | 
| D | ScreenLockSettings.java | 49     private LockPatternUtils mLockPatternUtils;  field in ScreenLockSettings 68         mLockPatternUtils = new LockPatternUtils(context);  in createPreferenceControllers() 69         return buildPreferenceControllers(context, this /* parent */, mLockPatternUtils);  in createPreferenceControllers() 121         mLockPatternUtils.setAutoPinConfirm(newState, MY_USER_ID);  in onAutoPinConfirmSettingChange() 123         if (!mLockPatternUtils.refreshStoredPinLength(MY_USER_ID)) {  in onAutoPinConfirmSettingChange() 124             mLockPatternUtils.setAutoPinConfirm(!newState, MY_USER_ID);  in onAutoPinConfirmSettingChange()
  | 
| /packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/ | 
| D | PasswordHelperTest.java | 77     LockPatternUtils mLockPatternUtils;  field in PasswordHelperTest 87         when(mLockPatternUtils.getPasswordHistoryHashFactor(any(), anyInt()))  in setUp() 94                 mLockPatternUtils, mPasswordMetrics, PASSWORD_COMPLEXITY_NONE);  in passwordComplexityNone_shortSequentialPassword_invalid() 119                 mLockPatternUtils, mPasswordMetrics, PASSWORD_COMPLEXITY_NONE);  in passwordComplexityNone_mediumSequentialPassword_valid() 139                 mLockPatternUtils, mPasswordMetrics, PASSWORD_COMPLEXITY_LOW);  in passwordComplexityLow_shortSequentialPassword_invalid() 165                 mLockPatternUtils, mPasswordMetrics, PASSWORD_COMPLEXITY_LOW);  in passwordComplexityLow_mediumSequentialPassword_valid() 185                 mLockPatternUtils, mPasswordMetrics, PASSWORD_COMPLEXITY_MEDIUM);  in passwordComplexityMedium_shortSequentialPassword_invalid() 211                 mLockPatternUtils, mPasswordMetrics, PASSWORD_COMPLEXITY_MEDIUM);  in passwordComplexityMedium_mediumSequentialPassword_invalid() 237                 mLockPatternUtils, mPasswordMetrics, PASSWORD_COMPLEXITY_MEDIUM);  in passwordComplexityMedium_mediumAlphanumericPassword_valid() 257                 mLockPatternUtils, mPasswordMetrics, PASSWORD_COMPLEXITY_HIGH);  in passwordComplexityHigh_mediumSequentialPassword_invalid() [all …] 
 | 
| /packages/apps/Settings/tests/robotests/src/com/android/settings/display/ | 
| D | WalletPrivacyPreferenceControllerTest.java | 60     private LockPatternUtils mLockPatternUtils;  field in WalletPrivacyPreferenceControllerTest 72                 .thenReturn(mLockPatternUtils);  in setUp() 73         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true);  in setUp() 121         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in getSummary_notSecureLock_lockscreen_privacy_not_secureString() 129         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true);  in getSummary_isSecure_lockscreen_privacy_showString() 146         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true);  in getAvailabilityStatus_noServiceAndIsSecure_returnsUnsupported() 155         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in getAvailabilityStatus_hasServiceButNotSecure_returnsDisabled() 164         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true);  in getAvailabilityStatus_hasServiceAndIsSecure_returnsAvailable()
  | 
| /packages/apps/Settings/src/com/android/settings/security/ | 
| D | OwnerInfoPreferenceController.java | 44     private final LockPatternUtils mLockPatternUtils;  field in OwnerInfoPreferenceController 56         mLockPatternUtils = new LockPatternUtils(context);  in OwnerInfoPreferenceController() 101             mOwnerInfoPref.setEnabled(!mLockPatternUtils.isLockScreenDisabled(MY_USER_ID));  in updateEnableState() 122         return mLockPatternUtils.isDeviceOwnerInfoEnabled();  in isDeviceOwnerInfoEnabled() 127         return mLockPatternUtils.getDeviceOwnerInfo();  in getDeviceOwnerInfo() 132         return mLockPatternUtils.isOwnerInfoEnabled(MY_USER_ID);  in isOwnerInfoEnabled() 137         return mLockPatternUtils.getOwnerInfo(MY_USER_ID);  in getOwnerInfo()
  | 
| D | ScreenLockPreferenceDetailsUtils.java | 46     private final LockPatternUtils mLockPatternUtils;  field in ScreenLockPreferenceDetailsUtils 53         mLockPatternUtils = FeatureFactory.getFactory(context)  in ScreenLockPreferenceDetailsUtils() 88         return mLockPatternUtils.isSecure(mUserId);  in isLockPatternSecure() 150                 && !mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileChallengeUserId)  in getQuietModeDialogIntent() 170         if (!mLockPatternUtils.isSecure(userId)) {  in getSummaryResId() 172                     || mLockPatternUtils.isLockScreenDisabled(userId)) {  in getSummaryResId() 179                     mLockPatternUtils.getKeyguardStoredPasswordQuality(userId);  in getSummaryResId()
  | 
| D | VisiblePatternProfilePreferenceController.java | 48     private final LockPatternUtils mLockPatternUtils;  field in VisiblePatternProfilePreferenceController 69         mLockPatternUtils = FeatureFactory.getFactory(context)  in VisiblePatternProfilePreferenceController() 83                     final boolean isSecure = mLockPatternUtils.isSecure(mProfileChallengeUserId);  in getAvailabilityStatus() 84                     final boolean hasPassword = mLockPatternUtils  in getAvailabilityStatus() 103         return mLockPatternUtils.isVisiblePatternEnabled(  in isChecked() 112         mLockPatternUtils.setVisiblePatternEnabled(isChecked, mProfileChallengeUserId);  in setChecked()
  | 
| /packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ | 
| D | ManageTrustAgentsPreferenceControllerTest.java | 53     private LockPatternUtils mLockPatternUtils;  field in ManageTrustAgentsPreferenceControllerTest 66                 .thenReturn(mLockPatternUtils);  in setUp() 88         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);  in updateState_isNotSecure_shouldDisablePreference() 99         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true);  in updateState_isSecure_noTrustAgent_shouldShowGenericSummary() 100         when(mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils, false))  in updateState_isSecure_noTrustAgent_shouldShowGenericSummary() 112         when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true);  in updateState_isSecure_hasTrustAgent_shouldShowDetailedSummary() 113         when(mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils, false))  in updateState_isSecure_hasTrustAgent_shouldShowDetailedSummary()
  | 
| /packages/apps/Car/Settings/src/com/android/car/settings/security/ | 
| D | ConfirmLockLockoutHelper.java | 36     private final LockPatternUtils mLockPatternUtils;  field in ConfirmLockLockoutHelper 54         mLockPatternUtils = lockPatternUtils;  in ConfirmLockLockoutHelper() 64         return mLockPatternUtils;  in getLockPatternUtils() 73         long deadline = mLockPatternUtils.setLockoutAttemptDeadline(mUserId, timeoutMs);  in onCheckCompletedWithTimeout() 80             handleAttemptLockout(mLockPatternUtils.getLockoutAttemptDeadline(mUserId));  in onResumeUI() 107         return mLockPatternUtils.getLockoutAttemptDeadline(mUserId) != 0;  in isLockedOut()
  |