/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | ConnectivitySettingsUtils.java | 34 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/ |
D | PrivateDnsConfig.java | 21 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/ |
D | PrivateDnsModeDialogPreference.java | 20 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()
|
D | PrivateDnsPreferenceController.java | 21 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/ |
D | DnsManagerTest.java | 23 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/ |
D | PrivateDnsConfigTest.java | 21 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/ |
D | PrivateDnsModeDialogPreferenceTest.java | 21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; 110 assertThat(mPreference.mMode).isEqualTo(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testOnCheckedChanged_dnsModeProvider_enableEditText()
|
D | PrivateDnsPreferenceControllerTest.java | 21 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/ |
D | ConnectivitySettingsManager.java | 371 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/ |
D | CtsNetUtils.java | 457 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/ |
D | DnsManager.java | 26 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/ |
D | VpnTest.java | 198 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/ |
D | NetworkMonitorTest.java | 22 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/ |
D | module-lib-current.txt | 135 field public static final int PRIVATE_DNS_MODE_PROVIDER_HOSTNAME = 3; // 0x3
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 118 Landroid/net/ConnectivityManager;->PRIVATE_DNS_MODE_PROVIDER_HOSTNAME:Ljava/lang/String;
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 90 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; 8441 setPrivateDnsSettings(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, "strict.example.com");
|