Home
last modified time | relevance | path

Searched refs:CHILD_HARD_LIFETIME_SEC_MAXIMUM (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSessionParams.java59 protected static final int CHILD_HARD_LIFETIME_SEC_MAXIMUM = 14400; // 4 hours field in ChildSessionParams
235 @IntRange(from = CHILD_HARD_LIFETIME_SEC_MINIMUM, to = CHILD_HARD_LIFETIME_SEC_MAXIMUM)
243 @IntRange(from = CHILD_SOFT_LIFETIME_SEC_MINIMUM, to = CHILD_HARD_LIFETIME_SEC_MAXIMUM)
346 || hardLifetimeSec > CHILD_HARD_LIFETIME_SEC_MAXIMUM in validateAndSetLifetime()
DTransportModeChildSessionParams.java204 to = CHILD_HARD_LIFETIME_SEC_MAXIMUM) in setLifetimeSeconds()
208 to = CHILD_HARD_LIFETIME_SEC_MAXIMUM) in setLifetimeSeconds()
DTunnelModeChildSessionParams.java347 to = CHILD_HARD_LIFETIME_SEC_MAXIMUM) in setLifetimeSeconds()
351 to = CHILD_HARD_LIFETIME_SEC_MAXIMUM) in setLifetimeSeconds()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DTunnelModeChildSessionParamsTest.java20 import static android.net.ipsec.test.ike.ChildSessionParams.CHILD_HARD_LIFETIME_SEC_MAXIMUM;
230 CHILD_HARD_LIFETIME_SEC_MAXIMUM + 1, CHILD_SOFT_LIFETIME_SEC_DEFAULT); in testSetHardLifetimeTooLong()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java136 private static final int CHILD_HARD_LIFETIME_SEC_MAXIMUM = 14400; field in EpdgTunnelManager
970 if (hardTimeSeconds > CHILD_HARD_LIFETIME_SEC_MAXIMUM in buildChildSessionParams()
972 hardTimeSeconds = CHILD_HARD_LIFETIME_SEC_MAXIMUM; in buildChildSessionParams()
973 softTimeSeconds = CHILD_HARD_LIFETIME_SEC_MAXIMUM - LIFETIME_MARGIN_SEC_MINIMUM; in buildChildSessionParams()
1355 && hardLifetimeSeconds <= CHILD_HARD_LIFETIME_SEC_MAXIMUM in isValidChildSessionLifetime()