Home
last modified time | relevance | path

Searched refs:handlePacket (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpSocket.java59 public void handlePacket(byte[] recvbuf, LongSparseArray<Callback> spiToCallback) { in handlePacket() method in IkeUdpSocket.PacketReceiver
81 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in IkeUdpSocket
82 sPacketReceiver.handlePacket(Arrays.copyOfRange(recvbuf, 0, length), mSpiToCallback); in handlePacket()
DIkeSocket.java154 handlePacket(intercepted, intercepted.length); in start()
203 protected abstract void handlePacket(byte[] recvbuf, int length); in handlePacket() method in IkeSocket
268 void handlePacket(byte[] recvbuf, LongSparseArray<Callback> spiToCallback); in handlePacket() method
DIkeUdp6WithEncapPortSocket.java102 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in IkeUdp6WithEncapPortSocket
103 sPacketReceiver.handlePacket(Arrays.copyOfRange(recvbuf, 0, length), mSpiToCallback); in handlePacket()
DIkeUdpEncapSocket.java127 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in IkeUdpEncapSocket
128 sPacketReceiver.handlePacket(Arrays.copyOfRange(recvbuf, 0, length), mSpiToCallback); in handlePacket()
DIkeUdpEncapPortPacketHandler.java58 public void handlePacket( in handlePacket() method in IkeUdpEncapPortPacketHandler.PacketReceiver
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMulticastPacketReader.java51 void handlePacket(byte[] recvbuf, int length, InetSocketAddress src); in handlePacket() method
105 protected void handlePacket(@NonNull RecvBuffer recvbuf, int length) { in handlePacket() method in MulticastPacketReader
107 handler.handlePacket(recvbuf.data, length, recvbuf.src); in handlePacket()
DMdnsMultinetworkSocketClient.java157 public void handlePacket(byte[] recvbuf, int length, InetSocketAddress src) { in handlePacket() method in MdnsMultinetworkSocketClient.ReadPacketHandler
DMdnsInterfaceAdvertiser.java405 public void handlePacket(byte[] recvbuf, int length, InetSocketAddress src) { in handlePacket() method in MdnsInterfaceAdvertiser
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapPortPacketHandlerTest.java46 mPacketReceiver.handlePacket(SHORT_PACKET, mMockSpiToCallback); in testPacketReceiverHandlePacketShortPacket()
53 mPacketReceiver.handlePacket(INVALID_NON_ESP_MARKER, mMockSpiToCallback); in testPacketReceiverHandlePacketInvalidNonEspMarkerPacket()
DIkeSocketTestBase.java190 public void handlePacket(byte[] revbuf, LongSparseArray<IkeSocket.Callback> spiToCallback) { in handlePacket() method in IkeSocketTestBase.DummyPacketReceiver
305 packetReceiver.handlePacket(receivedPacket, mSpiToIkeSocketCallbackMap); in verifyHandlePacket()
343 ikeSocket.handlePacket(pktBytes, pktBytes.length); in verifyIkeUdpSocketReceivePacket()
345 verify(mockPacketReceiver).handlePacket(eq(pktBytes), any()); in verifyIkeUdpSocketReceivePacket()
DIkeUdpEncapSocketTest.java274 verify(spyPacketReceiver).handlePacket(any(), any()); in testReceiveTooLargePacket()
295 getPacketReceiver().handlePacket(recvBuf, mSpiToIkeSocketCallbackMap); in testHandleEspPacket()
307 getPacketReceiver().handlePacket(recvBuf, mSpiToIkeSocketCallbackMap); in testHandlePacketWithMalformedHeader()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DFdEventsReader.java170 protected void handlePacket(@NonNull BufferType recvbuf, int length) {} in handlePacket() method in FdEventsReader
248 handlePacket(mBuffer, bytesRead); in handleInput()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DFdEventsReader.java168 protected void handlePacket(@NonNull BufferType recvbuf, int length) {} in handlePacket() method in FdEventsReader
272 handlePacket(mBuffer, bytesRead); in handleInput()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiserTest.kt315 packetHandler.handlePacket(query, query.size, src) in testReplyToQuery()
369 packetHandler.handlePacket(query, query.size, src) in testReplyToQuery_TruncatedBitSet()
398 packetHandler.handlePacket(knownAnswers, knownAnswers.size, src) in testReplyToQuery_TruncatedBitSet()
426 packetHandler.handlePacket(knownAnswers2, knownAnswers2.size, src) in testReplyToQuery_TruncatedBitSet()
458 packetHandler.handlePacket(query, query.size, src) in testConflict()
DMdnsMultinetworkSocketClientTest.java221 handler.handlePacket(data, data.length, null /* src */); in testReceivePacket()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTapPacketReader.java70 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in TapPacketReader
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacketListener.java53 protected final void handlePacket(@NonNull Payload recvbuf, int length) { in handlePacket() method in DhcpPacketListener
/packages/modules/DnsResolver/tests/
Dtun_forwarder.h74 void handlePacket(int fd) const;
Dtun_forwarder.cpp187 handlePacket(wait_fd[1].fd); in loop()
192 void TunForwarder::handlePacket(int fd) const { in handlePacket() function in android::net::TunForwarder
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/
DNetlinkMonitor.java128 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in NetlinkMonitor
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DNeighborPacketForwarder.java153 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in NeighborPacketForwarder
/packages/modules/NetworkStack/src/android/net/ip/
DConnectivityPacketTracker.java123 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in ConnectivityPacketTracker.PacketListener
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DPacketReaderTest.java102 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in PacketReaderTest.UdpLoopbackReader
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DApfIntegrationTest.kt185 override fun handlePacket(recvbuf: ByteArray, length: Int) { in handlePacket() method
/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Client.java788 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() method in Dhcp6Client.Dhcp6PacketHandler

12