Home
last modified time | relevance | path

Searched refs:realm (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java152 String realm = "test.com"; in matchNAIRealmWithRealmMatch() local
154 Arrays.asList(new String[] {realm}), new ArrayList<EAPMethod>()); in matchNAIRealmWithRealmMatch()
157 assertTrue(ANQPMatcher.matchNAIRealm(element, realm)); in matchNAIRealmWithRealmMatch()
169 String realm = "test.com"; in matchNAIRealmWithRealmMethodMatch() local
175 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithRealmMethodMatch()
179 assertTrue(ANQPMatcher.matchNAIRealm(element, realm)); in matchNAIRealmWithRealmMethodMatch()
192 String realm = "test.com"; in matchNAIRealmWithExactMatch() local
203 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithExactMatch()
207 assertTrue(ANQPMatcher.matchNAIRealm(element, realm)); in matchNAIRealmWithExactMatch()
219 String realm = "test.com"; in matchNAIRealmWithEAPMethodMismatch() local
[all …]
DPasspointProviderTest.java166 private NAIRealmElement createNAIRealmElement(String realm, int eapMethodID, in createNAIRealmElement() argument
175 NAIRealmData realmData = new NAIRealmData(Arrays.asList(new String[] {realm}), in createNAIRealmElement()
966 String realm = "realm.com"; in getWifiConfigWithUserCredential() local
985 credential.setRealm(realm); in getWifiConfigWithUserCredential()
1014 assertEquals(realm, wifiEnterpriseConfig.getRealm()); in getWifiConfigWithUserCredential()
1016 assertEquals("anonymous@" + realm, wifiEnterpriseConfig.getAnonymousIdentity()); in getWifiConfigWithUserCredential()
1037 String realm = "realm.com"; in getWifiConfigWithCertCredential() local
1051 credential.setRealm(realm); in getWifiConfigWithCertCredential()
1084 assertEquals(realm, wifiEnterpriseConfig.getRealm()); in getWifiConfigWithCertCredential()
1086 assertEquals("anonymous@" + realm, wifiEnterpriseConfig.getAnonymousIdentity()); in getWifiConfigWithCertCredential()
[all …]
DPasspointManagerTest.java327 String realm) { in createTestConfigWithSimCredential() argument
367 private PasspointProvider addTestCarrierProvider(String fqdn, String imsi, String realm) { in addTestCarrierProvider() argument
368 PasspointConfiguration config = createTestConfigWithSimCredential(fqdn, imsi, realm); in addTestCarrierProvider()
1333 String realm = "realm.com"; in addLegacyPasspointConfigWithUserCredential() local
1348 wifiConfig.enterpriseConfig.setRealm(realm); in addLegacyPasspointConfigWithUserCredential()
1367 credential.setRealm(realm); in addLegacyPasspointConfigWithUserCredential()
1386 String realm = "realm.com"; in addLegacyPasspointConfigWithUserCredentialWithoutCaCert() local
1400 wifiConfig.enterpriseConfig.setRealm(realm); in addLegacyPasspointConfigWithUserCredentialWithoutCaCert()
1419 String realm = "realm.com"; in addLegacyPasspointConfigWithSimCredential() local
1427 wifiConfig.enterpriseConfig.setRealm(realm); in addLegacyPasspointConfigWithSimCredential()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java110 public static boolean matchNAIRealm(NAIRealmElement element, String realm) { in matchNAIRealm() argument
116 if (matchNAIRealmData(realmData, realm)) { in matchNAIRealm()
130 public static int getCarrierEapMethodFromMatchingNAIRealm(String realm, in getCarrierEapMethodFromMatchingNAIRealm() argument
137 int eapMethodID = getEapMethodForNAIRealmWithCarrier(realm, realmData); in getCarrierEapMethodFromMatchingNAIRealm()
174 private static boolean matchNAIRealmData(NAIRealmData realmData, String realm) { in matchNAIRealmData() argument
177 if (DomainMatcher.arg2SubdomainOfArg1(realm, realmStr)) { in matchNAIRealmData()
184 private static int getEapMethodForNAIRealmWithCarrier(String realm, in getEapMethodForNAIRealmWithCarrier() argument
189 if (DomainMatcher.arg2SubdomainOfArg1(realm, realmStr)) { in getEapMethodForNAIRealmWithCarrier()
DPasspointProvider.java788 private static void setAnonymousIdentityToNaiRealm(WifiEnterpriseConfig config, String realm) { in setAnonymousIdentityToNaiRealm() argument
805 config.setAnonymousIdentity("anonymous@" + realm); in setAnonymousIdentityToNaiRealm()
/frameworks/base/obex/javax/obex/
DObexSession.java85 String realm = null; in handleAuthChall() local
98 realm = new String(realmString, "ISO8859_1"); in handleAuthChall()
106 realm = ObexHelper.convertToUnicode(realmString, false); in handleAuthChall()
131 .onAuthenticationChallenge(realm, isUserIDRequired, isFullAccess); in handleAuthChall()
DObexHelper.java1005 public static byte[] computeAuthenticationChallenge(byte[] nonce, String realm, boolean access, in computeAuthenticationChallenge() argument
1031 if (realm == null) { in computeAuthenticationChallenge()
1034 if (realm.length() >= 255) { in computeAuthenticationChallenge()
1037 authChall = new byte[24 + realm.length()]; in computeAuthenticationChallenge()
1039 authChall[22] = (byte)(realm.length() + 1); in computeAuthenticationChallenge()
1041 System.arraycopy(realm.getBytes("ISO8859_1"), 0, authChall, 24, realm.length()); in computeAuthenticationChallenge()
DHeaderSet.java678 public void createAuthenticationChallenge(String realm, boolean userID, boolean access) in createAuthenticationChallenge() argument
689 mAuthChall = ObexHelper.computeAuthenticationChallenge(nonce, realm, access, userID); in createAuthenticationChallenge()
/frameworks/base/core/java/android/webkit/
DWebViewDatabase.java131 public abstract void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
148 public abstract String[] getHttpAuthUsernamePassword(String host, String realm); in getHttpAuthUsernamePassword() argument
DWebViewClient.java465 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest() argument
554 public void onReceivedLoginRequest(WebView view, String realm, in onReceivedLoginRequest() argument
DWebViewProvider.java103 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
106 public String[] getHttpAuthUsernamePassword(String host, String realm); in getHttpAuthUsernamePassword() argument
DWebView.java552 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
555 mProvider.setHttpAuthUsernamePassword(host, realm, username, password); in setHttpAuthUsernamePassword()
570 public String[] getHttpAuthUsernamePassword(String host, String realm) { in getHttpAuthUsernamePassword() argument
572 return mProvider.getHttpAuthUsernamePassword(host, realm); in getHttpAuthUsernamePassword()
/frameworks/layoutlib/bridge/src/android/webkit/
DWebView.java85 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
89 public String[] getHttpAuthUsernamePassword(String host, String realm) { in getHttpAuthUsernamePassword() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DNAIRealmData.java79 String realm = ByteBufferReader.readStringWithByteLength( in parse() local
81 List<String> realmList = Arrays.asList(realm.split(NAI_REALM_STRING_SEPARATOR)); in parse()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java170 String realm = String.format(THREE_GPP_NAI_REALM_FORMAT, mnc, mcc); in getAnonymousIdentityWith3GppRealm() local
171 return ANONYMOUS_IDENTITY + "@" + realm; in getAnonymousIdentityWith3GppRealm()
770 String realm = String.format(THREE_GPP_NAI_REALM_FORMAT, mnc, mcc); in decoratePseudonymWith3GppRealm() local
771 return String.format("%s@%s", pseudonym, realm); in decoratePseudonymWith3GppRealm()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionGroup.java1006 String realm = getRealmFromResponse(response); in crossDomainAuthenticationRequired() local
1007 if (realm == null) realm = ""; in crossDomainAuthenticationRequired()
1008 return !mLocalProfile.getSipDomain().trim().equals(realm.trim()); in crossDomainAuthenticationRequired()
1015 challengedTransaction, String realm) { in getAccountManager()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java995 public void setRealm(String realm) { in setRealm() argument
996 setFieldValue(REALM_KEY, realm); in setRealm()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java105 public void setRealm(String realm) { in setRealm() argument
106 mRealm = realm; in setRealm()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java1159 String realm = "wlan.mnc456.mcc123.3gppnetwork.org"; in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym() local
1168 assertEquals(expectedAnonymousIdentity + "@" + realm, in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
1184 assertEquals(pseudonym + "@" + realm, in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt101423 Lcom/android/okhttp/Challenge;->realm:Ljava/lang/String;