Home
last modified time | relevance | path

Searched refs:mNMService (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java55 private final INetworkManagementService mNMService; field in Nat464Xlat
82 mNMService = nmService; in Nat464Xlat()
134 mNMService.registerObserver(this); in start()
150 mNMService.startClatd(mBaseIface); in start()
163 mNMService.stopClatd(mBaseIface); in stop()
221 InterfaceConfiguration config = mNMService.getInterfaceConfig(iface); in getLinkAddress()
235 mNMService.setInterfaceIpv6NdOffload(iface, on); in maybeSetIpv6NdOffload()
276 mNMService.unregisterObserver(this); in interfaceRemoved()
277 mNMService.stopClatd(mBaseIface); in interfaceRemoved()
DTethering.java125 private final INetworkManagementService mNMService; field in Tethering
172 mNMService = nmService; in Tethering()
796 ifaces = mNMService.listInterfaces(); in tetherUsb()
819 ifaces = mNMService.listInterfaces(); in configureUsbIface()
828 ifcg = mNMService.getInterfaceConfig(iface); in configureUsbIface()
838 mNMService.setInterfaceConfig(iface, ifcg); in configureUsbIface()
1235 mNMService.tetherInterface(mIfaceName); in enter()
1241 mNMService.untetherInterface(mIfaceName); in enter()
1267 mNMService.stopInterfaceForwarding(mIfaceName, mMyUpstreamIfaceName); in cleanupUpstream()
1273 mNMService.disableNat(mIfaceName, mMyUpstreamIfaceName); in cleanupUpstream()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java85 private INetworkManagementService mNMService; field in EthernetNetworkFactory
189 mNMService.setInterfaceUp(iface); in setInterfaceUp()
191 InterfaceConfiguration config = mNMService.getInterfaceConfig(iface); in setInterfaceUp()
205 mNMService.setInterfaceDown(iface); in setInterfaceUp()
249 InterfaceConfiguration config = mNMService.getInterfaceConfig(mIface); in setStaticIpAddress()
251 mNMService.setInterfaceConfig(mIface, config); in setStaticIpAddress()
379 mNMService.clearInterfaceAddresses(mIface); in onRequestNetwork()
415 mNMService = INetworkManagementService.Stub.asInterface(b); in start()
433 mNMService.registerObserver(mInterfaceObserver); in start()
441 final String[] ifaces = mNMService.listInterfaces(); in start()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementServiceTest.java45 private NetworkManagementService mNMService; field in NetworkManagementServiceTest
61 mNMService = NetworkManagementService.create(context, SOCKET_NAME); in setUp()
91 mNMService.registerObserver(observer); in testNetworkObservers()
/frameworks/base/core/java/android/net/
DConnectivityManager.java586 private INetworkManagementService mNMService; field in ConnectivityManager
1690 if (mNMService != null) { in getNetworkManagementService()
1691 return mNMService; in getNetworkManagementService()
1694 mNMService = INetworkManagementService.Stub.asInterface(b); in getNetworkManagementService()
1695 return mNMService; in getNetworkManagementService()