Home
last modified time | relevance | path

Searched refs:ifcg (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/net/java/android/net/ip/
DInterfaceController.java56 final InterfaceConfiguration ifcg = new InterfaceConfiguration(); in setIPv4Address() local
57 ifcg.setLinkAddress(address); in setIPv4Address()
59 mNMS.setInterfaceConfig(mIfName, ifcg); in setIPv4Address()
70 final InterfaceConfiguration ifcg = new InterfaceConfiguration(); in clearIPv4Address() local
71 ifcg.setLinkAddress(new LinkAddress("0.0.0.0/0")); in clearIPv4Address()
72 mNMS.setInterfaceConfig(mIfName, ifcg); in clearIPv4Address()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java219 final InterfaceConfiguration ifcg = mNMService.getInterfaceConfig(mIfaceName); in configureIPv4() local
220 if (ifcg == null) { in configureIPv4()
227 ifcg.setLinkAddress(linkAddr); in configureIPv4()
232 ifcg.ignoreInterfaceUpDownStatus(); in configureIPv4()
235 ifcg.setInterfaceUp(); in configureIPv4()
237 ifcg.setInterfaceDown(); in configureIPv4()
240 ifcg.clearFlag("running"); in configureIPv4()
241 mNMService.setInterfaceConfig(mIfaceName, ifcg); in configureIPv4()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1073 final InterfaceConfiguration ifcg = getInterfaceConfig(iface); in setInterfaceDown() local
1074 ifcg.setInterfaceDown(); in setInterfaceDown()
1075 setInterfaceConfig(iface, ifcg); in setInterfaceDown()
1081 final InterfaceConfiguration ifcg = getInterfaceConfig(iface); in setInterfaceUp() local
1082 ifcg.setInterfaceUp(); in setInterfaceUp()
1083 setInterfaceConfig(iface, ifcg); in setInterfaceUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2575 InterfaceConfiguration ifcg = null; in startDhcpServer() local
2577 ifcg = mNwService.getInterfaceConfig(intf); in startDhcpServer()
2578 ifcg.setLinkAddress(new LinkAddress(NetworkUtils.numericToInetAddress( in startDhcpServer()
2580 ifcg.setInterfaceUp(); in startDhcpServer()
2581 mNwService.setInterfaceConfig(intf, ifcg); in startDhcpServer()