Home
last modified time | relevance | path

Searched refs:PRIVATE_DNS_MODE_PROVIDER_HOSTNAME (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DConnectivitySettingsUtils.java34 public static final int PRIVATE_DNS_MODE_PROVIDER_HOSTNAME = 3; field in ConnectivitySettingsUtils
55 case PRIVATE_DNS_MODE_PROVIDER_HOSTNAME: in getPrivateDnsModeAsString()
71 return PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; in getPrivateDnsModeAsInt()
104 || mode == PRIVATE_DNS_MODE_PROVIDER_HOSTNAME)) { in setPrivateDnsMode()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DPrivateDnsConfig.java21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
81 PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, hostname, ips, null /* dohName */, in PrivateDnsConfig()
116 return mode == PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; in inStrictMode()
142 case PRIVATE_DNS_MODE_PROVIDER_HOSTNAME: return "strict"; in modeAsString()
/packages/apps/Settings/src/com/android/settings/network/
DPrivateDnsModeDialogPreference.java20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
79 PRIVATE_DNS_MAP.put(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, R.id.private_dns_mode_provider); in PRIVATE_DNS_MAP.put() argument
185 if (mMode == PRIVATE_DNS_MODE_PROVIDER_HOSTNAME) { in onClick()
204 mMode = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; in onCheckedChanged()
253 final boolean modeProvider = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME == mMode; in updateDialogInfo()
DPrivateDnsPreferenceController.java21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
136 case PRIVATE_DNS_MODE_PROVIDER_HOSTNAME: in getSummary()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java23 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
180 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testTrackedValidationUpdates()
319 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testOverrideDefaultMode()
322 assertEquals(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, cfgStrict.mode); in testOverrideDefaultMode()
413 assertEquals(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, privateDnsCfg.mode); in testGetPrivateDnsConfigForNetwork()
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DPrivateDnsConfigTest.java21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
38 private static final int STRICT_MODE = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsModeDialogPreferenceTest.java21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
110 assertThat(mPreference.mMode).isEqualTo(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testOnCheckedChanged_dnsModeProvider_enableEditText()
DPrivateDnsPreferenceControllerTest.java21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
244 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in getSummary_PrivateDnsModeProviderHostname()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivitySettingsManager.java371 public static final int PRIVATE_DNS_MODE_PROVIDER_HOSTNAME = field in ConnectivitySettingsManager
372 ConnectivitySettingsUtils.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
379 PRIVATE_DNS_MODE_PROVIDER_HOSTNAME,
833 || mode == PRIVATE_DNS_MODE_PROVIDER_HOSTNAME)) { in setPrivateDnsDefaultMode()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java457 if (mOldPrivateDnsMode != ConnectivitySettingsUtils.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME) { in restorePrivateDnsSetting()
487 if (mode != ConnectivitySettingsUtils.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME) { in setPrivateDnsStrictMode()
489 ConnectivitySettingsUtils.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in setPrivateDnsStrictMode()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDnsManager.java26 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
139 if (PRIVATE_DNS_MODE_PROVIDER_HOSTNAME == mode) { in getPrivateDnsConfig()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java198 private static final String PRIVATE_DNS_MODE_PROVIDER_HOSTNAME = "hostname"; field in VpnTest
806 return PRIVATE_DNS_MODE_PROVIDER_HOSTNAME.equals( in isPrivateDnsInStrictMode()
840 PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in setAndVerifyPrivateDns()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java22 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
2517 expectedConfig.privateDnsMode = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; in testAsyncPrivateDnsResolution_PartialTimeout()
2545 expectedConfig.privateDnsMode = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; in testAsyncPrivateDnsResolution_PartialFailure()
2583 expectedConfig.privateDnsMode = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; in testAsyncPrivateDnsResolution_AQuerySucceedsFirst_PrioritizeAAAA()
2631 expectedConfig.privateDnsMode = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; in testAsyncPrivateDnsResolution_ConfigChange_RestartsWithNewConfig()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt135 field public static final int PRIVATE_DNS_MODE_PROVIDER_HOSTNAME = 3; // 0x3
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt118 Landroid/net/ConnectivityManager;->PRIVATE_DNS_MODE_PROVIDER_HOSTNAME:Ljava/lang/String;
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java90 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME;
8441 setPrivateDnsSettings(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, "strict.example.com");