Searched refs:setPrivateDnsMode (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsPreferenceControllerTest.java | 196 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
|
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 | 201 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/ |
D | CtsNetUtils.java | 521 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/ |
D | ConnectivitySettingsManager.java | 754 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/ |
D | PrivateDnsModeDialogPreference.java | 207 ConnectivitySettingsManager.setPrivateDnsMode(context, mMode); in onClick()
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 87 method public static void setPrivateDnsMode(@NonNull android.content.Context, int);
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 2247 ConnectivitySettingsManager.setPrivateDnsMode(mContext, 2264 ConnectivitySettingsManager.setPrivateDnsMode(mContext, curPrivateDnsMode);
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 8880 ConnectivitySettingsManager.setPrivateDnsMode(mContext, in factoryReset()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4579 ConnectivitySettingsManager.setPrivateDnsMode(mServiceContext, mode); in setPrivateDnsSettings()
|