Home
last modified time | relevance | path

Searched refs:isPrivateDnsValidationRequired (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DNetworkMonitorUtils.java68 public static boolean isPrivateDnsValidationRequired(NetworkCapabilities nc) { in isPrivateDnsValidationRequired() method in NetworkMonitorUtils
108 return isPrivateDnsValidationRequired(nc) && nc.hasCapability(NET_CAPABILITY_NOT_VPN); in isValidationRequired()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java736 private boolean isPrivateDnsValidationRequired() { in isPrivateDnsValidationRequired() method in NetworkMonitor
737 return NetworkMonitorUtils.isPrivateDnsValidationRequired(mNetworkCapabilities); in isPrivateDnsValidationRequired()
935 if (!isPrivateDnsValidationRequired() || cfg == null || !cfg.inStrictMode()) { in processMessage()
1297 if (isPrivateDnsValidationRequired()) { in processMessage()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java85 import static android.net.shared.NetworkMonitorUtils.isPrivateDnsValidationRequired;
3684 return isPrivateDnsValidationRequired(nai.networkCapabilities); in networkRequiresPrivateDnsValidation()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java7349 assertTrue(NetworkMonitorUtils.isPrivateDnsValidationRequired( in testVpnUnvalidated()