Searched refs:mPasswordMode (Results 1 – 8 of 8) sorted by relevance
61 public int mPasswordMode; field in Policy133 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 …]
114 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.PolicySet534 mPasswordMode = in PolicySet()
129 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()
124 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()
127 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()
70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT; in flagsToPolicy()
192 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG; in testParcel()
595 if (policy.mPasswordMode != Policy.PASSWORD_MODE_NONE) { in getSystemPoliciesList()