Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java65 public int mPasswordHistory; field in Policy
234 mPasswordHistory = 0; in normalize()
260 if (mPasswordHistory != otherPolicy.mPasswordHistory) return false; in equals()
299 code += (mPasswordHistory << 15); in hashCode()
314 mPasswordHistory = cursor.getInt(CONTENT_PASSWORD_HISTORY_COLUMN); in restore()
344 values.put(PolicyColumns.PASSWORD_HISTORY, mPasswordHistory); in toContentValues()
418 appendPolicy(sb, "hist", mPasswordHistory); in toString()
478 dest.writeInt(mPasswordHistory); in writeToParcel()
508 mPasswordHistory = in.readInt(); in Policy()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java126 aggregate.mPasswordHistory = Integer.MIN_VALUE; in computeAggregatePolicy()
158 if (policy.mPasswordHistory > 0) { in computeAggregatePolicy()
159 aggregate.mPasswordHistory = in computeAggregatePolicy()
160 Math.max(policy.mPasswordHistory, aggregate.mPasswordHistory); in computeAggregatePolicy()
184 if (aggregate.mPasswordHistory == Integer.MIN_VALUE) aggregate.mPasswordHistory = 0; in computeAggregatePolicy()
366 if (policy.mPasswordHistory > 0) { in getInactiveReasons()
367 if (dpm.getPasswordHistoryLength(mAdminName) < policy.mPasswordHistory) { in getInactiveReasons()
431 dpm.setPasswordHistoryLength(mAdminName, aggregatePolicy.mPasswordHistory); in setActivePolicies()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java119 policy.mPasswordHistory = passwordHistory; in setupPolicy()
177 assertEquals(5, p4out.mPasswordHistory); in testAggregator()
203 assertEquals(5, p5out.mPasswordHistory); in testAggregator()
485 if (ps.mPasswordHistory != policy.mPasswordHistory) return false; in policySetEqualsPolicy()
523 private final int mPasswordHistory; field in SecurityPolicyTests.PolicySet
543 mPasswordHistory = (int) ((flags & LegacyPolicySet.PASSWORD_HISTORY_MASK) in PolicySet()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java76 policy.mPasswordHistory = (int) ((flags & PASSWORD_HISTORY_MASK) >> PASSWORD_HISTORY_SHIFT); in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java196 policy.mPasswordHistory = 3; in testParcel()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java598 if (policy.mPasswordHistory > 0) { in getSystemPoliciesList()