Home
last modified time | relevance | path

Searched refs:NetworkStackConstants (Results 1 – 16 of 16) sorted by relevance

/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java22 import static com.android.server.util.NetworkStackConstants.ARP_HWTYPE_ETHER;
23 import static com.android.server.util.NetworkStackConstants.ARP_PAYLOAD_LEN;
24 import static com.android.server.util.NetworkStackConstants.ARP_REPLY;
25 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
26 import static com.android.server.util.NetworkStackConstants.DHCP4_CLIENT_PORT;
27 import static com.android.server.util.NetworkStackConstants.ETHER_ADDR_LEN;
28 import static com.android.server.util.NetworkStackConstants.ETHER_DST_ADDR_OFFSET;
29 import static com.android.server.util.NetworkStackConstants.ETHER_HEADER_LEN;
30 import static com.android.server.util.NetworkStackConstants.ETHER_SRC_ADDR_OFFSET;
31 import static com.android.server.util.NetworkStackConstants.ETHER_TYPE_ARP;
[all …]
/packages/modules/NetworkStack/src/com/android/networkstack/arp/
DArpPacket.java22 import static com.android.server.util.NetworkStackConstants.ARP_ETHER_IPV4_LEN;
23 import static com.android.server.util.NetworkStackConstants.ARP_HWTYPE_ETHER;
24 import static com.android.server.util.NetworkStackConstants.ARP_REPLY;
25 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
26 import static com.android.server.util.NetworkStackConstants.ETHER_ADDR_LEN;
27 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_LEN;
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java36 import static com.android.server.util.NetworkStackConstants.ARP_REPLY;
37 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
38 import static com.android.server.util.NetworkStackConstants.ETHER_ADDR_LEN;
39 import static com.android.server.util.NetworkStackConstants.ETHER_HEADER_LEN;
40 import static com.android.server.util.NetworkStackConstants.ETHER_TYPE_IPV6;
41 import static com.android.server.util.NetworkStackConstants.ETHER_TYPE_OFFSET;
42 import static com.android.server.util.NetworkStackConstants.ICMPV6_CHECKSUM_OFFSET;
43 import static com.android.server.util.NetworkStackConstants.ICMPV6_ND_OPTION_LENGTH_SCALING_FACTOR;
44 import static com.android.server.util.NetworkStackConstants.ICMPV6_ND_OPTION_PIO;
45 import static com.android.server.util.NetworkStackConstants.ICMPV6_ND_OPTION_RDNSS;
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java21 import static com.android.server.util.NetworkStackConstants.INFINITE_LEASE;
22 import static com.android.server.util.NetworkStackConstants.IPV4_MAX_MTU;
23 import static com.android.server.util.NetworkStackConstants.IPV4_MIN_MTU;
DDhcpServer.java39 import static com.android.server.util.NetworkStackConstants.INFINITE_LEASE;
40 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ALL;
41 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY;
DDhcpClient.java52 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
53 import static com.android.server.util.NetworkStackConstants.ETHER_ADDR_LEN;
54 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY;
55 import static com.android.server.util.NetworkStackConstants.IPV4_CONFLICT_ANNOUNCE_NUM;
56 import static com.android.server.util.NetworkStackConstants.IPV4_CONFLICT_PROBE_NUM;
DDhcpLeaseRepository.java25 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY;
26 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_BITS;
DDhcpPacket.java19 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ALL;
20 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY;
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DInterfaceParamsTest.java28 import com.android.server.util.NetworkStackConstants;
54 assertTrue(ifParams.defaultMtu >= NetworkStackConstants.ETHER_MTU); in testLoopback()
/packages/modules/NetworkStack/src/com/android/server/util/
DNetworkStackConstants.java26 public final class NetworkStackConstants { class
160 private NetworkStackConstants() { in NetworkStackConstants() method in NetworkStackConstants
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/
DArpPacketTest.java19 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
20 import static com.android.server.util.NetworkStackConstants.ETHER_ADDR_LEN;
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java30 import static com.android.server.util.NetworkStackConstants.ICMPV6_ECHO_REQUEST_TYPE;
31 import static com.android.server.util.NetworkStackConstants.ICMPV6_NEIGHBOR_ADVERTISEMENT;
32 import static com.android.server.util.NetworkStackConstants.ICMPV6_ROUTER_ADVERTISEMENT;
33 import static com.android.server.util.NetworkStackConstants.ICMPV6_ROUTER_SOLICITATION;
34 import static com.android.server.util.NetworkStackConstants.IPV6_ADDR_LEN;
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java21 import static com.android.server.util.NetworkStackConstants.ICMPV6_ROUTER_ADVERTISEMENT;
DIpClient.java23 import static com.android.server.util.NetworkStackConstants.VENDOR_SPECIFIC_IE_ID;
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java29 import static com.android.server.util.NetworkStackConstants.ICMPV6_ECHO_REQUEST_TYPE;
30 import static com.android.server.util.NetworkStackConstants.IPV6_ADDR_LEN;
72 import com.android.server.util.NetworkStackConstants;
1369 raPacket.put(ICMP6_TYPE_OFFSET, (byte) NetworkStackConstants.ICMPV6_ROUTER_ADVERTISEMENT); in testApfFilterMulticastPingWhileDozing()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseRepositoryTest.java25 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY;