Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpConfiguration.java45 public IpAssignment ipAssignment; field in IpConfiguration
70 private void init(IpAssignment ipAssignment, in init() argument
74 this.ipAssignment = ipAssignment; in init()
87 public IpConfiguration(IpAssignment ipAssignment, in IpConfiguration() argument
91 init(ipAssignment, proxySettings, staticIpConfiguration, httpProxy); in IpConfiguration()
97 init(source.ipAssignment, source.proxySettings, in IpConfiguration()
103 return ipAssignment; in getIpAssignment()
106 public void setIpAssignment(IpAssignment ipAssignment) { in setIpAssignment() argument
107 this.ipAssignment = ipAssignment; in setIpAssignment()
137 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.java112 switch (config.ipAssignment) { in writeDhcpConfigV2()
115 out.writeUTF(config.ipAssignment.toString()); in writeDhcpConfigV2()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java490 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseIpConfigurationFromXml() local
491 ipConfiguration.setIpAssignment(ipAssignment); in parseIpConfigurationFromXml()
492 switch (ipAssignment) { in parseIpConfigurationFromXml()
527 throw new XmlPullParserException("Unknown ip assignment type: " + ipAssignment); in parseIpConfigurationFromXml()
DWifiConfigManager.java1005 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration() local
1006 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
1007 internalConfig.setIpAssignment(ipAssignment); in mergeWithInternalWifiConfiguration()
1008 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java751 ipConfiguration.ipAssignment.toString()); in writeToXml()
752 switch (ipConfiguration.ipAssignment) { in writeToXml()
848 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml() local
849 ipConfiguration.setIpAssignment(ipAssignment); in parseFromXml()
850 switch (ipAssignment) { in parseFromXml()
858 throw new XmlPullParserException("Unknown ip assignment type: " + ipAssignment); in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java190 IpConfiguration.IpAssignment ipAssignment = IpConfiguration.IpAssignment.UNASSIGNED; in generateIpConfig() local
216 ipAssignment = IpConfiguration.IpAssignment.STATIC; in generateIpConfig()
218 ipAssignment = IpConfiguration.IpAssignment.DHCP; in generateIpConfig()
230 return new IpConfiguration(ipAssignment, proxySettings, staticIpConfiguration, proxyInfo); in generateIpConfig()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2270 return mIpConfiguration.ipAssignment; in getIpAssignment()
2275 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment() argument
2276 mIpConfiguration.ipAssignment = ipAssignment; in setIpAssignment()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46749 Landroid/net/IpConfiguration;->ipAssignment:Landroid/net/IpConfiguration$IpAssignment;