Home
last modified time | relevance | path

Searched refs:staticIpConfiguration (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/net/
DIpConfiguration.java56 public StaticIpConfiguration staticIpConfiguration; field in IpConfiguration
86 StaticIpConfiguration staticIpConfiguration, in init() argument
90 this.staticIpConfiguration = (staticIpConfiguration == null) ? in init()
91 null : new StaticIpConfiguration(staticIpConfiguration); in init()
104 StaticIpConfiguration staticIpConfiguration, in IpConfiguration() argument
106 init(ipAssignment, proxySettings, staticIpConfiguration, httpProxy); in IpConfiguration()
113 source.staticIpConfiguration, source.httpProxy); in IpConfiguration()
126 return staticIpConfiguration; in getStaticIpConfiguration()
129 public void setStaticIpConfiguration(@Nullable StaticIpConfiguration staticIpConfiguration) { in setStaticIpConfiguration() argument
130 this.staticIpConfiguration = staticIpConfiguration; in setStaticIpConfiguration()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java89 StaticIpConfiguration staticIpConfiguration = config.staticIpConfiguration; in writeConfig() local
90 if (staticIpConfiguration != null) { in writeConfig()
91 if (staticIpConfiguration.ipAddress != null) { in writeConfig()
92 LinkAddress ipAddress = staticIpConfiguration.ipAddress; in writeConfig()
97 if (staticIpConfiguration.gateway != null) { in writeConfig()
101 out.writeUTF(staticIpConfiguration.gateway.getHostAddress()); in writeConfig()
103 for (InetAddress inetAddr : staticIpConfiguration.dnsServers) { in writeConfig()
267 StaticIpConfiguration staticIpConfiguration = new StaticIpConfiguration(); in readIpConfigurations() local
290 staticIpConfiguration.ipAddress == null) { in readIpConfigurations()
291 staticIpConfiguration.ipAddress = linkAddr; in readIpConfigurations()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java80 StaticIpConfiguration staticIpConfiguration = new StaticIpConfiguration(); in staticIpMultiNetworks() local
81 staticIpConfiguration.ipAddress = new LinkAddress(IP_ADDR_1); in staticIpMultiNetworks()
82 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_1)); in staticIpMultiNetworks()
83 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_2)); in staticIpMultiNetworks()
88 ProxySettings.STATIC, staticIpConfiguration, proxyInfo); in staticIpMultiNetworks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java769 XmlSerializer out, StaticIpConfiguration staticIpConfiguration) in writeStaticIpConfigurationToXml() argument
771 if (staticIpConfiguration.ipAddress != null) { in writeStaticIpConfigurationToXml()
774 staticIpConfiguration.ipAddress.getAddress().getHostAddress()); in writeStaticIpConfigurationToXml()
777 staticIpConfiguration.ipAddress.getPrefixLength()); in writeStaticIpConfigurationToXml()
784 if (staticIpConfiguration.gateway != null) { in writeStaticIpConfigurationToXml()
787 staticIpConfiguration.gateway.getHostAddress()); in writeStaticIpConfigurationToXml()
793 if (staticIpConfiguration.dnsServers != null) { in writeStaticIpConfigurationToXml()
795 String[] dnsServers = new String[staticIpConfiguration.dnsServers.size()]; in writeStaticIpConfigurationToXml()
797 for (InetAddress inetAddr : staticIpConfiguration.dnsServers) { in writeStaticIpConfigurationToXml()
860 StaticIpConfiguration staticIpConfiguration = new StaticIpConfiguration(); in parseStaticIpConfigurationFromXml() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java495 StaticIpConfiguration staticIpConfiguration = new StaticIpConfiguration(); in parseIpConfigurationFromXml() local
500 staticIpConfiguration.ipAddress = linkAddress; in parseIpConfigurationFromXml()
510 staticIpConfiguration.gateway = gateway; in parseIpConfigurationFromXml()
519 staticIpConfiguration.dnsServers.add(dnsServerAddress); in parseIpConfigurationFromXml()
522 ipConfiguration.setStaticIpConfiguration(staticIpConfiguration); in parseIpConfigurationFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java189 StaticIpConfiguration staticIpConfiguration = null; in generateIpConfig() local
195 staticIpConfiguration = new StaticIpConfiguration(); in generateIpConfig()
200 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
206 staticIpConfiguration.gateway = gatewayAddr; in generateIpConfig()
211 staticIpConfiguration.dnsServers.add( in generateIpConfig()
231 return new IpConfiguration(ipAssignment, proxySettings, staticIpConfiguration, proxyInfo); in generateIpConfig()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2264 public void setStaticIpConfiguration(StaticIpConfiguration staticIpConfiguration) { in setStaticIpConfiguration() argument
2265 mIpConfiguration.setStaticIpConfiguration(staticIpConfiguration); in setStaticIpConfiguration()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt43577 Landroid/net/IpConfiguration;->staticIpConfiguration:Landroid/net/StaticIpConfiguration;