Home
last modified time | relevance | path

Searched refs:mNetd (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java93 @Mock private INetd mNetd; field in IpClientTest
112 when(mDependencies.getNetd(any())).thenReturn(mNetd); in setUp()
131 verify(mNetd, timeout(TEST_TIMEOUT_MS).times(1)).interfaceSetEnableIPv6(ifname, false); in makeIpClient()
132 verify(mNetd, timeout(TEST_TIMEOUT_MS).times(1)).interfaceClearAddrs(ifname); in makeIpClient()
137 reset(mNetd); in makeIpClient()
222 verify(mNetd, timeout(TEST_TIMEOUT_MS).times(1)).interfaceSetEnableIPv6(iface, false); in testDefaultProvisioningConfiguration()
223 verify(mNetd, timeout(TEST_TIMEOUT_MS).times(1)).interfaceClearAddrs(iface); in testDefaultProvisioningConfiguration()
256 verify(mNetd, timeout(TEST_TIMEOUT_MS).times(1)) in testProvisioningWithInitialConfiguration()
279 verify(mNetd, timeout(TEST_TIMEOUT_MS).times(1)).interfaceSetEnableIPv6(iface, false); in testProvisioningWithInitialConfiguration()
280 verify(mNetd, timeout(TEST_TIMEOUT_MS).times(1)).interfaceClearAddrs(iface); in testProvisioningWithInitialConfiguration()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java110 private final INetd mNetd; field in NetworkStackService.NetworkStackConnector
141 mNetd = INetd.Stub.asInterface( in NetworkStackConnector()
149 netdVersion = mNetd.getInterfaceVersion(); in NetworkStackConnector()
157 mObserverRegistry.register(mNetd); in NetworkStackConnector()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java346 private final INetd mNetd; field in IpClient
433 mNetd = deps.getNetd(mContext); in IpClient()
434 mInterfaceCtrl = new InterfaceController(mInterfaceName, mNetd, mLog); in IpClient()
1216 setNeighborParameters(mNetd, mInterfaceName, numSolicits, interSolicitIntervalMs); in startIpReachabilityMonitor()