Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapSimAkaIdentityTrackerTest.java20 import static com.android.internal.net.eap.test.EapSimAkaIdentityTracker.MAX_NUMBER_OF_REAUTH_INFO;
51 for (int i = 0; i < MAX_NUMBER_OF_REAUTH_INFO; i++) { in testRegisterReauthCredentials()
60 assertEquals(MAX_NUMBER_OF_REAUTH_INFO, mEapSimAkaIdentityTracker.getNumberOfReauthInfo()); in testRegisterReauthCredentials()
61 for (int i = MAX_NUMBER_OF_REAUTH_INFO - 1; i >= 0; i--) { in testRegisterReauthCredentials()
82 assertEquals(MAX_NUMBER_OF_REAUTH_INFO, mEapSimAkaIdentityTracker.getNumberOfReauthInfo()); in testReachMaxNumberOfReauthInfo()
83 for (int i = numReauthInfo - 1; i >= numReauthInfo - MAX_NUMBER_OF_REAUTH_INFO; i--) { in testReachMaxNumberOfReauthInfo()
86 assertTrue(mEapSimAkaIdentityTracker.getNumberOfReauthInfo() == MAX_NUMBER_OF_REAUTH_INFO); in testReachMaxNumberOfReauthInfo()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapSimAkaIdentityTracker.java42 static final int MAX_NUMBER_OF_REAUTH_INFO = 20; field in EapSimAkaIdentityTracker
60 + MAX_NUMBER_OF_REAUTH_INFO
62 return size() > MAX_NUMBER_OF_REAUTH_INFO;