Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsPreferenceControllerTest.java196 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OFF); in getSummary_PrivateDnsModeOff()
206 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OPPORTUNISTIC); in getSummary_PrivateDnsModeOpportunistic()
229 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in getSummary_PrivateDnsModeProviderHostname()
254 setPrivateDnsMode(""); in getSummary_PrivateDnsDefaultMode()
273 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OPPORTUNISTIC); in getSummary_PrivateDnsDefaultMode()
304 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.java201 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testTrackedValidationUpdates()
307 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_OFF); in testIgnoreUntrackedValidationUpdates()
338 ConnectivitySettingsManager.setPrivateDnsMode(mCtx, PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testOverrideDefaultMode()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java521 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, mOldPrivateDnsMode); in restorePrivateDnsSetting()
527 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, in restorePrivateDnsSetting()
548 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, in setPrivateDnsStrictMode()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivitySettingsManager.java754 public static void setPrivateDnsMode(@NonNull Context context, @PrivateDnsMode int mode) { in setPrivateDnsMode() method in ConnectivitySettingsManager
755 ConnectivitySettingsUtils.setPrivateDnsMode(context, mode); in setPrivateDnsMode()
/packages/apps/Settings/src/com/android/settings/network/
DPrivateDnsModeDialogPreference.java207 ConnectivitySettingsManager.setPrivateDnsMode(context, mMode); in onClick()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt87 method public static void setPrivateDnsMode(@NonNull android.content.Context, int);
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java2247 ConnectivitySettingsManager.setPrivateDnsMode(mContext,
2264 ConnectivitySettingsManager.setPrivateDnsMode(mContext, curPrivateDnsMode);
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java8880 ConnectivitySettingsManager.setPrivateDnsMode(mContext, in factoryReset()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java4579 ConnectivitySettingsManager.setPrivateDnsMode(mServiceContext, mode); in setPrivateDnsSettings()