Merge "Add xfrm mark in IpSecConfig"
This commit is contained in:
@@ -136,7 +136,12 @@ public class IpSecServiceParameterizedTest {
|
||||
|
||||
verify(mMockNetd)
|
||||
.ipSecDeleteSecurityAssociation(
|
||||
eq(spiResp.resourceId), anyString(), anyString(), eq(TEST_SPI));
|
||||
eq(spiResp.resourceId),
|
||||
anyString(),
|
||||
anyString(),
|
||||
eq(TEST_SPI),
|
||||
anyInt(),
|
||||
anyInt());
|
||||
|
||||
// Verify quota and RefcountedResource objects cleaned up
|
||||
IpSecService.UserRecord userRecord =
|
||||
@@ -168,7 +173,12 @@ public class IpSecServiceParameterizedTest {
|
||||
|
||||
verify(mMockNetd)
|
||||
.ipSecDeleteSecurityAssociation(
|
||||
eq(spiResp.resourceId), anyString(), anyString(), eq(TEST_SPI));
|
||||
eq(spiResp.resourceId),
|
||||
anyString(),
|
||||
anyString(),
|
||||
eq(TEST_SPI),
|
||||
anyInt(),
|
||||
anyInt());
|
||||
|
||||
// Verify quota and RefcountedResource objects cleaned up
|
||||
assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent);
|
||||
@@ -221,6 +231,8 @@ public class IpSecServiceParameterizedTest {
|
||||
anyString(),
|
||||
anyLong(),
|
||||
eq(TEST_SPI),
|
||||
anyInt(),
|
||||
anyInt(),
|
||||
eq(IpSecAlgorithm.AUTH_HMAC_SHA256),
|
||||
eq(AUTH_KEY),
|
||||
anyInt(),
|
||||
@@ -254,6 +266,8 @@ public class IpSecServiceParameterizedTest {
|
||||
anyString(),
|
||||
anyLong(),
|
||||
eq(TEST_SPI),
|
||||
anyInt(),
|
||||
anyInt(),
|
||||
eq(""),
|
||||
eq(new byte[] {}),
|
||||
eq(0),
|
||||
@@ -305,7 +319,12 @@ public class IpSecServiceParameterizedTest {
|
||||
|
||||
verify(mMockNetd)
|
||||
.ipSecDeleteSecurityAssociation(
|
||||
eq(createTransformResp.resourceId), anyString(), anyString(), eq(TEST_SPI));
|
||||
eq(createTransformResp.resourceId),
|
||||
anyString(),
|
||||
anyString(),
|
||||
eq(TEST_SPI),
|
||||
anyInt(),
|
||||
anyInt());
|
||||
|
||||
// Verify quota and RefcountedResource objects cleaned up
|
||||
IpSecService.UserRecord userRecord =
|
||||
@@ -339,7 +358,12 @@ public class IpSecServiceParameterizedTest {
|
||||
|
||||
verify(mMockNetd)
|
||||
.ipSecDeleteSecurityAssociation(
|
||||
eq(createTransformResp.resourceId), anyString(), anyString(), eq(TEST_SPI));
|
||||
eq(createTransformResp.resourceId),
|
||||
anyString(),
|
||||
anyString(),
|
||||
eq(TEST_SPI),
|
||||
anyInt(),
|
||||
anyInt());
|
||||
|
||||
// Verify quota and RefcountedResource objects cleaned up
|
||||
assertEquals(0, userRecord.mTransformQuotaTracker.mCurrent);
|
||||
|
||||
Reference in New Issue
Block a user