Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DRouteInfo.java114 public InetAddress getGateway() { in getGateway() method in RouteInfo
167 target.getGateway() == null in equals()
168 : mGateway.equals(target.getGateway()); in equals()
DDhcpInfoInternal.java76 info.gateway = convertToInt(route.getGateway().getHostAddress()); in makeDhcpInfo()
/frameworks/base/services/java/com/android/server/
DConnectivityService.java1170 if (bestRoute.getGateway().equals(addr)) { in modifyRouteToAddress()
1176 bestRoute = RouteInfo.makeHostRoute(addr, bestRoute.getGateway()); in modifyRouteToAddress()
1192 RouteInfo bestRoute = RouteInfo.selectBestRoute(lp.getRoutes(), r.getGateway()); in modifyRoute()
1194 if (bestRoute.getGateway().equals(r.getGateway())) { in modifyRoute()
1196 bestRoute = RouteInfo.makeHostRoute(r.getGateway()); in modifyRoute()
1200 bestRoute = RouteInfo.makeHostRoute(r.getGateway(), bestRoute.getGateway()); in modifyRoute()
DNetworkManagementService.java538 if (route.getGateway() == null) { in modifyRoute()
545 cmd.append(route.getGateway().getHostAddress()); in modifyRoute()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfigStore.java662 if (route.getGateway() != null) { in writeIpAndProxyConfigurations()
664 out.writeUTF(route.getGateway().getHostAddress()); in writeIpAndProxyConfigurations()