Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java105 StaticIpConfiguration staticConfig = new StaticIpConfiguration(); in processIpSettings() local
106 mIpConfiguration.setStaticIpConfiguration(staticConfig); in processIpSettings()
124 staticConfig.ipAddress = new LinkAddress(inetAddr, networkPrefixLength); in processIpSettings()
132 staticConfig.gateway = in processIpSettings()
142 staticConfig.dnsServers.add( in processIpSettings()
152 staticConfig.dnsServers.add( in processIpSettings()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java310 StaticIpConfiguration staticConfig = config.getStaticIpConfiguration(); in initWifiConfigController() local
311 if (staticConfig != null && staticConfig.ipAddress != null) { in initWifiConfigController()
313 staticConfig.ipAddress.getAddress().getHostAddress()); in initWifiConfigController()
1305 StaticIpConfiguration staticConfig = config.getStaticIpConfiguration(); in showIpConfigFields() local
1306 if (staticConfig != null) { in showIpConfigFields()
1307 if (staticConfig.ipAddress != null) { in showIpConfigFields()
1309 staticConfig.ipAddress.getAddress().getHostAddress()); in showIpConfigFields()
1310 mNetworkPrefixLengthView.setText(Integer.toString(staticConfig.ipAddress in showIpConfigFields()
1314 if (staticConfig.gateway != null) { in showIpConfigFields()
1315 mGatewayView.setText(staticConfig.gateway.getHostAddress()); in showIpConfigFields()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java295 StaticIpConfiguration staticConfig = config.getStaticIpConfiguration(); in initWifiConfigController() local
296 if (staticConfig != null && staticConfig.ipAddress != null) { in initWifiConfigController()
298 staticConfig.ipAddress.getAddress().getHostAddress()); in initWifiConfigController()
1248 StaticIpConfiguration staticConfig = config.getStaticIpConfiguration(); in showIpConfigFields() local
1249 if (staticConfig != null) { in showIpConfigFields()
1250 if (staticConfig.ipAddress != null) { in showIpConfigFields()
1252 staticConfig.ipAddress.getAddress().getHostAddress()); in showIpConfigFields()
1253 mNetworkPrefixLengthView.setText(Integer.toString(staticConfig.ipAddress in showIpConfigFields()
1257 if (staticConfig.gateway != null) { in showIpConfigFields()
1258 mGatewayView.setText(staticConfig.gateway.getHostAddress()); in showIpConfigFields()
[all …]
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DProvisioningConfiguration.java157 public Builder withStaticConfiguration(StaticIpConfiguration staticConfig) { in withStaticConfiguration() argument
158 mConfig.mStaticIpConfig = staticConfig; in withStaticConfiguration()