Home
last modified time | relevance | path

Searched refs:mMaxScreenLockTime (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java67 public int mMaxScreenLockTime; field in Policy
231 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()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java129 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()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java116 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.PolicySet
538 mMaxScreenLockTime = (int) ((flags & LegacyPolicySet.SCREEN_LOCK_TIME_MASK) in PolicySet()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java79 policy.mMaxScreenLockTime = in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java198 policy.mMaxScreenLockTime = 600; in testParcel()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java604 if (policy.mMaxScreenLockTime > 0) { in getSystemPoliciesList()