Update constant name for b/198226249

Bug: 198226249
Test: local run
Change-Id: I57be6febbaac40f85748fbdf71bc91f000bddb3a
diff --git a/acts_tests/tests/google/net/CaptivePortalTest.py b/acts_tests/tests/google/net/CaptivePortalTest.py
index a656acd..60084f7 100644
--- a/acts_tests/tests/google/net/CaptivePortalTest.py
+++ b/acts_tests/tests/google/net/CaptivePortalTest.py
@@ -172,7 +172,7 @@
         # set private dns to strict mode
         cutils.set_private_dns(self.dut,
                                cconst.PRIVATE_DNS_MODE_STRICT,
-                               cconst.DNS_GOOGLE)
+                               cconst.DNS_GOOGLE_HOSTNAME)
 
         # verify connection to captive portal network
         self._verify_captive_portal(self.rk_captive_portal)
@@ -219,7 +219,7 @@
         # set private dns to strict mode
         cutils.set_private_dns(self.dut,
                                cconst.PRIVATE_DNS_MODE_STRICT,
-                               cconst.DNS_GOOGLE)
+                               cconst.DNS_GOOGLE_HOSTNAME)
 
         # verify connection to captive portal network
         self._verify_captive_portal(self.gg_captive_portal)
@@ -261,6 +261,6 @@
         """
         cutils.set_private_dns(self.dut,
                                cconst.PRIVATE_DNS_MODE_STRICT,
-                               cconst.DNS_GOOGLE)
+                               cconst.DNS_GOOGLE_HOSTNAME)
         self.openwrt.network_setting.service_manager.restart("nodogsplash")
         self._verify_captive_portal(self.wifi_network, click_accept="Continue")
diff --git a/acts_tests/tests/google/net/DnsOverTlsTest.py b/acts_tests/tests/google/net/DnsOverTlsTest.py
index 6bf9874..0c3feac 100644
--- a/acts_tests/tests/google/net/DnsOverTlsTest.py
+++ b/acts_tests/tests/google/net/DnsOverTlsTest.py
@@ -68,9 +68,9 @@
             self.private_dns_servers = [self.dns_name]
             self.openwrt.network_setting.setup_dns_server(self.dns_name)
         else:
-            self.private_dns_servers = [cconst.DNS_GOOGLE,
-                                        cconst.DNS_QUAD9,
-                                        cconst.DNS_CLOUDFLARE]
+            self.private_dns_servers = [cconst.DNS_GOOGLE_HOSTNAME,
+                                        cconst.DNS_QUAD9_HOSTNAME,
+                                        cconst.DNS_CLOUDFLARE_HOSTNAME]
         self.tcpdump_pid = None
 
     def teardown_test(self):
@@ -484,7 +484,7 @@
 
         # set private DNS to strict mode
         cutils.set_private_dns(
-            self.dut, cconst.PRIVATE_DNS_MODE_STRICT, cconst.DNS_GOOGLE)
+            self.dut, cconst.PRIVATE_DNS_MODE_STRICT, cconst.DNS_GOOGLE_HOSTNAME)
 
         # connect DUT to wifi network
         wutils.start_wifi_connection_scan_and_ensure_network_found(
@@ -513,9 +513,9 @@
         pcap_file = self._stop_tcp_dump(self.dut)
 
         # Verify DNS server in link properties
-        asserts.assert_true(cconst.DNS_GOOGLE in wifi_dns_servers,
+        asserts.assert_true(cconst.DNS_GOOGLE_HOSTNAME in wifi_dns_servers,
                             "Hostname not in link properties - wifi network")
-        asserts.assert_true(cconst.DNS_GOOGLE in lte_dns_servers,
+        asserts.assert_true(cconst.DNS_GOOGLE_HOSTNAME in lte_dns_servers,
                             "Hostname not in link properites - cell network")
 
     @test_tracker_info(uuid="525a6f2d-9751-474e-a004-52441091e427")