/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
H A D | IpSecServiceTest.java | 125 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 D | IpSecServiceParameterizedTest.java | 69 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 D | IpSecServiceRefcountedResourceTest.java | 39 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 D | MockIpSecTestUtils.java | 37 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 D | VcnTestUtils.java | 24 import com.android.server.IpSecService; 35 public static IpSecManager setupIpSecManager(Context mockContext, IpSecService service) { in setupIpSecManager()
|
H A D | VcnGatewayConnectionTestBase.java | 60 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 D | IpSecManagerTest.java | 40 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 D | IpSecService.java | 96 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 D | OWNERS | 31 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 D | IkeUdpEncapSocketTest.java | 45 import com.android.server.IpSecService; 92 IpSecService ipSecService = mockIpSecTestUtils.getIpSecService(); in setUp()
|
H A D | SaRecordTest.java | 60 import com.android.server.IpSecService; 238 IpSecService mockIpSecService = mockIpSecTestUtils.getIpSecService(); in testMakeChildSaRecord()
|
H A D | ChildSessionStateMachineTest.java | 124 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 D | IkeSaPayloadTest.java | 67 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 D | VpnTest.java | 112 import com.android.server.IpSecService; 206 @Mock private IpSecService mIpSecService;
|
/aosp12/frameworks/base/services/java/com/android/server/ |
H A D | SystemServer.java | 1333 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 D | art-profile | 1791 HSPLcom/android/server/IpSecService$1;-><init>(Lcom/android/server/IpSecService;)V 1797 …IpSecService$EncapSocketRecord;->invalidate()V+]Lcom/android/server/IpSecService$EncapSocketRecord… 1802 …IpSecService$OwnedResourceRecord;-><init>(Lcom/android/server/IpSecService;I)V+]Lcom/android/serve… 1809 …IpSecService$RefcountedResource;->userRelease()V+]Landroid/os/IBinder;Landroid/os/Binder;]Lcom/and… 1812 …IpSecService$RefcountedResourceArray;->getResourceOrThrow(I)Lcom/android/server/IpSecService$IReso… 1825 …IpSecService$SpiRecord;->getResourceTracker()Lcom/android/server/IpSecService$ResourceTracker;+]Lc… 1827 …IpSecService$SpiRecord;->invalidate()V+]Lcom/android/server/IpSecService$SpiRecord;Lcom/android/se… 1830 …IpSecService$TransformRecord;-><init>(Lcom/android/server/IpSecService;ILandroid/net/IpSecConfig;L… 1863 HPLcom/android/server/IpSecService;->access$000(Lcom/android/server/IpSecService;)Lcom/android/serv… 1871 …IpSecService;->checkIpSecConfig(Landroid/net/IpSecConfig;)V+]Lcom/android/server/IpSecService;Lcom… [all …]
|