Home
last modified time | relevance | path

Searched refs:mPasswordComplexChars (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java66 public int mPasswordComplexChars; field in Policy
233 mPasswordComplexChars = 0; in normalize()
244 mPasswordComplexChars = 0; in normalize()
258 if (mPasswordComplexChars != otherPolicy.mPasswordComplexChars) return false; in equals()
297 code += (mPasswordComplexChars << 6); in hashCode()
316 mPasswordComplexChars = cursor.getInt(CONTENT_PASSWORD_COMPLEX_CHARS_COLUMN); in restore()
346 values.put(PolicyColumns.PASSWORD_COMPLEX_CHARS, mPasswordComplexChars); in toContentValues()
374 if (mPasswordComplexChars == 0) { in getDPManagerPasswordQuality()
416 appendPolicy(sb, "cmpx", mPasswordComplexChars); in toString()
480 dest.writeInt(mPasswordComplexChars); in writeToParcel()
[all …]
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java128 aggregate.mPasswordComplexChars = Integer.MIN_VALUE; in computeAggregatePolicy()
166 if (policy.mPasswordComplexChars > 0) { in computeAggregatePolicy()
167 aggregate.mPasswordComplexChars = Math.max(policy.mPasswordComplexChars, in computeAggregatePolicy()
168 aggregate.mPasswordComplexChars); in computeAggregatePolicy()
187 if (aggregate.mPasswordComplexChars == Integer.MIN_VALUE) in computeAggregatePolicy()
188 aggregate.mPasswordComplexChars = 0; in computeAggregatePolicy()
372 if (policy.mPasswordComplexChars > 0) { in getInactiveReasons()
373 if (dpm.getPasswordMinimumNonLetter(mAdminName) < policy.mPasswordComplexChars) { in getInactiveReasons()
439 dpm.setPasswordMinimumNonLetter(mAdminName, aggregatePolicy.mPasswordComplexChars); in setActivePolicies()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java120 policy.mPasswordComplexChars = passwordComplexChars; in setupPolicy()
178 assertEquals(7, p4out.mPasswordComplexChars); in testAggregator()
204 assertEquals(7, p5out.mPasswordComplexChars); in testAggregator()
484 if (ps.mPasswordComplexChars != policy.mPasswordComplexChars) return false; in policySetEqualsPolicy()
524 private final int mPasswordComplexChars; field in SecurityPolicyTests.PolicySet
545 mPasswordComplexChars = (int) ((flags & LegacyPolicySet.PASSWORD_COMPLEX_CHARS_MASK) in PolicySet()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java74 policy.mPasswordComplexChars = in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java194 policy.mPasswordComplexChars = 5; in testParcel()