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.java12887 @NonNull ComponentName admin, @NonNull String privateDnsHost) { in setGlobalPrivateDnsModeSpecifiedHost() argument
12889 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()
DIDevicePolicyManager.aidl464 int setGlobalPrivateDns(in ComponentName admin, int mode, in String privateDnsHost); in setGlobalPrivateDns() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java15940 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);