MCPcopy Index your code
hub / github.com/dburckh/AndroidPing / run

Method run

lib/src/main/java/com/spectrum/android/ping/Ping.java:132–201  ·  view source on GitHub ↗

Ping an IP address for N times @return long[count] where -1 is timeout @throws ErrnoException @throws IOException

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

testPingInetAddressMethod · 0.95
runMethod · 0.95
testPingMethod · 0.45
testPingOptionsMethod · 0.45
testInvalidFdMethod · 0.45
testErrnoExceptionMethod · 0.45

Calls 11

socketMethod · 0.95
setLowDelayMethod · 0.95
sendtoMethod · 0.95
pollMethod · 0.95
calcLatencyMethod · 0.95
recvfromMethod · 0.95
sleepMethod · 0.95
closeMethod · 0.95
buildMethod · 0.80
onPingMethod · 0.65
onPingExceptionMethod · 0.65

Tested by 6

testPingInetAddressMethod · 0.76
testPingMethod · 0.36
testPingOptionsMethod · 0.36
testInvalidFdMethod · 0.36
testErrnoExceptionMethod · 0.36