Home
last modified time | relevance | path

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

/frameworks/base/packages/VpnServices/src/com/android/server/vpn/
DVpnDaemons.java49 String username, String password) throws IOException { in startL2tp() argument
50 return startMtpd(L2TP, serverIp, L2TP_PORT, secret, username, password, in startL2tp()
54 public DaemonProxy startPptp(String serverIp, String username, in startPptp() argument
56 return startMtpd(PPTP, serverIp, PPTP_PORT, null, username, password, in startPptp()
119 String serverIp, String port, String secret, String username, in startMtpd() argument
125 addPppArguments(args, serverIp, username, password, encryption); in startMtpd()
133 String username, String password, boolean encryption) in addPppArguments() argument
137 "name", username, in addPppArguments()
DPptpService.java28 protected void connect(String serverIp, String username, String password) in connect() argument
31 getDaemons().startPptp(serverIp, username, password, in connect()
DL2tpService.java28 protected void connect(String serverIp, String username, String password) in connect() argument
33 username, password); in connect()
DL2tpIpsecPskService.java31 protected void connect(String serverIp, String username, String password) in connect() argument
45 username, password); in connect()
DL2tpIpsecService.java31 protected void connect(String serverIp, String username, String password) in connect() argument
48 username, password); in connect()
DVpnServiceBinder.java54 public boolean connect(VpnProfile p, String username, String password) {
55 return VpnServiceBinder.this.connect(p, username, password);
102 final String username, final String password) { in connect() argument
108 s.onConnect(username, password); in connect()
DVpnService.java84 protected abstract void connect(String serverIp, String username, in connect() argument
127 synchronized boolean onConnect(String username, String password) { in onConnect() argument
135 connect(serverIp, username, password); in onConnect()
/frameworks/base/core/java/android/net/http/
DRequestHandle.java202 public void setupBasicAuthResponse(boolean isProxy, String username, String password) { in setupBasicAuthResponse() argument
203 String response = computeBasicAuthResponse(username, password); in setupBasicAuthResponse()
215 String username, in setupDigestAuthResponse() argument
224 username, password, realm, nonce, QOP, algorithm, opaque); in setupDigestAuthResponse()
253 public static String computeBasicAuthResponse(String username, String password) { in computeBasicAuthResponse() argument
254 Assert.assertNotNull(username); in computeBasicAuthResponse()
258 return new String(Base64.encodeBase64((username + ':' + password).getBytes())); in computeBasicAuthResponse()
268 private String computeDigestAuthResponse(String username, in computeDigestAuthResponse() argument
276 Assert.assertNotNull(username); in computeDigestAuthResponse()
280 String A1 = username + ":" + realm + ":" + password; in computeDigestAuthResponse()
[all …]
DHttpAuthHeader.java146 public void setUsername(String username) { in setUsername() argument
147 mUsername = username; in setUsername()
/frameworks/base/core/java/android/webkit/
DHttpAuthHandler.java76 String username = msg.getData().getString("username"); in handleMessage() local
79 loader.handleAuthResponse(username, password); in handleMessage()
97 public void proceed(String username, String password) { in proceed() argument
99 msg.getData().putString("username", username); in proceed()
DFrameLoader.java325 String username; in populateHeaders() local
329 username = mNetwork.getProxyUsername(); in populateHeaders()
332 if (username != null && password != null) { in populateHeaders()
337 username, password)); in populateHeaders()
DLoadListener.java769 void handleAuthResponse(String username, String password) { in handleAuthResponse() argument
772 + " username: " + username in handleAuthResponse()
777 if (username != null && password != null) { in handleAuthResponse()
779 mAuthHeader.setUsername(username); in handleAuthResponse()
788 username, password); in handleAuthResponse()
801 (isProxy, username, password, realm, in handleAuthResponse()
DWebViewDatabase.java724 void setUsernamePassword(String schemePlusHost, String username, in setUsernamePassword() argument
733 c.put(PASSWORD_USERNAME_COL, username); in setUsernamePassword()
811 void setHttpAuthUsernamePassword(String host, String realm, String username, in setHttpAuthUsernamePassword() argument
821 c.put(HTTPAUTH_USERNAME_COL, username); in setHttpAuthUsernamePassword()
DCallbackProxy.java401 String username = bundle.getString("username"); in handleMessage() local
405 if (!mWebView.onSavePassword(schemePlusHost, username, password, in handleMessage()
969 public boolean onSavePassword(String schemePlusHost, String username, in onSavePassword() argument
981 bundle.putString("username", username); in onSavePassword()
DWebView.java812 /* package */ boolean onSavePassword(String schemePlusHost, String username, in onSavePassword() argument
817 mDatabase.setUsernamePassword(schemePlusHost, username, password); in onSavePassword()
822 remember.getData().putString("username", username); in onSavePassword()
829 neverRemember.getData().putString("username", username); in onSavePassword()
981 public void savePassword(String host, String username, String password) { in savePassword() argument
982 mDatabase.setUsernamePassword(host, username, password); in savePassword()
995 String username, String password) { in setHttpAuthUsernamePassword() argument
996 mDatabase.setHttpAuthUsernamePassword(host, realm, username, password); in setHttpAuthUsernamePassword()
DBrowserFrame.java825 private native void setUsernamePassword(String username, String password); in setUsernamePassword() argument
/frameworks/policies/base/phone/com/android/internal/policy/impl/
DAccountUnlockScreen.java219 private Account findIntendedAccount(String username) { in findIntendedAccount() argument
230 if (username.equals(a.name)) { in findIntendedAccount()
232 } else if (username.equalsIgnoreCase(a.name)) { in findIntendedAccount()
234 } else if (username.indexOf('@') < 0) { in findIntendedAccount()
238 if (username.equals(aUsername)) { in findIntendedAccount()
240 } else if (username.equalsIgnoreCase(aUsername)) { in findIntendedAccount()
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
DWebView.java82 public void savePassword(String host, String username, String password) { in savePassword() argument
86 String username, String password) { in setHttpAuthUsernamePassword() argument
/frameworks/base/vpn/java/android/net/vpn/
DIVpnService.aidl32 boolean connect(in VpnProfile profile, String username, String password); in connect() argument
/frameworks/base/core/java/android/provider/
DIm.java982 public static final Uri getContentUriByContact(long accountId, String username) { in getContentUriByContact() argument
985 builder.appendPath(username); in getContentUriByContact()
1034 public static final Uri getOtrMessagesContentUriByContact(long accountId, String username) { in getOtrMessagesContentUriByContact() argument
1037 builder.appendPath(username); in getOtrMessagesContentUriByContact()
/frameworks/base/docs/html/guide/developing/tools/
Demulator.jd582 <code>http://&lt;username&gt;:&lt;password&gt;@&lt;server&gt;:&lt;port&gt;</code>
1132 <pre>http://&lt;username&gt;:&lt;password&gt;@&lt;machineName&gt;:&lt;port&gt;</pre>