Home
last modified time | relevance | path

Searched refs:ipAssignment (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/net/
DIpConfiguration.java43 public IpAssignment ipAssignment; field in IpConfiguration
66 private void init(IpAssignment ipAssignment, in init() argument
70 this.ipAssignment = ipAssignment; in init()
82 public IpConfiguration(IpAssignment ipAssignment, in IpConfiguration() argument
86 init(ipAssignment, proxySettings, staticIpConfiguration, httpProxy); in IpConfiguration()
92 init(source.ipAssignment, source.proxySettings, in IpConfiguration()
98 return ipAssignment; in getIpAssignment()
101 public void setIpAssignment(IpAssignment ipAssignment) { in setIpAssignment() argument
102 this.ipAssignment = ipAssignment; in setIpAssignment()
132 sbuf.append("IP assignment: " + ipAssignment.toString()); in toString()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java75 switch (config.ipAssignment) { in writeConfig()
78 out.writeUTF(config.ipAssignment.toString()); in writeConfig()
102 out.writeUTF(config.ipAssignment.toString()); in writeConfig()
190 IpAssignment ipAssignment = IpAssignment.DHCP; in readIpAndProxyConfigurations() local
205 ipAssignment = IpAssignment.valueOf(in.readUTF()); in readIpAndProxyConfigurations()
270 switch (ipAssignment) { in readIpAndProxyConfigurations()
273 config.ipAssignment = ipAssignment; in readIpAndProxyConfigurations()
276 config.ipAssignment = ipAssignment; in readIpAndProxyConfigurations()
280 config.ipAssignment = IpAssignment.DHCP; in readIpAndProxyConfigurations()
284 config.ipAssignment = IpAssignment.UNASSIGNED; in readIpAndProxyConfigurations()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1780 return mIpConfiguration.ipAssignment; in getIpAssignment()
1784 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment() argument
1785 mIpConfiguration.ipAssignment = ipAssignment; in setIpAssignment()