Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DTimeoutListPreference.java78 public void removeUnusableTimeouts(long maxTimeout, EnforcedAdmin admin) { in removeUnusableTimeouts() argument
89 maxTimeout = Long.MAX_VALUE; in removeUnusableTimeouts()
96 if (timeout <= maxTimeout) { in removeUnusableTimeouts()
116 if (userPreference <= maxTimeout) { in removeUnusableTimeouts()
120 == maxTimeout) { in removeUnusableTimeouts()
122 setValue(String.valueOf(maxTimeout)); in removeUnusableTimeouts()
DTimeoutPreferenceController.java70 final long maxTimeout = in updateState() local
72 timeoutListPreference.removeUnusableTimeouts(maxTimeout, admin); in updateState()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java78 public void removeUnusableTimeouts(long maxTimeout, EnforcedAdmin admin) { in removeUnusableTimeouts() argument
89 maxTimeout = Long.MAX_VALUE; in removeUnusableTimeouts()
96 if (timeout <= maxTimeout) { in removeUnusableTimeouts()
116 if (userPreference <= maxTimeout) { in removeUnusableTimeouts()
120 == maxTimeout) { in removeUnusableTimeouts()
122 setValue(String.valueOf(maxTimeout)); in removeUnusableTimeouts()
DTimeoutPreferenceController.java70 final long maxTimeout = in updateState() local
72 timeoutListPreference.removeUnusableTimeouts(maxTimeout, admin); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/screenlock/
DLockAfterTimeoutPreferenceController.java112 final long maxTimeout = Math.max(0, adminTimeout - displayTimeout); in setupLockAfterPreference() local
113 preference.removeUnusableTimeouts(maxTimeout, admin); in setupLockAfterPreference()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DLockAfterTimeoutPreferenceController.java118 final long maxTimeout = Math.max(0, adminTimeout - displayTimeout); in setupLockAfterPreference() local
119 preference.removeUnusableTimeouts(maxTimeout, admin); in setupLockAfterPreference()