Home
last modified time | relevance | path

Searched refs:staticIpConfig (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java247 StaticIpConfiguration staticIpConfig = new StaticIpConfiguration(); in getWifiConfiguration() local
251 staticIpConfig.ipAddress = new LinkAddress(ipAddress, prefixLength); in getWifiConfiguration()
252 staticIpConfig.gateway = getInetAddress(jsonConfig.getString("gateway")); in getWifiConfiguration()
253 staticIpConfig.dnsServers.add(getInetAddress(jsonConfig.getString("dns1"))); in getWifiConfiguration()
254 staticIpConfig.dnsServers.add(getInetAddress(jsonConfig.getString("dns2"))); in getWifiConfiguration()
257 ipConfiguration.setStaticIpConfiguration(staticIpConfig); in getWifiConfiguration()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java571 static IpConfiguration parseStaticIpConfiguration(String staticIpConfig) { in parseStaticIpConfiguration() argument
574 for (String keyValueAsString : staticIpConfig.trim().split(" ")) { in parseStaticIpConfiguration()
580 + " in " + staticIpConfig); in parseStaticIpConfiguration()
606 + " in " + staticIpConfig); in parseStaticIpConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java545 StaticIpConfiguration staticIpConfig = ipConfig.getStaticIpConfiguration(); in validateIpConfiguration() local
546 if (staticIpConfig == null) { in validateIpConfiguration()
550 if (staticIpConfig.ipAddress == null) { in validateIpConfiguration()
DClientModeImpl.java5465 StaticIpConfiguration staticIpConfig = currentConfig.getStaticIpConfiguration(); in enter() local
5467 .withStaticConfiguration(staticIpConfig) in enter()