Home
last modified time | relevance | path

Searched refs:tcp (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/net/java/android/net/netlink/
DInetDiagSocketTest.java173 TcpConnection tcp = new TcpConnection(to, from); in checkGetConnectionOwnerUid() local
174 checkConnectionOwnerUid(tcp.protocol, tcp.local, tcp.remote, true); in checkGetConnectionOwnerUid()
175 checkConnectionOwnerUid(IPPROTO_UDP, tcp.local, tcp.remote, false); in checkGetConnectionOwnerUid()
176 checkConnectionOwnerUid(tcp.protocol, new InetSocketAddress(0), tcp.remote, false); in checkGetConnectionOwnerUid()
177 checkConnectionOwnerUid(tcp.protocol, tcp.local, new InetSocketAddress(0), false); in checkGetConnectionOwnerUid()
178 tcp.close(); in checkGetConnectionOwnerUid()
DConntrackMessageTest.java111 final byte[] tcp = ConntrackMessage.newIPv4TimeoutUpdateRequest( in testConntrackIPv4TcpTimeoutUpdate()
116 assertArrayEquals(CT_V4UPDATE_TCP_BYTES, tcp); in testConntrackIPv4TcpTimeoutUpdate()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java93 final int tcp = 6; in testWakeupEventLogging() local
101 wakeupEvent(iface, uids[0], v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
105 wakeupEvent(iface, uids[4], v6, tcp, mac, srcIp6, dstIp6, sport, dport, now); in testWakeupEventLogging()
106 wakeupEvent(iface, uids[5], v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
108 wakeupEvent(iface, uids[7], v6, tcp, mac, srcIp6, dstIp6, sport, dport, now); in testWakeupEventLogging()
166 final int tcp = 6; in testWakeupStatsLogging() local
170 wakeupEvent("wlan0", 1000, v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
171 wakeupEvent("rmnet0", 10123, v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
173 wakeupEvent("rmnet0", 10008, v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
175 wakeupEvent("wlan0", 10008, v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
[all …]
DIpConnectivityMetricsTest.java320 final int tcp = 6; in testEndToEndLogging() local
322 wakeupEvent("wlan0", 1000, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
323 wakeupEvent("wlan0", 10123, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
327 wakeupEvent("wlan0", 10008, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()