/frameworks/base/tests/net/java/android/net/ |
D | IpSecManagerTest.java | 75 private IpSecManager mIpSecManager; 86 mIpSecManager = new IpSecManager(mMockContext, mMockIpSecService); in setUp() 96 new IpSecSpiResponse(IpSecManager.Status.OK, DUMMY_RESOURCE_ID, DROID_SPI); in testAllocSpi() 103 IpSecManager.SecurityParameterIndex droidSpi = in testAllocSpi() 115 new IpSecSpiResponse(IpSecManager.Status.OK, DUMMY_RESOURCE_ID, DROID_SPI); in testAllocRandomSpi() 118 eq(IpSecManager.INVALID_SECURITY_PARAMETER_INDEX), in testAllocRandomSpi() 122 IpSecManager.SecurityParameterIndex randomSpi = in testAllocRandomSpi() 138 new IpSecSpiResponse(IpSecManager.Status.RESOURCE_UNAVAILABLE, 0, 0); in testAllocSpiResUnavailableException() 146 } catch (IpSecManager.ResourceUnavailableException e) { in testAllocSpiResUnavailableException() 155 IpSecSpiResponse spiResp = new IpSecSpiResponse(IpSecManager.Status.SPI_UNAVAILABLE, 0, 0); in testAllocSpiSpiUnavailableException() [all …]
|
D | IpSecConfigTest.java | 45 assertEquals(IpSecManager.INVALID_RESOURCE_ID, c.getEncapSocketResourceId()); in testDefaults() 50 assertEquals(IpSecManager.INVALID_RESOURCE_ID, c.getSpiResourceId()); in testDefaults()
|
/frameworks/base/core/java/android/net/ |
D | IpSecTransform.java | 18 import static android.net.IpSecManager.INVALID_RESOURCE_ID; 112 throws IOException, IpSecManager.ResourceUnavailableException, in checkResultStatus() 113 IpSecManager.SpiUnavailableException { in checkResultStatus() 115 case IpSecManager.Status.OK: in checkResultStatus() 118 case IpSecManager.Status.RESOURCE_UNAVAILABLE: in checkResultStatus() 119 throw new IpSecManager.ResourceUnavailableException( in checkResultStatus() 121 case IpSecManager.Status.SPI_UNAVAILABLE: in checkResultStatus() 131 throws IOException, IpSecManager.ResourceUnavailableException, in activate() 132 IpSecManager.SpiUnavailableException { in activate() 144 throw IpSecManager.rethrowUncheckedExceptionFromServiceSpecificException(e); in activate() [all …]
|
D | IpSecUdpEncapResponse.java | 59 if (inStatus == IpSecManager.Status.OK) { in IpSecUdpEncapResponse() 63 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecUdpEncapResponse() 70 if (inStatus == IpSecManager.Status.OK && inFd == null) { in IpSecUdpEncapResponse() 76 fileDescriptor = (status == IpSecManager.Status.OK) ? ParcelFileDescriptor.dup(inFd) : null; in IpSecUdpEncapResponse()
|
D | IpSecSpiResponse.java | 54 if (inStatus == IpSecManager.Status.OK) { in IpSecSpiResponse() 58 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecSpiResponse() 59 spi = IpSecManager.INVALID_SECURITY_PARAMETER_INDEX; in IpSecSpiResponse()
|
D | IpSecTransformResponse.java | 46 if (inStatus == IpSecManager.Status.OK) { in IpSecTransformResponse() 50 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecTransformResponse()
|
D | IpSecTunnelInterfaceResponse.java | 48 if (inStatus == IpSecManager.Status.OK) { in IpSecTunnelInterfaceResponse() 52 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecTunnelInterfaceResponse()
|
D | IpSecManager.java | 60 public final class IpSecManager { class 277 IpSecManager.INVALID_SECURITY_PARAMETER_INDEX); in allocateSecurityParameterIndex() 307 if (requestedSpi == IpSecManager.INVALID_SECURITY_PARAMETER_INDEX) { in allocateSecurityParameterIndex() 939 public IpSecManager(Context ctx, IIpSecService service) { in IpSecManager() method in IpSecManager
|
D | IpSecConfig.java | 49 private int mSpiResourceId = IpSecManager.INVALID_RESOURCE_ID; 63 private int mEncapSocketResourceId = IpSecManager.INVALID_RESOURCE_ID;
|
D | ConnectivityManager.java | 18 import static android.net.IpSecManager.INVALID_RESOURCE_ID; 34 import android.net.IpSecManager.UdpEncapsulationSocket;
|
/frameworks/base/core/java/android/net/annotations/ |
D | PolicyDirection.java | 20 import android.net.IpSecManager; 33 @IntDef(value = {IpSecManager.DIRECTION_IN, IpSecManager.DIRECTION_OUT})
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceTest.java | 41 import android.net.IpSecManager; 170 if (udpEncapResp.status == IpSecManager.Status.OK) { in testOpenAndCloseUdpEncapsulationSocket() 178 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testOpenAndCloseUdpEncapsulationSocket() 224 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testOpenUdpEncapsulationSocketAfterClose() 245 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testUdpEncapPortNotReleased() 265 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testOpenUdpEncapsulationSocketOnRandomPort() 291 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testOpenUdpEncapsulationSocketTwice() 296 assertEquals(IpSecManager.Status.RESOURCE_UNAVAILABLE, testUdpEncapResp.status); in testOpenUdpEncapsulationSocketTwice() 476 if (IpSecManager.Status.OK != newUdpEncapSocket.status) { in testSocketResourceTrackerLimitation() 491 assertEquals(IpSecManager.Status.RESOURCE_UNAVAILABLE, extraUdpEncapSocket.status); in testSocketResourceTrackerLimitation() [all …]
|
D | IpSecServiceParameterizedTest.java | 39 import android.net.IpSecManager; 198 assertEquals(IpSecManager.Status.OK, spiResp.status); in testIpSecServiceReserveSpi() 276 IpSecManager.INVALID_SECURITY_PARAMETER_INDEX, in getNewSpiResourceId() 342 assertEquals(IpSecManager.Status.OK, createTransformResp.status); in testCreateTransform() 356 assertEquals(IpSecManager.Status.OK, createTransformResp.status); in testCreateTransformAead() 374 assertEquals(IpSecManager.Status.OK, createTransformResp.status); in testCreateTransportModeTransformWithEncap() 400 assertEquals(IpSecManager.Status.OK, createTransformResp.status); in testCreateTunnelModeTransformWithEncap() 421 assertEquals(IpSecManager.Status.OK, createTransformResp.status); in testCreateTwoTransformsWithSameSpis() 576 mIpSecService.applyTransportModeTransform(pfd, IpSecManager.DIRECTION_OUT, resourceId); in verifyApplyTransportModeTransformCommon() 582 eq(IpSecManager.DIRECTION_OUT), in verifyApplyTransportModeTransformCommon() [all …]
|
D | ConnectivityServiceTest.java | 162 import android.net.IpSecManager; 163 import android.net.IpSecManager.UdpEncapsulationSocket; 4177 final IpSecManager mIpSec = (IpSecManager) mContext.getSystemService(Context.IPSEC_SERVICE); in doTestNattSocketKeepalivesWithExecutor() 4430 final IpSecManager mIpSec = (IpSecManager) mContext.getSystemService(Context.IPSEC_SERVICE); in doTestNattSocketKeepalivesFdWithExecutor()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 20 import static android.net.IpSecManager.INVALID_RESOURCE_ID; 36 import android.net.IpSecManager; 705 mSpi = IpSecManager.INVALID_SECURITY_PARAMETER_INDEX; in freeUnderlyingResources() 847 IpSecManager.DIRECTION_OUT, in freeUnderlyingResources() 854 IpSecManager.DIRECTION_IN, in freeUnderlyingResources() 1099 case IpSecManager.DIRECTION_OUT: in checkDirection() 1100 case IpSecManager.DIRECTION_IN: in checkDirection() 1121 int spi = IpSecManager.INVALID_SECURITY_PARAMETER_INDEX; in allocateSecurityParameterIndex() 1125 IpSecManager.Status.RESOURCE_UNAVAILABLE, INVALID_RESOURCE_ID, spi); in allocateSecurityParameterIndex() 1140 IpSecManager.Status.SPI_UNAVAILABLE, INVALID_RESOURCE_ID, spi); in allocateSecurityParameterIndex() [all …]
|
/frameworks/base/non-updatable-api/ |
D | system-lint-baseline.txt | 6 …rm.Builder#buildTunnelModeTransform(java.net.InetAddress, android.net.IpSecManager.SecurityParamet… 7 …orm.Builder.buildTunnelModeTransform(java.net.InetAddress,android.net.IpSecManager.SecurityParamet… 14 GenericException: android.net.IpSecManager.IpSecTunnelInterface#finalize():
|
D | system-current.txt | 4432 public final class IpSecManager { 4433 …EC_TUNNELS) public void applyTunnelModeTransform(@NonNull android.net.IpSecManager.IpSecTunnelInte… 4434 …IpSecManager.IpSecTunnelInterface createIpSecTunnelInterface(@NonNull java.net.InetAddress, @NonNu… 4437 public static final class IpSecManager.IpSecTunnelInterface implements java.lang.AutoCloseable { 4445 …net.IpSecManager.SecurityParameterIndex) throws java.io.IOException, android.net.IpSecManager.Reso…
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 113 import android.net.IpSecManager; 359 registerService(Context.IPSEC_SERVICE, IpSecManager.class, in registerService() 360 new CachedServiceFetcher<IpSecManager>() { in registerService() 362 public IpSecManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 365 return new IpSecManager(ctx, service); in registerService()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 66 import android.net.IpSecManager; 170 private IpSecManager mIpSecManager; 185 mIpSecManager = new IpSecManager(mContext, mIpSecService); in setUp()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 54 import android.net.IpSecManager; 55 import android.net.IpSecManager.IpSecTunnelInterface; 2201 @NonNull private final IpSecManager mIpSecManager; 2224 mIpSecManager = (IpSecManager) mContext.getSystemService(Context.IPSEC_SERVICE);
|
/frameworks/base/api/ |
D | system-lint-baseline.txt | 20 GenericException: android.net.IpSecManager.IpSecTunnelInterface#finalize(): 269 …ctivityManager#createSocketKeepalive(android.net.Network, android.net.IpSecManager.UdpEncapsulatio…
|
D | system-current.txt | 4432 public final class IpSecManager { 4433 …EC_TUNNELS) public void applyTunnelModeTransform(@NonNull android.net.IpSecManager.IpSecTunnelInte… 4434 …IpSecManager.IpSecTunnelInterface createIpSecTunnelInterface(@NonNull java.net.InetAddress, @NonNu… 4437 public static final class IpSecManager.IpSecTunnelInterface implements java.lang.AutoCloseable { 4445 …net.IpSecManager.SecurityParameterIndex) throws java.io.IOException, android.net.IpSecManager.Reso…
|
D | test-current.txt | 1468 public final class IpSecManager {
|
/frameworks/base/config/ |
D | preloaded-classes | 2525 android.net.IpSecManager$SpiUnavailableException 2526 android.net.IpSecManager
|
D | hiddenapi-greylist-max-o.txt | 43648 Landroid/net/IpSecManager$IpSecTunnelInterface;-><init>(Landroid/content/Context;Landroid/net/IIpSe… 43649 Landroid/net/IpSecManager$IpSecTunnelInterface;->addAddress(Ljava/net/InetAddress;I)V 43650 Landroid/net/IpSecManager$IpSecTunnelInterface;->getInterfaceName()Ljava/lang/String; 43651 Landroid/net/IpSecManager$IpSecTunnelInterface;->getResourceId()I 43652 Landroid/net/IpSecManager$IpSecTunnelInterface;->mCloseGuard:Ldalvik/system/CloseGuard; 43653 Landroid/net/IpSecManager$IpSecTunnelInterface;->mInterfaceName:Ljava/lang/String; 43654 Landroid/net/IpSecManager$IpSecTunnelInterface;->mLocalAddress:Ljava/net/InetAddress; 43655 Landroid/net/IpSecManager$IpSecTunnelInterface;->mOpPackageName:Ljava/lang/String; 43656 Landroid/net/IpSecManager$IpSecTunnelInterface;->mRemoteAddress:Ljava/net/InetAddress; 43657 Landroid/net/IpSecManager$IpSecTunnelInterface;->mResourceId:I [all …]
|