Home
last modified time | relevance | path

Searched refs:staticConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java243 private boolean setStaticIpAddress(StaticIpConfiguration staticConfig) { in setStaticIpAddress() argument
244 if (staticConfig.ipAddress != null && in setStaticIpAddress()
245 staticConfig.gateway != null && in setStaticIpAddress()
246 staticConfig.dnsServers.size() > 0) { in setStaticIpAddress()
248 Log.i(TAG, "Applying static IPv4 configuration to " + mIface + ": " + staticConfig); in setStaticIpAddress()
250 config.setLinkAddress(staticConfig.ipAddress); in setStaticIpAddress()
/frameworks/base/services/net/java/android/net/ip/
DIpManager.java304 public Builder withStaticConfiguration(StaticIpConfiguration staticConfig) { in withStaticConfiguration() argument
305 mConfig.mStaticIpConfig = staticConfig; in withStaticConfiguration()