Home
last modified time | relevance | path

Searched refs:localConfig (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionParamsTest.java177 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyIkeParamsMinimum() local
178 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsMinimum()
179 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsMinimum()
344 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyIkeParamsWithPsk() local
345 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsWithPsk()
346 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsWithPsk()
386 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEap() local
387 assertTrue(localConfig instanceof IkeAuthEapConfig); in testBuildWithEap()
388 assertEquals(EAP_ALL_METHODS_CONFIG, ((IkeAuthEapConfig) localConfig).getEapConfig()); in testBuildWithEap()
406 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEapOnlyAuth() local
[all …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java174 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyAuthPskConfig() local
175 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyAuthPskConfig()
176 assertEquals(IkeSessionParams.IKE_AUTH_METHOD_PSK, localConfig.mAuthMethod); in verifyAuthPskConfig()
177 assertArrayEquals(PSK, ((IkeAuthPskConfig) localConfig).mPsk); in verifyAuthPskConfig()
483 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEap() local
484 assertTrue(localConfig instanceof IkeAuthEapConfig); in testBuildWithEap()
485 assertEquals(IkeSessionParams.IKE_AUTH_METHOD_EAP, localConfig.mAuthMethod); in testBuildWithEap()
486 assertEquals(eapConfig, ((IkeAuthEapConfig) localConfig).mEapConfig); in testBuildWithEap()
513 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithDigitalSignatureAuth() local
514 assertTrue(localConfig instanceof IkeAuthDigitalSignLocalConfig); in testBuildWithDigitalSignatureAuth()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java1544 IkeAuthConfig localConfig = in setAuthDigitalSignature() local
1549 return setAuth(localConfig, remoteConfig); in setAuthDigitalSignature()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHal.java880 private static int getEncryptionType(SoftApConfiguration localConfig) { in getEncryptionType() argument
882 switch (localConfig.getSecurityType()) { in getEncryptionType()