Searched refs:identityStr (Results 1 – 3 of 3) sorted by relevance
362 private static IkeIdentification parseIkeIdentification(@NonNull String identityStr) { in parseIkeIdentification() argument364 if (identityStr.contains("@")) { in parseIkeIdentification()365 if (identityStr.startsWith("@#")) { in parseIkeIdentification()367 final String hexStr = identityStr.substring(2); in parseIkeIdentification()369 } else if (identityStr.startsWith("@@")) { in parseIkeIdentification()371 return new IkeRfc822AddrIdentification(identityStr.substring(2)); in parseIkeIdentification()372 } else if (identityStr.startsWith("@")) { in parseIkeIdentification()374 return new IkeFqdnIdentification(identityStr.substring(1)); in parseIkeIdentification()377 return new IkeRfc822AddrIdentification(identityStr); in parseIkeIdentification()379 } else if (InetAddresses.isNumericAddress(identityStr)) { in parseIkeIdentification()[all …]
719 final String identityStr = "test@test.com"; in testSendNetworkEapIdentityResponse() local724 assertEquals(identityStr, NativeUtil.stringFromByteArrayList(identity)); in testSendNetworkEapIdentityResponse()729 assertTrue(mSupplicantNetwork.sendNetworkEapIdentityResponse(identityStr, in testSendNetworkEapIdentityResponse()741 assertEquals(identityStr, NativeUtil.stringFromByteArrayList(identity)); in testSendNetworkEapIdentityResponse()748 assertTrue(mSupplicantNetwork.sendNetworkEapIdentityResponse(identityStr, in testSendNetworkEapIdentityResponse()
2840 public boolean sendNetworkEapIdentityResponse(String identityStr, in sendNetworkEapIdentityResponse() argument2845 NativeUtil.stringToByteArrayList(identityStr); in sendNetworkEapIdentityResponse()2852 Log.e(TAG, "Illegal argument " + identityStr + "," + encryptedIdentityStr, e); in sendNetworkEapIdentityResponse()