Home
last modified time | relevance | path

Searched refs:IpSecTransform (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DIpSecTransformTest.java41 IpSecTransform preModification = new IpSecTransform(null, config); in testCreateTransformCopiesConfig()
44 IpSecTransform postModification = new IpSecTransform(null, config); in testCreateTransformCopiesConfig()
57 IpSecTransform config1 = new IpSecTransform(null, config); in testCreateTransformsWithSameConfigEqual()
58 IpSecTransform config2 = new IpSecTransform(null, config); in testCreateTransformsWithSameConfigEqual()
DIpSecConfigTest.java40 assertEquals(IpSecTransform.MODE_TRANSPORT, c.getMode()); in testDefaults()
44 assertEquals(IpSecTransform.ENCAP_NONE, c.getEncapType()); in testDefaults()
56 c.setMode(IpSecTransform.MODE_TUNNEL); in getSampleConfig()
DIpSecManagerTest.java204 IpSecTransform dummyTransform = new IpSecTransform(null, dummyConfig); in testApplyTransportModeTransformEnsuresSocketCreation()
/frameworks/base/core/java/android/net/
DIpSecTransform.java57 public final class IpSecTransform implements AutoCloseable { class
92 public IpSecTransform(Context context, IpSecConfig config) { in IpSecTransform() method in IpSecTransform
130 private IpSecTransform activate() in activate()
158 if (!(other instanceof IpSecTransform)) return false; in equals()
159 final IpSecTransform rhs = (IpSecTransform) other; in equals()
359 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption()
374 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication()
395 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption()
415 public IpSecTransform.Builder setIpv4Encapsulation( in setIpv4Encapsulation()
449 public IpSecTransform buildTransportModeTransform( in buildTransportModeTransform()
[all …]
DIpSecManager.java360 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform()
397 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform()
444 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform()
529 public void removeTunnelModeTransform(Network net, IpSecTransform transform) {} in removeTunnelModeTransform()
921 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTunnelModeTransform()
DIpSecConfig.java34 private int mMode = IpSecTransform.MODE_TRANSPORT;
62 private int mEncapType = IpSecTransform.ENCAP_NONE;
292 .append(mMode == IpSecTransform.MODE_TUNNEL ? "TUNNEL" : "TRANSPORT") in toString()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java38 import android.net.IpSecTransform;
1487 case IpSecTransform.ENCAP_NONE: in checkIpSecConfig()
1489 case IpSecTransform.ENCAP_ESPINUDP: in checkIpSecConfig()
1490 case IpSecTransform.ENCAP_ESPINUDP_NON_IKE: in checkIpSecConfig()
1547 if (config.getEncapType() != IpSecTransform.ENCAP_NONE && sourceFamily != AF_INET) { in checkIpSecConfig()
1553 case IpSecTransform.MODE_TRANSPORT: in checkIpSecConfig()
1555 case IpSecTransform.MODE_TUNNEL: in checkIpSecConfig()
1592 if (encapType != IpSecTransform.ENCAP_NONE) { in createOrUpdateTransform()
1644 if (c.getMode() == IpSecTransform.MODE_TUNNEL) { in createTransform()
1659 if (c.getEncapType() != IpSecTransform.ENCAP_NONE) { in createTransform()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java41 import android.net.IpSecTransform;
293 config.setEncapType(IpSecTransform.ENCAP_ESPINUDP); in addEncapSocketToIpSecConfig()
366 ipSecConfig.setMode(IpSecTransform.MODE_TRANSPORT); in testCreateTransportModeTransformWithEncap()
392 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in testCreateTunnelModeTransformWithEncap()
716 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in verifyApplyTunnelModeTransformCommon()
756 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in testApplyTunnelModeTransformWithClosedSpi()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java41 import android.net.IpSecTransform;
319 public void onIpSecTransformCreated(@NonNull IpSecTransform transform, int direction) { in onIpSecTransformCreated()
325 public void onIpSecTransformDeleted(@NonNull IpSecTransform transform, int direction) { in onIpSecTransformDeleted()
DVpn.java56 import android.net.IpSecTransform;
2168 @NonNull Network network, @NonNull IpSecTransform transform, int direction);
2339 @NonNull Network network, @NonNull IpSecTransform transform, int direction) {
/frameworks/base/non-updatable-api/
Dsystem-current.txt6057 …oid.net.IpSecManager.IpSecTunnelInterface, int, @NonNull android.net.IpSecTransform) throws java.i…
6068 public static class IpSecTransform.Builder {
6069 …android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public android.net.IpSecTransform buildTunnelMod…
/frameworks/base/api/
Dsystem-current.txt6109 …oid.net.IpSecManager.IpSecTunnelInterface, int, @NonNull android.net.IpSecTransform) throws java.i…
6120 public static class IpSecTransform.Builder {
6121 …android.Manifest.permission.MANAGE_IPSEC_TUNNELS) public android.net.IpSecTransform buildTunnelMod…
Dcurrent.txt30064 …ortModeTransform(@NonNull java.net.Socket, int, @NonNull android.net.IpSecTransform) throws java.i…
30065 …ransform(@NonNull java.net.DatagramSocket, int, @NonNull android.net.IpSecTransform) throws java.i…
30066 …Transform(@NonNull java.io.FileDescriptor, int, @NonNull android.net.IpSecTransform) throws java.i…
30094 public final class IpSecTransform implements java.lang.AutoCloseable {
30098 public static class IpSecTransform.Builder {
30099 ctor public IpSecTransform.Builder(@NonNull android.content.Context);
30100 …method @NonNull public android.net.IpSecTransform buildTransportModeTransform(@NonNull java.net.In…
30101 …method @NonNull public android.net.IpSecTransform.Builder setAuthenticatedEncryption(@NonNull andr…
30102 …method @NonNull public android.net.IpSecTransform.Builder setAuthentication(@NonNull android.net.I…
30103 …method @NonNull public android.net.IpSecTransform.Builder setEncryption(@NonNull android.net.IpSec…
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...