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.java2006 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()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java1353 private boolean isValidChildSessionLifetime(int hardLifetimeSeconds, int softLifetimeSeconds) { in isValidChildSessionLifetime() argument
1354 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() argument
1361 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()