/frameworks/base/core/java/android/net/ |
D | StaticIpConfiguration.java | 49 public LinkAddress ipAddress; field in StaticIpConfiguration 62 ipAddress = source.ipAddress; in StaticIpConfiguration() 70 ipAddress = null; in clear() 85 if (ipAddress != null) { in getRoutes() 86 RouteInfo connectedRoute = new RouteInfo(ipAddress, null, iface); in getRoutes() 107 if (ipAddress != null) { in toLinkProperties() 108 lp.addLinkAddress(ipAddress); in toLinkProperties() 124 if (ipAddress != null ) str.append(ipAddress).append(" "); in toString() 141 result = 47 * result + (ipAddress == null ? 0 : ipAddress.hashCode()); in hashCode() 157 Objects.equals(ipAddress, other.ipAddress) && in equals() [all …]
|
D | DhcpInfo.java | 26 public int ipAddress; field in DhcpInfo 42 ipAddress = source.ipAddress; in DhcpInfo() 55 str.append("ipaddr "); putAddress(str, ipAddress); in toString() 77 dest.writeInt(ipAddress); in writeToParcel() 91 info.ipAddress = in.readInt();
|
D | DhcpResults.java | 149 ipAddress = new LinkAddress(addr, prefixLength); in setIpAddress()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 243 InetAddress ipAddress = getInetAddress(jsonConfig.getString("ip")); in getWifiConfiguration() local 245 staticIpConfig.ipAddress = new LinkAddress(ipAddress, prefixLength); in getWifiConfiguration() 329 private static InetAddress getInetAddress(String ipAddress) { in getInetAddress() argument 330 if (!InetAddress.isNumeric(ipAddress)) { in getInetAddress() 332 String.format("IP address %s is not numeric", ipAddress)); in getInetAddress() 336 return InetAddress.getByName(ipAddress); in getInetAddress() 339 String.format("IP address %s could not be resolved", ipAddress)); in getInetAddress()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | StaticIpConfigurationTest.java | 50 assertNull(s.ipAddress); in checkEmpty() 70 s.ipAddress = ADDR; in makeTestObject() 106 s.ipAddress = ADDR; in testHashCodeAndEquals() 130 s.ipAddress = new LinkAddress(DNS1, 32); in testHashCodeAndEquals() 155 s.ipAddress = ADDR; in testToLinkProperties() 197 s.ipAddress = null; in testToLinkProperties()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 81 if (staticIpConfiguration.ipAddress != null) { in writeConfig() 82 LinkAddress ipAddress = staticIpConfiguration.ipAddress; in writeConfig() local 84 out.writeUTF(ipAddress.getAddress().getHostAddress()); in writeConfig() 85 out.writeInt(ipAddress.getPrefixLength()); in writeConfig() 210 staticIpConfiguration.ipAddress == null) { in readIpAndProxyConfigurations() 211 staticIpConfiguration.ipAddress = linkAddr; in readIpAndProxyConfigurations()
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 1100 Inet4Address ipAddress = mYourIp; in toDhcpResults() local 1101 if (ipAddress.equals(Inet4Address.ANY)) { in toDhcpResults() 1102 ipAddress = mClientIp; in toDhcpResults() 1103 if (ipAddress.equals(Inet4Address.ANY)) { in toDhcpResults() 1117 prefixLength = NetworkUtils.getImplicitNetmask(ipAddress); in toDhcpResults() 1122 results.ipAddress = new LinkAddress(ipAddress, prefixLength); in toDhcpResults()
|
D | DhcpClient.java | 756 (Inet4Address) mOffer.ipAddress.getAddress(), // DHCP_REQUESTED_IP in sendPacket() 823 mController.sendMessage(CMD_CONFIGURE_LINKADDRESS, mDhcpLease.ipAddress); in enter() 889 (Inet4Address) mDhcpLease.ipAddress.getAddress(), // ciaddr in sendPacket() 900 if (!mDhcpLease.ipAddress.equals(results.ipAddress)) { in receivePacket()
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 233 assertEquals(expectedAddress, results.ipAddress); in checkIpAddress() 262 private void assertDhcpResults(String ipAddress, String gateway, String dnsServersString, in assertDhcpResults() argument 265 assertEquals(new LinkAddress(ipAddress), dhcpResults.ipAddress); in assertDhcpResults()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 244 if (staticConfig.ipAddress != null && in setStaticIpAddress() 250 config.setLinkAddress(staticConfig.ipAddress); in setStaticIpAddress()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpManager.java | 906 if (setIPv4Address(mConfiguration.mStaticIpConfig.ipAddress)) { in startIPv4() 1188 final LinkAddress ipAddress = (LinkAddress) msg.obj; in processMessage() local 1189 if (setIPv4Address(ipAddress)) { in processMessage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1188 if (dhcpResults.ipAddress != null && in getDhcpInfo() 1189 dhcpResults.ipAddress.getAddress() instanceof Inet4Address) { in getDhcpInfo() 1190 … info.ipAddress = NetworkUtils.inetAddressToInt((Inet4Address) dhcpResults.ipAddress.getAddress()); in getDhcpInfo()
|
D | WifiStateMachine.java | 3633 logd("link address " + dhcpResults.ipAddress); in handleIPv4Success() 3639 addr = (Inet4Address) dhcpResults.ipAddress.getAddress(); in handleIPv4Success() 3831 private String macAddressFromRoute(String ipAddress) { in macAddressFromRoute() argument 3851 if (ipAddress.equals(ip)) { in macAddressFromRoute() 3858 loge("Did not find remoteAddress {" + ipAddress + "} in " + in macAddressFromRoute() 6755 if (config.ipAddress == null) { in enter()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16990 field public int ipAddress;
|
/frameworks/base/api/ |
D | current.txt | 23459 field public int ipAddress;
|
D | test-current.txt | 23528 field public int ipAddress;
|
D | system-current.txt | 25283 field public int ipAddress;
|