Searched refs:ConnectivitySettingsManager (Results 1 – 17 of 17) sorted by relevance
19 import android.net.ConnectivitySettingsManager.CAPTIVE_PORTAL_MODE in <lambda>()20 import android.net.ConnectivitySettingsManager.CAPTIVE_PORTAL_MODE_AVOID in <lambda>()21 import android.net.ConnectivitySettingsManager.CAPTIVE_PORTAL_MODE_IGNORE in <lambda>()22 import android.net.ConnectivitySettingsManager.CAPTIVE_PORTAL_MODE_PROMPT in <lambda>()23 import android.net.ConnectivitySettingsManager.CONNECTIVITY_RELEASE_PENDING_INTENT_DELAY_MS in <lambda>()24 import android.net.ConnectivitySettingsManager.DATA_ACTIVITY_TIMEOUT_MOBILE in <lambda>()25 import android.net.ConnectivitySettingsManager.DATA_ACTIVITY_TIMEOUT_WIFI in <lambda>()26 import android.net.ConnectivitySettingsManager.DNS_RESOLVER_MAX_SAMPLES in <lambda>()27 import android.net.ConnectivitySettingsManager.DNS_RESOLVER_MIN_SAMPLES in <lambda>()28 import android.net.ConnectivitySettingsManager.DNS_RESOLVER_SAMPLE_VALIDITY_SECONDS in <lambda>()[all …]
19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF;20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC;21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;32 import android.net.ConnectivitySettingsManager;118 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in testOnBindDialogView_containsCorrectData()119 ConnectivitySettingsManager.setPrivateDnsHostname(mContext, HOST_NAME); in testOnBindDialogView_containsCorrectData()157 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in testOnClick_positiveButtonClicked_saveData()163 assertThat(ConnectivitySettingsManager.getPrivateDnsMode(mContext)).isEqualTo( in testOnClick_positiveButtonClicked_saveData()170 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in testOnClick_negativeButtonClicked_doNothing()176 assertThat(ConnectivitySettingsManager.getPrivateDnsMode(mContext)).isEqualTo( in testOnClick_negativeButtonClicked_doNothing()
19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF;20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC;21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;50 import android.net.ConnectivitySettingsManager;196 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in getSummary_PrivateDnsModeOff()197 ConnectivitySettingsManager.setPrivateDnsHostname(mContext, HOSTNAME); in getSummary_PrivateDnsModeOff()206 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OPPORTUNISTIC); in getSummary_PrivateDnsModeOpportunistic()207 ConnectivitySettingsManager.setPrivateDnsHostname(mContext, HOSTNAME); in getSummary_PrivateDnsModeOpportunistic()229 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in getSummary_PrivateDnsModeProviderHostname()230 ConnectivitySettingsManager.setPrivateDnsHostname(mContext, HOSTNAME); in getSummary_PrivateDnsModeProviderHostname()[all …]
19 import static android.net.ConnectivitySettingsManager.DNS_RESOLVER_MAX_SAMPLES;20 import static android.net.ConnectivitySettingsManager.DNS_RESOLVER_MIN_SAMPLES;21 import static android.net.ConnectivitySettingsManager.DNS_RESOLVER_SAMPLE_VALIDITY_SECONDS;22 import static android.net.ConnectivitySettingsManager.DNS_RESOLVER_SUCCESS_THRESHOLD_PERCENT;23 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_DEFAULT_MODE;24 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE;25 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF;26 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;27 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_SPECIFIER;36 import android.net.ConnectivitySettingsManager;[all …]
19 import static android.net.ConnectivitySettingsManager.GLOBAL_HTTP_PROXY_EXCLUSION_LIST;20 import static android.net.ConnectivitySettingsManager.GLOBAL_HTTP_PROXY_HOST;21 import static android.net.ConnectivitySettingsManager.GLOBAL_HTTP_PROXY_PAC;22 import static android.net.ConnectivitySettingsManager.GLOBAL_HTTP_PROXY_PORT;
27 import static android.net.ConnectivitySettingsManager.UIDS_ALLOWED_ON_RESTRICTED_NETWORKS;44 import android.net.ConnectivitySettingsManager;163 return ConnectivitySettingsManager.getUidsAllowedOnRestrictedNetworks(context); in getUidsAllowedOnRestrictedNetworks()
19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_DEFAULT_MODE;20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE;21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF;22 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;23 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_SPECIFIER;48 import android.net.ConnectivitySettingsManager;201 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testTrackedValidationUpdates()202 ConnectivitySettingsManager.setPrivateDnsHostname(mCtx, "strictmode.com"); in testTrackedValidationUpdates()307 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_OFF); in testIgnoreUntrackedValidationUpdates()331 ConnectivitySettingsManager.setPrivateDnsDefaultMode(mCtx, PRIVATE_DNS_MODE_OFF); in testOverrideDefaultMode()[all …]
33 import static android.net.ConnectivitySettingsManager.UIDS_ALLOWED_ON_RESTRICTED_NETWORKS;
18 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF;19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC;20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;30 import android.net.ConnectivitySettingsManager;163 mMode = ConnectivitySettingsManager.getPrivateDnsMode(context); in onBindDialogView()201 ConnectivitySettingsManager.setPrivateDnsHostname(context, in onClick()207 ConnectivitySettingsManager.setPrivateDnsMode(context, mMode); in onClick()
19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF;20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC;21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;32 import android.net.ConnectivitySettingsManager;122 final int mode = ConnectivitySettingsManager.getPrivateDnsMode(mContext); in getSummary()
107 import android.net.ConnectivitySettingsManager;2233 ConnectivitySettingsManager.getNetworkAvoidBadWifi(mContext);2234 final int curPrivateDnsMode = ConnectivitySettingsManager.getPrivateDnsMode(mContext);2247 ConnectivitySettingsManager.setPrivateDnsMode(mContext,2248 ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF);2249 ConnectivitySettingsManager.setNetworkAvoidBadWifi(mContext,2250 ConnectivitySettingsManager.NETWORK_AVOID_BAD_WIFI_IGNORE);2256 ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC,2257 ConnectivitySettingsManager.NETWORK_AVOID_BAD_WIFI_PROMPT);2263 ConnectivitySettingsManager.setNetworkAvoidBadWifi(mContext, curAvoidBadWifi);[all …]
25 import android.net.ConnectivitySettingsManager.NETWORK_AVOID_BAD_WIFI26 import android.net.ConnectivitySettingsManager.NETWORK_METERED_MULTIPATH_PREFERENCE
19 import static android.net.ConnectivitySettingsManager.NETWORK_AVOID_BAD_WIFI;20 import static android.net.ConnectivitySettingsManager.NETWORK_METERED_MULTIPATH_PREFERENCE;
56 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC;118 import android.net.ConnectivitySettingsManager;1386 ConnectivitySettingsManager.CONNECTIVITY_RELEASE_PENDING_INTENT_DELAY_MS, 5_000); in ConnectivityService()1462 ConnectivitySettingsManager.NETWORK_SWITCH_NOTIFICATION_DAILY_LIMIT, in ConnectivityService()1465 ConnectivitySettingsManager.NETWORK_SWITCH_NOTIFICATION_RATE_LIMIT_MILLIS, in ConnectivityService()1588 ConnectivitySettingsManager.MOBILE_DATA_ALWAYS_ON, true /* defaultValue */); in handleConfigureAlwaysOnNetworks()1590 ConnectivitySettingsManager.WIFI_ALWAYS_REQUESTED, false /* defaultValue */); in handleConfigureAlwaysOnNetworks()1606 Settings.Global.getUriFor(ConnectivitySettingsManager.MOBILE_DATA_ALWAYS_ON), in registerSettingsCallbacks()1611 Settings.Global.getUriFor(ConnectivitySettingsManager.WIFI_ALWAYS_REQUESTED), in registerSettingsCallbacks()1616 Settings.Secure.getUriFor(ConnectivitySettingsManager.MOBILE_DATA_PREFERRED_UIDS), in registerSettingsCallbacks()[all …]
57 public class ConnectivitySettingsManager { class59 private ConnectivitySettingsManager() {} in ConnectivitySettingsManager() method in ConnectivitySettingsManager
63 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF;64 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC;65 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;211 import android.net.ConnectivitySettingsManager;1721 setCaptivePortalMode(ConnectivitySettingsManager.CAPTIVE_PORTAL_MODE_PROMPT); in setUp()3795 setCaptivePortalMode(ConnectivitySettingsManager.CAPTIVE_PORTAL_MODE_AVOID); in testAvoidOrIgnoreCaptivePortals()4567 Settings.Global.putInt(cr, ConnectivitySettingsManager.CAPTIVE_PORTAL_MODE, mode); in setCaptivePortalMode()4572 Settings.Global.putInt(cr, ConnectivitySettingsManager.MOBILE_DATA_ALWAYS_ON, in setAlwaysOnNetworks()4579 ConnectivitySettingsManager.setPrivateDnsMode(mServiceContext, mode); in setPrivateDnsSettings()4580 ConnectivitySettingsManager.setPrivateDnsHostname(mServiceContext, specifier); in setPrivateDnsSettings()[all …]
49 public class ConnectivitySettingsManager {