Home
last modified time | relevance | path

Searched refs:packetData (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DINetworkAgent.aidl36 in NattKeepalivePacketData packetData); in onStartNattSocketKeepalive() argument
38 in TcpKeepalivePacketData packetData); in onStartTcpSocketKeepalive() argument
43 in NattKeepalivePacketData packetData); in onAddNattKeepalivePacketFilter() argument
45 in TcpKeepalivePacketData packetData); in onAddTcpKeepalivePacketFilter() argument
DNetworkAgent.java820 @NonNull NattKeepalivePacketData packetData) { in onStartNattSocketKeepalive() argument
822 slot, intervalDurationMs, packetData)); in onStartNattSocketKeepalive()
827 @NonNull TcpKeepalivePacketData packetData) { in onStartTcpSocketKeepalive() argument
829 slot, intervalDurationMs, packetData)); in onStartTcpSocketKeepalive()
850 @NonNull NattKeepalivePacketData packetData) { in onAddNattKeepalivePacketFilter() argument
852 slot, 0, packetData)); in onAddNattKeepalivePacketFilter()
857 @NonNull TcpKeepalivePacketData packetData) { in onAddTcpKeepalivePacketFilter() argument
859 slot, 0, packetData)); in onAddTcpKeepalivePacketFilter()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java766 @NonNull NattKeepalivePacketData packetData) { in onStartNattSocketKeepalive() argument
768 networkAgent.onStartNattSocketKeepalive(slot, intervalDurationMs, packetData); in onStartNattSocketKeepalive()
778 @NonNull TcpKeepalivePacketData packetData) { in onStartTcpSocketKeepalive() argument
780 networkAgent.onStartTcpSocketKeepalive(slot, intervalDurationMs, packetData); in onStartTcpSocketKeepalive()
823 @NonNull NattKeepalivePacketData packetData) { in onAddNattKeepalivePacketFilter() argument
825 networkAgent.onAddNattKeepalivePacketFilter(slot, packetData); in onAddNattKeepalivePacketFilter()
835 @NonNull TcpKeepalivePacketData packetData) { in onAddTcpKeepalivePacketFilter() argument
837 networkAgent.onAddTcpKeepalivePacketFilter(slot, packetData); in onAddTcpKeepalivePacketFilter()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapTtlsTest.java759 byte[] applicationData, byte[] packetData, SSLEngineResult result) throws Exception { in setupUnwrap() argument
766 .unwrap(argThat(containsData(packetData)), any(ByteBuffer.class)); in setupUnwrap()
769 void setupWrap(byte[] applicationData, byte[] packetData, SSLEngineResult result) in setupWrap() argument
773 buffer.put(packetData); in setupWrap()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsResponseDecoderTests.java565 recordList.stream().map(p -> p.packetData).collect(Collectors.toList())); in testDecodeWithNoChange()
579 new DatagramPacket(responseData.packetData, responseData.packetData.length); in makeMdnsResponse()
626 public final byte[] packetData; field in MdnsResponseDecoderTests.PacketAndRecordClass
630 packetData = data; in PacketAndRecordClass()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1700 private byte[] getDstMacForKeepalive(KeepalivePacketData packetData) in getDstMacForKeepalive() argument
1704 mLinkProperties.getRoutes(), packetData.getDstAddress()).getGateway(); in getDstMacForKeepalive()
1712 private static int getEtherProtoForKeepalive(KeepalivePacketData packetData) in getEtherProtoForKeepalive() argument
1714 if (packetData.getDstAddress() instanceof Inet4Address) { in getEtherProtoForKeepalive()
1716 } else if (packetData.getDstAddress() instanceof Inet6Address) { in getEtherProtoForKeepalive()
1723 private int startWifiIPPacketOffload(int slot, KeepalivePacketData packetData, in startWifiIPPacketOffload() argument
1730 packet = packetData.getPacket(); in startWifiIPPacketOffload()
1731 dstMac = getDstMacForKeepalive(packetData); in startWifiIPPacketOffload()
1732 proto = getEtherProtoForKeepalive(packetData); in startWifiIPPacketOffload()