/frameworks/base/core/java/com/android/internal/net/ |
VpnProfile.aidl | 19 parcelable VpnProfile;
|
VpnProfile.java | 35 public class VpnProfile implements Cloneable, Parcelable { 36 private static final String TAG = "VpnProfile"; 68 public VpnProfile(String key) { 72 public VpnProfile(Parcel in) { 113 public static VpnProfile decode(String key, byte[] value) { 125 VpnProfile profile = new VpnProfile(key); 220 public static final Creator<VpnProfile> CREATOR = new Creator<VpnProfile>() { 222 public VpnProfile createFromParcel(Parcel in) [all...] |
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/ |
VpnInfo.java | 19 import com.android.internal.net.VpnProfile; 26 private VpnProfile mVpnProfile; 32 public VpnInfo(VpnProfile vpnProfile, String certFile, String password) { 33 mVpnProfile = vpnProfile; 38 public VpnInfo(VpnProfile vpnProfile) { 39 mVpnProfile = vpnProfile; 42 public void setVpnProfile(VpnProfile vpnProfile) { [all...] |
VpnTests.java | 36 import com.android.internal.net.VpnProfile; 159 private void printVpnProfile(VpnProfile profile) { 179 private void printKeyStore(VpnProfile profile) { 207 private void connect(VpnProfile profile) throws Exception { 273 private void validateVpnConnection(VpnProfile profile) throws Exception { 280 private void validateVpnConnection(VpnProfile profile, boolean pingTestFlag) throws Exception { 336 private void installCertificatesFromFile(VpnProfile profile, String fileName, String password) 364 VpnInfo curVpnInfo = mVpnInfoPool.get(VpnProfile.TYPE_PPTP); 365 VpnProfile vpnProfile = curVpnInfo.getVpnProfile() [all...] |
VpnProfileParser.java | 21 import com.android.internal.net.VpnProfile; 61 VpnProfile profile = null; 70 profile = new VpnProfile(Long.toHexString(System.currentTimeMillis())); 213 return VpnProfile.TYPE_PPTP; 215 return VpnProfile.TYPE_L2TP_IPSEC_PSK; 217 return VpnProfile.TYPE_L2TP_IPSEC_RSA; 219 return VpnProfile.TYPE_IPSEC_XAUTH_PSK; 221 return VpnProfile.TYPE_IPSEC_XAUTH_RSA; 223 return VpnProfile.TYPE_IPSEC_HYBRID_RSA;
|
CertInstallerHelper.java | 24 import com.android.internal.net.VpnProfile; 172 public void installCertificate(VpnProfile profile, String certFile, String password) {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
VpnFacade.java | 26 import com.android.internal.net.VpnProfile; 58 static List<VpnProfile> loadVpnProfiles(KeyStore keyStore, int... excludeTypes) { 59 final ArrayList<VpnProfile> result = Lists.newArrayList(); 62 final VpnProfile profile = VpnProfile.decode(key, keyStore.get(Credentials.VPN + key)); 70 private VpnProfile genLegacyVpnProfile(JSONObject vpnProfileJson) { 71 VpnProfile vp = new VpnProfile(vpnProfileJson.optString("key", "")); 73 vp.type = vpnProfileJson.optInt("type", VpnProfile.TYPE_PPTP); 92 public void vpnStartLegacyVpn(@RpcParameter(name = "vpnProfile") JSONObject vpnProfile [all...] |
CertInstallerHelper.java | 24 import com.android.internal.net.VpnProfile; 171 public void installCertificate(VpnProfile profile, String certFile, String password) {
|
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
PreferenceListTest.java | 29 import com.android.internal.net.VpnProfile; 59 final String key = ((VpnProfile)(invocation.getArguments()[0])).key; 64 }).when(mSettings).findOrCreatePreference(any(VpnProfile.class), anyBoolean()); 83 verify(mSettings, never()).findOrCreatePreference(any(VpnProfile.class), anyBoolean()); 90 final VpnProfile vpnProfile = new VpnProfile("test-disconnected"); 94 /* vpnProfiles */ Collections.<VpnProfile>singletonList(vpnProfile), 99 verify(mSettings, times(1)).findOrCreatePreference(any(VpnProfile.class), eq(true)) [all...] |
/packages/apps/Settings/src/com/android/settings/vpn2/ |
LegacyVpnPreference.java | 24 import com.android.internal.net.VpnProfile; 33 private VpnProfile mProfile; 40 public VpnProfile getProfile() { 44 public void setProfile(VpnProfile profile) {
|
ConfigDialogFragment.java | 39 import com.android.internal.net.VpnProfile; 68 public static void show(VpnSettings parent, VpnProfile profile, boolean edit, boolean exists) { 112 VpnProfile profile = (VpnProfile) args.getParcelable(ARG_PROFILE); 138 VpnProfile profile = (VpnProfile) options.getParcelable(ARG_PROFILE); 146 VpnProfile profile = dialog.getProfile(); 191 private void updateLockdownVpn(boolean isVpnAlwaysOn, VpnProfile profile) { 213 private void save(VpnProfile profile, boolean lockdown) { 224 private void connect(VpnProfile profile, boolean lockdown) [all...] |
ConfigDialog.java | 37 import com.android.internal.net.VpnProfile; 54 private final VpnProfile mProfile; 82 VpnProfile profile, boolean editing, boolean exists) { 277 VpnProfile profile = getProfile(); 328 case VpnProfile.TYPE_PPTP: 332 case VpnProfile.TYPE_L2TP_IPSEC_PSK: 335 case VpnProfile.TYPE_IPSEC_XAUTH_PSK: 339 case VpnProfile.TYPE_L2TP_IPSEC_RSA: 342 case VpnProfile.TYPE_IPSEC_XAUTH_RSA: 345 case VpnProfile.TYPE_IPSEC_HYBRID_RSA [all...] |
VpnSettings.java | 57 import com.android.internal.net.VpnProfile; 162 VpnProfile profile = new VpnProfile(Long.toHexString(millis)); 227 final List<VpnProfile> vpnProfiles = loadVpnProfiles(mKeyStore); 252 private List<VpnProfile> vpnProfiles = Collections.<VpnProfile>emptyList(); 268 public final UpdatePreferences legacyVpns(List<VpnProfile> vpnProfiles, 294 for (VpnProfile profile : vpnProfiles) { 307 final VpnProfile stubProfile = new VpnProfile(vpn.key) [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
connectivity_const.py | 56 # Constants for VpnProfile 57 class VpnProfile(object):
|
/frameworks/base/services/core/java/com/android/server/net/ |
LockdownVpnTracker.java | 50 import com.android.internal.net.VpnProfile; 78 private final VpnProfile mProfile; 96 ConnectivityService connService, Vpn vpn, VpnProfile profile) {
|
/frameworks/base/core/java/android/net/ |
IConnectivityManager.aidl | 37 import com.android.internal.net.VpnProfile; 119 void startLegacyVpn(in VpnProfile profile);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Vpn.java | 91 import com.android.internal.net.VpnProfile; [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
ConnectivityServiceMock.java | 54 import com.android.internal.net.VpnProfile; 629 public void startLegacyVpn(VpnProfile profile) { [all...] |
/tools/test/connectivity/acts/tests/google/net/ |
LegacyVpnTest.py | 31 VPN_CONST = connectivity_const.VpnProfile
|
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 121 import com.android.internal.net.VpnProfile; [all...] |
/frameworks/base/config/ |
compiled-classes-phone | [all...] |