android_packages_modules_Co.../tests
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
..
common Merge "Allow jarjar com.android.server*" 2023-02-15 02:07:03 +00:00
cts Merge "Move the CtsHostsideNetworkTestsAppNext to avoid automerger conflict" 2023-02-20 14:18:17 +00:00
deflake DO NOT MERGE: Disable FrameworksNetTests 2021-10-04 18:59:14 +08:00
integration Remove expectLinkPropertiesThat 2023-02-10 14:32:14 +09:00
mts bpf_existence_test - add U support 2022-12-18 12:58:36 +00:00
native wire bpf_base_test into netd_updatable_unit_test 2022-12-20 00:41:05 +00:00
smoketest Workaround prebuilt name conflict for service-connectivity 2022-05-26 09:37:05 +00:00
unit Clear inetaddress fields when removing the record 2023-03-03 11:43:03 +09:00