Home
last modified time | relevance | path

Searched refs:fromVpnProfile (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/
DPlatformVpnProfile.java99 public static PlatformVpnProfile fromVpnProfile(@NonNull VpnProfile profile) in fromVpnProfile() method in PlatformVpnProfile
105 return Ikev2VpnProfile.fromVpnProfile(profile); in fromVpnProfile()
DIkev2VpnProfile.java445 public static Ikev2VpnProfile fromVpnProfile(@NonNull VpnProfile profile) in fromVpnProfile() method in Ikev2VpnProfile
447 return fromVpnProfile(profile, null); in fromVpnProfile()
460 public static Ikev2VpnProfile fromVpnProfile( in fromVpnProfile() method in Ikev2VpnProfile
/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java335 final Ikev2VpnProfile result = Ikev2VpnProfile.fromVpnProfile(profile); in testPskFromVpnProfileDiscardsIrrelevantValues()
352 final Ikev2VpnProfile result = Ikev2VpnProfile.fromVpnProfile(profile); in testUsernamePasswordFromVpnProfileDiscardsIrrelevantValues()
367 final Ikev2VpnProfile result = Ikev2VpnProfile.fromVpnProfile(profile); in testRsaFromVpnProfileDiscardsIrrelevantValues()
380 assertEquals(ikeProfile, Ikev2VpnProfile.fromVpnProfile(ikeProfile.toVpnProfile())); in testPskConversionIsLossless()
390 assertEquals(ikeProfile, Ikev2VpnProfile.fromVpnProfile(ikeProfile.toVpnProfile())); in testUsernamePasswordConversionIsLossless()
400 assertEquals(ikeProfile, Ikev2VpnProfile.fromVpnProfile(ikeProfile.toVpnProfile())); in testRsaConversionIsLossless()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java3054 new IkeV2VpnRunner(Ikev2VpnProfile.fromVpnProfile(profile, keyStore));