Searched refs:IpSecTransform (Results 1 – 14 of 14) sorted by relevance
41 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()
40 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()
204 IpSecTransform dummyTransform = new IpSecTransform(null, dummyConfig); in testApplyTransportModeTransformEnsuresSocketCreation()
57 public final class IpSecTransform implements AutoCloseable { class92 public IpSecTransform(Context context, IpSecConfig config) { in IpSecTransform() method in IpSecTransform130 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 …]
360 @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()
34 private int mMode = IpSecTransform.MODE_TRANSPORT;62 private int mEncapType = IpSecTransform.ENCAP_NONE;292 .append(mMode == IpSecTransform.MODE_TUNNEL ? "TUNNEL" : "TRANSPORT") in toString()
38 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 …]
41 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()
41 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()
56 import android.net.IpSecTransform;2168 @NonNull Network network, @NonNull IpSecTransform transform, int direction);2339 @NonNull Network network, @NonNull IpSecTransform transform, int direction) {
6057 …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…
6109 …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…
30064 …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 …]
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...