/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
H A D | DhcpLeaseRepositoryTest.java | 25 import static com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_ANY; 255 mRepo.requestLease(clientId, TEST_MAC_1, IPV4_ADDR_ANY /* clientAddr */, in testGetOffer_ClientIdHasExistingLease() 256 IPV4_ADDR_ANY /* relayAddr */, TEST_INETADDR_1 /* reqAddr */, false, in testGetOffer_ClientIdHasExistingLease() 270 mRepo.requestLease(clientId1, TEST_MAC_1, IPV4_ADDR_ANY /* clientAddr */, in testGetOffer_DifferentClientId() 271 IPV4_ADDR_ANY /* relayAddr */, TEST_INETADDR_1 /* reqAddr */, false, in testGetOffer_DifferentClientId() 339 IPV4_ADDR_ANY /* clientAddr */, IPV4_ADDR_ANY /* relayAddr */, in testGetOffer_StaticClientAddressInUse() 344 mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_1, IPV4_ADDR_ANY /* relayAddr */, in testGetOffer_StaticClientAddressInUse() 401 mRepo.requestLease(CLIENTID_UNSPEC, TEST_MAC_1, IPV4_ADDR_ANY /* clientAddr */, in testRequestLease_SelectingRelayInInvalidSubnet() 564 mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_3, IPV4_ADDR_ANY /* relayAddr */, in testMarkLeaseDeclined_UsedIfOutOfAddresses() 579 IPV4_ADDR_ANY /* relayAddr */, in requestLease() [all …]
|
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/util/ |
H A D | NetworkStackUtilsIntegrationTest.kt | 43 import com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_ANY 116 false /* broadcast */, IPV4_ADDR_ANY /* serverIpAddr */, 117 IPV4_ADDR_ANY /* relayIp */, IPV4_ADDR_ANY /* yourIp */, 118 TEST_TARGET_MAC.toByteArray(), 3600 /* timeout */, IPV4_ADDR_ANY /* netMask */, 119 IPV4_ADDR_ANY /* bcAddr */, emptyList<Inet4Address>() /* gateways */, 121 IPV4_ADDR_ANY /* dhcpServerIdentifier */, null /* domainName */,
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | NetworkValidationTest.kt | 47 import com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_ANY 210 false /* broadcast */, serverIpAddr, IPV4_ADDR_ANY /* relayIp */, clientIpAddr, 220 false /* broadcast */, serverIpAddr, IPV4_ADDR_ANY /* relayIp */, clientIpAddr,
|
/aosp12/frameworks/libs/net/common/framework/com/android/net/module/util/ |
H A D | NetworkStackConstants.java | 100 public static final Inet4Address IPV4_ADDR_ANY = makeInet4Address( field in NetworkStackConstants
|
/aosp12/packages/modules/Connectivity/framework/src/android/net/ |
H A D | RouteInfo.java | 185 destination = new IpPrefix(NetworkStackConstants.IPV4_ADDR_ANY, 0); in RouteInfo() 200 gateway = NetworkStackConstants.IPV4_ADDR_ANY; in RouteInfo()
|
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/ |
H A D | DhcpServer.java | 40 import static com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_ANY; 816 return address == null || IPV4_ADDR_ANY.equals(address); in isEmpty() 856 Os.bind(mSocket, IPV4_ADDR_ANY, DHCP_SERVER); in createFd()
|
H A D | DhcpLeaseRepository.java | 25 import static com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_ANY; 245 return addr != null && !addr.equals(IPV4_ADDR_ANY) && !prefix.contains(addr); in isIpAddrOutsidePrefix()
|
H A D | DhcpPacket.java | 20 import static com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_ANY; 69 public static final Inet4Address INADDR_ANY = IPV4_ADDR_ANY; 1415 if (ipAddress.equals(IPV4_ADDR_ANY)) { in toDhcpResults() 1417 if (ipAddress.equals(IPV4_ADDR_ANY)) { in toDhcpResults()
|
H A D | DhcpClient.java | 56 import static com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_ANY; 621 Os.bind(mUdpSock, IPV4_ADDR_ANY, DhcpPacket.DHCP_CLIENT); in initUdpSocket()
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/ |
H A D | TestNetworkService.java | 288 NetworkStackConstants.IPV4_ADDR_ANY, 0), null, iface)); in registerTestNetworkAgent()
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A D | Nat464Xlat.java | 428 new LinkAddress(NetworkStackConstants.IPV4_ADDR_ANY, 0), in makeLinkProperties()
|
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
H A D | IpClientIntegrationTestCommon.java | 45 import static com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_ANY; 2560 doIPv6OnlyPreferredOptionTest(TEST_ZERO_IPV6_ONLY_WAIT_S, IPV4_ADDR_ANY);
|
/aosp12/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Vpn.java | 1198 NetworkStackConstants.IPV4_ADDR_ANY, 0), null /*gateway*/,
|