Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNattKeepalivePacketData.java22 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) {
DKeepalivePacketData.java22 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()
DSocketKeepalive.java155 public static class InvalidPacketException extends ErrorCodeException { class in SocketKeepalive
156 public InvalidPacketException(final int error) { in InvalidPacketException() method in SocketKeepalive.InvalidPacketException
/frameworks/base/services/net/java/android/net/
DTcpKeepalivePacketData.java22 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()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTcpKeepaliveController.java34 import android.net.SocketKeepalive.InvalidPacketException;
112 throws InvalidPacketException, InvalidSocketException { in getTcpKeepalivePacket()
116 } catch (InvalidPacketException | InvalidSocketException e) { in getTcpKeepalivePacket()
DKeepaliveTracker.java46 import android.net.SocketKeepalive.InvalidPacketException;
622 } catch (InvalidPacketException e) { in startNattKeepalive()
662 } catch (InvalidPacketException | InvalidSocketException e) { in startTcpKeepalive()
/frameworks/base/tests/net/java/android/net/
DTcpKeepalivePacketDataTest.java23 import android.net.SocketKeepalive.InvalidPacketException;
67 } catch (InvalidPacketException e) { in testV4TcpKeepalivePacket()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java53 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()