Home
last modified time | relevance | path

Searched refs:gatewayAddress (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/net/
DIpConfigStore.java284 InetAddress gatewayAddress = null; in readIpConfigurations() local
321 if (gatewayAddress == null) { in readIpConfigurations()
322 gatewayAddress = gateway; in readIpConfigurations()
340 gatewayAddress = gateway; in readIpConfigurations()
342 && dest.getPrefixLength() == 0 && gatewayAddress == null) { in readIpConfigurations()
343 gatewayAddress = gateway; in readIpConfigurations()
373 .setGateway(gatewayAddress) in readIpConfigurations()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java229 String gatewayAddress, String[] dnsServerAddresses, String proxyHost, in generateIpConfig() argument
245 if (!TextUtils.isEmpty(gatewayAddress)) { in generateIpConfig()
247 InetAddresses.parseNumericAddress(gatewayAddress); in generateIpConfig()
DClientModeImplTest.java9285 InetAddress gatewayAddress = mock(InetAddress.class); in testNetworkValidationUpdatesLinkedNetworks() local
9293 when(routeInfo.getGateway()).thenReturn(gatewayAddress); in testNetworkValidationUpdatesLinkedNetworks()
9294 when(gatewayAddress.getHostAddress()).thenReturn(hostAddress); in testNetworkValidationUpdatesLinkedNetworks()
9354 InetAddress gatewayAddress = mock(InetAddress.class); in testNonPskNetworkDoesNotUpdateLinkedNetworks() local
9362 when(routeInfo.getGateway()).thenReturn(gatewayAddress); in testNonPskNetworkDoesNotUpdateLinkedNetworks()
9363 when(gatewayAddress.getHostAddress()).thenReturn(hostAddress); in testNonPskNetworkDoesNotUpdateLinkedNetworks()
9407 InetAddress gatewayAddress = mock(InetAddress.class); in testInvalidScanResultDoesNotUpdateLinkedNetworks() local
9415 when(routeInfo.getGateway()).thenReturn(gatewayAddress); in testInvalidScanResultDoesNotUpdateLinkedNetworks()
9416 when(gatewayAddress.getHostAddress()).thenReturn(hostAddress); in testInvalidScanResultDoesNotUpdateLinkedNetworks()
9487 InetAddress gatewayAddress = mock(InetAddress.class); in testLinkedNetworksFiltersOutAutojoinDisabledNetworks() local
[all …]