Searched refs:InvalidPacketException (Results 1 – 8 of 8) sorted by relevance
22 import android.net.SocketKeepalive.InvalidPacketException;39 InvalidPacketException { in NattKeepalivePacketData()48 throws InvalidPacketException { in nattKeepalivePacket()51 throw new InvalidPacketException(ERROR_INVALID_IP_ADDRESS); in nattKeepalivePacket()55 throw new InvalidPacketException(ERROR_INVALID_PORT); in nattKeepalivePacket()108 } catch (InvalidPacketException e) {
22 import android.net.SocketKeepalive.InvalidPacketException;60 InetAddress dstAddress, int dstPort, byte[] data) throws InvalidPacketException { in KeepalivePacketData()71 throw new InvalidPacketException(ERROR_INVALID_IP_ADDRESS); in KeepalivePacketData()77 throw new InvalidPacketException(ERROR_INVALID_PORT); in KeepalivePacketData()
155 public static class InvalidPacketException extends ErrorCodeException { class in SocketKeepalive156 public InvalidPacketException(final int error) { in InvalidPacketException() method in SocketKeepalive.InvalidPacketException
22 import android.net.SocketKeepalive.InvalidPacketException;66 final byte[] data) throws InvalidPacketException, UnknownHostException { in TcpKeepalivePacketData()82 TcpKeepalivePacketDataParcelable tcpDetails) throws InvalidPacketException { in tcpKeepalivePacket()91 throw new InvalidPacketException(ERROR_INVALID_IP_ADDRESS); in tcpKeepalivePacket()95 throw new InvalidPacketException(ERROR_INVALID_IP_ADDRESS); in tcpKeepalivePacket()
34 import android.net.SocketKeepalive.InvalidPacketException;112 throws InvalidPacketException, InvalidSocketException { in getTcpKeepalivePacket()116 } catch (InvalidPacketException | InvalidSocketException e) { in getTcpKeepalivePacket()
46 import android.net.SocketKeepalive.InvalidPacketException;622 } catch (InvalidPacketException e) { in startNattKeepalive()662 } catch (InvalidPacketException | InvalidSocketException e) { in startTcpKeepalive()
23 import android.net.SocketKeepalive.InvalidPacketException;67 } catch (InvalidPacketException e) { in testV4TcpKeepalivePacket()
53 import android.net.SocketKeepalive.InvalidPacketException;1276 throws InvalidPacketException { in getDstMacForKeepalive()1283 throw new InvalidPacketException(SocketKeepalive.ERROR_INVALID_IP_ADDRESS); in getDstMacForKeepalive()1288 throws InvalidPacketException { in getEtherProtoForKeepalive()1294 throw new InvalidPacketException(SocketKeepalive.ERROR_INVALID_IP_ADDRESS); in getEtherProtoForKeepalive()1308 } catch (InvalidPacketException e) { in startWifiIPPacketOffload()