diff options
author | Benedict Wong <benedictwong@google.com> | 2018-01-19 17:36:02 -0800 |
---|---|---|
committer | Benedict Wong <benedictwong@google.com> | 2018-01-24 08:19:55 +0000 |
commit | 0fe58a93dfa4dbefd9d7d2da066774d9a648ec74 (patch) | |
tree | 9aa516f7f4d91c88c2d939e459bc87b753013ff1 /tests/net/java/com/android/server/IpSecServiceParameterizedTest.java | |
parent | f811dff3bca4473c9cc84a742f59ebb35769c677 (diff) |
Add tunnel-mode calls to netd in IpSecService
Adds calls to relevant netd methods in IpSecService, enabling Tunnel
mode functionality.
Bug: 63588681
Test: Compiles, passing CTS + unit tests
Change-Id: I6deb68584cddb03f21bd76370d4ef69cadc1bf16
Diffstat (limited to 'tests/net/java/com/android/server/IpSecServiceParameterizedTest.java')
-rw-r--r-- | tests/net/java/com/android/server/IpSecServiceParameterizedTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java b/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java index 801a396ecb3d..66e0955b04c3 100644 --- a/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java +++ b/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java @@ -19,7 +19,6 @@ package com.android.server; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import static org.mockito.Matchers.anyInt; -import static org.mockito.Matchers.anyLong; import static org.mockito.Matchers.anyString; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; @@ -229,7 +228,7 @@ public class IpSecServiceParameterizedTest { anyInt(), anyString(), anyString(), - anyLong(), + anyInt(), eq(TEST_SPI), anyInt(), anyInt(), @@ -264,7 +263,7 @@ public class IpSecServiceParameterizedTest { anyInt(), anyString(), anyString(), - anyLong(), + anyInt(), eq(TEST_SPI), anyInt(), anyInt(), |