Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionParamsTest.java201 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyIkeParamsMinimum() local
202 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsMinimum()
203 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsMinimum()
406 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyIkeParamsWithPsk() local
407 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsWithPsk()
408 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsWithPsk()
448 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEap() local
449 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 …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java186 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyAuthPskConfig() local
187 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() local
540 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() local
570 assertTrue(localConfig instanceof IkeAuthDigitalSignLocalConfig); in testBuildWithDigitalSignatureAuth()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHalAidlImp.java604 private static int getEncryptionType(SoftApConfiguration localConfig) { in getEncryptionType() argument
606 switch (localConfig.getSecurityType()) { in getEncryptionType()
DHostapdHalHidlImp.java932 private static int getEncryptionType(SoftApConfiguration localConfig) { in getEncryptionType() argument
934 switch (localConfig.getSecurityType()) { in getEncryptionType()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java1920 IkeAuthConfig localConfig = in setAuthDigitalSignature() local
1925 return setAuth(localConfig, remoteConfig); in setAuthDigitalSignature()