/frameworks/base/core/java/android/net/ |
D | StaticIpConfiguration.java | 58 public LinkAddress ipAddress; field in StaticIpConfiguration 80 ipAddress = source.ipAddress; in StaticIpConfiguration() 88 ipAddress = null; in clear() 98 return ipAddress; in getIpAddress() 136 public @NonNull Builder setIpAddress(@Nullable LinkAddress ipAddress) { in setIpAddress() argument 137 mIpAddress = ipAddress; in setIpAddress() 176 config.ipAddress = mIpAddress; in build() 200 if (ipAddress != null) { in getRoutes() 201 RouteInfo connectedRoute = new RouteInfo(ipAddress, null, iface); in getRoutes() 226 if (ipAddress != null) { in toLinkProperties() [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 | 42 public LinkAddress ipAddress; field in DhcpResults 78 .setIpAddress(ipAddress) in toStaticIpConfiguration() 87 ipAddress = source.getIpAddress(); in DhcpResults() 127 ipAddress = null; in clear() 212 ipAddress = new LinkAddress(addr, prefixLength); in setIpAddress() 243 return ipAddress; in getIpAddress() 246 public void setIpAddress(LinkAddress ipAddress) { in setIpAddress() argument 247 this.ipAddress = ipAddress; in setIpAddress()
|
D | INetdEventCallback.aidl | 70 void onPrivateDnsValidationEvent(int netId, String ipAddress, String hostname, in onPrivateDnsValidationEvent() argument
|
/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/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractIpAddressPreferenceController.java | 81 String ipAddress = getDefaultIpAddresses(mCM); in updateConnectivity() local 82 if (ipAddress != null) { in updateConnectivity() 83 mIpAddress.setSummary(ipAddress); in updateConnectivity()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | StaticIpConfigurationTest.java | 58 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() 237 assertEquals(s.ipAddress, s.getIpAddress()); in testBuilder()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 90 if (staticIpConfiguration.ipAddress != null) { in writeConfig() 91 LinkAddress ipAddress = staticIpConfiguration.ipAddress; in writeConfig() local 93 out.writeUTF(ipAddress.getAddress().getHostAddress()); in writeConfig() 94 out.writeInt(ipAddress.getPrefixLength()); in writeConfig() 289 staticIpConfiguration.ipAddress == null) { in readIpConfigurations() 290 staticIpConfiguration.ipAddress = linkAddr; in readIpConfigurations()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DnsManager.java | 147 final public InetAddress ipAddress; field in DnsManager.PrivateDnsValidationUpdate 151 public PrivateDnsValidationUpdate(int netId, InetAddress ipAddress, in PrivateDnsValidationUpdate() argument 154 this.ipAddress = ipAddress; in PrivateDnsValidationUpdate() 187 for (String ipAddress : ipAddresses) { in updateTrackedDnses() 190 InetAddress.parseNumericAddress(ipAddress))); in updateTrackedDnses() 211 update.ipAddress); in updateStatus()
|
D | NetdEventListenerService.java | 232 String ipAddress, String hostname, boolean validated) in onPrivateDnsValidationEvent() argument 236 callback.onPrivateDnsValidationEvent(netId, ipAddress, hostname, validated); in onPrivateDnsValidationEvent()
|
/frameworks/base/core/java/android/app/admin/ |
D | ConnectEvent.java | 41 public ConnectEvent(String ipAddress, int port, String packageName, long timestamp) { in ConnectEvent() argument 43 this.mIpAddress = ipAddress; in ConnectEvent()
|
D | DnsEvent.java | 77 for (final String ipAddress : mIpAddresses) { in getInetAddresses() 80 inetAddresses.add(InetAddress.getByName(ipAddress)); in getInetAddresses()
|
/frameworks/base/tests/net/java/android/net/shared/ |
D | IpConfigurationParcelableUtilTest.java | 50 mDhcpResults.ipAddress = new LinkAddress(parseNumericAddress("2001:db8::42"), 64); in setUp() 71 mDhcpResults.ipAddress = null; in testParcelUnparcelDhcpResults_NullIpAddress()
|
D | ProvisioningConfigurationTest.java | 61 mConfig.mStaticIpConfig.ipAddress = in setUp() 120 assertNotEqualsAfterChange(c -> c.mStaticIpConfig.ipAddress = in testEquals()
|
/frameworks/base/core/java/com/android/server/net/ |
D | BaseNetdEventCallback.java | 41 public void onPrivateDnsValidationEvent(int netId, String ipAddress, in onPrivateDnsValidationEvent() argument
|
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/ |
D | IkeNotifyPayload.java | 173 long initiatorIkeSpi, long responderIkeSpi, InetAddress ipAddress, int port) in generateNatDetectionData() argument 175 byte[] rawIpAddr = ipAddress.getAddress(); in generateNatDetectionData()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | IpConfigStoreTest.java | 81 staticIpConfiguration.ipAddress = new LinkAddress(IP_ADDR_1); in staticIpMultiNetworks() 90 expectedConfig2.getStaticIpConfiguration().ipAddress = new LinkAddress(IP_ADDR_2); in staticIpMultiNetworks()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 365 for (String ipAddress : ipAddresses) { in searchIpInWatchlist() 366 if (isIpInWatchlist(ipAddress)) { in searchIpInWatchlist() 367 return ipAddress; in searchIpInWatchlist()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 703 if (staticIpConfiguration.ipAddress != null) { in writeStaticIpConfigurationToXml() 706 staticIpConfiguration.ipAddress.getAddress().getHostAddress()); in writeStaticIpConfigurationToXml() 709 staticIpConfiguration.ipAddress.getPrefixLength()); in writeStaticIpConfigurationToXml() 803 staticIpConfiguration.ipAddress = linkAddress; in parseStaticIpConfigurationFromXml()
|
/frameworks/opt/net/ethernet/tests/java/com/android/server/ethernet/ |
D | EthernetTrackerTest.java | 110 config.ipAddress = new LinkAddress(address); in setIp()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 433 ipConfig.ipAddress = new LinkAddress(value); in parseStaticIpConfiguration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 499 staticIpConfiguration.ipAddress = linkAddress; in parseIpConfigurationFromXml()
|
D | WifiConfigurationUtil.java | 550 if (staticIpConfig.ipAddress == null) { in validateIpConfiguration()
|
D | WifiServiceImpl.java | 2459 if (dhcpResults.ipAddress != null && in getDhcpInfo() 2460 dhcpResults.ipAddress.getAddress() instanceof Inet4Address) { in getDhcpInfo() 2461 info.ipAddress = NetworkUtils.inetAddressToInt( in getDhcpInfo() 2462 (Inet4Address) dhcpResults.ipAddress.getAddress()); in getDhcpInfo()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationTestUtil.java | 199 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
|