/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunDevice.java | 59 int ipAddress, int deviceType, int deviceId, int tunerIndex, String deviceModel) { in HdHomeRunDevice() argument 60 mIpAddress = ipAddress; in HdHomeRunDevice() 114 String ipAddress = in toString() local 123 return String.format("[%x-%d:%s]", mDeviceId, mTunerIndex, ipAddress); in toString()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbIpAddressPreferenceController.java | 108 String ipAddress = getDefaultIpAddresses(mCM); in updateConnectivity() local 109 if (ipAddress != null) { in updateConnectivity() 114 ipAddress += ":" + port; in updateConnectivity() 116 mAdbIpAddrPref.setSummary(ipAddress); in updateConnectivity()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiInfoPreferenceController.java | 115 final String ipAddress = Utils.getWifiIpAddresses(mContext); in updateWifiInfo() local 116 mWifiIpAddressPref.setSummary(ipAddress == null in updateWifiInfo() 118 : BidiFormatter.getInstance().unicodeWrap(ipAddress)); in updateWifiInfo()
|
D | WifiConfigController.java | 296 if (staticConfig != null && staticConfig.ipAddress != null) { in initWifiConfigController() 298 staticConfig.ipAddress.getAddress().getHostAddress()); in initWifiConfigController() 872 staticIpConfiguration.ipAddress = new LinkAddress(inetAddr, networkPrefixLength); in validateIpConfigFields() 1250 if (staticConfig.ipAddress != null) { in showIpConfigFields() 1252 staticConfig.ipAddress.getAddress().getHostAddress()); in showIpConfigFields() 1253 mNetworkPrefixLengthView.setText(Integer.toString(staticConfig.ipAddress in showIpConfigFields()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiInfoPreferenceController.java | 115 final String ipAddress = Utils.getWifiIpAddresses(mContext); in updateWifiInfo() local 116 mWifiIpAddressPref.setSummary(ipAddress == null in updateWifiInfo() 118 : BidiFormatter.getInstance().unicodeWrap(ipAddress)); in updateWifiInfo()
|
D | WifiConfigController.java | 311 if (staticConfig != null && staticConfig.ipAddress != null) { in initWifiConfigController() 313 staticConfig.ipAddress.getAddress().getHostAddress()); in initWifiConfigController() 902 staticIpConfiguration.ipAddress = new LinkAddress(inetAddr, networkPrefixLength); in validateIpConfigFields() 1307 if (staticConfig.ipAddress != null) { in showIpConfigFields() 1309 staticConfig.ipAddress.getAddress().getHostAddress()); in showIpConfigFields() 1310 mNetworkPrefixLengthView.setText(Integer.toString(staticConfig.ipAddress in showIpConfigFields()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 785 if (l2Key == null || mDhcpLease == null || mDhcpLease.ipAddress == null) return; in maybeSaveLeaseToIpMemoryStore() 787 na.setAssignedV4Address((Inet4Address) mDhcpLease.ipAddress.getAddress()); in maybeSaveLeaseToIpMemoryStore() 1357 (Inet4Address) mOffer.ipAddress.getAddress(), // DHCP_REQUESTED_IP in sendPacket() 1423 mController.sendMessage(CMD_CONFIGURE_LINKADDRESS, mDhcpLease.ipAddress); in enter() 1443 IpConflictDetector(@NonNull Handler handler, @NonNull Inet4Address ipAddress) { in IpConflictDetector() argument 1445 mTargetIp = ipAddress; in IpConflictDetector() 1563 mTargetIp = (Inet4Address) mDhcpLease.ipAddress.getAddress(); in enter() 1756 (Inet4Address) mDhcpLease.ipAddress.getAddress(), // ciaddr in sendPacket() 1767 if (!mDhcpLease.ipAddress.equals(results.ipAddress)) { in receivePacket() 1903 (Inet4Address) mDhcpLease.ipAddress.getAddress(), // requested IP in sendPacket()
|
D | DhcpPacket.java | 1330 Inet4Address ipAddress = mYourIp; in toDhcpResults() local 1331 if (ipAddress.equals(IPV4_ADDR_ANY)) { in toDhcpResults() 1332 ipAddress = mClientIp; in toDhcpResults() 1333 if (ipAddress.equals(IPV4_ADDR_ANY)) { in toDhcpResults() 1347 prefixLength = Inet4AddressUtils.getImplicitNetmask(ipAddress); in toDhcpResults() 1352 results.ipAddress = new LinkAddress(ipAddress, prefixLength); in toDhcpResults()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpResultsParcelableUtilTest.java | 51 mDhcpResults.ipAddress = new LinkAddress(parseNumericAddress("2001:db8::42"), 64); in setUp() 73 mDhcpResults.ipAddress = null; in testParcelUnparcelDhcpResults_NullIpAddress()
|
D | DhcpPacketTest.java | 281 assertEquals(expectedAddress, results.ipAddress); in checkIpAddress() 310 private void assertDhcpResults(String ipAddress, String gateway, String dnsServersString, in assertDhcpResults() argument 314 assertEquals(new LinkAddress(ipAddress), dhcpResults.ipAddress); in assertDhcpResults()
|
/packages/modules/DnsResolver/tests/dns_metrics_listener/ |
D | dns_metrics_listener.cpp | 56 int32_t netId, const std::string& ipAddress, const std::string& /*hostname*/, in onPrivateDnsValidationEvent() argument 61 mValidationRecords.insert_or_assign({netId, ipAddress}, validated); in onPrivateDnsValidationEvent()
|
D | test_metrics.cpp | 66 if (ipAddresses.empty() || ipAddresses.front() != result.ipAddress) continue; in onDnsEvent()
|
D | test_metrics.h | 76 std::string ipAddress; // Check first address only. member
|
D | dns_metrics_listener.h | 64 ::ndk::ScopedAStatus onPrivateDnsValidationEvent(int32_t netId, const std::string& ipAddress,
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | ProvisioningConfigurationTest.java | 77 mConfig.mStaticIpConfig.ipAddress = in setUp() 152 assertNotEqualsAfterChange(c -> c.mStaticIpConfig.ipAddress = in testEquals()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayloadTest.java | 568 byte[] ipAddress = IPV4_ADDRESS.getAddress(); in testDecodeIpv4SubnetWithInvalidValue() 569 ByteBuffer buffer = ByteBuffer.allocate(ipAddress.length * 2); in testDecodeIpv4SubnetWithInvalidValue() 570 buffer.put(ipAddress).put(ipAddress); in testDecodeIpv4SubnetWithInvalidValue()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeNotifyPayload.java | 301 long initiatorIkeSpi, long responderIkeSpi, InetAddress ipAddress, int port) { in generateNatDetectionData() argument 302 byte[] rawIpAddr = ipAddress.getAddress(); in generateNatDetectionData()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreServiceTest.java | 161 final Inet4Address ipAddress, final long expiry, final String cluster, in buildTestNetworkAttributes() argument 164 if (null != ipAddress) { in buildTestNetworkAttributes() 165 na.setAssignedV4Address(ipAddress); in buildTestNetworkAttributes()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | AdvancedOptionsFlowInfo.java | 196 return mIpConfiguration.getStaticIpConfiguration().ipAddress; in getInitialLinkAddress()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | AdvancedOptionsFlowUtil.java | 124 staticConfig.ipAddress = new LinkAddress(inetAddr, networkPrefixLength); in processIpSettings()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 2144 final LinkAddress ipAddress = (LinkAddress) msg.obj; in processMessage() local 2145 if (mInterfaceCtrl.setIPv4Address(ipAddress)) { in processMessage()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 922 final LinkAddress ipAddress = new LinkAddress(CLIENT_ADDR, PREFIX_LENGTH); 925 assertEquals(ifConfig.getValue().ipv4Addr, ipAddress.getAddress().getHostAddress());
|