Home
last modified time | relevance | path

Searched refs:mPasswordMinLength (Results 1 – 8 of 8) 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.java105 private int mPasswordMinLength = 4; field in ChooseLockPassword.ChooseLockPasswordFragment
182 mPasswordMinLength = Math.max( in onCreate()
183 intent.getIntExtra(PASSWORD_MIN_KEY, mPasswordMinLength), mLockPatternUtils in onCreate()
322 if (password.length() < mPasswordMinLength) { in validatePassword()
325 : R.string.lockpassword_pin_too_short, mPasswordMinLength); in validatePassword()
507 if (length < mPasswordMinLength) { in updateUi()
509 : R.string.lockpassword_pin_too_short, mPasswordMinLength); in updateUi()
/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/Exchange/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java126 assertEquals(8, policy.mPasswordMinLength); in testWapProvisionParser1()
148 assertEquals(4, policy.mPasswordMinLength); in testWapProvisionParser3()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DProvisionParser.java135 policy.mPasswordMinLength = getValueInt(); in parseProvisionDocWbxml()
480 policy.mPasswordMinLength = Integer.parseInt(value); in parseCharacteristic()
/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()