Searched refs:ipAssignment (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | IpConfiguration.java | 43 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/ |
D | IpConfigStore.java | 79 switch (config.ipAssignment) { in writeConfig() 82 out.writeUTF(config.ipAssignment.toString()); in writeConfig() 106 out.writeUTF(config.ipAssignment.toString()); in writeConfig() 207 IpAssignment ipAssignment = IpAssignment.DHCP; in readIpAndProxyConfigurations() local 222 ipAssignment = IpAssignment.valueOf(in.readUTF()); in readIpAndProxyConfigurations() 287 switch (ipAssignment) { in readIpAndProxyConfigurations() 290 config.ipAssignment = ipAssignment; in readIpAndProxyConfigurations() 293 config.ipAssignment = ipAssignment; in readIpAndProxyConfigurations() 297 config.ipAssignment = IpAssignment.DHCP; in readIpAndProxyConfigurations() 301 config.ipAssignment = IpAssignment.UNASSIGNED; in readIpAndProxyConfigurations()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 713 ipConfiguration.ipAssignment.toString()); in writeToXml() 714 switch (ipConfiguration.ipAssignment) { in writeToXml() 810 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml() local 811 ipConfiguration.setIpAssignment(ipAssignment); in parseFromXml() 812 switch (ipAssignment) { in parseFromXml() 820 throw new XmlPullParserException("Unknown ip assignment type: " + ipAssignment); in parseFromXml()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationTestUtil.java | 171 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/ |
D | WifiConfiguration.java | 1960 return mIpConfiguration.ipAssignment; in getIpAssignment() 1964 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment() argument 1965 mIpConfiguration.ipAssignment = ipAssignment; in setIpAssignment()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 820 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration() local 821 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration() 822 internalConfig.setIpAssignment(ipAssignment); in mergeWithInternalWifiConfiguration() 823 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
|