Home
last modified time | relevance | path

Searched refs:IpSecService (Results 1 – 16 of 16) sorted by relevance

/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/
H A DIpSecServiceTest.java125 IpSecService.IpSecServiceConfiguration mMockIpSecSrvConfig;
126 IpSecService mIpSecService;
132 mMockIpSecSrvConfig = mock(IpSecService.IpSecServiceConfiguration.class); in setUp()
133 mIpSecService = new IpSecService(mMockContext, mMockIpSecSrvConfig); in setUp()
141 IpSecService ipSecSrv = IpSecService.create(mMockContext); in testIpSecServiceCreate()
168 for (int i = 0; i < IpSecService.MAX_PORT_BIND_ATTEMPTS; i++) { in testOpenAndCloseUdpEncapsulationSocket()
188 IpSecService.UserRecord userRecord = in testOpenAndCloseUdpEncapsulationSocket()
204 IpSecService.UserRecord userRecord = in testUdpEncapsulationSocketBinderDeath()
206 IpSecService.RefcountedResource refcountedRecord = in testUdpEncapsulationSocketBinderDeath()
612 IpSecService.UidFdTagger mockTagger = mock(IpSecService.UidFdTagger.class);
[all …]
H A DIpSecServiceParameterizedTest.java69 import com.android.server.IpSecService.TunnelInterfaceRecord;
193 IpSecService.IpSecServiceConfiguration mMockIpSecSrvConfig;
194 IpSecService mIpSecService;
222 mMockIpSecSrvConfig = mock(IpSecService.IpSecServiceConfiguration.class); in setUp()
223 mIpSecService = new IpSecService(mTestContext, mMockIpSecSrvConfig); in setUp()
299 IpSecService.RefcountedResource refcountedRecord = in testSecurityParameterIndexBinderDeath()
576 IpSecService.RefcountedResource refcountedRecord = in testTransportModeTransformBinderDeath()
718 IpSecService.RefcountedResource refcountedRecord = in testCreateTunnelInterface()
772 final IpSecService.UserRecord userRecord = in testSetNetworkForTunnelInterface()
800 final IpSecService.UserRecord userRecord = in testSetNetworkForTunnelInterfaceFailsWhenSettingTunnelNetwork()
[all …]
H A DIpSecServiceRefcountedResourceTest.java39 import com.android.server.IpSecService.IResource;
40 import com.android.server.IpSecService.RefcountedResource;
60 IpSecService.IpSecServiceConfiguration mMockIpSecSrvConfig;
61 IpSecService mIpSecService;
66 mMockIpSecSrvConfig = mock(IpSecService.IpSecServiceConfiguration.class); in setUp()
67 mIpSecService = new IpSecService(mMockContext, mMockIpSecSrvConfig); in setUp()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
H A DMockIpSecTestUtils.java37 import com.android.server.IpSecService;
48 private IpSecService mMockIpSecService;
52 mMockIpSecService = mock(IpSecService.class); in MockIpSecTestUtils()
96 public IpSecService getIpSecService() { in getIpSecService()
/aosp12/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DVcnTestUtils.java24 import com.android.server.IpSecService;
35 public static IpSecManager setupIpSecManager(Context mockContext, IpSecService service) { in setupIpSecManager()
H A DVcnGatewayConnectionTestBase.java60 import com.android.server.IpSecService;
147 @NonNull protected final IpSecService mIpSecSvc;
168 mIpSecSvc = mock(IpSecService.class); in VcnGatewayConnectionTestBase()
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/
H A DIpSecManagerTest.java40 import com.android.server.IpSecService;
77 private IpSecService mMockIpSecService;
88 mMockIpSecService = mock(IpSecService.class); in setUp()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DIpSecService.java96 public class IpSecService extends IIpSecService.Stub { class
203 synchronized (IpSecService.this) { in RefcountedResource()
229 synchronized (IpSecService.this) { in binderDied()
1014 private IpSecService(Context context) { in IpSecService() method in IpSecService
1018 static IpSecService create(Context context) in create()
1020 final IpSecService service = new IpSecService(context); in create()
1034 public IpSecService(Context context, IpSecServiceConfiguration config) { in IpSecService() method in IpSecService
1050 public IpSecService(Context context, IpSecServiceConfiguration config, in IpSecService() method in IpSecService
1070 synchronized (IpSecService.this) { in connectNativeNetdService()
H A DOWNERS31 per-file IpSecService.java = file:/services/core/java/com/android/server/net/OWNERS
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
H A DIkeUdpEncapSocketTest.java45 import com.android.server.IpSecService;
92 IpSecService ipSecService = mockIpSecTestUtils.getIpSecService(); in setUp()
H A DSaRecordTest.java60 import com.android.server.IpSecService;
238 IpSecService mockIpSecService = mockIpSecTestUtils.getIpSecService(); in testMakeChildSaRecord()
H A DChildSessionStateMachineTest.java124 import com.android.server.IpSecService;
188 private IpSecService mMockIpSecService;
249 mMockIpSecService = mock(IpSecService.class); in setup()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeSaPayloadTest.java67 import com.android.server.IpSecService;
165 private IpSecService mMockIpSecService;
244 IpSecService mMockIpSecService = mMockIpSecTestUtils.getIpSecService(); in setUp()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
H A DVpnTest.java112 import com.android.server.IpSecService;
206 @Mock private IpSecService mIpSecService;
/aosp12/frameworks/base/services/java/com/android/server/
H A DSystemServer.java1333 IpSecService ipSecService = null; in startOtherServices()
1812 ipSecService = IpSecService.create(context); in startOtherServices()
2668 final IpSecService ipSecServiceF = ipSecService; in startOtherServices()
/aosp12/frameworks/base/services/
H A Dart-profile1791 HSPLcom/android/server/IpSecService$1;-><init>(Lcom/android/server/IpSecService;)V
1797IpSecService$EncapSocketRecord;->invalidate()V+]Lcom/android/server/IpSecService$EncapSocketRecord…
1802IpSecService$OwnedResourceRecord;-><init>(Lcom/android/server/IpSecService;I)V+]Lcom/android/serve…
1809IpSecService$RefcountedResource;->userRelease()V+]Landroid/os/IBinder;Landroid/os/Binder;]Lcom/and…
1812IpSecService$RefcountedResourceArray;->getResourceOrThrow(I)Lcom/android/server/IpSecService$IReso…
1825IpSecService$SpiRecord;->getResourceTracker()Lcom/android/server/IpSecService$ResourceTracker;+]Lc…
1827IpSecService$SpiRecord;->invalidate()V+]Lcom/android/server/IpSecService$SpiRecord;Lcom/android/se…
1830IpSecService$TransformRecord;-><init>(Lcom/android/server/IpSecService;ILandroid/net/IpSecConfig;L…
1863 HPLcom/android/server/IpSecService;->access$000(Lcom/android/server/IpSecService;)Lcom/android/serv…
1871IpSecService;->checkIpSecConfig(Landroid/net/IpSecConfig;)V+]Lcom/android/server/IpSecService;Lcom…
[all …]