Home
last modified time | relevance | path

Searched refs:mPasswordMode (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java61 public int mPasswordMode; field in Policy
133 mPasswordMode = PASSWORD_MODE_NONE; in Policy()
229 if (mPasswordMode == PASSWORD_MODE_NONE) { in normalize()
237 if ((mPasswordMode != PASSWORD_MODE_SIMPLE) && in normalize()
238 (mPasswordMode != PASSWORD_MODE_STRONG)) { in normalize()
243 if (mPasswordMode == PASSWORD_MODE_SIMPLE) { in normalize()
263 if (mPasswordMode != otherPolicy.mPasswordMode) return false; in equals()
302 code += (mPasswordMode << 26); in hashCode()
311 mPasswordMode = cursor.getInt(CONTENT_PASSWORD_MODE_COLUMN); in restore()
341 values.put(PolicyColumns.PASSWORD_MODE, mPasswordMode); in toContentValues()
[all …]
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java114 policy.mPasswordMode = passwordMode; in setupPolicy()
173 assertEquals(Policy.PASSWORD_MODE_STRONG, p4out.mPasswordMode); in testAggregator()
199 assertEquals(Policy.PASSWORD_MODE_STRONG, p5out.mPasswordMode); in testAggregator()
480 if ((ps.mPasswordMode >> LegacyPolicySet.PASSWORD_MODE_SHIFT) != policy.mPasswordMode) { in policySetEqualsPolicy()
518 private final int mPasswordMode; field in SecurityPolicyTests.PolicySet
534 mPasswordMode = in PolicySet()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DProvisionParser.java129 if (policy.mPasswordMode == Policy.PASSWORD_MODE_NONE) { in parseProvisionDocWbxml()
130 policy.mPasswordMode = Policy.PASSWORD_MODE_SIMPLE; in parseProvisionDocWbxml()
139 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG; in parseProvisionDocWbxml()
366 policy.mPasswordMode = Policy.PASSWORD_MODE_NONE; in parseProvisionDocWbxml()
483 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG; in parseCharacteristic()
485 policy.mPasswordMode = Policy.PASSWORD_MODE_SIMPLE; in parseCharacteristic()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java124 aggregate.mPasswordMode = Integer.MIN_VALUE; in computeAggregatePolicy()
149 aggregate.mPasswordMode = Math.max(policy.mPasswordMode, aggregate.mPasswordMode); in computeAggregatePolicy()
181 if (aggregate.mPasswordMode == Integer.MIN_VALUE) aggregate.mPasswordMode = 0; in computeAggregatePolicy()
337 if (policy.mPasswordMode > 0) { in getInactiveReasons()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java127 assertEquals(Policy.PASSWORD_MODE_STRONG, policy.mPasswordMode); in testWapProvisionParser1()
138 assertEquals(Policy.PASSWORD_MODE_NONE, policy.mPasswordMode); in testWapProvisionParser2()
149 assertEquals(Policy.PASSWORD_MODE_SIMPLE, policy.mPasswordMode); in testWapProvisionParser3()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT; in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java192 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG; in testParcel()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java595 if (policy.mPasswordMode != Policy.PASSWORD_MODE_NONE) { in getSystemPoliciesList()