Searched refs:ConnectivitySettingsUtils (Results 1 – 4 of 4) sorted by relevance
69 import com.android.net.module.util.ConnectivitySettingsUtils;448 mOldPrivateDnsMode = ConnectivitySettingsUtils.getPrivateDnsMode(mContext); in storePrivateDnsSetting()449 mOldPrivateDnsSpecifier = ConnectivitySettingsUtils.getPrivateDnsHostname(mContext); in storePrivateDnsSetting()457 if (mOldPrivateDnsMode != ConnectivitySettingsUtils.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME) { in restorePrivateDnsSetting()460 ConnectivitySettingsUtils.setPrivateDnsHostname(mContext, mOldPrivateDnsSpecifier); in restorePrivateDnsSetting()461 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, mOldPrivateDnsMode); in restorePrivateDnsSetting()467 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, in restorePrivateDnsSetting()468 ConnectivitySettingsUtils.PRIVATE_DNS_MODE_OPPORTUNISTIC); in restorePrivateDnsSetting()484 ConnectivitySettingsUtils.setPrivateDnsHostname(mContext, server); in setPrivateDnsStrictMode()485 final int mode = ConnectivitySettingsUtils.getPrivateDnsMode(mContext); in setPrivateDnsStrictMode()[all …]
23 import static com.android.net.module.util.ConnectivitySettingsUtils.getPrivateDnsModeAsString;43 import com.android.net.module.util.ConnectivitySettingsUtils;357 public static final int PRIVATE_DNS_MODE_OFF = ConnectivitySettingsUtils.PRIVATE_DNS_MODE_OFF;364 ConnectivitySettingsUtils.PRIVATE_DNS_MODE_OPPORTUNISTIC;372 ConnectivitySettingsUtils.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;776 return ConnectivitySettingsUtils.getPrivateDnsMode(context); in getPrivateDnsMode()786 ConnectivitySettingsUtils.setPrivateDnsMode(context, mode); in setPrivateDnsMode()797 return ConnectivitySettingsUtils.getPrivateDnsHostname(context); in getPrivateDnsHostname()807 ConnectivitySettingsUtils.setPrivateDnsHostname(context, specifier); in setPrivateDnsHostname()
31 public class ConnectivitySettingsUtils { class
69 import com.android.net.module.util.ConnectivitySettingsUtils.getPrivateDnsModeAsString in <lambda>()