Home
last modified time | relevance | path

Searched refs:TEST_IFACE (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/server/
DNetworkStackServiceTest.kt66 private val TEST_IFACE = "test_iface" constant
163 connector.makeDhcpServer(TEST_IFACE, testParams, mockDhcpCb) in prepareDumpVersionTest()
165 verify(deps).makeDhcpServer(any(), eq(TEST_IFACE), any(), any()) in prepareDumpVersionTest()
188 connector.makeIpClient(TEST_IFACE, mockIpClientCb) in prepareDumpVersionTest()
190 verify(deps).makeIpClient(any(), eq(TEST_IFACE), any(), any(), any()) in prepareDumpVersionTest()
197 connector.makeIpClient(TEST_IFACE, mockIpClientCb) in prepareDumpVersionTest()
202 connector.makeDhcpServer(TEST_IFACE, testParams, mockDhcpCb) in prepareDumpVersionTest()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DInterfaceControllerTest.java48 private static final String TEST_IFACE = "testif"; field in InterfaceControllerTest
61 mController = new InterfaceController(TEST_IFACE, mNetd, mLog); in setUp()
73 assertEquals(TEST_IFACE, parcel.ifName); in testSetIPv4Address()
85 assertEquals(TEST_IFACE, parcel.ifName); in testClearIPv4Address()
DIpReachabilityMonitorTest.kt76 private val TEST_IFACE = InterfaceParams("fake0", 21, null) in <lambda>() constant
78 interfaceName = TEST_IFACE.name in <lambda>()
83 addRoute(RouteInfo(TEST_IPV4_LINKADDR, null /* gateway */, TEST_IFACE.name)) in <lambda>()
84 addRoute(RouteInfo(TEST_IPV6_LINKADDR, null /* gateway */, TEST_IFACE.name)) in <lambda>()
180 TEST_IFACE, in setUp()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DNetworkStatsUtilsTest.kt32 private const val TEST_IFACE = "test0" constant
45 NetworkStats.Entry(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, 128L, 8L, 0L, 2L, 20L), in testOrderInsensitiveEquals()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java84 private static final String TEST_IFACE = "testiface"; field in DhcpServerTest
206 mServer = new MyDhcpServer(mContext, TEST_IFACE, makeServingParams(), in setUp()