Searched refs:networkAddInterface (Results 1 – 11 of 11) sorted by relevance
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | NetdUtils.java | 61 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/ |
D | NetdUtilsTest.java | 75 }).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/ |
D | DadProxyTest.java | 211 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mUpstreamParams.name); in setupProxy() 212 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mTetheredParams.name); in setupProxy()
|
D | RouterAdvertisementDaemonTest.java | 126 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mTetheredParams.name); in setUp()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 409 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/ |
D | NetdWrapper.java | 168 mNetdService.networkAddInterface(netId, iface); in modifyInterfaceInNetwork()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 793 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/ |
D | IpServer.java | 786 mNetd.networkAddInterface(INetd.LOCAL_NET_ID, mIfaceName); in addRoutesToLocalNetwork()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 8820 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/ |
D | resolv_integration_test.cpp | 6266 if (auto r = mNetdSrv->networkAddInterface(mNetId, mIfname); !r.isOk()) { in init()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 7018 mNetd.networkAddInterface(netId, iface); in updateInterfaces()
|