Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpConfiguration.java53 public IpAssignment ipAssignment; field in IpConfiguration
84 private void init(IpAssignment ipAssignment, in init() argument
88 this.ipAssignment = ipAssignment; in init()
102 public IpConfiguration(IpAssignment ipAssignment, in IpConfiguration() argument
106 init(ipAssignment, proxySettings, staticIpConfiguration, httpProxy); in IpConfiguration()
112 init(source.ipAssignment, source.proxySettings, in IpConfiguration()
118 return ipAssignment; in getIpAssignment()
121 public void setIpAssignment(@NonNull IpAssignment ipAssignment) { in setIpAssignment() argument
122 this.ipAssignment = ipAssignment; in setIpAssignment()
152 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/opt/net/wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java102 IpAssignment ipAssignment = IpAssignment.DHCP; in readIpConfigurations() local
123 ipAssignment = IpAssignment.valueOf(in.readUTF()); in readIpConfigurations()
186 switch (ipAssignment) { in readIpConfigurations()
189 config.setIpAssignment(ipAssignment); in readIpConfigurations()
192 config.setIpAssignment(ipAssignment); in readIpConfigurations()
DXmlUtil.java946 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml() local
947 ipConfiguration.setIpAssignment(ipAssignment); in parseFromXml()
948 switch (ipAssignment) { in parseFromXml()
956 Log.w(TAG, "Ignoring unknown ip assignment type: " + ipAssignment); in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DIpConfigStoreTestWriter.java53 switch (config.ipAssignment) { in writeConfig()
56 out.writeUTF(config.ipAssignment.toString()); in writeConfig()
80 out.writeUTF(config.ipAssignment.toString()); in writeConfig()
DWifiConfigurationTestUtil.java212 IpConfiguration.IpAssignment ipAssignment = IpConfiguration.IpAssignment.UNASSIGNED; in generateIpConfig() local
238 ipAssignment = IpConfiguration.IpAssignment.STATIC; in generateIpConfig()
240 ipAssignment = IpConfiguration.IpAssignment.DHCP; in generateIpConfig()
252 return new IpConfiguration(ipAssignment, proxySettings, staticIpConfiguration, proxyInfo); in generateIpConfig()
/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.java515 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseIpConfigurationFromXml() local
516 ipConfiguration.setIpAssignment(ipAssignment); in parseIpConfigurationFromXml()
517 switch (ipAssignment) { in parseIpConfigurationFromXml()
554 throw new XmlPullParserException("Unknown ip assignment type: " + ipAssignment); in parseIpConfigurationFromXml()
DWifiConfigManager.java1032 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration() local
1033 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
1034 internalConfig.setIpAssignment(ipAssignment); in mergeWithInternalWifiConfiguration()
1035 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2621 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment() argument
2622 mIpConfiguration.setIpAssignment(ipAssignment); in setIpAssignment()
/frameworks/base/api/
Dsystem-lint-baseline.txt191 MutableBareField: android.net.IpConfiguration#ipAssignment: