/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsPreferenceControllerTest.java | 208 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
|
D | PrivateDnsModeDialogPreferenceTest.java | 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()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 180 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/ |
D | ConnectivitySettingsUtils.java | 101 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/ |
D | CtsNetUtils.java | 461 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/ |
D | ConnectivitySettingsManager.java | 785 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/ |
D | PrivateDnsModeDialogPreference.java | 193 ConnectivitySettingsManager.setPrivateDnsMode(context, mMode); in onClick()
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 123 method public static void setPrivateDnsMode(@NonNull android.content.Context, int);
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 2688 ConnectivitySettingsManager.setPrivateDnsMode(mContext, 2706 ConnectivitySettingsManager.setPrivateDnsMode(mContext, curPrivateDnsMode);
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 11707 ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 5791 ConnectivitySettingsManager.setPrivateDnsMode(mServiceContext, mode);
|