/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsModeDialogPreferenceTest.java | 19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 94 assertThat(mPreference.mMode).isEqualTo(PRIVATE_DNS_MODE_OFF); in testOnCheckedChanged_dnsModeOff_disableEditText() 118 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in testOnBindDialogView_containsCorrectData() 157 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in testOnClick_positiveButtonClicked_saveData() 170 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in testOnClick_negativeButtonClicked_doNothing() 177 PRIVATE_DNS_MODE_OFF); in testOnClick_negativeButtonClicked_doNothing()
|
D | PrivateDnsPreferenceControllerTest.java | 19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 208 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in getSummary_PrivateDnsModeOff() 279 ConnectivitySettingsManager.setPrivateDnsDefaultMode(mContext, PRIVATE_DNS_MODE_OFF); in getSummary_PrivateDnsDefaultMode()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | ConnectivitySettingsUtils.java | 32 public static final int PRIVATE_DNS_MODE_OFF = 1; field in ConnectivitySettingsUtils 51 case PRIVATE_DNS_MODE_OFF: in getPrivateDnsModeAsString() 69 return PRIVATE_DNS_MODE_OFF; in getPrivateDnsModeAsInt() 102 if (!(mode == PRIVATE_DNS_MODE_OFF in setPrivateDnsMode()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/ |
D | PrivateDnsConfig.java | 19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 69 this(useTls ? PRIVATE_DNS_MODE_OPPORTUNISTIC : PRIVATE_DNS_MODE_OFF, null /* hostname */, in PrivateDnsConfig() 80 this(TextUtils.isEmpty(hostname) ? PRIVATE_DNS_MODE_OFF : in PrivateDnsConfig() 140 case PRIVATE_DNS_MODE_OFF: return "off"; in modeAsString()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 21 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 288 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_OFF); in testIgnoreUntrackedValidationUpdates() 312 ConnectivitySettingsManager.setPrivateDnsDefaultMode(mCtx, PRIVATE_DNS_MODE_OFF); in testOverrideDefaultMode() 314 assertEquals(PRIVATE_DNS_MODE_OFF, cfgOff.mode); in testOverrideDefaultMode() 393 assertEquals(PRIVATE_DNS_MODE_OFF, privateDnsCfg.mode); in testGetPrivateDnsConfigForNetwork() 420 assertEquals(PRIVATE_DNS_MODE_OFF, privateDnsCfg.mode); in testGetPrivateDnsConfigForNetwork()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | DnsManager.java | 25 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 137 final boolean useTls = mode != PRIVATE_DNS_MODE_OFF; in getPrivateDnsConfig() 305 final boolean useTls = privateDnsCfg.mode != PRIVATE_DNS_MODE_OFF; in updatePrivateDnsStatus() 373 final boolean useTls = privateDnsCfg.mode != PRIVATE_DNS_MODE_OFF; in sendDnsConfigurationForNetwork()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | PrivateDnsModeDialogPreference.java | 18 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 77 PRIVATE_DNS_MAP.put(PRIVATE_DNS_MODE_OFF, R.id.private_dns_mode_off); in PRIVATE_DNS_MAP.put() argument 200 mMode = PRIVATE_DNS_MODE_OFF; in onCheckedChanged()
|
D | PrivateDnsPreferenceController.java | 19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 130 case PRIVATE_DNS_MODE_OFF: in getSummary()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | PrivateDnsConfigTest.java | 19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 36 private static final int OFF_MODE = PRIVATE_DNS_MODE_OFF;
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivitySettingsManager.java | 357 public static final int PRIVATE_DNS_MODE_OFF = ConnectivitySettingsUtils.PRIVATE_DNS_MODE_OFF; field in ConnectivitySettingsManager 377 PRIVATE_DNS_MODE_OFF, 831 if (!(mode == PRIVATE_DNS_MODE_OFF in setPrivateDnsDefaultMode()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | ConnectivitySettingsManagerTest.kt | 34 import android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF in <lambda>() 256 setPrivateDnsDefaultMode(context, PRIVATE_DNS_MODE_OFF) in <lambda>() 257 assertEquals(getPrivateDnsModeAsString(PRIVATE_DNS_MODE_OFF), in <lambda>()
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 133 field public static final int PRIVATE_DNS_MODE_OFF = 1; // 0x1
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 2689 ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF);
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 116 Landroid/net/ConnectivityManager;->PRIVATE_DNS_MODE_OFF:Ljava/lang/String;
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 88 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF; 1963 setPrivateDnsSettings(PRIVATE_DNS_MODE_OFF, "ignored.example.com"); in setUp() 8418 setPrivateDnsSettings(PRIVATE_DNS_MODE_OFF, "ignored.example.com");
|