Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java90 final String srcIp = "192.168.2.1"; in testWakeupEventLogging() local
107 wakeupEvent(iface, uids[0], v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
110 wakeupEvent(iface, uids[3], v4, icmp6, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
112 wakeupEvent(iface, uids[5], v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
134 wakeupEvent(iface, uid, 0x800, 6, mac, srcIp, dstIp, 23, 24, ts); in testWakeupEventLogging()
150 wakeupEvent(iface, uid, 0x800, 6, mac, srcIp, dstIp, 23, 24, now); in testWakeupEventLogging()
162 final String srcIp = "192.168.2.1"; in testWakeupStatsLogging() local
176 wakeupEvent("wlan0", 1000, v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
177 wakeupEvent("rmnet0", 10123, v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
178 wakeupEvent("wlan0", 1000, v4, udp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
[all …]
DIpConnectivityMetricsTest.java358 final String srcIp = "192.168.2.1"; in testEndToEndLogging() local
366 wakeupEvent("wlan0", 1000, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
367 wakeupEvent("wlan0", 10123, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
368 wakeupEvent("wlan0", 1000, v4, udp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
369 wakeupEvent("wlan0", 10008, v4, udp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
370 wakeupEvent("wlan0", -1, v4, udp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
371 wakeupEvent("wlan0", 10008, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
623 void wakeupEvent(String iface, int uid, int ether, int ip, byte[] mac, String srcIp, in wakeupEvent() argument
626 mNetdListener.onWakeupEvent(prefix, uid, ether, ip, mac, srcIp, dstIp, sport, dport, now); in wakeupEvent()
/frameworks/base/core/java/android/net/metrics/
DWakeupEvent.java33 public String srcIp; field in WakeupEvent
50 j.add("srcIp=" + srcIp); in toString()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpNakPacket.java47 Inet4Address srcIp = mYourIp; in buildPacket() local
49 fillInPacket(encap, destIp, srcIp, destUdp, srcUdp, result, in buildPacket()
DDhcpOfferPacket.java61 Inet4Address srcIp = mBroadcast ? INADDR_ANY : mSrcIp; in buildPacket() local
63 fillInPacket(encap, destIp, srcIp, destUdp, srcUdp, result, in buildPacket()
DDhcpAckPacket.java59 Inet4Address srcIp = mBroadcast ? INADDR_ANY : mSrcIp; in buildPacket() local
61 fillInPacket(encap, destIp, srcIp, destUdp, srcUdp, result, in buildPacket()
DDhcpPacket.java357 Inet4Address srcIp, short destUdp, short srcUdp, ByteBuffer buf, in fillInPacket() argument
360 byte[] srcIpArray = srcIp.getAddress(); in fillInPacket()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java246 byte[] dstHw, String srcIp, String dstIp, int srcPort, int dstPort, long timestampNs) { in onWakeupEvent() argument
261 event.srcIp = srcIp; in onWakeupEvent()
270 uid, iface, ethertype, dstMac, srcIp, dstIp, ipNextHeader, srcPort, dstPort); in onWakeupEvent()