/frameworks/base/tests/net/java/android/net/ |
D | TcpKeepalivePacketDataTest.java | 43 final int srcPort = 1234; in testV4TcpKeepalivePacket() local 54 testInfo.srcPort = srcPort; in testV4TcpKeepalivePacket() 71 assertEquals(testInfo.srcPort, resultData.getSrcPort()); in testV4TcpKeepalivePacket() 101 assertEquals(buf.getShort(), srcPort); in testV4TcpKeepalivePacket() local 117 final int srcPort = 1234; in testParcel() local 127 testInfo.srcPort = srcPort; in testParcel() 142 assertEquals(resultData.srcPort, srcPort); in testParcel()
|
/frameworks/base/core/java/android/net/ |
D | NattKeepalivePacketData.java | 44 public NattKeepalivePacketData(@NonNull InetAddress srcAddress, int srcPort, in NattKeepalivePacketData() argument 47 super(srcAddress, srcPort, dstAddress, dstPort, data); in NattKeepalivePacketData() 55 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument 78 buf.putShort((short) srcPort); in nattKeepalivePacket() 87 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket() 111 final int srcPort = in.readInt(); 114 return NattKeepalivePacketData.nattKeepalivePacket(srcAddress, srcPort,
|
D | KeepalivePacketData.java | 65 @IntRange(from = 0, to = 65535) int srcPort, @NonNull InetAddress dstAddress, in KeepalivePacketData() 70 this.mSrcPort = srcPort; in KeepalivePacketData() 82 if (!IpUtils.isValidUdpOrTcpPort(srcPort) || !IpUtils.isValidUdpOrTcpPort(dstPort)) { in KeepalivePacketData()
|
D | IConnectivityManager.aidl | 209 in ISocketKeepaliveCallback cb, String srcAddr, int srcPort, String dstAddr); in startNattKeepalive() argument
|
D | ConnectivityManager.java | 1872 InetAddress srcAddr, int srcPort, InetAddress dstAddr) { in startNattKeepalive() argument 1876 srcAddr.getHostAddress(), srcPort, dstAddr.getHostAddress()); in startNattKeepalive()
|
/frameworks/base/core/java/android/net/metrics/ |
D | WakeupEvent.java | 36 public int srcPort; field in WakeupEvent 52 if (srcPort > -1) { in toString() 53 j.add("srcPort=" + srcPort); in toString()
|
/frameworks/base/services/net/java/android/net/ |
D | TcpKeepalivePacketData.java | 66 super(InetAddress.getByAddress(tcpDetails.srcAddress), tcpDetails.srcPort, in TcpKeepalivePacketData() 77 private TcpKeepalivePacketData(final InetAddress srcAddress, int srcPort, in TcpKeepalivePacketData() argument 81 super(srcAddress, srcPort, dstAddress, dstPort, data); in TcpKeepalivePacketData() 131 buf.putShort((short) tcpDetails.srcPort); in buildV4Packet() 203 int srcPort = in.readInt(); in readFromParcel() local 212 return new TcpKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, packet, tcpSeq, in readFromParcel() 242 parcel.srcPort = getSrcPort(); in toStableParcelable()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | KeepalivePacketDataTest.kt | 54 srcPort: Int = TEST_SRC_PORT, in address() 58 ) : KeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, data) in address() 87 data = TestKeepalivePacketData(srcPort = INVALID_PORT) in address() 111 fun testSrcPort() = assertEquals(TEST_SRC_PORT, TestKeepalivePacketData().srcPort)
|
D | NattKeepalivePacketDataTest.kt | 58 srcPort: Int = TEST_PORT, in address() 61 ) = NattKeepalivePacketData.nattKeepalivePacket(srcAddress, srcPort, dstAddress, dstPort) in address() 105 assertNotEquals(nattKeepalivePacket(srcPort = TEST_PORT2), nattKeepalivePacket()) in testEquals()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioRoute.cpp | 39 bool AudioRoute::supportsPatch(const sp<PolicyAudioPort> &srcPort, in supportsPatch() argument 47 if (sourcePort == srcPort) { in supportsPatch()
|
D | HwModule.cpp | 230 bool HwModule::supportsPatch(const sp<PolicyAudioPort> &srcPort, in supportsPatch() argument 233 if (route->supportsPatch(srcPort, dstPort)) { in supportsPatch()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 252 String srcAddr, int srcPort, in start() 255 updateNatTimeout(proto, srcAddr, srcPort, dstAddr, dstPort); in start() 714 int proto, String srcAddr, int srcPort, String dstAddr, int dstPort) { in updateNatTimeout() argument 727 if (!isValidUdpOrTcpPort(srcPort)) { in updateNatTimeout() 728 mLog.e("Invalid src port: " + srcPort); in updateNatTimeout() 745 protoName, srcAddr, srcPort, dstAddr, dstPort); in updateNatTimeout() 752 proto, src, srcPort, dst, dstPort, timeoutSec); in updateNatTimeout()
|
D | OffloadHardwareInterface.java | 108 String srcAddr, int srcPort, in onNatTimeoutUpdate() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 196 int srcPort = getUnsignedShort(data); in parseUdpPacket() local 201 if ((srcPort == UDP_PORT_BOOTPC && dstPort == UDP_PORT_BOOTPS) in parseUdpPacket() 202 || (srcPort == UDP_PORT_BOOTPS && dstPort == UDP_PORT_BOOTPC)) { in parseUdpPacket() 206 if (srcPort == UDP_PORT_NTP || dstPort == UDP_PORT_NTP) { in parseUdpPacket()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 258 byte[] dstHw, String srcIp, String dstIp, int srcPort, int dstPort, long timestampNs) { in onWakeupEvent() argument 276 event.srcPort = srcPort; in onWakeupEvent() 282 uid, iface, ethertype, dstMac, srcIp, dstIp, ipNextHeader, srcPort, dstPort); in onWakeupEvent()
|
D | KeepaliveTracker.java | 600 int srcPort, in startNattKeepalive() argument 620 srcAddress, srcPort, dstAddress, NATT_PORT); in startNattKeepalive() 702 int srcPort = 0; in startNattKeepalive() local 705 srcPort = ((InetSocketAddress) srcSockAddr).getPort(); in startNattKeepalive() 711 startNattKeepalive(nai, fd, intervalSeconds, cb, srcAddrString, srcPort, in startNattKeepalive()
|
D | TcpKeepaliveController.java | 145 tcpDetails.srcPort = getPort((InetSocketAddress) srcSockAddr); in switchToRepairMode()
|
/frameworks/base/services/net/java/android/net/util/ |
D | KeepalivePacketDataUtil.java | 37 parcel.srcPort = pkt.getSrcPort(); in toStableParcelable()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioRoute.h | 60 bool supportsPatch(const sp<PolicyAudioPort> &srcPort,
|
D | HwModule.h | 109 bool supportsPatch(const sp<PolicyAudioPort> &srcPort,
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4179 final int srcPort = testSocket.getPort(); in doTestNattSocketKeepalivesWithExecutor() local 4432 final int srcPort = testSocket.getPort(); in doTestNattSocketKeepalivesFdWithExecutor() local 4436 assertTrue(isUdpPortInUse(srcPort)); in doTestNattSocketKeepalivesFdWithExecutor() 4451 assertTrue(isUdpPortInUse(srcPort)); in doTestNattSocketKeepalivesFdWithExecutor()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 7495 ISocketKeepaliveCallback cb, String srcAddr, int srcPort, String dstAddr) { in startNattKeepalive() argument 7500 srcAddr, srcPort, dstAddr, NattSocketKeepalive.NATT_PORT); in startNattKeepalive() local
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 43782 Landroid/net/KeepalivePacketData;->srcPort:I 44158 Landroid/net/metrics/WakeupEvent;->srcPort:I
|