Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DDnsPinger.java144 ActivePing newActivePing = new ActivePing(); in handleMessage() local
146 newActivePing.internalId = msg.arg1; in handleMessage()
147 newActivePing.timeout = msg.arg2; in handleMessage()
148 newActivePing.socket = new DatagramSocket(); in handleMessage()
150 newActivePing.socket.setSoTimeout(SOCKET_TIMEOUT_MS); in handleMessage()
154 newActivePing.socket.setNetworkInterface(NetworkInterface.getByName( in handleMessage()
160 newActivePing.packetId = (short) sRandom.nextInt(); in handleMessage()
162 buf[0] = (byte) (newActivePing.packetId >> 8); in handleMessage()
163 buf[1] = (byte) newActivePing.packetId; in handleMessage()
169 log("Sending a ping " + newActivePing.internalId + in handleMessage()
[all …]