Searched refs:mMaxScreenLockTime (Results 1 – 8 of 8) sorted by relevance
67 public int mMaxScreenLockTime; field in Policy231 mMaxScreenLockTime = 0; in normalize()257 if (mMaxScreenLockTime != otherPolicy.mMaxScreenLockTime) return false; in equals()296 code += (mMaxScreenLockTime << 3); in hashCode()317 mMaxScreenLockTime = cursor.getInt(CONTENT_MAX_SCREEN_LOCK_TIME_COLUMN); in restore()347 values.put(PolicyColumns.MAX_SCREEN_LOCK_TIME, mMaxScreenLockTime); in toContentValues()420 appendPolicy(sb, "idle", mMaxScreenLockTime); in toString()481 dest.writeInt(mMaxScreenLockTime); in writeToParcel()511 mMaxScreenLockTime = in.readInt(); in Policy()
129 aggregate.mMaxScreenLockTime = Integer.MAX_VALUE; in computeAggregatePolicy()154 if (policy.mMaxScreenLockTime > 0) { in computeAggregatePolicy()155 aggregate.mMaxScreenLockTime = Math.min(policy.mMaxScreenLockTime, in computeAggregatePolicy()156 aggregate.mMaxScreenLockTime); in computeAggregatePolicy()183 if (aggregate.mMaxScreenLockTime == Integer.MAX_VALUE) aggregate.mMaxScreenLockTime = 0; in computeAggregatePolicy()345 if (policy.mMaxScreenLockTime > 0) { in getInactiveReasons()347 if (dpm.getMaximumTimeToLock(mAdminName) > policy.mMaxScreenLockTime * 1000) { in getInactiveReasons()424 dpm.setMaximumTimeToLock(mAdminName, aggregatePolicy.mMaxScreenLockTime * 1000); in setActivePolicies()
116 policy.mMaxScreenLockTime = maxScreenLockTime; in setupPolicy()175 assertEquals(16, p4out.mMaxScreenLockTime); in testAggregator()201 assertEquals(6, p5out.mMaxScreenLockTime); in testAggregator()488 if (ps.mMaxScreenLockTime != policy.mMaxScreenLockTime) return false; in policySetEqualsPolicy()520 private final int mMaxScreenLockTime; field in SecurityPolicyTests.PolicySet538 mMaxScreenLockTime = (int) ((flags & LegacyPolicySet.SCREEN_LOCK_TIME_MASK) in PolicySet()
144 policy.mMaxScreenLockTime = getValueInt(); in parseProvisionDocWbxml()465 policy.mMaxScreenLockTime = 1; in parseCharacteristic()467 policy.mMaxScreenLockTime = 60*Integer.parseInt(value); in parseCharacteristic()
125 assertEquals(5*60, policy.mMaxScreenLockTime); // Screen lock time is in seconds in testWapProvisionParser1()147 assertEquals(2*60, policy.mMaxScreenLockTime); // Screen lock time is in seconds in testWapProvisionParser3()
79 policy.mMaxScreenLockTime = in flagsToPolicy()
198 policy.mMaxScreenLockTime = 600; in testParcel()
604 if (policy.mMaxScreenLockTime > 0) { in getSystemPoliciesList()