Home
last modified time | relevance | path

Searched refs:encapType (Results 1 – 24 of 24) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSession.java365 @IkeSessionParams.EspEncapType int encapType, in setNetwork() argument
371 if ((ipVersion == ESP_IP_VERSION_IPV4 && encapType == ESP_ENCAP_TYPE_NONE) in setNetwork()
372 || (ipVersion == ESP_IP_VERSION_IPV6 && encapType == ESP_ENCAP_TYPE_UDP)) { in setNetwork()
378 ipVersion, encapType, keepaliveDelaySeconds); in setNetwork() local
DIkeSessionParams.java2120 public Builder setEncapType(@EspEncapType int encapType) { in setEncapType() argument
2121 if (ESP_ENCAP_TYPE_AUTO != encapType in setEncapType()
2122 && ESP_ENCAP_TYPE_NONE != encapType in setEncapType()
2123 && ESP_ENCAP_TYPE_UDP != encapType) { in setEncapType()
2124 throw new IllegalArgumentException("Invalid encap type : " + encapType); in setEncapType()
2126 mEncapType = encapType; in setEncapType()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecConfig.java116 public void setEncapType(int encapType) { in setEncapType() argument
117 mEncapType = encapType; in setEncapType()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java908 @IkeSessionParams.EspEncapType int encapType, in setNetwork() argument
920 if (encapType != ESP_ENCAP_TYPE_AUTO in setNetwork()
921 && encapType != ESP_ENCAP_TYPE_NONE in setNetwork()
922 && encapType != ESP_ENCAP_TYPE_UDP) { in setNetwork()
923 throw new IllegalArgumentException("Invalid encap type: " + encapType); in setNetwork()
945 new NetworkParams(network, ipVersion, encapType, keepaliveDelaySeconds)); in setNetwork()
987 public final int encapType; field in IkeSessionStateMachine.NetworkParams
989 NetworkParams(Network network, int ipVersion, int encapType, in NetworkParams() argument
993 this.encapType = encapType; in NetworkParams()
1522 params.encapType, in processStateMessage()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java646 int encapType, in onNetworkSetByUser() argument
664 + encapType in onNetworkSetByUser()
690 mEncapType = encapType; in onNetworkSetByUser()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl23 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/service-t/src/com/android/server/
DIpSecService.java1732 int encapType = c.getEncapType(), encapLocalPort = 0, encapRemotePort = 0; in createOrUpdateTransform() local
1733 if (encapType != IpSecTransform.ENCAP_NONE) { in createOrUpdateTransform()
1767 encapType, in createOrUpdateTransform()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl41 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl40 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/13/android/net/
DINetd.aidl63 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/7/android/net/
DINetd.aidl63 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/6/android/net/
DINetd.aidl63 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/
DINetd.aidl310 int encapType, in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/10/android/net/
DINetd.aidl63 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl66 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/8/android/net/
DINetd.aidl63 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/14/android/net/
DINetd.aidl66 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/9/android/net/
DINetd.aidl63 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl41 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/5/android/net/
DINetd.aidl41 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/15/android/net/
DINetd.aidl66 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/11/android/net/
DINetd.aidl63 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/12/android/net/
DINetd.aidl63 … @utf8InCpp String aeadAlgo, in byte[] aeadKey, in int aeadIcvBits, int encapType, int encapLocalP… in ipSecAddSecurityAssociation() argument
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java453 int ipVersion, int encapType, boolean remoteHasV4, boolean remoteHasV6, in verifyIpFamilySelection() argument
489 when(mMockIkeParams.getEncapType()).thenReturn(encapType); in verifyIpFamilySelection()