Searched refs:localConfig (Results 1 – 5 of 5) sorted by relevance
201 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyIkeParamsMinimum() local202 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsMinimum()203 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsMinimum()406 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyIkeParamsWithPsk() local407 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsWithPsk()408 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsWithPsk()448 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEap() local449 assertTrue(localConfig instanceof IkeAuthEapConfig); in testBuildWithEap()450 assertEquals(EAP_ALL_METHODS_CONFIG, ((IkeAuthEapConfig) localConfig).getEapConfig()); in testBuildWithEap()468 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEapOnlyAuth() local[all …]
186 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyAuthPskConfig() local187 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyAuthPskConfig()188 assertEquals(IkeSessionParams.IKE_AUTH_METHOD_PSK, localConfig.mAuthMethod); in verifyAuthPskConfig()189 assertArrayEquals(PSK, ((IkeAuthPskConfig) localConfig).mPsk); in verifyAuthPskConfig()539 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEap() local540 assertTrue(localConfig instanceof IkeAuthEapConfig); in testBuildWithEap()541 assertEquals(IkeSessionParams.IKE_AUTH_METHOD_EAP, localConfig.mAuthMethod); in testBuildWithEap()542 assertEquals(eapConfig, ((IkeAuthEapConfig) localConfig).mEapConfig); in testBuildWithEap()569 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithDigitalSignatureAuth() local570 assertTrue(localConfig instanceof IkeAuthDigitalSignLocalConfig); in testBuildWithDigitalSignatureAuth()[all …]
604 private static int getEncryptionType(SoftApConfiguration localConfig) { in getEncryptionType() argument606 switch (localConfig.getSecurityType()) { in getEncryptionType()
932 private static int getEncryptionType(SoftApConfiguration localConfig) { in getEncryptionType() argument934 switch (localConfig.getSecurityType()) { in getEncryptionType()
1920 IkeAuthConfig localConfig = in setAuthDigitalSignature() local1925 return setAuth(localConfig, remoteConfig); in setAuthDigitalSignature()