Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java57 public int mPasswordMode; field in Policy
129 mPasswordMode = PASSWORD_MODE_NONE; in Policy()
216 if (mPasswordMode == PASSWORD_MODE_NONE) { in normalize()
224 if ((mPasswordMode != PASSWORD_MODE_SIMPLE) && in normalize()
225 (mPasswordMode != PASSWORD_MODE_STRONG)) { in normalize()
230 if (mPasswordMode == PASSWORD_MODE_SIMPLE) { in normalize()
250 if (mPasswordMode != otherPolicy.mPasswordMode) return false; in equals()
289 code += (mPasswordMode << 26); in hashCode()
298 mPasswordMode = cursor.getInt(CONTENT_PASSWORD_MODE_COLUMN); in restore()
328 values.put(PolicyColumns.PASSWORD_MODE, mPasswordMode); in toContentValues()
[all …]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java121 assertEquals(Policy.PASSWORD_MODE_STRONG, policy.mPasswordMode); in testWapProvisionParser1()
132 assertEquals(Policy.PASSWORD_MODE_NONE, policy.mPasswordMode); in testWapProvisionParser2()
143 assertEquals(Policy.PASSWORD_MODE_SIMPLE, policy.mPasswordMode); in testWapProvisionParser3()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java121 assertEquals(Policy.PASSWORD_MODE_STRONG, policy.mPasswordMode); in testWapProvisionParser1()
132 assertEquals(Policy.PASSWORD_MODE_NONE, policy.mPasswordMode); in testWapProvisionParser2()
143 assertEquals(Policy.PASSWORD_MODE_SIMPLE, policy.mPasswordMode); in testWapProvisionParser3()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DProvisionParser.java123 if (policy.mPasswordMode == Policy.PASSWORD_MODE_NONE) { in parseProvisionDocWbxml()
124 policy.mPasswordMode = Policy.PASSWORD_MODE_SIMPLE; in parseProvisionDocWbxml()
133 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG; in parseProvisionDocWbxml()
362 policy.mPasswordMode = Policy.PASSWORD_MODE_NONE; in parseProvisionDocWbxml()
479 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG; in parseCharacteristic()
481 policy.mPasswordMode = Policy.PASSWORD_MODE_SIMPLE; in parseCharacteristic()
/packages/apps/Email/src/com/android/email/
DSecurityPolicy.java119 aggregate.mPasswordMode = Integer.MIN_VALUE; in computeAggregatePolicy()
144 aggregate.mPasswordMode = Math.max(policy.mPasswordMode, aggregate.mPasswordMode); in computeAggregatePolicy()
176 if (aggregate.mPasswordMode == Integer.MIN_VALUE) aggregate.mPasswordMode = 0; in computeAggregatePolicy()
378 if (policy.mPasswordMode > 0) { in getInactiveReasons()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT; in flagsToPolicy()