Home
last modified time | relevance | path

Searched refs:LOCAL_NET_ID (Results 1 – 25 of 105) sorted by relevance

12345

/aosp_15_r20/packages/modules/Connectivity/staticlibs/client-libs/netd/com/android/net/module/util/
DNetdUtils.java164 modifyRoute(netd, ModifyOperation.ADD, INetd.LOCAL_NET_ID, in tetherInterface()
166 modifyRoute(netd, ModifyOperation.ADD, INetd.LOCAL_NET_ID, in tetherInterface()
182 netd.networkAddInterface(INetd.LOCAL_NET_ID, iface); in networkAddInterface()
202 netd.networkRemoveInterface(INetd.LOCAL_NET_ID, iface); in untetherInterface()
212 modifyRoute(netd, ModifyOperation.ADD, INetd.LOCAL_NET_ID, route); in addRoutesToLocalNetwork()
217 modifyRoute(netd, ModifyOperation.ADD, INetd.LOCAL_NET_ID, in addRoutesToLocalNetwork()
227 modifyRoute(netd, ModifyOperation.REMOVE, INetd.LOCAL_NET_ID, route); in removeRoutesFromLocalNetwork()
/aosp_15_r20/packages/modules/Connectivity/staticlibs/client-libs/tests/unit/src/com/android/net/module/util/
DNetdUtilsTest.java19 import static android.net.INetd.LOCAL_NET_ID;
137 }).when(mNetd).networkAddInterface(LOCAL_NET_ID, IFACE); in setNetworkAddInterfaceOutcome()
190 verify(mNetd, times(expectedTries)).networkAddInterface(LOCAL_NET_ID, IFACE); in verifyNetworkAddInterfaceFails()
200 verify(mNetd, times(expectedTries)).networkAddInterface(LOCAL_NET_ID, IFACE); in verifyTetherInterfaceSucceeds()
201 verify(mNetd, times(2)).networkAddRoute(eq(LOCAL_NET_ID), eq(IFACE), any(), any()); in verifyTetherInterfaceSucceeds()
/aosp_15_r20/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java361 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canBeTetheredAsBluetooth()
363 inOrder.verify(mNetd, times(2)).networkAddRoute(eq(INetd.LOCAL_NET_ID), eq(IFACE_NAME), in canBeTetheredAsBluetooth()
380 inOrder.verify(mNetd).networkRemoveInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canUnrequestTethering()
411 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canBeTetheredAsUsb()
412 inOrder.verify(mNetd, times(2)).networkAddRoute(eq(INetd.LOCAL_NET_ID), eq(IFACE_NAME), in canBeTetheredAsUsb()
434 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canBeTetheredAsWifiP2p_NotUsingDedicatedIp()
435 inOrder.verify(mNetd, times(2)).networkAddRoute(eq(INetd.LOCAL_NET_ID), eq(IFACE_NAME), in canBeTetheredAsWifiP2p_NotUsingDedicatedIp()
460 inOrder.verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canBeTetheredAsWifiP2p_UsingDedicatedIp()
461 inOrder.verify(mNetd, times(2)).networkAddRoute(eq(INetd.LOCAL_NET_ID), eq(IFACE_NAME), in canBeTetheredAsWifiP2p_UsingDedicatedIp()
590 inOrder.verify(mNetd).networkRemoveInterface(INetd.LOCAL_NET_ID, IFACE_NAME); in canUnrequestTetheringWithUpstream()
[all …]
/aosp_15_r20/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DDadProxyTest.java119 sNetd.networkRemoveInterface(INetd.LOCAL_NET_ID, mTetheredParams.name); in tearDown()
122 sNetd.networkRemoveInterface(INetd.LOCAL_NET_ID, mUpstreamParams.name); in tearDown()
215 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mUpstreamParams.name); in setupProxy()
216 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mTetheredParams.name); in setupProxy()
DRouterAdvertisementDaemonTest.java123 sNetd.networkAddInterface(INetd.LOCAL_NET_ID, mTetheredParams.name); in setUp()
135 sNetd.networkRemoveInterface(INetd.LOCAL_NET_ID, mTetheredParams.name); in tearDown()
333 sNetd.networkAddRoute(INetd.LOCAL_NET_ID, mTetheredParams.name, in testSolicitRouterAdvertisement()
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DNetdWrapper.java221 modifyInterfaceInNetwork(MODIFY_OPERATION_ADD, INetd.LOCAL_NET_ID, iface); in addInterfaceToLocalNetwork()
225 modifyRoute(MODIFY_OPERATION_ADD, INetd.LOCAL_NET_ID, route); in addInterfaceToLocalNetwork()
230 modifyRoute(MODIFY_OPERATION_ADD, INetd.LOCAL_NET_ID, in addInterfaceToLocalNetwork()
238 modifyInterfaceInNetwork(MODIFY_OPERATION_REMOVE, INetd.LOCAL_NET_ID, iface); in removeInterfaceFromLocalNetwork()
/aosp_15_r20/system/netd/server/
H A DNetworkController.cpp148 mNetworks[LOCAL_NET_ID] = new LocalNetwork(LOCAL_NET_ID);
486 if (netId == LOCAL_NET_ID || netId == UNREACHABLE_NET_ID) { in destroyNetwork()
558 if (netId != LOCAL_NET_ID) { in addInterfaceToNetwork()
983 if (netId == LOCAL_NET_ID) { in modifyRoute()
H A DNetworkController.h89 static constexpr int LOCAL_NET_ID = INetd::LOCAL_NET_ID; variable
H A DControllers.cpp332 if (int ret = RouteController::Init(NetworkController::LOCAL_NET_ID)) { in init()
/aosp_15_r20/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java903 verify(mNetd).networkAddInterface(INetd.LOCAL_NET_ID, ifname); in verifyInterfaceServingModeStarted()
904 verify(mNetd, times(2)).networkAddRoute(eq(INetd.LOCAL_NET_ID), eq(ifname), in verifyInterfaceServingModeStarted()
1003 verify(mNetd).networkRemoveInterface(INetd.LOCAL_NET_ID, TEST_WLAN_IFNAME); in verifyStopHotpot()
2039 verify(mNetd, times(1)).networkAddInterface(INetd.LOCAL_NET_ID, TEST_WLAN_IFNAME); in failureEnablingIpForwarding()
2040 verify(mNetd, times(2)).networkAddRoute(eq(INetd.LOCAL_NET_ID), eq(TEST_WLAN_IFNAME), in failureEnablingIpForwarding()
2060 verify(mNetd, times(1)).networkRemoveInterface(INetd.LOCAL_NET_ID, TEST_WLAN_IFNAME); in failureEnablingIpForwarding()
2603 verify(mNetd, times(1)).networkRemoveInterface(INetd.LOCAL_NET_ID, TEST_P2P_IFNAME); in workingWifiP2pGroupOwner()
2626 verify(mNetd, never()).networkAddInterface(INetd.LOCAL_NET_ID, TEST_P2P_IFNAME); in workingWifiP2pGroupClient()
2637 verify(mNetd, never()).networkRemoveInterface(INetd.LOCAL_NET_ID, TEST_P2P_IFNAME); in workingWifiP2pGroupClient()
2673 verify(mNetd, never()).networkAddInterface(INetd.LOCAL_NET_ID, TEST_P2P_IFNAME); in workingWifiP2pGroupOwnerLegacyMode()
[all …]
/aosp_15_r20/system/netd/client/
H A DNetdClientRootTest.cpp33 EXPECT_EQ(-EACCES, setNetworkForSocket(android::net::INetd::LOCAL_NET_ID, s)); in TEST()
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl106 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl135 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl127 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/10/android/net/
DINetd.aidl185 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl138 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/7/android/net/
DINetd.aidl163 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/13/android/net/
DINetd.aidl187 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/12/android/net/
DINetd.aidl186 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/6/android/net/
DINetd.aidl161 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/8/android/net/
DINetd.aidl163 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl221 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/9/android/net/
DINetd.aidl184 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/15/android/net/
DINetd.aidl221 const int LOCAL_NET_ID = 99; field
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/binder/android/net/
DINetd.aidl791 const int LOCAL_NET_ID = 99; field

12345