Searched refs:toVpnProfile (Results 1 – 6 of 6) sorted by relevance
274 final VpnProfile profile = builder.build().toVpnProfile(); in testPskConvertToVpnProfile()291 final VpnProfile profile = builder.build().toVpnProfile(); in testUsernamePasswordConvertToVpnProfile()308 final VpnProfile profile = builder.build().toVpnProfile(); in testRsaConvertToVpnProfile()329 final VpnProfile profile = builder.build().toVpnProfile(); in testPskFromVpnProfileDiscardsIrrelevantValues()348 final VpnProfile profile = builder.build().toVpnProfile(); in testUsernamePasswordFromVpnProfileDiscardsIrrelevantValues()363 final VpnProfile profile = builder.build().toVpnProfile(); 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()
75 verify(mMockCs).provisionVpnProfile(eq(profile.toVpnProfile()), eq(PKG_NAME)); in testProvisionVpnProfilePreconsented()91 verify(mMockCs).provisionVpnProfile(eq(profile.toVpnProfile()), eq(PKG_NAME)); in testProvisionVpnProfileNeedsConsent()
95 public abstract VpnProfile toVpnProfile() throws IOException, GeneralSecurityException; in toVpnProfile() method in PlatformVpnProfile
110 internalProfile = profile.toVpnProfile(); in provisionVpnProfile()
399 public VpnProfile toVpnProfile() throws IOException, GeneralSecurityException { in toVpnProfile() method in Ikev2VpnProfile
178 mVpnProfile = builder.build().toVpnProfile(); in VpnTest()