Home
last modified time | relevance | path

Searched refs:mOldPrivateDnsMode (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java107 private int mOldPrivateDnsMode = 0; field in CtsNetUtils
511 mOldPrivateDnsMode = ConnectivitySettingsUtils.getPrivateDnsMode(mContext); in storePrivateDnsSetting()
516 if (mOldPrivateDnsMode == 0) { in restorePrivateDnsSetting()
520 if (mOldPrivateDnsMode != ConnectivitySettingsUtils.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME) { in restorePrivateDnsSetting()
521 ConnectivitySettingsUtils.setPrivateDnsMode(mContext, mOldPrivateDnsMode); in restorePrivateDnsSetting()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java156 private String mOldPrivateDnsMode; field in VpnTest
626 mOldPrivateDnsMode = Settings.Global.getString(getContentResolver(), in storePrivateDnsSetting()
634 mOldPrivateDnsMode); in restorePrivateDnsSetting() local