Home
last modified time | relevance | path

Searched refs:PRIVATE_DNS_MODE_OFF (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsModeDialogPreferenceTest.java19 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()
DPrivateDnsPreferenceControllerTest.java19 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/
DConnectivitySettingsUtils.java32 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/
DPrivateDnsConfig.java19 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/
DDnsManagerTest.java21 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/
DDnsManager.java25 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/
DPrivateDnsModeDialogPreference.java18 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()
DPrivateDnsPreferenceController.java19 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/
DPrivateDnsConfigTest.java19 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/
DConnectivitySettingsManager.java357 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/
DConnectivitySettingsManagerTest.kt34 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/
Dmodule-lib-current.txt133 field public static final int PRIVATE_DNS_MODE_OFF = 1; // 0x1
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java2689 ConnectivitySettingsManager.PRIVATE_DNS_MODE_OFF);
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt116 Landroid/net/ConnectivityManager;->PRIVATE_DNS_MODE_OFF:Ljava/lang/String;
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java88 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");