commit | c8db64bdb1f9ca4d16484edd01674e0a6201e029 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Fri Jan 13 21:39:17 2023 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Fri Jan 20 12:53:32 2023 +0900 |
tree | 9b114495e689211af1c0d6204f4795c00e90c47f | |
parent | 9ba6190f9b599e64adf8e7af37b118bd117b8b1a [diff] |
Implement conflict detection On each received packet, query MdnsRecordRepository to detect any conflicting service, and report it though onServiceConflict. Implement restartProbingForConflict and renameServiceForConflict which may be called when that callback is dispatched. Bug: 266151066 Test: atest MndsInterfaceAdvertiserTest MdnsRecordRepositoryTest Change-Id: I5434b00879e0c8f7fc1e4769455b688c3bd7a9b5