Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java108 private LegacyVpnInfo mConnectedLegacyVpn; field in VpnSettings
364 if (mConnectedLegacyVpn != null && profile.key.equals(mConnectedLegacyVpn.key) && in onPreferenceClick()
365 mConnectedLegacyVpn.state == LegacyVpnInfo.STATE_CONNECTED) { in onPreferenceClick()
367 mConnectedLegacyVpn.intent.send(); in onPreferenceClick()
471 mConnectedLegacyVpn = mConnectivityService.getLegacyVpnInfo(UserHandle.myUserId()); in getConnectedLegacyVpns()
472 if (mConnectedLegacyVpn != null) { in getConnectedLegacyVpns()
473 return Collections.singletonMap(mConnectedLegacyVpn.key, mConnectedLegacyVpn); in getConnectedLegacyVpns()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java107 private LegacyVpnInfo mConnectedLegacyVpn; field in VpnSettings
365 if (mConnectedLegacyVpn != null && profile.key.equals(mConnectedLegacyVpn.key) && in onPreferenceClick()
366 mConnectedLegacyVpn.state == LegacyVpnInfo.STATE_CONNECTED) { in onPreferenceClick()
368 mConnectedLegacyVpn.intent.send(); in onPreferenceClick()
472 mConnectedLegacyVpn = mConnectivityService.getLegacyVpnInfo(UserHandle.myUserId()); in getConnectedLegacyVpns()
473 if (mConnectedLegacyVpn != null) { in getConnectedLegacyVpns()
474 return Collections.singletonMap(mConnectedLegacyVpn.key, mConnectedLegacyVpn); in getConnectedLegacyVpns()