Searched refs:fromVpnProfile (Results 1 – 4 of 4) sorted by relevance
99 public static PlatformVpnProfile fromVpnProfile(@NonNull VpnProfile profile) in fromVpnProfile() method in PlatformVpnProfile105 return Ikev2VpnProfile.fromVpnProfile(profile); in fromVpnProfile()
445 public static Ikev2VpnProfile fromVpnProfile(@NonNull VpnProfile profile) in fromVpnProfile() method in Ikev2VpnProfile447 return fromVpnProfile(profile, null); in fromVpnProfile()460 public static Ikev2VpnProfile fromVpnProfile( in fromVpnProfile() method in Ikev2VpnProfile
335 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()
3054 new IkeV2VpnRunner(Ikev2VpnProfile.fromVpnProfile(profile, keyStore));