Home
last modified time | relevance | path

Searched refs:PASSWORD_MODE_SHIFT (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java31 public static final int PASSWORD_MODE_SHIFT = 5; field in LegacyPolicySet
32 public static final int PASSWORD_MODE_MASK = 15 << PASSWORD_MODE_SHIFT;
33 public static final int PASSWORD_MODE_NONE = 0 << PASSWORD_MODE_SHIFT;
34 public static final int PASSWORD_MODE_SIMPLE = 1 << PASSWORD_MODE_SHIFT;
35 public static final int PASSWORD_MODE_STRONG = 2 << PASSWORD_MODE_SHIFT;
70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT; in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java480 if ((ps.mPasswordMode >> LegacyPolicySet.PASSWORD_MODE_SHIFT) != policy.mPasswordMode) { in policySetEqualsPolicy()