Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DKeepalivePacketData.java82 if (!IpUtils.isValidUdpOrTcpPort(srcPort) || !IpUtils.isValidUdpOrTcpPort(dstPort)) { in KeepalivePacketData()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java727 if (!isValidUdpOrTcpPort(srcPort)) { in updateNatTimeout()
738 if (!isValidUdpOrTcpPort(dstPort)) { in updateNatTimeout()
808 private static boolean isValidUdpOrTcpPort(int port) { in isValidUdpOrTcpPort() method in OffloadController
/frameworks/base/core/java/android/net/util/
DIpUtils.java148 public static boolean isValidUdpOrTcpPort(int port) { in isValidUdpOrTcpPort() method in IpUtils