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()
DAlwaysOnDisconnectedDialog.java41 import com.android.internal.net.VpnConfig;
116 return VpnConfig.getVpnLabel(this, mVpnPackage); in getVpnLabel()
DConfirmDialog.java41 import com.android.internal.net.VpnConfig;
120 return VpnConfig.getVpnLabel(this, mPackage); in getVpnLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java51 import com.android.internal.net.VpnConfig;
94 private SparseArray<VpnConfig> mCurrentVpns = new SparseArray<>();
191 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in getPrimaryVpnName()
217 VpnConfig cfg = mCurrentVpns.get(profileId); in getWorkProfileVpnName()
248 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in isVpnBranded()
313 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { in getNameForVpnConfig()
322 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig()
339 SparseArray<VpnConfig> vpns = new SparseArray<>(); in updateState()
342 VpnConfig cfg = mConnectivityManagerService.getVpnConfig(user.id); in updateState()
363 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;
125 ParcelFileDescriptor establishVpn(in VpnConfig config); in establishVpn()
135 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;
4556 public ParcelFileDescriptor establishVpn(VpnConfig config) { in establishVpn()
4737 public VpnConfig getVpnConfig(int userId) { in getVpnConfig()
7567 VpnConfig vpnConfig = getVpnConfig(userId); in factoryReset()
7570 prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, userId); in factoryReset()
7577 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/
Dhiddenapi-greylist-max-o.txt42831 Landroid/net/IConnectivityManager$Stub$Proxy;->establishVpn(Lcom/android/internal/net/VpnConfig;)La…
42861 Landroid/net/IConnectivityManager$Stub$Proxy;->getVpnConfig(I)Lcom/android/internal/net/VpnConfig;
42978 Landroid/net/IConnectivityManager;->establishVpn(Lcom/android/internal/net/VpnConfig;)Landroid/os/P…
43003 Landroid/net/IConnectivityManager;->getVpnConfig(I)Lcom/android/internal/net/VpnConfig;
45485 Landroid/net/VpnService$Builder;->mConfig:Lcom/android/internal/net/VpnConfig;
87619 Lcom/android/internal/net/VpnConfig;->addLegacyAddresses(Ljava/lang/String;)V
87620 Lcom/android/internal/net/VpnConfig;->addLegacyRoutes(Ljava/lang/String;)V
87621 Lcom/android/internal/net/VpnConfig;->addresses:Ljava/util/List;
87622 Lcom/android/internal/net/VpnConfig;->allowBypass:Z
87623 Lcom/android/internal/net/VpnConfig;->allowedApplications:Ljava/util/List;
[all …]
Dboot-image-profile.txt42173 …PLandroid/net/IConnectivityManager$Stub$Proxy;->getVpnConfig(I)Lcom/android/internal/net/VpnConfig;
/frameworks/base/services/
Dart-profile788 PLcom/android/server/ConnectivityService;->establishVpn(Lcom/android/internal/net/VpnConfig;)Landro…
822 HSPLcom/android/server/ConnectivityService;->getVpnConfig(I)Lcom/android/internal/net/VpnConfig;
5643 PLcom/android/server/connectivity/Vpn;->establish(Lcom/android/internal/net/VpnConfig;)Landroid/os/…
5649 HSPLcom/android/server/connectivity/Vpn;->getVpnConfig()Lcom/android/internal/net/VpnConfig;