android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN af4ea5826b Clear inetaddress fields when removing the record
When calling MdnsResponse.setInet4AddressRecord with null, the record
was removed from the records list, but not from the inet4AddressRecord /
inet6AddressRecord fields.

Fix that, and update the MdnsResponseDecoder test that missed the bug
because it modified the same incomplete MdnsResponse multiple times
(so isComplete keeps returning false), instead of using a copy of
a complete MdnsResponse.

This requires using a copy constructor, which will be useful for future
changes, so add it with a test.

Bug: 267570781
Test: atest
Change-Id: I199a8e4bc9a54a142c1fec1acee2ab6b1baa7efb
2023-03-03 11:43:03 +09:00
..
connectivity Clear inetaddress fields when removing the record 2023-03-03 11:43:03 +09:00
ethernet ethernet: consolidate interface enabling functions in EthernetTracker 2022-10-25 19:15:17 +00:00
net Remove dev recorder from NetworkStatsService 2022-12-28 23:43:12 +08:00
BpfNetMapsTest.java Add getUidRule method to BpfNetMaps 2023-02-01 17:05:36 +09:00
ConnectivityServiceTest.java Merge "Fix flaky test testRestrictedProfileAffectsVpnUidRanges" 2023-02-18 06:19:26 +00:00
IpSecServiceParameterizedTest.java Require IPSEC_TUNNEL_MIGRATION feature flag to migrate transforms 2022-12-21 23:12:48 +00:00
IpSecServiceRefcountedResourceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecServiceTest.java Experimental support for IPv6 UDP encap. 2023-02-08 15:05:07 +09:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Address comments on aosp/1781202 2022-08-17 07:11:55 +00:00
NsdServiceTest.java Moves all compatibility flags to ConnectivityCompatChanges.java 2023-02-09 19:51:37 +09:00
VpnManagerServiceTest.java Update VpnManagerServiceTest to work with lockdown VPN main user changes. 2023-01-06 16:43:47 +00:00
VpnTestBase.java Test VPN app exclusion 2022-06-29 06:15:41 +00:00