Home
last modified time | relevance | path

Searched refs:nextAlarmTime (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStrongAuthTest.java94 final long nextAlarmTime = 1000; in testScheduleNonStrongBiometricIdleTimeout() local
96 .thenReturn(nextAlarmTime); in testScheduleNonStrongBiometricIdleTimeout()
105 verifyAlarm(nextAlarmTime, NON_STRONG_BIOMETRIC_IDLE_TIMEOUT_ALARM_TAG, alarm); in testScheduleNonStrongBiometricIdleTimeout()
120 final long nextAlarmTime = 1000; in testReportSuccessfulBiometricUnlock_nonStrongBiometric_fallbackTimeout() local
122 .thenReturn(nextAlarmTime); in testReportSuccessfulBiometricUnlock_nonStrongBiometric_fallbackTimeout()
131 verifyAlarm(nextAlarmTime, NON_STRONG_BIOMETRIC_TIMEOUT_ALARM_TAG, alarm); in testReportSuccessfulBiometricUnlock_nonStrongBiometric_fallbackTimeout()
174 final long nextAlarmTime = currentTime + timeout; in testReportSuccessfulStrongAuthUnlock_schedulePrimaryAuthTimeout() local
185 verifyAlarm(nextAlarmTime, STRONG_AUTH_TIMEOUT_ALARM_TAG, alarm); in testReportSuccessfulStrongAuthUnlock_schedulePrimaryAuthTimeout()
192 final long nextAlarmTime = currentTime + oldTimeout; in testReportSuccessfulStrongAuthUnlock_testRefreshStrongAuthTimeout() local
201 verifyAlarm(nextAlarmTime, STRONG_AUTH_TIMEOUT_ALARM_TAG, alarm); in testReportSuccessfulStrongAuthUnlock_testRefreshStrongAuthTimeout()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java265 long nextAlarmTime = strongAuthTime + dpm.getRequiredStrongAuthTimeout(null, userId); in rescheduleStrongAuthTimeoutAlarm() local
268 mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextAlarmTime, in rescheduleStrongAuthTimeoutAlarm()
293 long nextAlarmTime = mInjector.getNextAlarmTimeMs(DEFAULT_NON_STRONG_BIOMETRIC_TIMEOUT_MS); in handleScheduleNonStrongBiometricTimeout() local
310 mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextAlarmTime, in handleScheduleNonStrongBiometricTimeout()
387 long nextAlarmTime = in handleScheduleNonStrongBiometricIdleTimeout() local
401 mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextAlarmTime, in handleScheduleNonStrongBiometricIdleTimeout()
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java658 final long nextAlarmTime = mClock.elapsedRealtime() + mStandbyTimeoutConfig; in scheduleStandbyTimeoutAlarmLocked() local
660 nextAlarmTime, "LowPowerStandbyController.StandbyTimeout", in scheduleStandbyTimeoutAlarmLocked()