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
This commit is contained in:
Benedict Wong
2018-01-19 17:36:02 -08:00
parent 7a7d04e103
commit 859629fa0b

View File

@@ -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(),