Home
last modified time | relevance | path

Searched refs:identityStr (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java362 private static IkeIdentification parseIkeIdentification(@NonNull String identityStr) { in parseIkeIdentification() argument
364 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 …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaNetworkHalTest.java719 final String identityStr = "test@test.com"; in testSendNetworkEapIdentityResponse() local
724 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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java2840 public boolean sendNetworkEapIdentityResponse(String identityStr, in sendNetworkEapIdentityResponse() argument
2845 NativeUtil.stringToByteArrayList(identityStr); in sendNetworkEapIdentityResponse()
2852 Log.e(TAG, "Illegal argument " + identityStr + "," + encryptedIdentityStr, e); in sendNetworkEapIdentityResponse()