/aosp_15_r20/packages/modules/Connectivity/staticlibs/client-libs/netd/com/android/net/module/util/ |
D | NetdUtils.java | 164 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/ |
D | NetdUtilsTest.java | 19 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/ |
D | IpServerTest.java | 361 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/ |
D | DadProxyTest.java | 119 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()
|
D | RouterAdvertisementDaemonTest.java | 123 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/ |
D | NetdWrapper.java | 221 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 D | NetworkController.cpp | 148 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 D | NetworkController.h | 89 static constexpr int LOCAL_NET_ID = INetd::LOCAL_NET_ID; variable
|
H A D | Controllers.cpp | 332 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/ |
D | TetheringTest.java | 903 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 D | NetdClientRootTest.cpp | 33 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/ |
D | INetd.aidl | 106 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/3/android/net/ |
D | INetd.aidl | 135 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/2/android/net/ |
D | INetd.aidl | 127 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/10/android/net/ |
D | INetd.aidl | 185 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/4/android/net/ |
D | INetd.aidl | 138 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/7/android/net/ |
D | INetd.aidl | 163 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/13/android/net/ |
D | INetd.aidl | 187 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/12/android/net/ |
D | INetd.aidl | 186 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/6/android/net/ |
D | INetd.aidl | 161 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/8/android/net/ |
D | INetd.aidl | 163 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/current/android/net/ |
D | INetd.aidl | 221 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/9/android/net/ |
D | INetd.aidl | 184 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/15/android/net/ |
D | INetd.aidl | 221 const int LOCAL_NET_ID = 99; field
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/binder/android/net/ |
D | INetd.aidl | 791 const int LOCAL_NET_ID = 99; field
|