Unify log tag of DNS resolver

Set LOG_TAG to "resolv" on DNS resolver. Then, the log can be filtered
by "adb logcat [filterspecs]", such as "adb logcat *:S resolv:*", or
'grep'.

Test: resolv_integration_test pass
Change-Id: Ic4f97685d487257560ec3dfe62bab0d187bf9d93
diff --git a/Dns64Configuration.cpp b/Dns64Configuration.cpp
index 2a9f638..a362ba9 100644
--- a/Dns64Configuration.cpp
+++ b/Dns64Configuration.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "Dns64Configuration"
+#define LOG_TAG "resolv"
 #define DBG 0
 
 #include "Dns64Configuration.h"
diff --git a/DnsProxyListener.cpp b/DnsProxyListener.cpp
index 18e05cc..54a195b 100644
--- a/DnsProxyListener.cpp
+++ b/DnsProxyListener.cpp
@@ -29,7 +29,7 @@
 #include <sys/socket.h>
 #include <sys/types.h>
 
-#define LOG_TAG "DnsProxyListener"
+#define LOG_TAG "resolv"
 
 #include <algorithm>
 #include <list>
diff --git a/DnsResolverService.cpp b/DnsResolverService.cpp
index 06f7635..a1efb82 100644
--- a/DnsResolverService.cpp
+++ b/DnsResolverService.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "DnsResolverService"
+#define LOG_TAG "resolv"
 
 #include "DnsResolverService.h"
 
diff --git a/DnsTlsDispatcher.cpp b/DnsTlsDispatcher.cpp
index d9896ad..ff77f19 100644
--- a/DnsTlsDispatcher.cpp
+++ b/DnsTlsDispatcher.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "DnsTlsDispatcher"
+#define LOG_TAG "resolv"
 //#define LOG_NDEBUG 0
 
 #include "DnsTlsDispatcher.h"
diff --git a/DnsTlsQueryMap.cpp b/DnsTlsQueryMap.cpp
index 6e6399c..8e0033d 100644
--- a/DnsTlsQueryMap.cpp
+++ b/DnsTlsQueryMap.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "DnsTlsQueryMap"
+#define LOG_TAG "resolv"
 //#define LOG_NDEBUG 0
 
 #include "DnsTlsQueryMap.h"
diff --git a/DnsTlsSessionCache.cpp b/DnsTlsSessionCache.cpp
index 8d6dc6b..8e379c1 100644
--- a/DnsTlsSessionCache.cpp
+++ b/DnsTlsSessionCache.cpp
@@ -16,7 +16,7 @@
 
 #include "DnsTlsSessionCache.h"
 
-#define LOG_TAG "DnsTlsSessionCache"
+#define LOG_TAG "resolv"
 //#define LOG_NDEBUG 0
 
 #include "log/log.h"
diff --git a/DnsTlsSocket.cpp b/DnsTlsSocket.cpp
index a63d221..ac0d93b 100644
--- a/DnsTlsSocket.cpp
+++ b/DnsTlsSocket.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "DnsTlsSocket"
+#define LOG_TAG "resolv"
 //#define LOG_NDEBUG 0
 
 #include "DnsTlsSocket.h"
diff --git a/DnsTlsTransport.cpp b/DnsTlsTransport.cpp
index 0f9042e..be6a6ff 100644
--- a/DnsTlsTransport.cpp
+++ b/DnsTlsTransport.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "DnsTlsTransport"
+#define LOG_TAG "resolv"
 //#define LOG_NDEBUG 0
 
 #include "DnsTlsTransport.h"
diff --git a/PrivateDnsConfiguration.cpp b/PrivateDnsConfiguration.cpp
index 10f74f9..f4518d4 100644
--- a/PrivateDnsConfiguration.cpp
+++ b/PrivateDnsConfiguration.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "PrivateDnsConfiguration"
+#define LOG_TAG "resolv"
 #define DBG 0
 
 #include "PrivateDnsConfiguration.h"
diff --git a/ResolverController.cpp b/ResolverController.cpp
index 5b25303..a9fa4ca 100644
--- a/ResolverController.cpp
+++ b/ResolverController.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "ResolverController"
+#define LOG_TAG "resolv"
 #define DBG 0
 
 #include "ResolverController.h"
diff --git a/ResolverEventReporter.cpp b/ResolverEventReporter.cpp
index ccec08b..19ab62b 100644
--- a/ResolverEventReporter.cpp
+++ b/ResolverEventReporter.cpp
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#define LOG_TAG "ResolverEventReporter"
+#define LOG_TAG "resolv"
 
 #include "ResolverEventReporter.h"
 
diff --git a/dns_tls_test.cpp b/dns_tls_test.cpp
index 0bcad30..41a2c37 100644
--- a/dns_tls_test.cpp
+++ b/dns_tls_test.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "dns_tls_test"
+#define LOG_TAG "resolv"
 #define LOG_NDEBUG 1  // Set to 0 to enable verbose debug logging
 
 #include <gtest/gtest.h>
diff --git a/getaddrinfo.cpp b/getaddrinfo.cpp
index 4795d38..1a7a8d1 100644
--- a/getaddrinfo.cpp
+++ b/getaddrinfo.cpp
@@ -30,7 +30,7 @@
  * SUCH DAMAGE.
  */
 
-#define LOG_TAG "getaddrinfo"
+#define LOG_TAG "resolv"
 
 #include <arpa/inet.h>
 #include <arpa/nameser.h>
diff --git a/libnetd_resolv_test.cpp b/libnetd_resolv_test.cpp
index d5b1b73..5d8554a 100644
--- a/libnetd_resolv_test.cpp
+++ b/libnetd_resolv_test.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_TAG "libnetd_resolv_test"
+#define LOG_TAG "resolv"
 
 #include <gtest/gtest.h>
 
diff --git a/res_cache.cpp b/res_cache.cpp
index 66b1406..52240eb 100644
--- a/res_cache.cpp
+++ b/res_cache.cpp
@@ -26,7 +26,7 @@
  * SUCH DAMAGE.
  */
 
-#define LOG_TAG "res_cache"
+#define LOG_TAG "resolv"
 
 #include "resolv_cache.h"
 
diff --git a/res_debug.cpp b/res_debug.cpp
index 2ea5d87..c4637f8 100644
--- a/res_debug.cpp
+++ b/res_debug.cpp
@@ -95,7 +95,7 @@
  * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
  */
 
-#define LOG_TAG "res_debug"
+#define LOG_TAG "resolv"
 
 #include <sys/param.h>
 #include <sys/socket.h>
diff --git a/res_init.cpp b/res_init.cpp
index ceb3023..6804dea 100644
--- a/res_init.cpp
+++ b/res_init.cpp
@@ -70,7 +70,7 @@
  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#define LOG_TAG "res_init"
+#define LOG_TAG "resolv"
 
 #include <sys/param.h>
 #include <sys/socket.h>
diff --git a/res_mkquery.cpp b/res_mkquery.cpp
index 2371c7e..eb2da17 100644
--- a/res_mkquery.cpp
+++ b/res_mkquery.cpp
@@ -70,7 +70,7 @@
  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#define LOG_TAG "res_mkquery"
+#define LOG_TAG "resolv"
 
 #include <algorithm>  // std::min()
 
diff --git a/res_query.cpp b/res_query.cpp
index fbbcc31..ea44839 100644
--- a/res_query.cpp
+++ b/res_query.cpp
@@ -70,7 +70,7 @@
  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#define LOG_TAG "res_query"
+#define LOG_TAG "resolv"
 
 #include <arpa/inet.h>
 #include <arpa/nameser.h>
diff --git a/res_send.cpp b/res_send.cpp
index d89ad7e..9324f37 100644
--- a/res_send.cpp
+++ b/res_send.cpp
@@ -74,7 +74,7 @@
  * Send query to name server and wait for reply.
  */
 
-#define LOG_TAG "res_send"
+#define LOG_TAG "resolv"
 
 #include <sys/param.h>
 #include <sys/socket.h>
diff --git a/res_state.cpp b/res_state.cpp
index 26febff..480d5c5 100644
--- a/res_state.cpp
+++ b/res_state.cpp
@@ -26,7 +26,7 @@
  * SUCH DAMAGE.
  */
 
-#define LOG_TAG "res_state"
+#define LOG_TAG "resolv"
 
 #include <arpa/inet.h>
 #include <arpa/nameser.h>
diff --git a/res_stats.cpp b/res_stats.cpp
index cf64949..474d7de 100644
--- a/res_stats.cpp
+++ b/res_stats.cpp
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#define LOG_TAG "res_stats"
+#define LOG_TAG "resolv"
 
 #include <arpa/nameser.h>
 #include <stdbool.h>