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

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
H A DProvisionParserTests.java121 assertEquals(Policy.PASSWORD_MODE_STRONG, policy.mPasswordMode);
132 assertEquals(Policy.PASSWORD_MODE_NONE, policy.mPasswordMode);
143 assertEquals(Policy.PASSWORD_MODE_SIMPLE, policy.mPasswordMode);
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
H A DProvisionParserTests.java121 assertEquals(Policy.PASSWORD_MODE_STRONG, policy.mPasswordMode);
132 assertEquals(Policy.PASSWORD_MODE_NONE, policy.mPasswordMode);
143 assertEquals(Policy.PASSWORD_MODE_SIMPLE, policy.mPasswordMode);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DPolicy.java57 public int mPasswordMode; field in class:Policy
129 mPasswordMode = PASSWORD_MODE_NONE;
216 if (mPasswordMode == PASSWORD_MODE_NONE) {
224 if ((mPasswordMode != PASSWORD_MODE_SIMPLE) &&
225 (mPasswordMode != PASSWORD_MODE_STRONG)) {
230 if (mPasswordMode == PASSWORD_MODE_SIMPLE) {
250 if (mPasswordMode != otherPolicy.mPasswordMode) return false;
289 code += (mPasswordMode << 26);
298 mPasswordMode
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DLegacyPolicySet.java70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT;
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DProvisionParser.java123 if (policy.mPasswordMode == Policy.PASSWORD_MODE_NONE) {
124 policy.mPasswordMode = Policy.PASSWORD_MODE_SIMPLE;
133 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG;
362 policy.mPasswordMode = Policy.PASSWORD_MODE_NONE;
479 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG;
481 policy.mPasswordMode = Policy.PASSWORD_MODE_SIMPLE;
/packages/apps/Email/src/com/android/email/
H A DSecurityPolicy.java119 aggregate.mPasswordMode = Integer.MIN_VALUE;
144 aggregate.mPasswordMode = Math.max(policy.mPasswordMode, aggregate.mPasswordMode);
176 if (aggregate.mPasswordMode == Integer.MIN_VALUE) aggregate.mPasswordMode = 0;
378 if (policy.mPasswordMode > 0) {

Completed in 1055 milliseconds