/frameworks/base/core/java/android/net/ |
D | NattKeepalivePacketData.java | 45 @NonNull InetAddress dstAddress, int dstPort, @NonNull byte[] data) throws in NattKeepalivePacketData() argument 47 super(srcAddress, srcPort, dstAddress, dstPort, data); in NattKeepalivePacketData() 55 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument 58 if (!(srcAddress instanceof Inet4Address) || !(dstAddress instanceof Inet4Address)) { in nattKeepalivePacket() 77 buf.put(dstAddress.getAddress()); in nattKeepalivePacket() 87 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket() 109 final InetAddress dstAddress = 115 dstAddress, dstPort); 132 final InetAddress dstAddress = getDstAddress(); in equals() local 134 && dstAddress.equals(other.getDstAddress()) in equals()
|
D | KeepalivePacketData.java | 65 @IntRange(from = 0, to = 65535) int srcPort, @NonNull InetAddress dstAddress, in KeepalivePacketData() argument 69 this.mDstAddress = dstAddress; in KeepalivePacketData() 75 if (srcAddress == null || dstAddress == null || !srcAddress.getClass().getName() in KeepalivePacketData() 76 .equals(dstAddress.getClass().getName())) { in KeepalivePacketData()
|
/frameworks/base/services/net/java/android/net/ |
D | TcpKeepalivePacketData.java | 67 InetAddress.getByAddress(tcpDetails.dstAddress), tcpDetails.dstPort, data); in TcpKeepalivePacketData() 78 final InetAddress dstAddress, int dstPort, final byte[] data, int tcpSeq, in TcpKeepalivePacketData() argument 81 super(srcAddress, srcPort, dstAddress, dstPort, data); in TcpKeepalivePacketData() 97 if ((tcpDetails.srcAddress != null) && (tcpDetails.dstAddress != null) in tcpKeepalivePacket() 99 && (tcpDetails.dstAddress.length == 4 /* V4 IP length */)) { in tcpKeepalivePacket() 130 buf.put(tcpDetails.dstAddress); in buildV4Packet() 156 final InetAddress dstAddress = getDstAddress(); in equals() local 158 && dstAddress.equals(other.getDstAddress()) in equals() 202 InetAddress dstAddress = InetAddresses.parseNumericAddress(in.readString()); in readFromParcel() local 212 return new TcpKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, packet, tcpSeq, in readFromParcel() [all …]
|
/frameworks/base/tests/net/common/java/android/net/ |
D | KeepalivePacketDataTest.kt | 55 dstAddress: InetAddress? = TEST_DST_ADDRV4, in address() 58 ) : KeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, data) in address() 73 data = TestKeepalivePacketData(dstAddress = null) in address() 80 data = TestKeepalivePacketData(dstAddress = TEST_ADDRV6) in address() 107 fun testDstAddress() = assertEquals(TEST_DST_ADDRV4, TestKeepalivePacketData().dstAddress)
|
D | NattKeepalivePacketDataTest.kt | 59 dstAddress: InetAddress? = TEST_DST_ADDRV4, in address() 61 ) = NattKeepalivePacketData.nattKeepalivePacket(srcAddress, srcPort, dstAddress, dstPort) in address() 80 nattKeepalivePacket(dstAddress = TEST_ADDRV6) in address() 102 assertNotEquals(nattKeepalivePacket(dstAddress = TEST_SRC_ADDRV4), nattKeepalivePacket()) in testEquals()
|
/frameworks/base/services/net/java/android/net/util/ |
D | KeepalivePacketDataUtil.java | 35 final InetAddress dstAddress = pkt.getDstAddress(); in toStableParcelable() local 38 parcel.dstAddress = dstAddress.getAddress(); in toStableParcelable()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | FakeNativeWrapper.java | 64 int srcAddress, int dstAddress, byte[] body) { in nativeSendCecCommand() argument 66 return mPollAddressResponse[dstAddress]; in nativeSendCecCommand() 68 mResultMessages.add(HdmiCecMessageBuilder.of(srcAddress, dstAddress, body)); in nativeSendCecCommand()
|
D | HdmiCecLocalDeviceTest.java | 49 private static int SendCecCommandFactory(int srcAddress, int dstAddress, byte[] body) { in SendCecCommandFactory() argument 55 && dstAddress == mDesAddr in SendCecCommandFactory()
|
/frameworks/base/tests/net/java/android/net/ |
D | TcpKeepalivePacketDataTest.java | 55 testInfo.dstAddress = IPV4_KEEPALIVE_DST_ADDR; in testV4TcpKeepalivePacket() 70 assertEquals(InetAddress.getByAddress(testInfo.dstAddress), resultData.getDstAddress()); in testV4TcpKeepalivePacket() 128 testInfo.dstAddress = IPV4_KEEPALIVE_DST_ADDR; in testParcel() 141 assertArrayEquals(resultData.dstAddress, IPV4_KEEPALIVE_DST_ADDR); in testParcel()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecController.java | 650 private void handleIncomingCecCommand(int srcAddress, int dstAddress, byte[] body) { in handleIncomingCecCommand() argument 652 HdmiCecMessage command = HdmiCecMessageBuilder.of(srcAddress, dstAddress, body); in handleIncomingCecCommand() 697 int nativeSendCecCommand(int srcAddress, int dstAddress, byte[] body); in nativeSendCecCommand() argument 746 public int nativeSendCecCommand(int srcAddress, int dstAddress, byte[] body) { in nativeSendCecCommand() argument 749 message.destination = dstAddress; in nativeSendCecCommand()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | KeepaliveTracker.java | 608 InetAddress srcAddress, dstAddress; in startNattKeepalive() local 611 dstAddress = NetworkUtils.numericToInetAddress(dstAddrString); in startNattKeepalive() 620 srcAddress, srcPort, dstAddress, NATT_PORT); in startNattKeepalive()
|
D | TcpKeepaliveController.java | 158 tcpDetails.dstAddress = getAddress((InetSocketAddress) dstSockAddr); in switchToRepairMode()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 5167 final InetAddress dstAddress = packetData.getDstAddress(); in startNattKeepalive() local 5172 dstAddress.getAddress(), req.destinationAddress); in startNattKeepalive()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 43775 Landroid/net/KeepalivePacketData;->dstAddress:Ljava/net/InetAddress;
|