Home
last modified time | relevance | path

Searched refs:networkAddInterface (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DNetdUtils.java61 networkAddInterface(netd, iface, maxAttempts, pollingIntervalMs); in tetherInterface()
74 private static void networkAddInterface(final INetd netd, final String iface, in networkAddInterface() method in NetdUtils
79 netd.networkAddInterface(INetd.LOCAL_NET_ID, iface); in networkAddInterface()
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DNetdUtilsTest.java75 }).when(mNetd).networkAddInterface(LOCAL_NET_ID, IFACE_NAME); in setNetworkAddInterfaceOutcome()
95 verify(mNetd, times(expectedTries)).networkAddInterface(LOCAL_NET_ID, IFACE_NAME); in verifyTetherInterfaceSucceeds()
139 verify(mNetd, times(expectedTries)).networkAddInterface(LOCAL_NET_ID, IFACE_NAME); in verifyNetworkAddInterfaceFails()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DDadProxyTest.java211 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mUpstreamParams.name); in setupProxy()
212 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mTetheredParams.name); in setupProxy()
DRouterAdvertisementDaemonTest.java126 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mTetheredParams.name); in setUp()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java409 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canBeTethered()
448 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canBeTetheredAsUsb()
469 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canBeTetheredAsWifiP2p()
723 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in testOnNewPrefixRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DNetdWrapper.java168 mNetdService.networkAddInterface(netId, iface); in modifyInterfaceInNetwork()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java793 verify(mNetd, times(1)).networkAddInterface(INetd.LOCAL_NET_ID, ifname); in verifyInterfaceServingModeStarted()
1532 verify(mNetd, times(1)).networkAddInterface(INetd.LOCAL_NET_ID, TEST_WLAN_IFNAME); in failureEnablingIpForwarding()
2007 verify(mNetd, never()).networkAddInterface(INetd.LOCAL_NET_ID, TEST_P2P_IFNAME); in workingWifiP2pGroupClient()
2053 verify(mNetd, never()).networkAddInterface(INetd.LOCAL_NET_ID, TEST_P2P_IFNAME); in workingWifiP2pGroupOwnerLegacyMode()
2577 verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, TEST_BT_IFNAME); in testBluetoothTethering()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java786 mNetd.networkAddInterface(INetd.LOCAL_NET_ID, mIfaceName); in addRoutesToLocalNetwork()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java8820 verify(mMockNetd, times(1)).networkAddInterface(cellNetId, MOBILE_IFNAME); in testStackedLinkProperties()
8877 verify(mMockNetd, times(1)).networkAddInterface(cellNetId, CLAT_MOBILE_IFNAME); in testStackedLinkProperties()
8919 verify(mMockNetd, times(1)).networkAddInterface(cellNetId, CLAT_MOBILE_IFNAME); in testStackedLinkProperties()
8976 verify(mMockNetd, times(1)).networkAddInterface(cellNetId, CLAT_MOBILE_IFNAME); in testStackedLinkProperties()
9022 verify(mMockNetd).networkAddInterface(cellNetId, CLAT_MOBILE_IFNAME); in testStackedLinkProperties()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp6266 if (auto r = mNetdSrv->networkAddInterface(mNetId, mIfname); !r.isOk()) { in init()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java7018 mNetd.networkAddInterface(netId, iface); in updateInterfaces()