Home
last modified time | relevance | path

Searched refs:softLifetimeSeconds (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DTransportModeChildSessionParams.java209 int softLifetimeSeconds) { in setLifetimeSeconds()
210 validateAndSetLifetime(hardLifetimeSeconds, softLifetimeSeconds); in setLifetimeSeconds()
212 mSoftLifetimeSec = softLifetimeSeconds; in setLifetimeSeconds()
DTunnelModeChildSessionParams.java352 int softLifetimeSeconds) { in setLifetimeSeconds()
353 validateAndSetLifetime(hardLifetimeSeconds, softLifetimeSeconds); in setLifetimeSeconds()
355 mSoftLifetimeSec = softLifetimeSeconds; in setLifetimeSeconds()
DIkeSessionParams.java1632 int softLifetimeSeconds) { in setLifetimeSeconds()
1635 || softLifetimeSeconds < IKE_SOFT_LIFETIME_SEC_MINIMUM in setLifetimeSeconds()
1636 || hardLifetimeSeconds - softLifetimeSeconds in setLifetimeSeconds()
1642 mSoftLifetimeSec = softLifetimeSeconds; in setLifetimeSeconds()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java964 private boolean isValidChildSessionLifetime(int hardLifetimeSeconds, int softLifetimeSeconds) { in isValidChildSessionLifetime() argument
967 || softLifetimeSeconds < CHILD_SOFT_LIFETIME_SEC_MINIMUM in isValidChildSessionLifetime()
968 || hardLifetimeSeconds - softLifetimeSeconds < LIFETIME_MARGIN_SEC_MINIMUM) { in isValidChildSessionLifetime()
974 private boolean isValidIkeSessionLifetime(int hardLifetimeSeconds, int softLifetimeSeconds) { in isValidIkeSessionLifetime() argument
977 || softLifetimeSeconds < IKE_SOFT_LIFETIME_SEC_MINIMUM in isValidIkeSessionLifetime()
978 || hardLifetimeSeconds - softLifetimeSeconds < LIFETIME_MARGIN_SEC_MINIMUM) { in isValidIkeSessionLifetime()