Home
last modified time | relevance | path

Searched refs:toVpnProfile (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java274 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()
DVpnManagerTest.java75 verify(mMockCs).provisionVpnProfile(eq(profile.toVpnProfile()), eq(PKG_NAME)); in testProvisionVpnProfilePreconsented()
91 verify(mMockCs).provisionVpnProfile(eq(profile.toVpnProfile()), eq(PKG_NAME)); in testProvisionVpnProfileNeedsConsent()
/frameworks/base/core/java/android/net/
DPlatformVpnProfile.java95 public abstract VpnProfile toVpnProfile() throws IOException, GeneralSecurityException; in toVpnProfile() method in PlatformVpnProfile
DVpnManager.java110 internalProfile = profile.toVpnProfile(); in provisionVpnProfile()
DIkev2VpnProfile.java399 public VpnProfile toVpnProfile() throws IOException, GeneralSecurityException { in toVpnProfile() method in Ikev2VpnProfile
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java178 mVpnProfile = builder.build().toVpnProfile(); in VpnTest()