Home
last modified time | relevance | path

Searched refs:allocateSecurityParameterIndex (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DIpSecManagerTest.java100 when(mMockIpSecService.allocateSecurityParameterIndex( in testAllocSpi()
107 mIpSecManager.allocateSecurityParameterIndex(GOOGLE_DNS_4, DROID_SPI); in testAllocSpi()
119 when(mMockIpSecService.allocateSecurityParameterIndex( in testAllocRandomSpi()
126 mIpSecManager.allocateSecurityParameterIndex(GOOGLE_DNS_4); in testAllocRandomSpi()
142 when(mMockIpSecService.allocateSecurityParameterIndex( in testAllocSpiResUnavailableException()
147 mIpSecManager.allocateSecurityParameterIndex(GOOGLE_DNS_4); in testAllocSpiResUnavailableException()
159 when(mMockIpSecService.allocateSecurityParameterIndex( in testAllocSpiSpiUnavailableException()
164 mIpSecManager.allocateSecurityParameterIndex(GOOGLE_DNS_4); in testAllocSpiSpiUnavailableException()
176 mIpSecManager.allocateSecurityParameterIndex(GOOGLE_DNS_4, 0); in testRequestAllocInvalidSpi()
DIpSecTransformTest.java100 when(mMockIpSecService.allocateSecurityParameterIndex(any(), anyInt(), any())) in setUp()
140 mIpSecManager.allocateSecurityParameterIndex(DST_ADDRESS); in buildTestTransform()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIpSecSpiGenerator.java57 return mIpSecManager.allocateSecurityParameterIndex(sourceAddress); in allocateSpi()
59 return mIpSecManager.allocateSecurityParameterIndex(sourceAddress, mRandom.nextInt()); in allocateSpi()
70 return mIpSecManager.allocateSecurityParameterIndex(sourceAddress, requestedSpi); in allocateSpi()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTunnelTest.java253 mISM.allocateSecurityParameterIndex(LOCAL_INNER_4); in testSecurityExceptionBuildTunnelTransformWithoutAppop()
692 mISM.allocateSecurityParameterIndex(localInner, spi);
694 mISM.allocateSecurityParameterIndex(remoteInner, spi);
716 mISM.allocateSecurityParameterIndex(localOuter, spi);
718 mISM.allocateSecurityParameterIndex(remoteOuter, spi);
976 mISM.allocateSecurityParameterIndex(localInner, spi);
978 mISM.allocateSecurityParameterIndex(remoteInner, spi);
1053 mISM.allocateSecurityParameterIndex(localInner, spi);
1055 mISM.allocateSecurityParameterIndex(remoteInner, spi);
1096 mISM.allocateSecurityParameterIndex(localOuter, spi);
[all …]
DIpSecAlgorithmImplTest.java153 sIpSecManager.allocateSecurityParameterIndex(REMOTE_ADDRESS); in runTest()
155 sIpSecManager.allocateSecurityParameterIndex(LOCAL_ADDRESS); in runTest()
DIpSecManagerTest.java140 randomSpi = mISM.allocateSecurityParameterIndex(addr); in testAllocSpi()
145 droidSpi = mISM.allocateSecurityParameterIndex(addr, DROID_SPI); in testAllocSpi()
152 () -> mISM.allocateSecurityParameterIndex(addr, DROID_SPI)); in testAllocSpi()
321 SecurityParameterIndex spi = mISM.allocateSecurityParameterIndex(localAddr); in doTestCreateTransform()
607 mISM.allocateSecurityParameterIndex(local)) {
769 mISM.allocateSecurityParameterIndex(local);
1641 try (SecurityParameterIndex spi = mISM.allocateSecurityParameterIndex(localAddr);
1671 try (SecurityParameterIndex spi = mISM.allocateSecurityParameterIndex(localAddr);
DIpSecBaseTest.java711 mISM.allocateSecurityParameterIndex(localAddr)) { in buildDefaultTransform()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java241 when(mockIpSecService.allocateSecurityParameterIndex( in testMakeChildSaRecord()
244 when(mockIpSecService.allocateSecurityParameterIndex( in testMakeChildSaRecord()
249 ipSecManager.allocateSecurityParameterIndex(LOCAL_ADDRESS); in testMakeChildSaRecord()
251 ipSecManager.allocateSecurityParameterIndex(REMOTE_ADDRESS); in testMakeChildSaRecord()
DChildSessionStateMachineTest.java343 when(mMockIpSecService.allocateSecurityParameterIndex( in setUpSpiResource()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceTest.java452 mIpSecService.allocateSecurityParameterIndex( in testValidateIpAddresses()
532 mIpSecService.allocateSecurityParameterIndex( in testSpiResourceTrackerLimitation()
547 mIpSecService.allocateSecurityParameterIndex( in testSpiResourceTrackerLimitation()
560 mIpSecService.allocateSecurityParameterIndex( in testSpiResourceTrackerLimitation()
DIpSecServiceParameterizedTest.java272 mIpSecService.allocateSecurityParameterIndex( in testIpSecServiceReserveSpi()
284 mIpSecService.allocateSecurityParameterIndex( in testReleaseSecurityParameterIndex()
316 mIpSecService.allocateSecurityParameterIndex( in testSecurityParameterIndexBinderDeath()
350 mIpSecService.allocateSecurityParameterIndex( in getNewSpiResourceId()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecManager.java249 mService.allocateSecurityParameterIndex( in SecurityParameterIndex()
317 public SecurityParameterIndex allocateSecurityParameterIndex( in allocateSecurityParameterIndex() method in IpSecManager
350 public SecurityParameterIndex allocateSecurityParameterIndex( in allocateSecurityParameterIndex() method in IpSecManager
DIIpSecService.aidl36 IpSecSpiResponse allocateSecurityParameterIndex( in allocateSecurityParameterIndex() method
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DMockIpSecTestUtils.java56 when(mMockIpSecService.allocateSecurityParameterIndex(anyString(), anyInt(), anyObject())) in MockIpSecTestUtils()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt96 …nNull public android.net.IpSecManager.SecurityParameterIndex allocateSecurityParameterIndex(@NonNu…
97 …nNull public android.net.IpSecManager.SecurityParameterIndex allocateSecurityParameterIndex(@NonNu…
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java254 when(mMockIpSecService.allocateSecurityParameterIndex( in setUp()
259 when(mMockIpSecService.allocateSecurityParameterIndex( in setUp()
/packages/modules/Connectivity/framework-t/hiddenapi/
Dhiddenapi-max-target-o-low-priority-tiramisu.txt123 Landroid/net/IIpSecService$Stub$Proxy;->allocateSecurityParameterIndex(Ljava/lang/String;ILandroid/…
154 Landroid/net/IIpSecService;->allocateSecurityParameterIndex(Ljava/lang/String;ILandroid/os/IBinder;…
/packages/modules/Connectivity/service-t/src/com/android/server/
DIpSecService.java1165 public synchronized IpSecSpiResponse allocateSecurityParameterIndex( in allocateSecurityParameterIndex() method in IpSecService