/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | ConnectivitySettingsUtils.java | 33 public static final int PRIVATE_DNS_MODE_OPPORTUNISTIC = 2; field in ConnectivitySettingsUtils 53 case PRIVATE_DNS_MODE_OPPORTUNISTIC: in getPrivateDnsModeAsString() 66 return PRIVATE_DNS_MODE_OPPORTUNISTIC; in getPrivateDnsModeAsInt() 73 return PRIVATE_DNS_MODE_OPPORTUNISTIC; in getPrivateDnsModeAsInt() 78 return PRIVATE_DNS_MODE_OPPORTUNISTIC; in getPrivateDnsModeAsInt() 103 || mode == PRIVATE_DNS_MODE_OPPORTUNISTIC in setPrivateDnsMode()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsModeDialogPreferenceTest.java | 20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 102 assertThat(mPreference.mMode).isEqualTo(PRIVATE_DNS_MODE_OPPORTUNISTIC); in testOnCheckedChanged_dnsModeOpportunistic_disableEditText() 159 mPreference.mMode = PRIVATE_DNS_MODE_OPPORTUNISTIC; in testOnClick_positiveButtonClicked_saveData() 164 PRIVATE_DNS_MODE_OPPORTUNISTIC); in testOnClick_positiveButtonClicked_saveData() 172 mPreference.mMode = PRIVATE_DNS_MODE_OPPORTUNISTIC; in testOnClick_negativeButtonClicked_doNothing()
|
D | PrivateDnsPreferenceControllerTest.java | 20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 219 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OPPORTUNISTIC); in getSummary_PrivateDnsModeOpportunistic() 290 ConnectivitySettingsManager.setPrivateDnsMode(mContext, PRIVATE_DNS_MODE_OPPORTUNISTIC); in getSummary_PrivateDnsDefaultMode()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/ |
D | PrivateDnsConfig.java | 20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 69 this(useTls ? PRIVATE_DNS_MODE_OPPORTUNISTIC : PRIVATE_DNS_MODE_OFF, null /* hostname */, in PrivateDnsConfig() 123 return mode == PRIVATE_DNS_MODE_OPPORTUNISTIC; in inOpportunisticMode() 141 case PRIVATE_DNS_MODE_OPPORTUNISTIC: return "opportunistic"; in modeAsString()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | PrivateDnsModeDialogPreference.java | 19 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 78 PRIVATE_DNS_MAP.put(PRIVATE_DNS_MODE_OPPORTUNISTIC, R.id.private_dns_mode_opportunistic); in PRIVATE_DNS_MAP.put() argument 202 mMode = PRIVATE_DNS_MODE_OPPORTUNISTIC; in onCheckedChanged()
|
D | PrivateDnsPreferenceController.java | 20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 132 case PRIVATE_DNS_MODE_OPPORTUNISTIC: in getSummary()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | PrivateDnsConfigTest.java | 20 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 37 private static final int OPPORTUNISTIC_MODE = PRIVATE_DNS_MODE_OPPORTUNISTIC;
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivitySettingsManager.java | 363 public static final int PRIVATE_DNS_MODE_OPPORTUNISTIC = field in ConnectivitySettingsManager 364 ConnectivitySettingsUtils.PRIVATE_DNS_MODE_OPPORTUNISTIC; 378 PRIVATE_DNS_MODE_OPPORTUNISTIC, 832 || mode == PRIVATE_DNS_MODE_OPPORTUNISTIC in setPrivateDnsDefaultMode()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 22 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 307 assertEquals(PRIVATE_DNS_MODE_OPPORTUNISTIC, cfgAuto.mode); in testOverrideDefaultMode() 405 assertEquals(PRIVATE_DNS_MODE_OPPORTUNISTIC, privateDnsCfg.mode); in testGetPrivateDnsConfigForNetwork()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | ConnectivitySettingsManagerTest.kt | 35 import android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC in <lambda>() 252 val mode = getPrivateDnsModeAsString(PRIVATE_DNS_MODE_OPPORTUNISTIC) in <lambda>()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 99 private static final String PRIVATE_DNS_MODE_OPPORTUNISTIC = "opportunistic"; field in CtsNetUtils 468 ConnectivitySettingsUtils.PRIVATE_DNS_MODE_OPPORTUNISTIC); in restorePrivateDnsSetting()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 199 private static final String PRIVATE_DNS_MODE_OPPORTUNISTIC = "opportunistic"; field in VpnTest 842 Settings.Global.putString(cr, PRIVATE_DNS_MODE_SETTING, PRIVATE_DNS_MODE_OPPORTUNISTIC); in setAndVerifyPrivateDns()
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 134 field public static final int PRIVATE_DNS_MODE_OPPORTUNISTIC = 2; // 0x2
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 89 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 8223 setPrivateDnsSettings(PRIVATE_DNS_MODE_OPPORTUNISTIC, "ignored.example.com"); 8361 setPrivateDnsSettings(PRIVATE_DNS_MODE_OPPORTUNISTIC, "ignored.example.com"); 8428 setPrivateDnsSettings(PRIVATE_DNS_MODE_OPPORTUNISTIC, "ignored.example.com"); 8463 setPrivateDnsSettings(PRIVATE_DNS_MODE_OPPORTUNISTIC, "ignored.example.com");
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 2700 ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC,
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 117 Landroid/net/ConnectivityManager;->PRIVATE_DNS_MODE_OPPORTUNISTIC:Ljava/lang/String;
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 68 import static android.net.ConnectivitySettingsManager.PRIVATE_DNS_MODE_OPPORTUNISTIC; 11708 PRIVATE_DNS_MODE_OPPORTUNISTIC);
|