Home
last modified time | relevance | path

Searched refs:NetworkConstants (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/net/java/android/net/util/
DNetworkConstants.java28 public final class NetworkConstants { class
29 private NetworkConstants() { throw new RuntimeException("no instance permitted"); } in NetworkConstants() method in NetworkConstants
DPrefixUtils.java75 ? NetworkConstants.IPV4_ADDR_BITS in ipAddressAsPrefix()
76 : NetworkConstants.IPV6_ADDR_BITS; in ipAddressAsPrefix()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java28 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()
/frameworks/base/tests/net/java/android/net/util/
DInterfaceParamsTest.java50 assertTrue(ifParams.defaultMtu >= NetworkConstants.ETHER_MTU); in testLoopback()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java27 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()
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java21 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;
DRouterAdvertisementDaemon.java19 import static android.net.util.NetworkConstants.IPV6_MIN_MTU;
20 import static android.net.util.NetworkConstants.RFC7421_PREFIX_LENGTH;
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java89 import android.net.util.NetworkConstants;
300 NetworkConstants.RFC7421_PREFIX_LENGTH)); in buildMobileUpstreamState()