Home
last modified time | relevance | path

Searched refs:mPasswordMinLength (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java62 public int mPasswordMinLength; field in Policy
232 mPasswordMinLength = 0; in normalize()
262 if (mPasswordMinLength != otherPolicy.mPasswordMinLength) return false; in equals()
301 code += (mPasswordMinLength << 22); in hashCode()
312 mPasswordMinLength = cursor.getInt(CONTENT_PASSWORD_MIN_LENGTH_COLUMN); in restore()
342 values.put(PolicyColumns.PASSWORD_MIN_LENGTH, mPasswordMinLength); in toContentValues()
415 appendPolicy(sb, "len", mPasswordMinLength); in toString()
476 dest.writeInt(mPasswordMinLength); in writeToParcel()
506 mPasswordMinLength = in.readInt(); in Policy()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java123 aggregate.mPasswordMinLength = Integer.MIN_VALUE; in computeAggregatePolicy()
147 aggregate.mPasswordMinLength = in computeAggregatePolicy()
148 Math.max(policy.mPasswordMinLength, aggregate.mPasswordMinLength); in computeAggregatePolicy()
180 if (aggregate.mPasswordMinLength == Integer.MIN_VALUE) aggregate.mPasswordMinLength = 0; in computeAggregatePolicy()
332 if (policy.mPasswordMinLength > 0) { in getInactiveReasons()
333 if (dpm.getPasswordMinimumLength(mAdminName) < policy.mPasswordMinLength) { in getInactiveReasons()
422 dpm.setPasswordMinimumLength(mAdminName, aggregatePolicy.mPasswordMinLength); in setActivePolicies()
/packages/apps/Settings/src/com/android/settings/
DChooseLockPassword.java174 private int mPasswordMinLength = LockPatternUtils.MIN_LOCK_PASSWORD_SIZE; field in ChooseLockPassword.ChooseLockPasswordFragment
515 mPasswordMinLength = Math.max(Math.max( in processPasswordRequirements()
517 intent.getIntExtra(PASSWORD_MIN_KEY, mPasswordMinLength)), in processPasswordRequirements()
577 if (password.length() < mPasswordMinLength) { in validatePassword()
578 if (mPasswordMinLength > mPasswordMinLengthToFulfillAllPolicies) { in validatePassword()
758 : R.string.lockpassword_pin_too_short, mPasswordMinLength)); in convertErrorCodeToMessages()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java113 policy.mPasswordMinLength = minPasswordLength; in setupPolicy()
172 assertEquals(20, p4out.mPasswordMinLength); in testAggregator()
198 assertEquals(20, p5out.mPasswordMinLength); in testAggregator()
483 if (ps.mMinPasswordLength != policy.mPasswordMinLength) return false; in policySetEqualsPolicy()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java71 policy.mPasswordMinLength = (int) ((flags & PASSWORD_LENGTH_MASK) >> PASSWORD_LENGTH_SHIFT); in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java193 policy.mPasswordMinLength = 6; in testParcel()