Searched refs:username (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DHttpAuthHandler.java60 public void proceed(String username, String password) { argument
H A DBrowserFrame.java791 * If this looks like a POST request (form submission) containing a username
798 * @param username The username entered by the user (sniffed from the DOM).
802 byte[] postData, String username, String password) {
804 || username == null || username.isEmpty()
821 // Check to see if the username & password appear in
825 if (postString.contains(URLEncoder.encode(username)) &&
830 // null username implies that user has chosen not to
833 // non-null username implie
801 maybeSavePassword( byte[] postData, String username, String password) argument
1317 setUsernamePassword(String username, String password) argument
1323 nativeAuthenticationProceed(int handle, String username, String password) argument
[all...]
H A DWebViewDatabaseClassic.java83 private static final String PASSWORD_USERNAME_COL = "username";
97 private static final String HTTPAUTH_USERNAME_COL = "username";
318 * @param username The username for the password. If it is null, it means
322 void setUsernamePassword(String schemePlusHost, String username, argument
331 c.put(PASSWORD_USERNAME_COL, username);
339 * Retrieve the username and password for a given host
342 * @return String[] if found, String[0] is username, which can be null and
411 * @param username The username fo
415 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
[all...]
H A DWebViewProvider.java80 public void savePassword(String host, String username, String password); argument
83 String username, String password);
82 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
H A DCallbackProxy.java493 String username = bundle.getString("username");
497 if (!mWebView.onSavePassword(schemePlusHost, username, password,
865 username = msg.getData().getString("username");
868 host, realm, username, password);
1191 public boolean onSavePassword(String schemePlusHost, String username, argument
1203 bundle.putString("username", username);
1211 String username, Strin
1210 onReceivedHttpAuthCredentials(String host, String realm, String username, String password) argument
[all...]
H A DWebView.java593 * Sets a username and password pair for the specified host. This data is
594 * used by the Webview to autocomplete username and password fields in web
599 * @param username the username for the given host
604 public void savePassword(String host, String username, String password) { argument
606 mProvider.savePassword(host, username, password);
616 * @param username the username
623 String username, String password) {
625 mProvider.setHttpAuthUsernamePassword(host, realm, username, passwor
622 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
[all...]
H A DWebViewClassic.java1826 /* package */ boolean onSavePassword(String schemePlusHost, String username, argument
1831 mDatabase.setUsernamePassword(schemePlusHost, username, password);
1842 remember.getData().putString("username", username);
1849 neverRemember.getData().putString("username", username);
2054 public void savePassword(String host, String username, String password) { argument
2055 mDatabase.setUsernamePassword(host, username, password);
2063 String username, String password) {
2064 mDatabase.setHttpAuthUsernamePassword(host, realm, username, passwor
2062 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
[all...]
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java224 public void setupBasicAuthResponse(boolean isProxy, String username, String password) { argument
225 String response = computeBasicAuthResponse(username, password);
237 String username,
246 username, password, realm, nonce, QOP, algorithm, opaque);
273 * @return Basic-scheme authentication response: BASE64(username:password).
275 public static String computeBasicAuthResponse(String username, String password) { argument
276 Assert.assertNotNull(username);
279 // encode username:password to base64
280 return new String(Base64.encodeBase64((username + ':' + password).getBytes()));
296 private String computeDigestAuthResponse(String username, argument
236 setupDigestAuthResponse(boolean isProxy, String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
[all...]
H A DHttpAuthHeader.java55 * new username and password.
60 * A string to be displayed to users so they know which username and
137 * @return The username string.
144 * Sets the username string.
146 public void setUsername(String username) { argument
147 mUsername = username;
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java53 public String username = ""; // 3 field in class:VpnProfile
78 username = in.readString();
99 out.writeString(username);
133 profile.username = values[3];
146 profile.saveLogin = !profile.username.isEmpty() || !profile.password.isEmpty();
158 builder.append('\0').append(saveLogin ? username : "");
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardAccountView.java209 * Given the string the user entered in the 'username' field, find
214 * - if they didn't include a domain, an exact match of the username, or
216 * match of the username.
224 private Account findIntendedAccount(String username) { argument
229 // typed only the username (and not the domain), or got
236 if (username.equals(a.name)) {
238 } else if (username.equalsIgnoreCase(a.name)) {
240 } else if (username.indexOf('@') < 0) {
244 if (username.equals(aUsername)) {
246 } else if (username
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DAccountUnlockScreen.java217 * Given the string the user entered in the 'username' field, find
222 * - if they didn't include a domain, an exact match of the username, or
224 * match of the username.
232 private Account findIntendedAccount(String username) { argument
236 // typed only the username (and not the domain), or got
243 if (username.equals(a.name)) {
245 } else if (username.equalsIgnoreCase(a.name)) {
247 } else if (username.indexOf('@') < 0) {
251 if (username.equals(aUsername)) {
253 } else if (username
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java82 public void savePassword(String host, String username, String password) { argument
86 String username, String password) {
85 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
/frameworks/base/voip/java/android/net/sip/
H A DSipProfile.java135 * @param username username of the SIP account
141 public Builder(String username, String serverDomain) argument
143 if ((username == null) || (serverDomain == null)) {
145 "username and serverDomain cannot be null");
147 mUri = mAddressFactory.createSipURI(username, serverDomain);
158 * Sets the username used for authentication.
160 * @param name authentication username of the profile
390 * Gets the username.
392 * @return the username
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfo.java303 * and the peer's username is all numeric. Look up the username as it
315 String username = PhoneNumberUtils.getUsernameFromUriNumber(number);
316 if (PhoneNumberUtils.isGlobalPhoneNumber(username)) {
319 Uri.encode(username)));
/frameworks/base/voip/java/com/android/server/sip/
H A DSipHelper.java180 private SipURI createSipUri(String username, String transport, argument
182 return createSipUri(username, transport, lp.getIPAddress(), lp.getPort());
185 private SipURI createSipUri(String username, String transport, argument
187 SipURI uri = mAddressFactory.createSipURI(username, ip);
H A DSipSessionGroup.java973 "incorrect username or password");
991 String username = mLocalProfile.getAuthUserName();
992 return (!TextUtils.isEmpty(username) ? username :
1241 String username = uri.getUser();
1242 if (username == null) {
1694 String username = uri.getUser();
1695 if (username == null) username = ANONYMOUS;
1698 new SipProfile.Builder(username, ur
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java512 profile.ipsecSecret, profile.username, profile.password, "", gateway,
518 caCert, serverCert, profile.username, profile.password, "", gateway,
524 caCert, serverCert, profile.username, profile.password, "", gateway,
535 "name", profile.username, "password", profile.password,
545 "name", profile.username, "password", profile.password,

Completed in 329 milliseconds