Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DTransportModeChildSessionParams.java205 int hardLifetimeSeconds, in setLifetimeSeconds()
210 validateAndSetLifetime(hardLifetimeSeconds, softLifetimeSeconds); in setLifetimeSeconds()
211 mHardLifetimeSec = hardLifetimeSeconds; in setLifetimeSeconds()
DTunnelModeChildSessionParams.java348 int hardLifetimeSeconds, in setLifetimeSeconds()
353 validateAndSetLifetime(hardLifetimeSeconds, softLifetimeSeconds); in setLifetimeSeconds()
354 mHardLifetimeSec = hardLifetimeSeconds; in setLifetimeSeconds()
DIkeSessionParams.java1630 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()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java964 private boolean isValidChildSessionLifetime(int hardLifetimeSeconds, int softLifetimeSeconds) { in isValidChildSessionLifetime() argument
965 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() argument
975 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()