/packages/modules/Connectivity/framework/src/android/net/ |
D | RouteInfo.java | 136 public RouteInfo(@Nullable IpPrefix destination, @Nullable InetAddress gateway, in RouteInfo() argument 138 this(destination, gateway, iface, type, 0); in RouteInfo() 161 public RouteInfo(@Nullable IpPrefix destination, @Nullable InetAddress gateway, in RouteInfo() argument 183 if (gateway != null) { in RouteInfo() 184 if (gateway instanceof Inet4Address) { in RouteInfo() 191 throw new IllegalArgumentException("Invalid arguments passed in: " + gateway + "," + in RouteInfo() 198 if (gateway == null) { in RouteInfo() 200 gateway = NetworkStackConstants.IPV4_ADDR_ANY; in RouteInfo() 202 gateway = NetworkStackConstants.IPV6_ADDR_ANY; in RouteInfo() 205 mHasGateway = (!gateway.isAnyLocalAddress()); in RouteInfo() [all …]
|
D | StaticIpConfiguration.java | 62 public InetAddress gateway; field in StaticIpConfiguration 81 gateway = source.gateway; in StaticIpConfiguration() 89 gateway = null; in clear() 105 return gateway; in getGateway() 145 public @NonNull Builder setGateway(@Nullable InetAddress gateway) { in setGateway() argument 146 mGateway = gateway; in setGateway() 178 config.gateway = mGateway; in build() 209 if (gateway != null && !connectedRoute.matches(gateway)) { in getRoutes() 210 routes.add(RouteInfo.makeHostRoute(gateway, iface)); in getRoutes() 213 if (gateway != null) { in getRoutes() [all …]
|
D | DhcpInfo.java | 27 public int gateway; field in DhcpInfo 43 gateway = source.gateway; in DhcpInfo() 56 str.append(" gateway "); putAddress(str, gateway); in toString() 78 dest.writeInt(gateway); in writeToParcel() 92 info.gateway = in.readInt();
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | StaticIpConfigurationTest.java | 59 assertNull(s.gateway); in checkEmpty() 67 s.gateway = GATEWAY; in makeTestObject() 105 s.gateway = GATEWAY; in testHashCodeAndEquals() 134 s.gateway = DNS2; in testHashCodeAndEquals() 156 s.gateway = GATEWAY; in testToLinkProperties() 161 s.gateway = OFFLINKGATEWAY; in testToLinkProperties() 184 s.gateway = null; in testToLinkProperties() 192 s.gateway = OFFLINKGATEWAY; in testToLinkProperties() 235 assertEquals(s.gateway, s.getGateway()); in testBuilder()
|
D | DhcpInfoTest.java | 52 dhcpInfo.gateway = ipToInteger(STR_ADDR2); in createDhcpInfoObject() 91 && left.gateway == right.gateway in dhcpInfoEquals()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiGatewayPreferenceController.java | 46 String gateway = null; in updateState() local 52 gateway = routeInfo.getGateway().getHostAddress(); in updateState() 58 if (gateway == null) { in updateState() 61 preference.setDetailText(gateway); in updateState()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | IpConfigStore.java | 132 InetAddress gateway = null; in readIpConfigurations() local 135 gateway = InetAddresses.parseNumericAddress(in.readUTF()); in readIpConfigurations() 136 staticIPBuilder.setGateway(gateway); in readIpConfigurations() 144 gateway = InetAddresses.parseNumericAddress(in.readUTF()); in readIpConfigurations() 149 gateway, null, RouteInfo.RTN_UNICAST); in readIpConfigurations() 153 staticIPBuilder.setGateway(gateway); in readIpConfigurations()
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkObserverRegistry.java | 166 public void onRouteChanged(boolean updated, String route, String gateway, String ifName) { in onRouteChanged() argument 168 ("".equals(gateway)) ? null : InetAddresses.parseNumericAddress(gateway), in onRouteChanged()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | AdvancedOptionsFlowUtil.java | 133 String gateway = flowInfo.get(AdvancedOptionsFlowInfo.GATEWAY); in processIpSettings() local 134 if (!TextUtils.isEmpty(gateway)) { in processIpSettings() 136 staticIpBuilder.setGateway(InetAddresses.parseNumericAddress(gateway)); in processIpSettings()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpResultsParcelableUtilTest.java | 52 mDhcpResults.gateway = parseNumericAddress("192.168.42.42"); in setUp() 79 mDhcpResults.gateway = null; in testParcelUnparcelDhcpResults_NullGateway()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | IpConfigStoreTestWriter.java | 65 if (staticIpConfiguration.gateway != null) { in writeConfig() 69 out.writeUTF(staticIpConfiguration.gateway.getHostAddress()); in writeConfig()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 622 InetAddress gateway = InetAddresses.parseNumericAddress(gatewayAddressString); in parseIpConfigurationFromXml() local 623 RouteInfo route = new RouteInfo(null, gateway, null, RouteInfo.RTN_UNICAST); in parseIpConfigurationFromXml() 626 builder.setGateway(gateway); in parseIpConfigurationFromXml()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ |
D | InitialConfigurationParcelable.aidl | 23 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
D | InitialConfigurationParcelable.aidl | 23 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ |
D | InitialConfigurationParcelable.aidl | 6 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ |
D | InitialConfigurationParcelable.aidl | 23 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ |
D | InitialConfigurationParcelable.aidl | 6 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ |
D | InitialConfigurationParcelable.aidl | 6 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ |
D | InitialConfigurationParcelable.aidl | 23 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/ |
D | InitialConfigurationParcelable.aidl | 23 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/ |
D | InitialConfigurationParcelable.aidl | 25 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/ |
D | InitialConfigurationParcelable.aidl | 24 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ |
D | InitialConfigurationParcelable.aidl | 25 String gateway;
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
D | InitialConfigurationParcelable.aidl | 27 String gateway;
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 210 InetAddress gateway = route.getGateway(); in NetworkDiagnostics() local 211 prepareIcmpMeasurement(gateway); in NetworkDiagnostics() 213 prepareExplicitSourceIcmpMeasurements(gateway); in NetworkDiagnostics()
|