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()
1630 int hardLifetimeSeconds, in setLifetimeSeconds()1633 if (hardLifetimeSeconds < IKE_HARD_LIFETIME_SEC_MINIMUM in setLifetimeSeconds()1634 || hardLifetimeSeconds > IKE_HARD_LIFETIME_SEC_MAXIMUM in setLifetimeSeconds()1636 || hardLifetimeSeconds - softLifetimeSeconds in setLifetimeSeconds()1641 mHardLifetimeSec = hardLifetimeSeconds; in setLifetimeSeconds()
964 private boolean isValidChildSessionLifetime(int hardLifetimeSeconds, int softLifetimeSeconds) { in isValidChildSessionLifetime() argument965 if (hardLifetimeSeconds < CHILD_HARD_LIFETIME_SEC_MINIMUM in isValidChildSessionLifetime()966 || hardLifetimeSeconds > CHILD_HARD_LIFETIME_SEC_MAXIMUM in isValidChildSessionLifetime()968 || hardLifetimeSeconds - softLifetimeSeconds < LIFETIME_MARGIN_SEC_MINIMUM) { in isValidChildSessionLifetime()974 private boolean isValidIkeSessionLifetime(int hardLifetimeSeconds, int softLifetimeSeconds) { in isValidIkeSessionLifetime() argument975 if (hardLifetimeSeconds < IKE_HARD_LIFETIME_SEC_MINIMUM in isValidIkeSessionLifetime()976 || hardLifetimeSeconds > IKE_HARD_LIFETIME_SEC_MAXIMUM in isValidIkeSessionLifetime()978 || hardLifetimeSeconds - softLifetimeSeconds < LIFETIME_MARGIN_SEC_MINIMUM) { in isValidIkeSessionLifetime()