Home
last modified time | relevance | path

Searched refs:ipAssignment (Results 1 – 9 of 9) 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.java85 switch (config.ipAssignment) { in writeConfig()
88 out.writeUTF(config.ipAssignment.toString()); in writeConfig()
112 out.writeUTF(config.ipAssignment.toString()); in writeConfig()
265 IpAssignment ipAssignment = IpAssignment.DHCP; in readIpConfigurations() local
285 ipAssignment = IpAssignment.valueOf(in.readUTF()); in readIpConfigurations()
350 switch (ipAssignment) { in readIpConfigurations()
353 config.ipAssignment = ipAssignment; in readIpConfigurations()
356 config.ipAssignment = ipAssignment; in readIpConfigurations()
360 config.ipAssignment = IpAssignment.DHCP; in readIpConfigurations()
364 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.java491 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseIpConfigurationFromXml() local
492 ipConfiguration.setIpAssignment(ipAssignment); in parseIpConfigurationFromXml()
493 switch (ipAssignment) { in parseIpConfigurationFromXml()
528 throw new XmlPullParserException("Unknown ip assignment type: " + ipAssignment); in parseIpConfigurationFromXml()
DWifiConfigManager.java1025 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration() local
1026 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
1027 internalConfig.setIpAssignment(ipAssignment); in mergeWithInternalWifiConfiguration()
1028 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java819 ipConfiguration.ipAssignment.toString()); in writeToXml()
820 switch (ipConfiguration.ipAssignment) { in writeToXml()
916 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml() local
917 ipConfiguration.setIpAssignment(ipAssignment); in parseFromXml()
918 switch (ipAssignment) { in parseFromXml()
926 throw new XmlPullParserException("Unknown ip assignment type: " + ipAssignment); in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java191 IpConfiguration.IpAssignment ipAssignment = IpConfiguration.IpAssignment.UNASSIGNED; in generateIpConfig() local
217 ipAssignment = IpConfiguration.IpAssignment.STATIC; in generateIpConfig()
219 ipAssignment = IpConfiguration.IpAssignment.DHCP; in generateIpConfig()
231 return new IpConfiguration(ipAssignment, proxySettings, staticIpConfiguration, proxyInfo); in generateIpConfig()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2271 return mIpConfiguration.ipAssignment; in getIpAssignment()
2276 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment() argument
2277 mIpConfiguration.ipAssignment = ipAssignment; in setIpAssignment()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt43571 Landroid/net/IpConfiguration;->ipAssignment:Landroid/net/IpConfiguration$IpAssignment;