/frameworks/base/core/java/android/net/ |
D | RouteInfo.java | 102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { in RouteInfo() argument 123 if (gateway != null) { in RouteInfo() 124 if (gateway instanceof Inet4Address) { in RouteInfo() 131 throw new IllegalArgumentException("Invalid arguments passed in: " + gateway + "," + in RouteInfo() 138 if (gateway == null) { in RouteInfo() 140 gateway = Inet4Address.ANY; in RouteInfo() 142 gateway = Inet6Address.ANY; in RouteInfo() 145 mHasGateway = (!gateway.isAnyLocalAddress()); in RouteInfo() 148 (gateway instanceof Inet4Address == false)) || in RouteInfo() 150 (gateway instanceof Inet6Address == false))) { in RouteInfo() [all …]
|
D | StaticIpConfiguration.java | 51 public InetAddress gateway; field in StaticIpConfiguration 64 gateway = source.gateway; in StaticIpConfiguration() 72 gateway = null; in clear() 89 if (gateway != null && !connectedRoute.matches(gateway)) { in getRoutes() 90 routes.add(RouteInfo.makeHostRoute(gateway, iface)); in getRoutes() 93 if (gateway != null) { in getRoutes() 94 routes.add(new RouteInfo((IpPrefix) null, gateway, iface)); in getRoutes() 128 if (gateway != null) str.append(gateway.getHostAddress()).append(" "); in toString() 143 result = 47 * result + (gateway == null ? 0 : gateway.hashCode()); in hashCode() 159 Objects.equals(gateway, other.gateway) && in equals() [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();
|
D | DhcpResults.java | 72 if (gateway == null) gateway = orig.gateway; in updateFromDhcpRequest() 165 gateway = NetworkUtils.numericToInetAddress(addrString); in setGateway()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 89 if (staticIpConfiguration.gateway != null) { in writeConfig() 93 out.writeUTF(staticIpConfiguration.gateway.getHostAddress()); in writeConfig() 219 InetAddress gateway = null; in readIpAndProxyConfigurations() local 222 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations() 223 if (staticIpConfiguration.gateway == null) { in readIpAndProxyConfigurations() 224 staticIpConfiguration.gateway = gateway; in readIpAndProxyConfigurations() 226 loge("Duplicate gateway: " + gateway.getHostAddress()); in readIpAndProxyConfigurations() 235 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations() 237 RouteInfo route = new RouteInfo(dest, gateway); in readIpAndProxyConfigurations() 239 staticIpConfiguration.gateway == null) { in readIpAndProxyConfigurations() [all …]
|
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 36 const char *gateway, 47 const char *gateway, 102 char gateway[PROPERTY_VALUE_MAX]; in android_net_utils_runDhcpCommon() local 118 result = ::dhcp_do_request_renew(nameStr, ipaddr, gateway, &prefixLength, in android_net_utils_runDhcpCommon() 121 result = ::dhcp_do_request(nameStr, ipaddr, gateway, &prefixLength, in android_net_utils_runDhcpCommon() 141 dhcpResultsFieldIds.setGateway, env->NewStringUTF(gateway)); in android_net_utils_runDhcpCommon()
|
/frameworks/base/core/java/android/net/dhcp/ |
D | DhcpPacket.java | 562 InetAddress gateway = null; // aka router in decodeFullPacket() local 680 gateway = readIpAddress(packet); in decodeFullPacket() 794 newPacket.mGateway = gateway; in decodeFullPacket() 833 InetAddress gateway, List<InetAddress> dnsServers, in buildOfferPacket() argument 837 pkt.mGateway = gateway; in buildOfferPacket() 853 InetAddress gateway, List<InetAddress> dnsServers, in buildAckPacket() argument 857 pkt.mGateway = gateway; in buildAckPacket()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | RouteInfoTest.java | 76 public PatchedRouteInfo(IpPrefix destination, InetAddress gateway, String iface) { in testMatches() argument 77 mRouteInfo = new RouteInfo(destination, gateway, iface); in testMatches()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 882 final String gateway = ipv4DefaultRoute.getGateway().getHostAddress(); in startLegacyVpnPrivileged() local 925 profile.ipsecSecret, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged() 931 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged() 937 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 246 staticIpConfig.gateway = getInetAddress(jsonConfig.getString("gateway")); in getWifiConfiguration()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 225 staticConfig.gateway != null && in setStaticIpAddress()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1140 if (dhcpResults.gateway != null) { in getDhcpInfo() 1141 info.gateway = NetworkUtils.inetAddressToInt((Inet4Address) dhcpResults.gateway); in getDhcpInfo()
|
D | WifiStateMachine.java | 4127 InetAddress gateway = route.getGateway(); in updateDefaultRouteMacAddress() local 4128 if (gateway instanceof Inet4Address) { in updateDefaultRouteMacAddress() 4131 + gateway.getHostAddress()); in updateDefaultRouteMacAddress() 4133 address = macAddressFromRoute(gateway.getHostAddress()); in updateDefaultRouteMacAddress() 4138 reachable = gateway.isReachable(timeout); in updateDefaultRouteMacAddress() 4141 + gateway.getHostAddress()); in updateDefaultRouteMacAddress() 4146 address = macAddressFromRoute(gateway.getHostAddress()); in updateDefaultRouteMacAddress() 4149 + gateway.getHostAddress() + " found " + address); in updateDefaultRouteMacAddress()
|
D | WifiConfigStore.java | 1927 String gateway = key.replace(DEFAULT_GW_KEY, ""); in readNetworkHistory() local 1928 gateway = gateway.replace(SEPARATOR_KEY, ""); in readNetworkHistory() 1929 config.defaultGwMacAddress = gateway; in readNetworkHistory()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 786 InetAddress gateway = null; in onEvent() local 787 if (via != null) gateway = InetAddress.parseNumericAddress(via); in onEvent() 788 RouteInfo route = new RouteInfo(new IpPrefix(cooked[3]), gateway, dev); in onEvent()
|
/frameworks/base/docs/html/guide/components/ |
D | fundamentals.jd | 157 just a "gateway" to other components and is intended to do a very minimal amount of work. For
|
/frameworks/base/docs/html/tools/devices/ |
D | emulator.jd | 827 <td>Router/gateway address </td>
|
/frameworks/base/api/ |
D | system-current.txt | 18250 field public int gateway;
|
D | current.txt | 16991 field public int gateway;
|