Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java63 public int mPasswordMaxFails; field in Policy
230 mPasswordMaxFails = 0; in normalize()
261 if (mPasswordMaxFails != otherPolicy.mPasswordMaxFails) return false; in equals()
300 code += (mPasswordMaxFails << 18); in hashCode()
313 mPasswordMaxFails = cursor.getInt(CONTENT_PASSWORD_MAX_FAILS_COLUMN); in restore()
343 values.put(PolicyColumns.PASSWORD_MAX_FAILS, mPasswordMaxFails); in toContentValues()
419 appendPolicy(sb, "fail", mPasswordMaxFails); in toString()
477 dest.writeInt(mPasswordMaxFails); in writeToParcel()
507 mPasswordMaxFails = in.readInt(); in Policy()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java125 aggregate.mPasswordMaxFails = Integer.MAX_VALUE; in computeAggregatePolicy()
150 if (policy.mPasswordMaxFails > 0) { in computeAggregatePolicy()
151 aggregate.mPasswordMaxFails = in computeAggregatePolicy()
152 Math.min(policy.mPasswordMaxFails, aggregate.mPasswordMaxFails); in computeAggregatePolicy()
182 if (aggregate.mPasswordMaxFails == Integer.MAX_VALUE) aggregate.mPasswordMaxFails = 0; in computeAggregatePolicy()
426 dpm.setMaximumFailedPasswordsForWipe(mAdminName, aggregatePolicy.mPasswordMaxFails); in setActivePolicies()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java115 policy.mPasswordMaxFails = maxPasswordFails; in setupPolicy()
174 assertEquals(15, p4out.mPasswordMaxFails); in testAggregator()
200 assertEquals(5, p5out.mPasswordMaxFails); in testAggregator()
487 if (ps.mMaxPasswordFails != policy.mPasswordMaxFails) return false; in policySetEqualsPolicy()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java72 policy.mPasswordMaxFails = in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java197 policy.mPasswordMaxFails = 8; in testParcel()