Searched refs:IpSecTransform (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | IpSecTransformTest.java | 41 IpSecTransform preModification = new IpSecTransform(null, config); in testCreateTransformCopiesConfig() 44 IpSecTransform postModification = new IpSecTransform(null, config); in testCreateTransformCopiesConfig() 46 assertFalse(IpSecTransform.equals(preModification, postModification)); in testCreateTransformCopiesConfig() 57 IpSecTransform config1 = new IpSecTransform(null, config); in testCreateTransformsWithSameConfigEqual() 58 IpSecTransform config2 = new IpSecTransform(null, config); in testCreateTransformsWithSameConfigEqual() 60 assertTrue(IpSecTransform.equals(config1, config2)); in testCreateTransformsWithSameConfigEqual()
|
D | IpSecConfigTest.java | 39 assertEquals(IpSecTransform.MODE_TRANSPORT, c.getMode()); in testDefaults() 43 assertEquals(IpSecTransform.ENCAP_NONE, c.getEncapType()); in testDefaults() 54 c.setMode(IpSecTransform.MODE_TUNNEL); in getSampleConfig()
|
D | IpSecManagerTest.java | 202 IpSecTransform dummyTransform = new IpSecTransform(null, dummyConfig); in testApplyTransportModeTransformEnsuresSocketCreation()
|
/frameworks/base/core/java/android/net/ |
D | IpSecTransform.java | 54 public final class IpSecTransform implements AutoCloseable { class 89 public IpSecTransform(Context context, IpSecConfig config) { in IpSecTransform() method in IpSecTransform 127 private IpSecTransform activate() in activate() 156 public static boolean equals(IpSecTransform lhs, IpSecTransform rhs) { in equals() 358 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption() 373 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication() 394 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption() 414 public IpSecTransform.Builder setIpv4Encapsulation( in setIpv4Encapsulation() 448 public IpSecTransform buildTransportModeTransform( in buildTransportModeTransform() 462 return new IpSecTransform(mContext, mConfig).activate(); in buildTransportModeTransform() [all …]
|
D | IpSecManager.java | 364 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform() 401 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform() 448 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform() 533 public void removeTunnelModeTransform(Network net, IpSecTransform transform) {} in removeTunnelModeTransform() 915 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTunnelModeTransform()
|
D | IpSecConfig.java | 33 private int mMode = IpSecTransform.MODE_TRANSPORT; 61 private int mEncapType = IpSecTransform.ENCAP_NONE; 265 .append(mMode == IpSecTransform.MODE_TUNNEL ? "TUNNEL" : "TRANSPORT") in toString()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 37 import android.net.IpSecTransform; 1428 case IpSecTransform.ENCAP_NONE: in checkIpSecConfig() 1430 case IpSecTransform.ENCAP_ESPINUDP: in checkIpSecConfig() 1431 case IpSecTransform.ENCAP_ESPINUDP_NON_IKE: in checkIpSecConfig() 1474 case IpSecTransform.MODE_TRANSPORT: in checkIpSecConfig() 1476 case IpSecTransform.MODE_TUNNEL: in checkIpSecConfig() 1505 if (encapType != IpSecTransform.ENCAP_NONE) { in createOrUpdateTransform() 1556 if (c.getMode() == IpSecTransform.MODE_TUNNEL) { in createTransform() 1571 if (c.getEncapType() != IpSecTransform.ENCAP_NONE) { in createTransform() 1628 c.getMode() == IpSecTransform.MODE_TRANSPORT, in applyTransportModeTransform() [all …]
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceTest.java | 42 import android.net.IpSecTransform;
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 25372 …/IpSecManager;->applyTransportModeTransform(Ljava/io/FileDescriptor;ILandroid/net/IpSecTransform;)V 25373 …IpSecManager;->applyTransportModeTransform(Ljava/net/DatagramSocket;ILandroid/net/IpSecTransform;)V 25374 …oid/net/IpSecManager;->applyTransportModeTransform(Ljava/net/Socket;ILandroid/net/IpSecTransform;)V 25383 Landroid/net/IpSecTransform$Builder; 25384 Landroid/net/IpSecTransform$Builder;-><init>(Landroid/content/Context;)V 25385 …IpSecTransform$Builder;->buildTransportModeTransform(Ljava/net/InetAddress;Landroid/net/IpSecManag… 25386 Landroid/net/IpSecTransform$Builder;->setAuthenticatedEncryption(Landroid/net/IpSecAlgorithm;)Landr… 25387 Landroid/net/IpSecTransform$Builder;->setAuthentication(Landroid/net/IpSecAlgorithm;)Landroid/net/I… 25388 Landroid/net/IpSecTransform$Builder;->setEncryption(Landroid/net/IpSecAlgorithm;)Landroid/net/IpSec… 25389 Landroid/net/IpSecTransform$Builder;->setIpv4Encapsulation(Landroid/net/IpSecManager$UdpEncapsulati… [all …]
|
/frameworks/base/api/ |
D | current.txt | 27022 …method public void applyTransportModeTransform(java.net.Socket, int, android.net.IpSecTransform) t… 27023 …pplyTransportModeTransform(java.net.DatagramSocket, int, android.net.IpSecTransform) throws java.i… 27024 …applyTransportModeTransform(java.io.FileDescriptor, int, android.net.IpSecTransform) throws java.i… 27052 public final class IpSecTransform implements java.lang.AutoCloseable { 27056 public static class IpSecTransform.Builder { 27057 ctor public IpSecTransform.Builder(android.content.Context); 27058 …method public android.net.IpSecTransform buildTransportModeTransform(java.net.InetAddress, android… 27059 …method public android.net.IpSecTransform.Builder setAuthenticatedEncryption(android.net.IpSecAlgor… 27060 method public android.net.IpSecTransform.Builder setAuthentication(android.net.IpSecAlgorithm); 27061 method public android.net.IpSecTransform.Builder setEncryption(android.net.IpSecAlgorithm); [all …]
|