Home
last modified time | relevance | path

Searched refs:hasMatchingNetworkNames (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeChallengeStateTest.java286 assertTrue(mState.hasMatchingNetworkNames("", SERVER_NETWORK_NAME_STRING)); in testHasMatchingNetworkNames()
287 assertTrue(mState.hasMatchingNetworkNames(SERVER_NETWORK_NAME_STRING, "")); in testHasMatchingNetworkNames()
290 assertTrue(mState.hasMatchingNetworkNames(PEER_NETWORK_NAME, SERVER_NETWORK_NAME_STRING)); in testHasMatchingNetworkNames()
291 assertTrue(mState.hasMatchingNetworkNames(SERVER_NETWORK_NAME_STRING, PEER_NETWORK_NAME)); in testHasMatchingNetworkNames()
295 mState.hasMatchingNetworkNames(SERVER_NETWORK_NAME_STRING, INCORRECT_NETWORK_NAME)); in testHasMatchingNetworkNames()
297 mState.hasMatchingNetworkNames(INCORRECT_NETWORK_NAME, SERVER_NETWORK_NAME_STRING)); in testHasMatchingNetworkNames()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeMethodStateMachine.java208 boolean hasMatchingNetworkNames = in isValidChallengeAttributes()
209 hasMatchingNetworkNames( in isValidChallengeAttributes()
212 return mEapAkaPrimeConfig.allowsMismatchedNetworkNames() || hasMatchingNetworkNames; in isValidChallengeAttributes()
226 boolean hasMatchingNetworkNames(String peerNetworkName, String serverNetworkName) { in hasMatchingNetworkNames() method in EapAkaPrimeMethodStateMachine.ChallengeState