/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPMatcherTest.java | 152 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 …]
|
D | PasspointProviderTest.java | 166 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 …]
|
D | PasspointManagerTest.java | 327 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/ |
D | ANQPMatcher.java | 110 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()
|
D | PasspointProvider.java | 788 private static void setAnonymousIdentityToNaiRealm(WifiEnterpriseConfig config, String realm) { in setAnonymousIdentityToNaiRealm() argument 805 config.setAnonymousIdentity("anonymous@" + realm); in setAnonymousIdentityToNaiRealm()
|
/frameworks/base/obex/javax/obex/ |
D | ObexSession.java | 85 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()
|
D | ObexHelper.java | 1005 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()
|
D | HeaderSet.java | 678 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/ |
D | WebViewDatabase.java | 131 public abstract void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument 148 public abstract String[] getHttpAuthUsernamePassword(String host, String realm); in getHttpAuthUsernamePassword() argument
|
D | WebViewClient.java | 465 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest() argument 554 public void onReceivedLoginRequest(WebView view, String realm, in onReceivedLoginRequest() argument
|
D | WebViewProvider.java | 103 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument 106 public String[] getHttpAuthUsernamePassword(String host, String realm); in getHttpAuthUsernamePassword() argument
|
D | WebView.java | 552 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/ |
D | WebView.java | 85 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/ |
D | NAIRealmData.java | 79 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/ |
D | TelephonyUtil.java | 170 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/ |
D | SipSessionGroup.java | 1006 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/ |
D | WifiEnterpriseConfig.java | 995 public void setRealm(String realm) { in setRealm() argument 996 setFieldValue(REALM_KEY, realm); in setRealm()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | Credential.java | 105 public void setRealm(String realm) { in setRealm() argument 106 mRealm = realm; in setRealm()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 1159 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/ |
D | hiddenapi-greylist-max-o.txt | 101423 Lcom/android/okhttp/Challenge;->realm:Ljava/lang/String;
|