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 …]
703 final String identityStr = "test@test.com"; in testSendNetworkEapIdentityResponse() local708 assertEquals(identityStr, NativeUtil.stringFromByteArrayList(identity)); in testSendNetworkEapIdentityResponse()713 assertTrue(mSupplicantNetwork.sendNetworkEapIdentityResponse(identityStr, in testSendNetworkEapIdentityResponse()724 assertEquals(identityStr, NativeUtil.stringFromByteArrayList(identity)); in testSendNetworkEapIdentityResponse()731 assertTrue(mSupplicantNetwork.sendNetworkEapIdentityResponse(identityStr, in testSendNetworkEapIdentityResponse()
3167 public boolean sendNetworkEapIdentityResponse(String identityStr, in sendNetworkEapIdentityResponse() argument3172 NativeUtil.stringToByteArrayList(identityStr); in sendNetworkEapIdentityResponse()3179 Log.e(TAG, "Illegal argument " + identityStr + "," + encryptedIdentityStr, e); in sendNetworkEapIdentityResponse()