/frameworks/base/core/java/com/android/internal/net/ |
VpnConfig.aidl | 19 parcelable VpnConfig;
|
VpnConfig.java | 46 public class VpnConfig implements Parcelable { 167 public static final Parcelable.Creator<VpnConfig> CREATOR = 168 new Parcelable.Creator<VpnConfig>() { 170 public VpnConfig createFromParcel(Parcel in) { 171 VpnConfig config = new VpnConfig(); 194 public VpnConfig[] newArray(int size) { 195 return new VpnConfig[size];
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnUtils.java | 29 import com.android.internal.net.VpnConfig; 78 final VpnConfig config = service.getVpnConfig(userId); 102 connectivityService.prepareVpn(null, VpnConfig.LEGACY_VPN, userId);
|
AppPreference.java | 27 import com.android.internal.net.VpnConfig; 59 label = VpnConfig.getVpnLabel(userContext, mPackageName).toString();
|
AppManagementFragment.java | 43 import com.android.internal.net.VpnConfig; 286 mVpnLabel = VpnConfig.getVpnLabel(getPrefContext(), mPackageName).toString(); 318 final VpnConfig config = mConnectivityService.getVpnConfig(mUserId);
|
AppDialogFragment.java | 34 import com.android.internal.net.VpnConfig; 167 mService.prepareVpn(mPackageInfo.packageName, VpnConfig.LEGACY_VPN, userId);
|
ConfigDialogFragment.java | 38 import com.android.internal.net.VpnConfig;
|
VpnSettings.java | 56 import com.android.internal.net.VpnConfig; 487 VpnConfig config = mConnectivityService.getVpnConfig(profile.getIdentifier());
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
ManageDialog.java | 33 import com.android.internal.net.VpnConfig; 42 private VpnConfig mConfig; 88 mAlertParams.mTitle = VpnConfig.getVpnLabel(this, mConfig.user); 127 mService.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, myUserId); 129 mService.prepareVpn(mConfig.user, VpnConfig.LEGACY_VPN, myUserId);
|
ConfirmDialog.java | 37 import com.android.internal.net.VpnConfig; 105 return VpnConfig.getVpnLabel(this, mPackage);
|
/packages/apps/Settings/src/com/android/settings/network/ |
VpnPreferenceController.java | 40 import com.android.internal.net.VpnConfig; 123 SparseArray<VpnConfig> vpns = new SparseArray<>(); 127 VpnConfig cfg = mConnectivityManagerService.getVpnConfig(user.id); 153 VpnConfig vpn = vpns.get(uid); 163 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { 167 // The package name for an active VPN is stored in the 'user' field of its VpnConfig 172 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
SecurityControllerImpl.java | 49 import com.android.internal.net.VpnConfig; 84 private SparseArray<VpnConfig> mCurrentVpns = new SparseArray<>(); 176 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); 202 VpnConfig cfg = mCurrentVpns.get(profileId); 233 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); 298 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { 302 // The package name for an active VPN is stored in the 'user' field of its VpnConfig 307 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); 324 SparseArray<VpnConfig> vpns = new SparseArray<>(); 327 VpnConfig cfg = mConnectivityManagerService.getVpnConfig(user.id) [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
VpnFacade.java | 25 import com.android.internal.net.VpnConfig; 100 mConService.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, mService.getUserId());
|
/frameworks/base/core/java/android/net/ |
VpnService.java | 39 import com.android.internal.net.VpnConfig; 129 public static final String SERVICE_INTERFACE = VpnConfig.SERVICE_INTERFACE; 201 return VpnConfig.getIntentForConfirmation(); 442 private final VpnConfig mConfig = new VpnConfig(); [all...] |
IConnectivityManager.aidl | 35 import com.android.internal.net.VpnConfig; 115 ParcelFileDescriptor establishVpn(in VpnConfig config); 117 VpnConfig getVpnConfig(int userId);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Vpn.java | 89 import com.android.internal.net.VpnConfig; 142 private VpnConfig mConfig; 238 mPackage = VpnConfig.LEGACY_VPN; 333 final Intent intent = new Intent(VpnConfig.SERVICE_INTERFACE); 390 if (VpnConfig.LEGACY_VPN.equals(packageName)) { 402 packageName = VpnConfig.LEGACY_VPN; 419 return packageName == null || VpnConfig.LEGACY_VPN.equals(packageName); 527 Intent serviceIntent = new Intent(VpnConfig.SERVICE_INTERFACE); 551 * It uses {@link VpnConfig#LEGACY_VPN} as its package name, and 585 if (!oldPackage.equals(VpnConfig.LEGACY_VPN) && isVpnUserPreConsented(oldPackage)) [all...] |
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/ |
VpnTests.java | 35 import com.android.internal.net.VpnConfig; 220 mService.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, UserHandle.myUserId());
|
/frameworks/base/services/core/java/com/android/server/net/ |
LockdownVpnTracker.java | 49 import com.android.internal.net.VpnConfig; 128 final VpnConfig vpnConfig = mVpn.getLegacyVpnConfig(); 181 } else if (vpnInfo.isConnected() && vpnConfig != null) { 182 final String iface = vpnConfig.interfaze; 183 final List<LinkAddress> sourceAddrs = vpnConfig.addresses;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
ConnectivityServiceMock.java | 52 import com.android.internal.net.VpnConfig; 624 public ParcelFileDescriptor establishVpn(VpnConfig config) { 644 public VpnConfig getVpnConfig(int userId) { [all...] |
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
VpnTest.java | 49 import com.android.internal.net.VpnConfig; 315 vpn.prepare(null, VpnConfig.LEGACY_VPN);
|
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 119 import com.android.internal.net.VpnConfig; [all...] |
/frameworks/base/config/ |
compiled-classes-phone | [all...] |