Home
last modified time | relevance | path

Searched refs:currentTimeout (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/display/
DTimeoutPreferenceController.java62 final long currentTimeout = Settings.System.getLong(mContext.getContentResolver(), in updateState() local
64 timeoutListPreference.setValue(String.valueOf(currentTimeout)); in updateState()
98 long currentTimeout, CharSequence[] entries, CharSequence[] values) { in getTimeoutDescription() argument
99 if (currentTimeout < 0 || entries == null || values == null in getTimeoutDescription()
106 if (currentTimeout == timeout) { in getTimeoutDescription()
114 long currentTimeout) { in updateTimeoutPreferenceDescription() argument
122 currentTimeout, entries, values); in updateTimeoutPreferenceDescription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DTimeoutPreferenceController.java62 final long currentTimeout = Settings.System.getLong(mContext.getContentResolver(), in updateState() local
64 timeoutListPreference.setValue(String.valueOf(currentTimeout)); in updateState()
98 long currentTimeout, CharSequence[] entries, CharSequence[] values) { in getTimeoutDescription() argument
99 if (currentTimeout < 0 || entries == null || values == null in getTimeoutDescription()
106 if (currentTimeout == timeout) { in getTimeoutDescription()
114 long currentTimeout) { in updateTimeoutPreferenceDescription() argument
122 currentTimeout, entries, values); in updateTimeoutPreferenceDescription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/screenlock/
DLockAfterTimeoutPreferenceController.java99 long currentTimeout = Settings.Secure.getLong(mContext.getContentResolver(), in setupLockAfterPreference() local
101 preference.setValue(String.valueOf(currentTimeout)); in setupLockAfterPreference()
123 long currentTimeout = Settings.Secure.getLong(mContext.getContentResolver(), in updateLockAfterPreferenceSummary() local
130 if (currentTimeout >= timeout) { in updateLockAfterPreferenceSummary()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DLockAfterTimeoutPreferenceController.java105 long currentTimeout = Settings.Secure.getLong(mContext.getContentResolver(), in setupLockAfterPreference() local
107 preference.setValue(String.valueOf(currentTimeout)); in setupLockAfterPreference()
129 long currentTimeout = Settings.Secure.getLong(mContext.getContentResolver(), in updateLockAfterPreferenceSummary() local
136 if (currentTimeout >= timeout) { in updateLockAfterPreferenceSummary()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java353 long currentTimeout = dpm.getPasswordExpirationTimeout(mAdminName); in getInactiveReasons() local
354 if (currentTimeout == 0 in getInactiveReasons()
355 || currentTimeout > policy.getDPManagerPasswordExpirationTimeout()) { in getInactiveReasons()