Home
last modified time | relevance | path

Searched refs:vpnProfile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/VpnTests/java/android/net/
DIkev2VpnProfileTest.java436 final VpnProfile vpnProfile = ikev2VpnProfile.toVpnProfile(); in testBuildWithIkeTunConnParamsConvertToVpnProfile() local
438 assertEquals(VpnProfile.TYPE_IKEV2_FROM_IKE_TUN_CONN_PARAMS, vpnProfile.type); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
442 assertEquals("", vpnProfile.server); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
443 assertEquals("", vpnProfile.ipsecIdentifier); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
444 assertEquals("", vpnProfile.username); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
445 assertEquals("", vpnProfile.password); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
446 assertEquals("", vpnProfile.ipsecCaCert); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
447 assertEquals("", vpnProfile.ipsecSecret); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
448 assertEquals("", vpnProfile.ipsecUserCert); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
449 assertEquals(0, vpnProfile.getAllowedAlgorithms().size()); in testBuildWithIkeTunConnParamsConvertToVpnProfile()
[all …]
/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnManagerServiceTest.java411 final VpnProfile vpnProfile = new VpnProfile(TEST_VPN_PKG); in testPutIntoVpnProfileStore() local
412 final byte[] encodedProfile = vpnProfile.encode(); in testPutIntoVpnProfileStore()
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java2029 private Vpn startLegacyVpn(final Vpn vpn, final VpnProfile vpnProfile) throws Exception { in startLegacyVpn() argument
2031 vpn.startLegacyVpn(vpnProfile); in startLegacyVpn()
2117 private PlatformVpnSnapshot verifySetupPlatformVpn(VpnProfile vpnProfile, in verifySetupPlatformVpn() argument
2119 return verifySetupPlatformVpn(vpnProfile, ikeConfig, in verifySetupPlatformVpn()
2124 private PlatformVpnSnapshot verifySetupPlatformVpn(VpnProfile vpnProfile, in verifySetupPlatformVpn() argument
2141 .thenReturn(vpnProfile.encode()); in verifySetupPlatformVpn()