/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 | 50 public InetAddress gateway; field in StaticIpConfiguration 63 gateway = source.gateway; in StaticIpConfiguration() 71 gateway = null; in clear() 88 if (gateway != null && !connectedRoute.matches(gateway)) { in getRoutes() 89 routes.add(RouteInfo.makeHostRoute(gateway, iface)); in getRoutes() 92 if (gateway != null) { in getRoutes() 93 routes.add(new RouteInfo((IpPrefix) null, gateway, iface)); in getRoutes() 127 if (gateway != null) str.append(gateway.getHostAddress()).append(" "); in toString() 142 result = 47 * result + (gateway == null ? 0 : gateway.hashCode()); in hashCode() 158 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 | 159 gateway = NetworkUtils.numericToInetAddress(addrString); in setGateway()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 87 if (staticIpConfiguration.gateway != null) { in writeConfig() 91 out.writeUTF(staticIpConfiguration.gateway.getHostAddress()); in writeConfig() 217 InetAddress gateway = null; in readIpAndProxyConfigurations() local 220 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations() 221 if (staticIpConfiguration.gateway == null) { in readIpAndProxyConfigurations() 222 staticIpConfiguration.gateway = gateway; in readIpAndProxyConfigurations() 224 loge("Duplicate gateway: " + gateway.getHostAddress()); in readIpAndProxyConfigurations() 233 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations() 235 RouteInfo route = new RouteInfo(dest, gateway); in readIpAndProxyConfigurations() 237 staticIpConfiguration.gateway == null) { in readIpAndProxyConfigurations() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | StaticIpConfigurationTest.java | 51 assertNull(s.gateway); in checkEmpty() 71 s.gateway = GATEWAY; in makeTestObject() 109 s.gateway = GATEWAY; in testHashCodeAndEquals() 138 s.gateway = DNS2; in testHashCodeAndEquals() 160 s.gateway = GATEWAY; in testToLinkProperties() 165 s.gateway = OFFLINKGATEWAY; in testToLinkProperties() 188 s.gateway = null; in testToLinkProperties() 196 s.gateway = OFFLINKGATEWAY; in testToLinkProperties()
|
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 | NetworkDiagnostics.java | 193 InetAddress gateway = route.getGateway(); in NetworkDiagnostics() local 194 prepareIcmpMeasurement(gateway); in NetworkDiagnostics() 196 prepareExplicitSourceIcmpMeasurements(gateway); in NetworkDiagnostics()
|
D | Vpn.java | 1306 final String gateway = ipv4DefaultRoute.getGateway().getHostAddress(); in startLegacyVpnPrivileged() local 1349 profile.ipsecSecret, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged() 1355 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged() 1361 caCert, serverCert, profile.username, profile.password, "", gateway, in startLegacyVpnPrivileged()
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 262 private void assertDhcpResults(String ipAddress, String gateway, String dnsServersString, in assertDhcpResults() argument 266 assertEquals(v4Address(gateway), dhcpResults.gateway); in assertDhcpResults()
|
/frameworks/base/docs/html/distribute/googleplay/work/ |
D | about.jd | 21 …<p>Get your business related apps listed in a business specific gateway so they stand out from con… 39 …<p>Provides a secure gateway for distributing apps within your company, whether they are available…
|
/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 | 245 staticConfig.gateway != null && in setStaticIpAddress()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1193 if (dhcpResults.gateway != null) { in getDhcpInfo() 1194 info.gateway = NetworkUtils.inetAddressToInt((Inet4Address) dhcpResults.gateway); in getDhcpInfo()
|
D | WifiStateMachine.java | 3275 InetAddress gateway = route.getGateway(); in updateDefaultRouteMacAddress() local 3276 if (gateway instanceof Inet4Address) { in updateDefaultRouteMacAddress() 3279 + gateway.getHostAddress()); in updateDefaultRouteMacAddress() 3281 address = macAddressFromRoute(gateway.getHostAddress()); in updateDefaultRouteMacAddress() 3286 reachable = gateway.isReachable(timeout); in updateDefaultRouteMacAddress() 3289 + gateway.getHostAddress()); in updateDefaultRouteMacAddress() 3294 address = macAddressFromRoute(gateway.getHostAddress()); in updateDefaultRouteMacAddress() 3297 + gateway.getHostAddress() + " found " + address); in updateDefaultRouteMacAddress() 7278 InetAddress gateway = RouteInfo.selectBestRoute( in processMessage() local 7280 String dstMacStr = macAddressFromRoute(gateway.getHostAddress()); in processMessage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 947 InetAddress gateway = null; in onEvent() local 948 if (via != null) gateway = InetAddress.parseNumericAddress(via); in onEvent() 949 RouteInfo route = new RouteInfo(new IpPrefix(cooked[3]), gateway, dev); in onEvent()
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 1128 results.gateway = mGateways.get(0); in toDhcpResults()
|
/frameworks/base/docs/html/guide/components/ |
D | fundamentals.jd | 158 just a "gateway" to other components and is intended to do a very minimal amount of work. For
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16989 field public int gateway;
|
/frameworks/base/api/ |
D | current.txt | 23458 field public int gateway;
|
D | system-current.txt | 25282 field public int gateway;
|
D | test-current.txt | 23527 field public int gateway;
|