Searched refs:NetworkConstants (Results 1 – 8 of 8) sorted by relevance
28 public final class NetworkConstants { class29 private NetworkConstants() { throw new RuntimeException("no instance permitted"); } in NetworkConstants() method in NetworkConstants
75 ? NetworkConstants.IPV4_ADDR_BITS in ipAddressAsPrefix()76 : NetworkConstants.IPV6_ADDR_BITS; in ipAddressAsPrefix()
28 import android.net.util.NetworkConstants;271 lp.setMtu(NetworkConstants.ETHER_MTU); in getUniqueLocalConfig()291 final byte[] in6addr = Arrays.copyOf(ulp, NetworkConstants.IPV6_ADDR_LEN); in generateUniqueLocalPrefix()
50 assertTrue(ifParams.defaultMtu >= NetworkConstants.ETHER_MTU); in testLoopback()
27 import android.net.util.NetworkConstants;434 mIcmpType = NetworkConstants.ICMPV6_ECHO_REQUEST_TYPE; in IcmpCheck()438 mIcmpType = NetworkConstants.ICMPV4_ECHO_REQUEST_TYPE; in IcmpCheck()548 NetworkConstants.DNS_SERVER_PORT); in run()
21 import static android.net.util.NetworkConstants.FF;22 import static android.net.util.NetworkConstants.RFC7421_PREFIX_LENGTH;23 import static android.net.util.NetworkConstants.asByte;
19 import static android.net.util.NetworkConstants.IPV6_MIN_MTU;20 import static android.net.util.NetworkConstants.RFC7421_PREFIX_LENGTH;
89 import android.net.util.NetworkConstants;300 NetworkConstants.RFC7421_PREFIX_LENGTH)); in buildMobileUpstreamState()