Home
last modified time | relevance | path

Searched refs:PRIVATE_DNS_DEFAULT_MODE (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DConnectivitySettingsUtils.java36 public static final String PRIVATE_DNS_DEFAULT_MODE = "private_dns_default_mode"; field in ConnectivitySettingsUtils
91 if (TextUtils.isEmpty(mode)) mode = Settings.Global.getString(cr, PRIVATE_DNS_DEFAULT_MODE); in getPrivateDnsMode()
/packages/modules/Connectivity/tests/common/java/android/net/
DConnectivitySettingsManagerTest.kt33 import android.net.ConnectivitySettingsManager.PRIVATE_DNS_DEFAULT_MODE in <lambda>()
249 val original = Settings.Global.getString(resolver, PRIVATE_DNS_DEFAULT_MODE) in <lambda>()
253 Settings.Global.putString(resolver, PRIVATE_DNS_DEFAULT_MODE, mode) in <lambda>()
260 resetSettings(names = arrayOf(PRIVATE_DNS_DEFAULT_MODE), type = settingsTypeGlobal, in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/
DPrivateDnsPreferenceController.java22 import static android.provider.Settings.Global.PRIVATE_DNS_DEFAULT_MODE;
64 Settings.Global.getUriFor(PRIVATE_DNS_DEFAULT_MODE),
/packages/modules/Connectivity/framework/src/android/net/
DConnectivitySettingsManager.java259 public static final String PRIVATE_DNS_DEFAULT_MODE = "private_dns_default_mode"; field in ConnectivitySettingsManager
819 return Settings.Global.getString(context.getContentResolver(), PRIVATE_DNS_DEFAULT_MODE); in getPrivateDnsDefaultMode()
836 Settings.Global.putString(context.getContentResolver(), PRIVATE_DNS_DEFAULT_MODE, in setPrivateDnsDefaultMode() local
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDnsManager.java23 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_DEFAULT_MODE;
150 Settings.Global.getUriFor(PRIVATE_DNS_DEFAULT_MODE), in getPrivateDnsSettingsUris()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_DEFAULT_MODE;
132 Settings.Global.putString(mContentResolver, PRIVATE_DNS_DEFAULT_MODE, ""); in setUp()