Searched refs:mPasswordMode (Results 1 – 6 of 6) sorted by relevance
57 public int mPasswordMode; field in Policy129 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 …]
121 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()
123 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()
119 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()
70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT; in flagsToPolicy()