Searched refs:privateDnsHost (Results 1 – 3 of 3) sorted by relevance
12887 @NonNull ComponentName admin, @NonNull String privateDnsHost) { in setGlobalPrivateDnsModeSpecifiedHost() argument12889 Objects.requireNonNull(privateDnsHost, "dns resolver is null"); in setGlobalPrivateDnsModeSpecifiedHost()12895 if (NetworkUtilsInternal.isWeaklyValidatedHostname(privateDnsHost)) { in setGlobalPrivateDnsModeSpecifiedHost()12896 if (!PrivateDnsConnectivityChecker.canConnectToPrivateDnsServer(privateDnsHost)) { in setGlobalPrivateDnsModeSpecifiedHost()12903 admin, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, privateDnsHost); in setGlobalPrivateDnsModeSpecifiedHost()
464 int setGlobalPrivateDns(in ComponentName admin, int mode, in String privateDnsHost); in setGlobalPrivateDns() argument
15940 public int setGlobalPrivateDns(@NonNull ComponentName who, int mode, String privateDnsHost) {15952 if (!TextUtils.isEmpty(privateDnsHost)) {15960 if (TextUtils.isEmpty(privateDnsHost)15961 || !NetworkUtilsInternal.isWeaklyValidatedHostname(privateDnsHost)) {15963 String.format("Provided hostname %s is not valid", privateDnsHost));15970 privateDnsHost);