Home
last modified time | relevance | path

Searched refs:getGateway (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DRouteInfoTest.java53 assertEquals(Address("2001:db8::1"), r.getGateway()); in testConstructor()
58 assertEquals(Address("192.0.2.1"), r.getGateway()); in testConstructor()
64 assertEquals(Address("::"), r.getGateway()); in testConstructor()
69 assertEquals(Address("0.0.0.0"), r.getGateway()); in testConstructor()
DStaticIpConfigurationTest.java239 assertEquals(s.gateway, s.getGateway()); in testBuilder()
240 assertEquals(GATEWAY, s.getGateway()); in testBuilder()
/frameworks/base/core/java/android/net/
DDhcpResults.java88 gateway = source.getGateway(); in DhcpResults()
250 public InetAddress getGateway() { in getGateway() method in DhcpResults
DRouteInfo.java347 public InetAddress getGateway() { in getGateway() method in RouteInfo
494 Objects.equals(mGateway, target.getGateway()) && in equals()
DStaticIpConfiguration.java104 public @Nullable InetAddress getGateway() { in getGateway() method in StaticIpConfiguration
DLinkProperties.java660 route.getGateway(), in routeWithInterface()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java472 final String gateway = ri.getGateway().getHostAddress(); in pushUpstreamParameters()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java194 InetAddress gateway = route.getGateway(); in NetworkDiagnostics()
DVpn.java1700 if (route.isDefaultRoute() && route.getGateway() instanceof Inet4Address) { in findIPv4DefaultRoute()
1742 final String gateway = ipv4DefaultRoute.getGateway().getHostAddress(); in startLegacyVpnPrivileged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java694 .getGateway().getHostAddress())); in testSetLinkProperties()
DDcTrackerTest.java598 assertEquals(FAKE_GATEWAY, linkProperties.getRoutes().get(0).getGateway().getHostAddress()); in verifyDataConnected()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java915 nextHop = route.getGateway().getHostAddress(); in modifyRoute()
2086 nextHop = routeInfo.getGateway().getHostAddress(); in addLegacyRouteForNetId()
DConnectivityService.java1740 if (bestRoute.getGateway().equals(addr)) { in addLegacyRouteToHost()
1746 bestRoute = RouteInfo.makeHostRoute(addr, bestRoute.getGateway(), iface); in addLegacyRouteToHost()
5659 if ((route.getGateway() instanceof Inet4Address) || VDBG) { in updateRoutes()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1279 mLinkProperties.getRoutes(), packetData.dstAddress).getGateway(); in getDstMacForKeepalive()
/frameworks/base/api/
Dtest-current.txt1433 method @Nullable public java.net.InetAddress getGateway();
Dsystem-current.txt4201 method @Nullable public java.net.InetAddress getGateway();
Dcurrent.txt28910 method @Nullable public java.net.InetAddress getGateway();
/frameworks/base/config/
Dboot-image-profile.txt42221 HSPLandroid/net/RouteInfo;->getGateway()Ljava/net/InetAddress;
42231 HSPLandroid/net/StaticIpConfiguration;->getGateway()Ljava/net/InetAddress;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17245 method public java.net.InetAddress getGateway();