Home
last modified time | relevance | path

Searched refs:privateDnsHost (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java10596 @NonNull ComponentName admin, @NonNull String privateDnsHost) { in setGlobalPrivateDnsModeSpecifiedHost() argument
10598 Preconditions.checkNotNull(privateDnsHost, "dns resolver is null"); in setGlobalPrivateDnsModeSpecifiedHost()
10604 if (NetworkUtils.isWeaklyValidatedHostname(privateDnsHost)) { in setGlobalPrivateDnsModeSpecifiedHost()
10605 if (!PrivateDnsConnectivityChecker.canConnectToPrivateDnsServer(privateDnsHost)) { in setGlobalPrivateDnsModeSpecifiedHost()
10612 admin, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, privateDnsHost); in setGlobalPrivateDnsModeSpecifiedHost()
DIDevicePolicyManager.aidl422 int setGlobalPrivateDns(in ComponentName admin, int mode, in String privateDnsHost); in setGlobalPrivateDns() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java14125 public int setGlobalPrivateDns(@NonNull ComponentName who, int mode, String privateDnsHost) { in setGlobalPrivateDns() argument
14137 if (!TextUtils.isEmpty(privateDnsHost)) { in setGlobalPrivateDns()
14144 if (TextUtils.isEmpty(privateDnsHost) in setGlobalPrivateDns()
14145 || !NetworkUtils.isWeaklyValidatedHostname(privateDnsHost)) { in setGlobalPrivateDns()
14147 String.format("Provided hostname %s is not valid", privateDnsHost)); in setGlobalPrivateDns()
14154 privateDnsHost); in setGlobalPrivateDns()