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.java953 public static byte[] computeAuthenticationChallenge(byte[] nonce, String realm, boolean access, in computeAuthenticationChallenge() argument
979 if (realm == null) { in computeAuthenticationChallenge()
982 if (realm.length() >= 255) { in computeAuthenticationChallenge()
985 authChall = new byte[24 + realm.length()]; in computeAuthenticationChallenge()
987 authChall[22] = (byte)(realm.length() + 1); in computeAuthenticationChallenge()
989 System.arraycopy(realm.getBytes("ISO8859_1"), 0, authChall, 24, realm.length()); in computeAuthenticationChallenge()
DHeaderSet.java624 public void createAuthenticationChallenge(String realm, boolean userID, boolean access) in createAuthenticationChallenge() argument
632 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/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/base/core/java/android/webkit/
DWebViewClient.java268 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest() argument
358 public void onReceivedLoginRequest(WebView view, String realm, in onReceivedLoginRequest() argument
DWebViewProvider.java87 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
90 public String[] getHttpAuthUsernamePassword(String host, String realm); in getHttpAuthUsernamePassword() argument
DWebView.java673 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
677 mProvider.setHttpAuthUsernamePassword(host, realm, username, password); in setHttpAuthUsernamePassword()
694 public String[] getHttpAuthUsernamePassword(String host, String realm) { in getHttpAuthUsernamePassword() argument
696 return mProvider.getHttpAuthUsernamePassword(host, realm); in getHttpAuthUsernamePassword()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewContentsClientAdapter.java757 public void onReceivedHttpAuthRequest(AwHttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest() argument
761 new AwHttpAuthHandlerAdapter(handler), host, realm); in onReceivedHttpAuthRequest()
852 public void onReceivedLoginRequest(String realm, String account, String args) { in onReceivedLoginRequest() argument
854 if (TRACE) Log.d(TAG, "onReceivedLoginRequest=" + realm); in onReceivedLoginRequest()
855 mWebViewClient.onReceivedLoginRequest(mWebView, realm, account, args); in onReceivedLoginRequest()
DWebViewChromium.java456 public void setHttpAuthUsernamePassword(final String host, final String realm,
462 setHttpAuthUsernamePassword(host, realm, username, password);
467 mAwContents.setHttpAuthUsernamePassword(host, realm, username, password);
471 public String[] getHttpAuthUsernamePassword(final String host, final String realm) {
477 return getHttpAuthUsernamePassword(host, realm);
482 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()