Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java148 String realm = "test.com"; in matchNAIRealmWithRealmMatch() local
150 Arrays.asList(new String[] {realm}), new ArrayList<EAPMethod>()); in matchNAIRealmWithRealmMatch()
153 assertTrue(ANQPMatcher.matchNAIRealm(element, realm)); in matchNAIRealmWithRealmMatch()
165 String realm = "test.com"; in matchNAIRealmWithRealmMethodMatch() local
171 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithRealmMethodMatch()
175 assertTrue(ANQPMatcher.matchNAIRealm(element, realm)); in matchNAIRealmWithRealmMethodMatch()
188 String realm = "test.com"; in matchNAIRealmWithExactMatch() local
199 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); in matchNAIRealmWithExactMatch()
203 assertTrue(ANQPMatcher.matchNAIRealm(element, realm)); in matchNAIRealmWithExactMatch()
215 String realm = "test.com"; in matchNAIRealmWithEAPMethodMismatch() local
[all …]
DPasspointManagerTest.java301 String friendlyName, String realm) { in createTestConfigWithUserCredentialAndRealm() argument
313 credential.setRealm(realm != null ? realm : TEST_REALM); in createTestConfigWithUserCredentialAndRealm()
331 String realm) { in createTestConfigWithSimCredential() argument
348 String packageName, boolean isSuggestion, String realm) { in addTestProvider() argument
353 return addTestProvider(fqdn, friendlyName, packageName, wifiConfig, isSuggestion, realm); in addTestProvider()
363 String packageName, WifiConfiguration wifiConfig, boolean isSuggestion, String realm) { in addTestProvider() argument
365 createTestConfigWithUserCredentialAndRealm(fqdn, friendlyName, realm); in addTestProvider()
1532 String realm = "realm.com"; in addLegacyPasspointConfigWithUserCredential() local
1547 wifiConfig.enterpriseConfig.setRealm(realm); in addLegacyPasspointConfigWithUserCredential()
1566 credential.setRealm(realm); in addLegacyPasspointConfigWithUserCredential()
[all …]
DPasspointProviderTest.java194 private NAIRealmElement createNAIRealmElement(String realm, int eapMethodID, in createNAIRealmElement() argument
203 NAIRealmData realmData = new NAIRealmData(Arrays.asList(new String[] {realm}), in createNAIRealmElement()
/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()
152 private static boolean matchNAIRealmData(NAIRealmData realmData, String realm) { in matchNAIRealmData() argument
155 if (DomainMatcher.arg2SubdomainOfArg1(realm, realmStr)) { in matchNAIRealmData()
DPasspointProvider.java916 private static void setAnonymousIdentityToNaiRealm(WifiEnterpriseConfig config, String realm) { in setAnonymousIdentityToNaiRealm() argument
933 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.java463 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest() argument
552 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.java555 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
558 mProvider.setHttpAuthUsernamePassword(host, realm, username, password); in setHttpAuthUsernamePassword()
573 public String[] getHttpAuthUsernamePassword(String host, String realm) { in getHttpAuthUsernamePassword() argument
575 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/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java568 String realm = String.format(THREE_GPP_NAI_REALM_FORMAT, mnc, mcc); in getAnonymousIdentityWith3GppRealm() local
577 return sb.append(ANONYMOUS_IDENTITY).append("@").append(realm).toString(); in getAnonymousIdentityWith3GppRealm()
1157 String realm = String.format(THREE_GPP_NAI_REALM_FORMAT, mnc, mcc); in decoratePseudonymWith3GppRealm() local
1158 return String.format("%s@%s", pseudonym, realm); in decoratePseudonymWith3GppRealm()
/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/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java1147 public void setRealm(String realm) { in setRealm() argument
1148 setFieldValue(REALM_KEY, realm); in setRealm()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java1250 String realm = "wlan.mnc456.mcc123.3gppnetwork.org"; in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym() local
1262 assertEquals(expectedAnonymousIdentity + "@" + realm, in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
1278 assertEquals(pseudonym + "@" + realm, in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
DWifiNetworkSuggestionsManagerTest.java4122 String realm) { in createTestConfigWithSimCredential() argument
4129 credential.setRealm(realm); in createTestConfigWithSimCredential()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...