Home
last modified time | relevance | path

Searched refs:mPasswordExpirationDays (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java64 public int mPasswordExpirationDays; field in Policy
235 mPasswordExpirationDays = 0; in normalize()
259 if (mPasswordExpirationDays != otherPolicy.mPasswordExpirationDays) return false; in equals()
298 code += (mPasswordExpirationDays << 12); in hashCode()
315 mPasswordExpirationDays = cursor.getInt(CONTENT_PASSWORD_EXPIRATION_DAYS_COLUMN); in restore()
345 values.put(PolicyColumns.PASSWORD_EXPIRATION_DAYS, mPasswordExpirationDays); in toContentValues()
388 long result = mPasswordExpirationDays * DAYS_TO_MSEC; in getDPManagerPasswordExpirationTimeout()
417 appendPolicy(sb, "expy", mPasswordExpirationDays); in toString()
479 dest.writeInt(mPasswordExpirationDays); in writeToParcel()
509 mPasswordExpirationDays = in.readInt(); in Policy()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java127 aggregate.mPasswordExpirationDays = Integer.MAX_VALUE; in computeAggregatePolicy()
162 if (policy.mPasswordExpirationDays > 0) { in computeAggregatePolicy()
163 aggregate.mPasswordExpirationDays = in computeAggregatePolicy()
164 Math.min(policy.mPasswordExpirationDays, aggregate.mPasswordExpirationDays); in computeAggregatePolicy()
185 if (aggregate.mPasswordExpirationDays == Integer.MAX_VALUE) in computeAggregatePolicy()
186 aggregate.mPasswordExpirationDays = 0; in computeAggregatePolicy()
351 if (policy.mPasswordExpirationDays > 0) { in getInactiveReasons()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java118 policy.mPasswordExpirationDays = passwordExpirationDays; in setupPolicy()
176 assertEquals(6, p4out.mPasswordExpirationDays); in testAggregator()
202 assertEquals(1, p5out.mPasswordExpirationDays); in testAggregator()
486 if (ps.mPasswordExpirationDays != policy.mPasswordExpirationDays) return false; in policySetEqualsPolicy()
522 private final int mPasswordExpirationDays; field in SecurityPolicyTests.PolicySet
541 mPasswordExpirationDays = (int) ((flags & LegacyPolicySet.PASSWORD_EXPIRATION_MASK) in PolicySet()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java77 policy.mPasswordExpirationDays = in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java195 policy.mPasswordExpirationDays = 4; in testParcel()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DProvisionParser.java150 policy.mPasswordExpirationDays = getValueInt(); in parseProvisionDocWbxml()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java601 if (policy.mPasswordExpirationDays > 0) { in getSystemPoliciesList()