commit | 247d83a68b30165cc64129d0c2a51b6e5d832c04 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed Apr 17 22:27:56 2019 +0800 |
committer | Luke Huang <huangluke@google.com> | Thu May 23 11:23:41 2019 +0800 |
tree | 42f39a25e8828ea2a63311147c1776c758a0dbe1 | |
parent | 41537638f0efee8ccfe575471914824f173a248d [diff] |
Add Rfc6724 style sort for DnsResolver and fix potential bug 1. pass default network explicitly to fix potential mis-sync network problem in DnsResolver#query 2. Add rfc6724 sort and related test 3. DnsResolver do rfc6724 sort before response InetAddress answers 4. move haveIpv* function from DnsResolver to DnsUtils Bug: 129530368 Test: atest DnsResolverTest DnsUtilsTest Change-Id: I4efa599c0605f6a9e4ef2dd1a36572c69b3c433f