Home
last modified time | relevance | path

Searched refs:ipAssignment (Results 1 – 8 of 8) 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.java84 switch (config.ipAssignment) { in writeConfig()
87 out.writeUTF(config.ipAssignment.toString()); in writeConfig()
111 out.writeUTF(config.ipAssignment.toString()); in writeConfig()
264 IpAssignment ipAssignment = IpAssignment.DHCP; in readIpConfigurations() local
284 ipAssignment = IpAssignment.valueOf(in.readUTF()); in readIpConfigurations()
349 switch (ipAssignment) { in readIpConfigurations()
352 config.ipAssignment = ipAssignment; in readIpConfigurations()
355 config.ipAssignment = ipAssignment; in readIpConfigurations()
359 config.ipAssignment = IpAssignment.DHCP; in readIpConfigurations()
363 config.ipAssignment = IpAssignment.UNASSIGNED; in readIpConfigurations()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java111 switch (config.ipAssignment) { in writeDhcpConfigV2()
114 out.writeUTF(config.ipAssignment.toString()); in writeDhcpConfigV2()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java484 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseIpConfigurationFromXml() local
485 ipConfiguration.setIpAssignment(ipAssignment); in parseIpConfigurationFromXml()
486 switch (ipAssignment) { in parseIpConfigurationFromXml()
521 throw new XmlPullParserException("Unknown ip assignment type: " + ipAssignment); in parseIpConfigurationFromXml()
DWifiConfigManager.java843 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration() local
844 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
845 internalConfig.setIpAssignment(ipAssignment); in mergeWithInternalWifiConfiguration()
846 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java721 ipConfiguration.ipAssignment.toString()); in writeToXml()
722 switch (ipConfiguration.ipAssignment) { in writeToXml()
818 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml() local
819 ipConfiguration.setIpAssignment(ipAssignment); in parseFromXml()
820 switch (ipAssignment) { in parseFromXml()
828 throw new XmlPullParserException("Unknown ip assignment type: " + ipAssignment); in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java171 IpConfiguration.IpAssignment ipAssignment = IpConfiguration.IpAssignment.UNASSIGNED; in generateIpConfig() local
197 ipAssignment = IpConfiguration.IpAssignment.STATIC; in generateIpConfig()
199 ipAssignment = IpConfiguration.IpAssignment.DHCP; in generateIpConfig()
211 return new IpConfiguration(ipAssignment, proxySettings, staticIpConfiguration, proxyInfo); in generateIpConfig()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1927 return mIpConfiguration.ipAssignment; in getIpAssignment()
1931 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment() argument
1932 mIpConfiguration.ipAssignment = ipAssignment; in setIpAssignment()