Home
last modified time | relevance | path

Searched refs:softLifetimeSec (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSessionParams.java97 int softLifetimeSec, in ChildSessionParams() argument
103 mSoftLifetimeSec = softLifetimeSec; in ChildSessionParams()
210 protected void validateAndSetLifetime(int hardLifetimeSec, int softLifetimeSec) { in validateAndSetLifetime() argument
213 || softLifetimeSec < CHILD_SOFT_LIFETIME_SEC_MINIMUM in validateAndSetLifetime()
214 || hardLifetimeSec - softLifetimeSec < CHILD_LIFETIME_MARGIN_SEC_MINIMUM) { in validateAndSetLifetime()
DTransportModeChildSessionParams.java38 int softLifetimeSec) { in TransportModeChildSessionParams() argument
44 softLifetimeSec, in TransportModeChildSessionParams()
DTunnelModeChildSessionParams.java61 int softLifetimeSec) { in TunnelModeChildSessionParams() argument
67 softLifetimeSec, in TunnelModeChildSessionParams()
DIkeSessionParams.java173 int softLifetimeSec, in IkeSessionParams() argument
194 mSoftLifetimeSec = softLifetimeSec; in IkeSessionParams()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DTunnelModeChildSessionParamsTest.java121 int softLifetimeSec = (int) TimeUnit.HOURS.toSeconds(1L); in testBuildChildSessionParamsWithLifetime() local
126 .setLifetimeSeconds(hardLifetimeSec, softLifetimeSec) in testBuildChildSessionParamsWithLifetime()
133 assertEquals(softLifetimeSec, childParams.getSoftLifetimeSeconds()); in testBuildChildSessionParamsWithLifetime()
DIkeSessionParamsTest.java185 int softLifetimeSec = (int) TimeUnit.HOURS.toSeconds(10L); in testBuildWithPskAndLifetime() local
189 .setLifetimeSeconds(hardLifetimeSec, softLifetimeSec) in testBuildWithPskAndLifetime()
196 assertEquals(softLifetimeSec, sessionParams.getSoftLifetimeSeconds()); in testBuildWithPskAndLifetime()