Searched refs:hardLifetimeSeconds (Results 1 – 4 of 4) sorted by relevance
205 int hardLifetimeSeconds, in setLifetimeSeconds()210 validateAndSetLifetime(hardLifetimeSeconds, softLifetimeSeconds); in setLifetimeSeconds()211 mHardLifetimeSec = hardLifetimeSeconds; in setLifetimeSeconds()
348 int hardLifetimeSeconds, in setLifetimeSeconds()353 validateAndSetLifetime(hardLifetimeSeconds, softLifetimeSeconds); in setLifetimeSeconds()354 mHardLifetimeSec = hardLifetimeSeconds; in setLifetimeSeconds()
2006 int hardLifetimeSeconds, in setLifetimeSeconds()2009 if (hardLifetimeSeconds < IKE_HARD_LIFETIME_SEC_MINIMUM in setLifetimeSeconds()2010 || hardLifetimeSeconds > IKE_HARD_LIFETIME_SEC_MAXIMUM in setLifetimeSeconds()2012 || hardLifetimeSeconds - softLifetimeSeconds in setLifetimeSeconds()2017 mHardLifetimeSec = hardLifetimeSeconds; in setLifetimeSeconds()
1353 private boolean isValidChildSessionLifetime(int hardLifetimeSeconds, int softLifetimeSeconds) { in isValidChildSessionLifetime() argument1354 return hardLifetimeSeconds >= CHILD_HARD_LIFETIME_SEC_MINIMUM in isValidChildSessionLifetime()1355 && hardLifetimeSeconds <= CHILD_HARD_LIFETIME_SEC_MAXIMUM in isValidChildSessionLifetime()1357 && hardLifetimeSeconds - softLifetimeSeconds >= LIFETIME_MARGIN_SEC_MINIMUM; in isValidChildSessionLifetime()1360 private boolean isValidIkeSessionLifetime(int hardLifetimeSeconds, int softLifetimeSeconds) { in isValidIkeSessionLifetime() argument1361 return hardLifetimeSeconds >= IKE_HARD_LIFETIME_SEC_MINIMUM in isValidIkeSessionLifetime()1362 && hardLifetimeSeconds <= IKE_HARD_LIFETIME_SEC_MAXIMUM in isValidIkeSessionLifetime()1364 && hardLifetimeSeconds - softLifetimeSeconds >= LIFETIME_MARGIN_SEC_MINIMUM; in isValidIkeSessionLifetime()