Searched defs:password (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Email/src/com/android/email/mail/store/
H A DServiceStore.java70 public Bundle autoDiscover(Context context, String username, String password) { argument
72 return getService().autoDiscover(username, password);
H A DImapConnection.java83 ImapConnection(ImapStore store, String username, String password) { argument
84 setStore(store, username, password);
87 void setStore(ImapStore store, String username, String password) { argument
88 if (username != null && password != null) {
92 // apply the quoting here around the built-up password
94 + ImapUtility.imapQuoted(password);
/packages/apps/Email/src/com/android/email/mail/transport/
H A DSmtpSender.java240 * is logged (if debug logging is enabled) so do not use this function for user ID or password.
301 private void saslAuthLogin(String username, String password) throws MessagingException, argument
309 Base64.encodeToString(password.getBytes(), Base64.NO_WRAP),
310 "/password redacted/");
320 private void saslAuthPlain(String username, String password) throws MessagingException, argument
322 byte[] data = ("\000" + username + "\000" + password).getBytes();
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSetupExchangeTests.java68 Intent i = getTestIntent("eas://user:password@server.com");
76 Intent i = getTestIntent("eas://user:password@server.com");
89 Intent i = getTestIntent("eas://:password@server.com");
96 * No password is not OK - not enabled
139 // Clear the password - should disable
150 * Check password field for a given password. Should be called in UI thread. Confirms that
151 * the password has not been trimmed.
153 * @param password the password t
156 checkPassword(String password, boolean expectNext) argument
[all...]
H A DAccountSetupIncomingTests.java61 Intent i = getTestIntent("imap://user:password@server.com:999");
70 Intent i = getTestIntent("imap://user:password@server.com:999");
81 Intent i = getTestIntent("imap://:password@server.com:999");
88 * No password is not OK - not enabled
103 Intent i = getTestIntent("imap://user:password@server.com");
143 // Clear the password - should disable
154 * Check password field for a given password. Should be called in UI thread. Confirms that
155 * the password has not been trimmed.
157 * @param password th
160 checkPassword(String password, boolean expectNext) argument
[all...]
H A DAccountSetupOutgoingTests.java61 Intent i = getTestIntent("smtp://user:password@server.com:999");
78 Intent i = getTestIntent("smtp://:password@server.com:999");
85 * No password is not OK - not enabled
100 Intent i = getTestIntent("smtp://user:password@server.com");
140 // Clear the password - should disable
151 * Check password field for a given password. Should be called in UI thread. Confirms that
152 * the password has not been trimmed.
154 * @param password the password t
157 checkPassword(String password, boolean expectNext) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DHttpAuthenticationDialog.java92 String password = getPassword();
100 if (password != null) {
101 mPasswordView.setText(password);
157 void onOk(String host, String realm, String username, String password); argument
H A DPageDialogsHandler.java92 public void onOk(String host, String realm, String username, String password) {
93 setHttpAuthUsernamePassword(host, realm, username, password);
94 handler.proceed(username, password);
109 * Set HTTP authentication password.
111 * @param host The host for the password
112 * @param realm The realm for the password
113 * @param username The username for the password. If it is null, it means
114 * password can't be saved.
115 * @param password The password
117 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DSSLSocketFactory.java106 * For simplicity use the same password for the key as that of the keystore
248 private static KeyManager[] createKeyManagers(final KeyStore keystore, final String password) argument
255 kmfactory.init(keystore, password != null ? password.toCharArray(): null);
/packages/apps/Email/src/com/android/email/mail/
H A DStore.java167 * Handle discovery of account settings using only the user's email address and password
170 * @param password the password of the exchange user
174 public Bundle autoDiscover(Context context, String emailAddress, String password) argument
/packages/apps/Settings/src/com/android/settings/
H A DCryptKeeperSettings.java45 // This is the minimum acceptable password quality. If the current password quality is
85 * is no keyguard available, we prompt the user to set a password.
91 // TODO replace (or follow) this dialog with an explicit launch into password UI
192 String password = data.getStringExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD);
193 if (!TextUtils.isEmpty(password)) {
194 showFinalConfirmation(password);
199 private void showFinalConfirmation(String password) { argument
203 preference.getExtras().putString("password", password);
[all...]
H A DChooseLockPassword.java289 * @param password the raw password the user typed in
290 * @return error message to show to user or null if password is OK
292 private String validatePassword(String password) { argument
293 if (password.length() < mPasswordMinLength) {
298 if (password.length() > mPasswordMaxLength) {
309 for (int i = 0; i < password.length(); i++) {
310 char c = password.charAt(i);
372 if(mLockPatternUtils.checkPasswordHistory(password)) {
445 * Update the hint based on current Stage and length of password entr
[all...]
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCredentialHelper.java314 boolean extractPkcs12(String password) { argument
316 return extractPkcs12Internal(password);
323 private boolean extractPkcs12Internal(String password) argument
327 PasswordProtection passwordProtection = new PasswordProtection(password.toCharArray());
H A DCertInstaller.java292 void extractPkcs12InBackground(final String password) { argument
298 return mCredentials.extractPkcs12(password);
342 String password = mView.getText(R.id.credential_password);
343 mNextAction = new Pkcs12ExtractAction(password);
475 Pkcs12ExtractAction(String password) { argument
476 mPassword = password;
/packages/apps/Email/src/com/android/email/service/
H A DEmailServiceUtils.java92 public Bundle autoDiscover(String userName, String password) throws RemoteException { argument
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DEmailServiceProxy.java234 * password. The result is returned in a Bundle which MUST include an error code and MAY (on
239 * @param password the user's password
243 public Bundle autoDiscover(final String userName, final String password) argument
249 mReturn = mService.autoDiscover(userName, password);
/packages/apps/Email/src/com/android/email/provider/
H A DDBHelper.java1024 String password) {
1028 accountManager.addAccountExplicitly(amAccount, password, null);
1023 createAccountManagerAccount(Context context, String login, String password) argument
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DEasSyncService.java671 * only an email address and the password
674 * @param password the user's password
677 public Bundle tryAutodiscover(String userName, String password) throws RemoteException { argument
700 // Initialize the user name and password
702 mPassword = password;
765 // We use the user name and password that were successful during

Completed in 192 milliseconds