Home
last modified time | relevance | path

Searched refs:setPrivateDnsMode (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsPreferenceControllerTest.java208 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in getSummary_PrivateDnsModeOff()
219 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OPPORTUNISTIC); in getSummary_PrivateDnsModeOpportunistic()
244 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in getSummary_PrivateDnsModeProviderHostname()
269 setPrivateDnsMode(""); in getSummary_PrivateDnsDefaultMode()
290 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OPPORTUNISTIC); in getSummary_PrivateDnsDefaultMode()
322 private void setPrivateDnsMode(String mode) { in setPrivateDnsMode() method in PrivateDnsPreferenceControllerTest
DPrivateDnsModeDialogPreferenceTest.java118 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()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java180 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testTrackedValidationUpdates()
288 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_OFF); in testIgnoreUntrackedValidationUpdates()
319 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testOverrideDefaultMode()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DConnectivitySettingsUtils.java101 public static void setPrivateDnsMode(@NonNull Context context, int mode) { in setPrivateDnsMode() method in ConnectivitySettingsUtils
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java461 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, mOldPrivateDnsMode); in restorePrivateDnsSetting()
467 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, in restorePrivateDnsSetting()
488 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, in setPrivateDnsStrictMode()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivitySettingsManager.java785 public static void setPrivateDnsMode(@NonNull Context context, @PrivateDnsMode int mode) { in setPrivateDnsMode() method in ConnectivitySettingsManager
786 ConnectivitySettingsUtils.setPrivateDnsMode(context, mode); in setPrivateDnsMode()
/packages/apps/Settings/src/com/android/settings/network/
DPrivateDnsModeDialogPreference.java193 ConnectivitySettingsManager.setPrivateDnsMode(context, mMode); in onClick()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt123 method public static void setPrivateDnsMode(@NonNull android.content.Context, int);
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java2688 ConnectivitySettingsManager.setPrivateDnsMode(mContext,
2706 ConnectivitySettingsManager.setPrivateDnsMode(mContext, curPrivateDnsMode);
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java11707 ConnectivitySettingsManager.setPrivateDnsMode(mContext,
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java5791 ConnectivitySettingsManager.setPrivateDnsMode(mServiceContext, mode);