Searched refs:staticConfig (Results 1 – 2 of 2) sorted by relevance
243 private boolean setStaticIpAddress(StaticIpConfiguration staticConfig) { in setStaticIpAddress() argument244 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()
304 public Builder withStaticConfiguration(StaticIpConfiguration staticConfig) { in withStaticConfiguration() argument305 mConfig.mStaticIpConfig = staticConfig; in withStaticConfiguration()