Home
last modified time | relevance | path

Searched refs:isDefaultRoute (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DRouteInfoTest.java202 assertTrue(r.isDefaultRoute()); in testHostAndDefaultRoutes()
212 assertTrue(r.isDefaultRoute()); in testHostAndDefaultRoutes()
222 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
232 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
242 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
252 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
262 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
272 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
282 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
292 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DRouteInfo.java419 public boolean isDefaultRoute() { in isDefaultRoute() method in RouteInfo
438 return isDefaultRoute() && mDestination.getAddress() instanceof Inet4Address; in isIPv4Default()
454 return isDefaultRoute() && mDestination.getAddress() instanceof Inet6Address; in isIPv6Default()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiGatewayPreferenceController.java49 if (routeInfo.isDefaultRoute() in updateState()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DRouteUtils.java67 if (!route.isDefaultRoute()) { in addRoutesToLocalNetwork()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
DWifiGatewayPreferenceControllerTest.java92 when(mMockRouteInfo.isDefaultRoute()).thenReturn(true); in onCreate_shouldHaveDetailTextSet()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java684 if (ri.isDefaultRoute() && address instanceof Inet4Address) { in pushUpstreamParameters()
686 } else if (ri.isDefaultRoute() && address instanceof Inet6Address) { in pushUpstreamParameters()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java150 if (route.isDefaultRoute() in readIpConfigurations()
DNetdWrapper.java218 if (!route.isDefaultRoute()) { in addInterfaceToLocalNetwork()
DXmlUtil.java1046 if (route.isDefaultRoute() in parseStaticIpConfigurationFromXml()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java624 if (route.isDefaultRoute() in parseIpConfigurationFromXml()
DClientModeImpl.java6595 if (routeInfo.isDefaultRoute()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java895 if (routeInfo.hasGateway() && routeInfo.isDefaultRoute() in refreshIpLayerInfo()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt442 method public boolean isDefaultRoute();