/packages/modules/Connectivity/framework-t/src/android/net/ |
D | IpSecTransform.java | 58 public final class IpSecTransform implements AutoCloseable { class 93 public IpSecTransform(Context context, IpSecConfig config) { in IpSecTransform() method in IpSecTransform 124 private IpSecTransform activate() in activate() 149 if (!(other instanceof IpSecTransform)) return false; in equals() 150 final IpSecTransform rhs = (IpSecTransform) other; in equals() 291 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption() 306 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication() 327 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption() 347 public IpSecTransform.Builder setIpv4Encapsulation( in setIpv4Encapsulation() 381 public IpSecTransform buildTransportModeTransform( in buildTransportModeTransform() [all …]
|
D | IpSecManager.java | 406 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform() 443 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform() 490 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTransportModeTransform() 575 public void removeTunnelModeTransform(Network net, IpSecTransform transform) {} in removeTunnelModeTransform() 1005 @PolicyDirection int direction, @NonNull IpSecTransform transform) throws IOException { in applyTunnelModeTransform() 1048 @NonNull IpSecTransform transform, in startTunnelModeTransformMigration()
|
D | IpSecConfig.java | 34 private int mMode = IpSecTransform.MODE_TRANSPORT; 62 private int mEncapType = IpSecTransform.ENCAP_NONE; 292 .append(mMode == IpSecTransform.MODE_TUNNEL ? "TUNNEL" : "TRANSPORT") in toString()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | IpSecTransformTest.java | 116 IpSecTransform preModification = new IpSecTransform(null, config); in testCreateTransformCopiesConfig() 119 IpSecTransform postModification = new IpSecTransform(null, config); in testCreateTransformCopiesConfig() 132 IpSecTransform config1 = new IpSecTransform(null, config); in testCreateTransformsWithSameConfigEqual() 133 IpSecTransform config2 = new IpSecTransform(null, config); in testCreateTransformsWithSameConfigEqual() 138 private IpSecTransform buildTestTransform() throws Exception { in buildTestTransform() 141 return new IpSecTransform.Builder(mMockContext).buildTunnelModeTransform(SRC_ADDRESS, spi); in buildTestTransform()
|
D | IpSecConfigTest.java | 45 assertEquals(IpSecTransform.MODE_TRANSPORT, c.getMode()); in testDefaults() 49 assertEquals(IpSecTransform.ENCAP_NONE, c.getEncapType()); in testDefaults() 61 c.setMode(IpSecTransform.MODE_TUNNEL); in getSampleConfig()
|
D | IpSecManagerTest.java | 207 IpSecTransform dummyTransform = new IpSecTransform(null, dummyConfig); in testApplyTransportModeTransformEnsuresSocketCreation()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IpSecManagerTunnelTest.java | 54 import android.net.IpSecTransform; 254 IpSecTransform transform = in testSecurityExceptionBuildTunnelTransformWithoutAppop() 255 new IpSecTransform.Builder(sContext) in testSecurityExceptionBuildTunnelTransformWithoutAppop() 281 IpSecTransform inTunnelTransform, in run() 282 IpSecTransform outTunnelTransform, in run() 357 IpSecTransform inTransportTransform, in getIpSecTunnelTestRunnable() 358 IpSecTransform outTransportTransform, in getIpSecTunnelTestRunnable() 370 IpSecTransform inTransportTransform, in getIpSecTunnelTestRunnable() 371 IpSecTransform outTransportTransform, in getIpSecTunnelTestRunnable() 380 IpSecTransform inTunnelTransform, in getIpSecTunnelTestRunnable() [all …]
|
D | IpSecBaseTest.java | 35 import android.net.IpSecTransform; 134 IpSecTransform transform, in checkTransformState() 162 protected static void checkTransformStateNoTraffic(IpSecTransform transform) throws Exception { in checkTransformStateNoTraffic() 218 IpSecManager ism, int direction, IpSecTransform transform) throws Exception; in applyTransportModeTransform() 279 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() 366 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() 414 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() 566 IpSecManager ism, IpSecTransform transform, GenericSocket socket) throws Exception { in applyTransformBidirectionally() 573 InetAddress localAddr, IpSecManager ism, IpSecTransform transform, boolean connected) in getNativeUdpSocketPair() 596 InetAddress localAddr, IpSecManager ism, IpSecTransform transform) throws Exception { in getNativeTcpSocketPair() [all …]
|
D | IpSecAlgorithmImplTest.java | 54 import android.net.IpSecTransform; 139 final IpSecTransform.Builder transformBuilder = in runTest() 140 new IpSecTransform.Builder(InstrumentationRegistry.getContext()); in runTest() 156 IpSecTransform outTransform = in runTest() 158 IpSecTransform inTransform = in runTest()
|
D | IpSecManagerTest.java | 71 import android.net.IpSecTransform; 193 private void checkUnconnectedUdp(IpSecTransform transform, InetAddress local, int sendCount, in checkUnconnectedUdp() 223 private void checkTcp(IpSecTransform transform, InetAddress local, int sendCount, in checkTcp() 277 private IpSecTransform buildTransportModeTransform( in buildTransportModeTransform() 281 final IpSecTransform.Builder builder = in buildTransportModeTransform() 282 new IpSecTransform.Builder(InstrumentationRegistry.getContext()) in buildTransportModeTransform() 325 IpSecTransform transform = buildTransportModeTransform(spi, localAddr, in doTestCreateTransform() 609 IpSecTransform.Builder transformBuilder = 610 new IpSecTransform.Builder(InstrumentationRegistry.getContext()); 630 try (IpSecTransform transform = [all …]
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | ChildSessionCallback.java | 24 import android.net.IpSecTransform; 118 @NonNull IpSecTransform ipSecTransform, @PolicyDirection int direction); in onIpSecTransformCreated() 138 @NonNull IpSecTransform inIpSecTransform, @NonNull IpSecTransform outIpSecTransform) {} in onIpSecTransformsMigrated() 155 @NonNull IpSecTransform ipSecTransform, @PolicyDirection int direction); in onIpSecTransformDeleted()
|
/packages/modules/Connectivity/framework-t/api/ |
D | lint-baseline.txt | 18 BuilderSetStyle: android.net.IpSecTransform.Builder#buildTransportModeTransform(java.net.InetAddres… 19 …hould use setFoo() / addFoo() / clearFoo() style: method android.net.IpSecTransform.Builder.buildT… 22 EqualsAndHashCode: android.net.IpSecTransform#equals(Object): 23 Must override both equals and hashCode; missing one in android.net.IpSecTransform 36 GenericException: android.net.IpSecTransform#finalize(): 40 MissingBuildMethod: android.net.IpSecTransform.Builder: 41 …android.net.IpSecTransform.Builder does not declare a `build()` method, but builder classes are ex… 68 StaticFinalBuilder: android.net.IpSecTransform.Builder: 69 Builder must be final: android.net.IpSecTransform.Builder 76 …#applyTransportModeTransform(java.io.FileDescriptor, int, android.net.IpSecTransform) parameter #0: [all …]
|
D | current.txt | 98 …ortModeTransform(@NonNull java.net.Socket, int, @NonNull android.net.IpSecTransform) throws java.i… 99 …ransform(@NonNull java.net.DatagramSocket, int, @NonNull android.net.IpSecTransform) throws java.i… 100 …Transform(@NonNull java.io.FileDescriptor, int, @NonNull android.net.IpSecTransform) throws java.i… 128 public final class IpSecTransform implements java.lang.AutoCloseable { 133 public static class IpSecTransform.Builder { 134 ctor public IpSecTransform.Builder(@NonNull android.content.Context); 135 …method @NonNull public android.net.IpSecTransform buildTransportModeTransform(@NonNull java.net.In… 136 …method @NonNull public android.net.IpSecTransform.Builder setAuthenticatedEncryption(@NonNull andr… 137 …method @NonNull public android.net.IpSecTransform.Builder setAuthentication(@NonNull android.net.I… 138 …method @NonNull public android.net.IpSecTransform.Builder setEncryption(@NonNull android.net.IpSec… [all …]
|
D | module-lib-lint-baseline.txt | 10 …droid.net.IpSecManager#startTunnelModeTransformMigration(android.net.IpSecTransform, java.net.Inet… 11 …droid.net.IpSecManager.startTunnelModeTransformMigration(android.net.IpSecTransform, java.net.Inet…
|
D | system-lint-baseline.txt | 2 BuilderSetStyle: android.net.IpSecTransform.Builder#buildTunnelModeTransform(java.net.InetAddress, … 3 …hould use setFoo() / addFoo() / clearFoo() style: method android.net.IpSecTransform.Builder.buildT… 10 …droid.net.IpSecManager#startTunnelModeTransformMigration(android.net.IpSecTransform, java.net.Inet… 11 …droid.net.IpSecManager.startTunnelModeTransformMigration(android.net.IpSecTransform, java.net.Inet… 70 UnflaggedApi: android.net.IpSecTransform.Builder#buildTunnelModeTransform(java.net.InetAddress, and… 71 …New API must be flagged with @FlaggedApi: method android.net.IpSecTransform.Builder.buildTunnelMod…
|
/packages/modules/Connectivity/framework-t/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority-tiramisu.txt | 321 …yTunnelModeTransform(Landroid/net/IpSecManager$IpSecTunnelInterface;ILandroid/net/IpSecTransform;)V 327 …id/net/IpSecManager;->removeTunnelModeTransform(Landroid/net/Network;Landroid/net/IpSecTransform;)V 339 …t/IpSecTransform$Builder;->buildTunnelModeTransform(Ljava/net/InetAddress;Landroid/net/IpSecManage… 340 Landroid/net/IpSecTransform$Builder;->mConfig:Landroid/net/IpSecConfig; 341 Landroid/net/IpSecTransform$Builder;->mContext:Landroid/content/Context; 342 Landroid/net/IpSecTransform$NattKeepaliveCallback;-><init>()V 343 Landroid/net/IpSecTransform$NattKeepaliveCallback;->ERROR_HARDWARE_ERROR:I 344 Landroid/net/IpSecTransform$NattKeepaliveCallback;->ERROR_HARDWARE_UNSUPPORTED:I 345 Landroid/net/IpSecTransform$NattKeepaliveCallback;->ERROR_INVALID_NETWORK:I 346 Landroid/net/IpSecTransform$NattKeepaliveCallback;->onError(I)V [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | SaRecord.java | 27 import android.net.IpSecTransform; 427 IpSecTransform initTransform = null; in makeChildSaRecord() 429 IpSecTransform respTransform = null; in makeChildSaRecord() 461 IpSecTransform inTransform = isLocalInit ? respTransform : initTransform; in makeChildSaRecord() 462 IpSecTransform outTransform = isLocalInit ? initTransform : respTransform; in makeChildSaRecord() 496 public IpSecTransform makeIpSecTransform( in makeIpSecTransform() 507 IpSecTransform.Builder builder = new IpSecTransform.Builder(context); in makeIpSecTransform() 979 private final IpSecTransform mInboundTransform; 981 private final IpSecTransform mOutboundTransform; 994 IpSecTransform inTransform, in ChildSaRecord() [all …]
|
D | ChildSessionStateMachine.java | 55 import android.net.IpSecTransform; 637 private final IpSecTransform mOut; 638 private final IpSecTransform mIn; 653 private final IpSecTransform mOut; 654 private final IpSecTransform mIn; 1748 IpSecTransform inTransform = mLocalInitNewChildSaRecord.getInboundIpSecTransform(); in notifyCallerForLocalChildSaRekey() 1749 IpSecTransform outTransform = mLocalInitNewChildSaRecord.getOutboundIpSecTransform(); in notifyCallerForLocalChildSaRekey() 1925 IpSecTransform inTransform = in handleCreateChildRequest() 2203 IpSecTransform outTransform = mRemoteInitNewChildSaRecord.getOutboundIpSecTransform(); in finishRekey()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | IkeSessionTestBase.java | 32 import android.net.IpSecTransform; 448 public void onIpSecTransformCreated(@NonNull IpSecTransform ipSecTransform, int direction) { 455 IpSecTransform inIpSecTransform, IpSecTransform outIpSecTransform) { 468 public void onIpSecTransformDeleted(@NonNull IpSecTransform ipSecTransform, int direction) { 534 public final IpSecTransform ipSecTransform; 537 IpSecTransformCallRecord(IpSecTransform ipSecTransform, @PolicyDirection int direction) { 626 IpSecTransform transformA = transformRecordA.ipSecTransform; 627 IpSecTransform transformB = transformRecordB.ipSecTransform;
|
D | IkeTestNetworkBase.java | 23 import android.net.IpSecTransform; 145 IpSecTransform inTransform, in TunIpSecNetworkWrapper() 146 IpSecTransform outTransform) in TunIpSecNetworkWrapper()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | SaRecordTest.java | 38 import android.net.IpSecTransform; 262 IpSecTransform mockInTransform = mock(IpSecTransform.class); in testMakeChildSaRecord() 263 IpSecTransform mockOutTransform = mock(IpSecTransform.class); in testMakeChildSaRecord()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | IpSecService.java | 43 import android.net.IpSecTransform; 655 if (mConfig.getMode() != IpSecTransform.MODE_TUNNEL) { in verifyTunnelModeOrThrow() 1621 case IpSecTransform.ENCAP_NONE: in checkIpSecConfig() 1623 case IpSecTransform.ENCAP_ESPINUDP: in checkIpSecConfig() 1624 case IpSecTransform.ENCAP_ESPINUDP_NON_IKE: in checkIpSecConfig() 1686 case IpSecTransform.MODE_TRANSPORT: in checkIpSecConfig() 1688 case IpSecTransform.MODE_TUNNEL: in checkIpSecConfig() 1733 if (encapType != IpSecTransform.ENCAP_NONE) { in createOrUpdateTransform() 1783 if (c.getMode() == IpSecTransform.MODE_TUNNEL) { in createTransform() 1798 if (c.getEncapType() != IpSecTransform.ENCAP_NONE) { in createTransform() [all …]
|
/packages/modules/Connectivity/tools/testdata/java/android/net/ |
D | IpSecTransform.java | 22 public class IpSecTransform { class
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 61 import android.net.IpSecTransform; 369 config.setEncapType(IpSecTransform.ENCAP_ESPINUDP); in addEncapSocketToIpSecConfig() 442 ipSecConfig.setMode(IpSecTransform.MODE_TRANSPORT); in testCreateTransportModeTransformWithEncap() 468 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in testCreateTunnelModeTransformWithEncap() 1010 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in verifyApplyTunnelModeTransformCommon() 1064 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in testApplyTunnelModeTransformWithClosedSpi()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgTunnelManager.java | 31 import android.net.IpSecTransform; 649 IpSecTransform inIpSecTransform, IpSecTransform outIpSecTransform) { in onIpSecTransformsMigrated() 671 public void onIpSecTransformCreated(IpSecTransform ipSecTransform, int direction) { in onIpSecTransformCreated() 687 public void onIpSecTransformDeleted(IpSecTransform ipSecTransform, int direction) { in onIpSecTransformDeleted() 2192 IpSecTransform transform = transformData.getTransform(); in handleMessage() 2742 private final IpSecTransform mTransform; 2746 IpSecTransform transform, int direction, String apnName, int token) { in IpsecTransformData() 2752 public IpSecTransform getTransform() { in getTransform()
|