android_packages_modules_Co.../tests/unit/java
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN b5fbc0143a Ensure PacketHandler is removed from sockets
When MdnsMultinetworkSocketClient stops using a socket (when
isSocketActive starts returning false), the packet handler should be
removed from that socket. The code only removed it from the
mSocketPacketHandlers map without clearing it from the socket.

This caused packets to be handled potentially many times, affecting
performance.

Bug: 406623719
Bug: 408324621
Test: atest
Flag: EXEMPT bugfix
Change-Id: I3d1117a4b847f3b95a01fc8a5997a53655ef608a
2025-04-04 13:34:45 +09:00
..
android packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01:00
com/android Ensure PacketHandler is removed from sockets 2025-04-04 13:34:45 +09:00