Home
last modified time | relevance | path

Searched refs:VpnConfig (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java49 public class VpnConfig implements Parcelable { class
113 public VpnConfig() { in VpnConfig() method in VpnConfig
179 public static final Parcelable.Creator<VpnConfig> CREATOR =
180 new Parcelable.Creator<VpnConfig>() {
182 public VpnConfig createFromParcel(Parcel in) {
183 VpnConfig config = new VpnConfig();
208 public VpnConfig[] newArray(int size) {
209 return new VpnConfig[size];
DVpnConfig.aidl19 parcelable VpnConfig;
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DManageDialog.java33 import com.android.internal.net.VpnConfig;
42 private VpnConfig mConfig;
82 mAlertParams.mTitle = VpnConfig.getVpnLabel(this, mConfig.user); in onCreate()
121 mService.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, myUserId); in onClick()
123 mService.prepareVpn(mConfig.user, VpnConfig.LEGACY_VPN, myUserId); in onClick()
DConfirmDialog.java41 import com.android.internal.net.VpnConfig;
120 return VpnConfig.getVpnLabel(this, mPackage); in getVpnLabel()
DAlwaysOnDisconnectedDialog.java41 import com.android.internal.net.VpnConfig;
116 return VpnConfig.getVpnLabel(this, mVpnPackage); in getVpnLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java47 import com.android.internal.net.VpnConfig;
92 private SparseArray<VpnConfig> mCurrentVpns = new SparseArray<>();
187 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in getPrimaryVpnName()
218 VpnConfig cfg = mCurrentVpns.get(profileId); in getWorkProfileVpnName()
249 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in isVpnBranded()
327 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { in getNameForVpnConfig()
336 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig()
353 SparseArray<VpnConfig> vpns = new SparseArray<>(); in updateState()
356 VpnConfig cfg = mConnectivityManagerService.getVpnConfig(user.id); in updateState()
377 private String getPackageNameForVpnConfig(VpnConfig cfg) { in getPackageNameForVpnConfig()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java106 import com.android.internal.net.VpnConfig;
207 protected VpnConfig mConfig;
272 mPackage = VpnConfig.LEGACY_VPN; in Vpn()
491 final Intent intent = new Intent(VpnConfig.SERVICE_INTERFACE); in isAlwaysOnPackageSupported()
559 if (VpnConfig.LEGACY_VPN.equals(packageName)) { in setAlwaysOnPackageInternal()
590 packageName = VpnConfig.LEGACY_VPN; in setAlwaysOnPackageInternal()
611 return packageName == null || VpnConfig.LEGACY_VPN.equals(packageName); in isNullOrLegacyVpn()
723 Intent serviceIntent = new Intent(VpnConfig.SERVICE_INTERFACE); in startAlwaysOnVpn()
792 if (!oldPackage.equals(VpnConfig.LEGACY_VPN) in prepare()
798 } else if (!oldPackage.equals(VpnConfig.LEGACY_VPN) in prepare()
[all …]
/frameworks/base/core/java/android/net/
DVpnService.java44 import com.android.internal.net.VpnConfig;
140 public static final String SERVICE_INTERFACE = VpnConfig.SERVICE_INTERFACE;
212 return VpnConfig.getIntentForConfirmation(); in prepare()
482 private final VpnConfig mConfig = new VpnConfig();
DIConnectivityManager.aidl41 import com.android.internal.net.VpnConfig;
124 ParcelFileDescriptor establishVpn(in VpnConfig config); in establishVpn()
134 VpnConfig getVpnConfig(int userId); in getVpnConfig()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java45 import com.android.internal.net.VpnConfig;
124 final VpnConfig vpnConfig = mVpn.getLegacyVpnConfig(); in handleStateChangedLocked()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java92 import com.android.internal.net.VpnConfig;
517 vpn.prepare(null, VpnConfig.LEGACY_VPN, VpnManager.TYPE_VPN_SERVICE); in testLockdownRuleReversibility()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java187 import com.android.internal.net.VpnConfig;
4564 public ParcelFileDescriptor establishVpn(VpnConfig config) { in establishVpn()
4745 public VpnConfig getVpnConfig(int userId) { in getVpnConfig()
7582 VpnConfig vpnConfig = getVpnConfig(userId); in factoryReset()
7585 prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, userId); in factoryReset()
7592 prepareVpn(null, VpnConfig.LEGACY_VPN, userId); in factoryReset()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java226 import com.android.internal.net.VpnConfig;
1079 mConfig = new VpnConfig(); in connect()
/frameworks/base/config/
Dpreloaded-classes8216 com.android.internal.net.VpnConfig$1
8217 com.android.internal.net.VpnConfig
Dboot-image-profile.txt13802 …PLandroid/net/IConnectivityManager$Stub$Proxy;->getVpnConfig(I)Lcom/android/internal/net/VpnConfig;
48645 Lcom/android/internal/net/VpnConfig$1;
48646 Lcom/android/internal/net/VpnConfig;
/frameworks/base/services/
Dart-profile1926 PLcom/android/server/ConnectivityService;->establishVpn(Lcom/android/internal/net/VpnConfig;)Landro…
1971 HPLcom/android/server/ConnectivityService;->getVpnConfig(I)Lcom/android/internal/net/VpnConfig;
12905 …-><init>(Lcom/android/server/connectivity/Vpn;Lcom/android/internal/net/VpnConfig;[Ljava/lang/Stri…
12937 HPLcom/android/server/connectivity/Vpn;->establish(Lcom/android/internal/net/VpnConfig;)Landroid/os…
12949 HPLcom/android/server/connectivity/Vpn;->getVpnConfig()Lcom/android/internal/net/VpnConfig;
12980 PLcom/android/server/connectivity/Vpn;->startLegacyVpn(Lcom/android/internal/net/VpnConfig;[Ljava/l…
12986 …ateLinkPropertiesInPlaceIfPossible(Landroid/net/NetworkAgent;Lcom/android/internal/net/VpnConfig;)Z