Home
last modified time | relevance | path

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

/frameworks/base/obex/javax/obex/
DObexSession.java80 String realm = null; in handleAuthChall() local
93 realm = new String(realmString, "ISO8859_1"); in handleAuthChall()
101 realm = ObexHelper.convertToUnicode(realmString, false); in handleAuthChall()
126 .onAuthenticationChallenge(realm, isUserIDRequired, isFullAccess); in handleAuthChall()
DObexHelper.java947 public static byte[] computeAuthenticationChallenge(byte[] nonce, String realm, boolean access, in computeAuthenticationChallenge() argument
973 if (realm == null) { in computeAuthenticationChallenge()
976 if (realm.length() >= 255) { in computeAuthenticationChallenge()
979 authChall = new byte[24 + realm.length()]; in computeAuthenticationChallenge()
981 authChall[22] = (byte)(realm.length() + 1); in computeAuthenticationChallenge()
983 System.arraycopy(realm.getBytes("ISO8859_1"), 0, authChall, 24, realm.length()); in computeAuthenticationChallenge()
DHeaderSet.java601 public void createAuthenticationChallenge(String realm, boolean userID, boolean access) in createAuthenticationChallenge() argument
609 mAuthChall = ObexHelper.computeAuthenticationChallenge(nonce, realm, access, userID); in createAuthenticationChallenge()
/frameworks/base/core/java/android/net/http/
DRequestHandle.java239 String realm, in setupDigestAuthResponse() argument
246 username, password, realm, nonce, QOP, algorithm, opaque); in setupDigestAuthResponse()
298 String realm, in computeDigestAuthResponse() argument
306 Assert.assertNotNull(realm); in computeDigestAuthResponse()
308 String A1 = username + ":" + realm + ":" + password; in computeDigestAuthResponse()
318 response += "realm=" + doubleQuote(realm) + ", "; in computeDigestAuthResponse()
/frameworks/base/core/java/android/webkit/
DWebViewClient.java220 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest() argument
278 public void onReceivedLoginRequest(WebView view, String realm, in onReceivedLoginRequest() argument
DWebViewProvider.java84 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
87 public String[] getHttpAuthUsernamePassword(String host, String realm); in getHttpAuthUsernamePassword() argument
DWebView.java627 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
631 mProvider.setHttpAuthUsernamePassword(host, realm, username, password); in setHttpAuthUsernamePassword()
648 public String[] getHttpAuthUsernamePassword(String host, String realm) { in getHttpAuthUsernamePassword() argument
650 return mProvider.getHttpAuthUsernamePassword(host, realm); in getHttpAuthUsernamePassword()
/frameworks/base/tools/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/webview/chromium/java/com/android/webview/chromium/
DWebViewContentsClientAdapter.java675 public void onReceivedHttpAuthRequest(AwHttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest() argument
679 new AwHttpAuthHandlerAdapter(handler), host, realm); in onReceivedHttpAuthRequest()
710 public void onReceivedLoginRequest(String realm, String account, String args) { in onReceivedLoginRequest() argument
712 if (TRACE) Log.d(TAG, "onReceivedLoginRequest=" + realm); in onReceivedLoginRequest()
713 mWebViewClient.onReceivedLoginRequest(mWebView, realm, account, args); in onReceivedLoginRequest()
DWebViewChromium.java387 public void setHttpAuthUsernamePassword(final String host, final String realm,
393 setHttpAuthUsernamePassword(host, realm, username, password);
398 mAwContents.setHttpAuthUsernamePassword(host, realm, username, password);
402 public String[] getHttpAuthUsernamePassword(final String host, final String realm) {
408 return getHttpAuthUsernamePassword(host, realm);
413 return mAwContents.getHttpAuthUsernamePassword(host, realm);
/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()