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.java527 StaticIpConfiguration staticIpConfig = ipConfig.getStaticIpConfiguration(); in validateIpConfiguration() local
528 if (staticIpConfig == null) { in validateIpConfiguration()
532 if (staticIpConfig.getIpAddress() == null) { in validateIpConfiguration()
DClientModeImpl.java6584 StaticIpConfiguration staticIpConfig = config.getStaticIpConfiguration(); in startIpClient() local
6586 .withStaticConfiguration(staticIpConfig) in startIpClient()