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

12

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
H A DAccountTest.java66 * @param password a given password
67 * @return a HostAuth that includes the given username and password
69 private static HostAuth getHostAuthJSON(String username, String password) { argument
71 ha.setLogin(username, password);
/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DServiceStore.java82 public Bundle autoDiscover(Context context, String username, String password) { argument
84 return getService().autoDiscover(username, password);
/packages/apps/Settings/src/com/android/settings/password/
H A DSetNewPasswordActivity.java17 package com.android.settings.password;
30 * activity for handling set new password.
H A DPasswordRequirementAdapter.java17 package com.android.settings.password;
27 import static com.android.settings.password.PasswordRequirementAdapter
31 * Used in {@link com.android.settings.ChooseLockPassword} to show password requirements.
H A DSetNewPasswordController.java17 package com.android.settings.password;
38 * fingerprint + a backup password if the device admin allows fingerprint for keyguard and
77 * Dispatches the set new password intent to the correct activity that handles it.
/packages/apps/Settings/src/com/android/settings/
H A DManagedLockPasswordProvider.java24 * It provides resources that should be shown in settings UI when lock password quality is set to
26 * an option for setting the password quality to
38 * Whether choosing/setting a managed lock password is supported for the user.
44 * Whether the user should be able to choose managed lock password.
49 * Returns title for managed password preference in security (lock) setting picker.
57 * if the current password quality is set to
68 * screen preference in security settings if the current password quality is set to
76 * Creates intent that should be launched when user chooses managed password in the lock
78 * @param requirePasswordToDecrypt Whether a password is needed to decrypt the user.
79 * @param password Curren
82 createIntent(boolean requirePasswordToDecrypt, String password) argument
[all...]
H A DSetupChooseLockPassword.java46 int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) {
48 requirePasswordToDecrypt, password);
45 createIntent(Context context, int quality, int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) argument
H A DCryptKeeperSettings.java43 private static final String PASSWORD = "password";
83 * is no keyguard available, we prompt the user to set a password.
89 // TODO replace (or follow) this dialog with an explicit launch into password UI
188 String password = data.getStringExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD);
189 if (!TextUtils.isEmpty(password)) {
190 showFinalConfirmation(type, password);
195 private void showFinalConfirmation(int type, String password) { argument
199 addEncryptionInfoToPreference(preference, type, password);
203 private void addEncryptionInfoToPreference(Preference preference, int type, String password) { argument
212 preference.getExtras().putString(PASSWORD, password);
[all...]
H A DSetupChooseLockGeneric.java116 // Add the password quality extra to the intent data that will be sent back for
150 // pattern or password, so don't show "None" or "Slide". We disable them here and set
203 int maxLength, boolean requirePasswordToDecrypt, String password, int userId) {
205 maxLength, requirePasswordToDecrypt, password);
202 getLockPasswordIntent(Context context, int quality, int minLength, int maxLength, boolean requirePasswordToDecrypt, String password, int userId) argument
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/
H A DVpnInfo.java32 public VpnInfo(VpnProfile vpnProfile, String certFile, String password) { argument
35 mPassword = password;
50 public void setPassword(String password) { argument
51 mPassword = password;
H A DCertInstallerHelper.java61 /* Define a password to unlock keystore after it is reset */
62 private static final String CERT_STORE_PASSWORD = "password";
70 * Unlock keystore and set password
77 private void extractCertificate(String certFile, String password) { argument
82 // Read .p12 file from SDCARD and extract with password
88 PasswordProtection passwordProtection = new PasswordProtection(password.toCharArray());
170 * @param password password to extract the .p12 file
172 public void installCertificate(VpnProfile profile, String certFile, String password) { argument
174 extractCertificate(certFile, password);
[all...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
H A DSetNewPasswordControllerTest.java17 package com.android.settings.password;
87 // WHEN the controller dispatches a set new password intent.
102 // WHEN the controller dispatches a set new password intent.
119 // WHEN the controller dispatches a set new password intent.
136 // WHEN the controller dispatches a set new password intent.
153 // WHEN the controller dispatches a set new password intent.
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSetupIncomingTests.java64 Intent i = getTestIntent("imap://user:password@server.com:999");
78 Intent i = getTestIntent("imap://user:password@server.com:999");
89 Intent i = getTestIntent("imap://:password@server.com:999");
96 * No password is not OK - not enabled
111 Intent i = getTestIntent("imap://user:password@server.com");
151 // Clear the password - should disable
162 * Check password field for a given password. Should be called in UI thread. Confirms that
163 * the password has not been trimmed.
165 * @param password th
168 checkPassword(String password, boolean expectNext) argument
[all...]
H A DAccountSetupOutgoingTests.java63 Intent i = getTestIntent("smtp://user:password@server.com:999");
86 Intent i = getTestIntent("smtp://:password@server.com:999");
101 * No password is not OK - not enabled
116 Intent i = getTestIntent("smtp://user:password@server.com");
156 // Clear the password - should disable
168 * Check password field for a given password. Should be called in UI thread. Confirms that
169 * the password has not been trimmed.
171 * @param password the password t
174 checkPassword(String password, boolean expectNext) argument
[all...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DWifiConfig.java49 public int addNetwork(String ssid, boolean hidden, String type, String password, argument
67 // If we have a password, and no security type, assume WPA.
69 if (securityType.equals(SecurityType.NONE) && !TextUtils.isEmpty(password)) {
83 updateForWPAConfiguration(wifiConf, password);
86 updateForWEPConfiguration(wifiConf, password);
117 protected void updateForWEPConfiguration(WifiConfiguration wifiConf, String password) { argument
125 int length = password.length();
126 if ((length == 10 || length == 26 || length == 58) && password.matches("[0-9A-Fa-f]*")) {
127 wifiConf.wepKeys[0] = password;
129 wifiConf.wepKeys[0] = '"' + password
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A DRestrictedProfilePinDialogFragment.java34 boolean checkPassword(String password, int userId); argument
/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/provider_src/com/android/email/mail/
H A DStore.java187 * Handle discovery of account settings using only the user's email address and password
190 * @param password the password of the exchange user
194 public Bundle autoDiscover(Context context, String emailAddress, String password) argument
/packages/apps/Email/src/com/android/email/mail/transport/
H A DSmtpSender.java231 * is logged (if debug logging is enabled) so do not use this function for user ID or password.
292 private void saslAuthLogin(String username, String password) throws MessagingException, argument
300 Base64.encodeToString(password.getBytes(), Base64.NO_WRAP),
301 "/password redacted/");
311 private void saslAuthPlain(String username, String password) throws MessagingException, argument
313 byte[] data = ("\000" + username + "\000" + password).getBytes();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DEditTextFragment.java41 private static final String EXTRA_PASSWORD = "password";
66 boolean password) {
71 args.putBoolean(EXTRA_PASSWORD, password);
65 newInstance(String description, String initialText, boolean password) argument
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCredentialHelper.java352 boolean extractPkcs12(String password) { argument
354 return extractPkcs12Internal(new PasswordProtection(password.toCharArray()));
361 private boolean extractPkcs12Internal(PasswordProtection password) argument
364 java.security.KeyStore keystore = loadPkcs12Internal(password);
374 KeyStore.Entry entry = keystore.getEntry(alias, password);
393 private java.security.KeyStore loadPkcs12Internal(PasswordProtection password) argument
397 password.getPassword());
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DEmailServiceProxy.java172 * password. The result is returned in a Bundle which MUST include an error code and MAY (on
177 * @param password the user's password
181 public Bundle autoDiscover(final String userName, final String password) argument
186 mReturn = mService.autoDiscover(userName, password);
/packages/apps/Email/provider_src/com/android/email/service/
H A DEmailServiceStub.java387 public Bundle autoDiscover(final String userName, final String password) argument
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAuthenticationView.java120 public void setPassword(final String password) { argument
121 mPasswordEdit.setText(password);
185 // We're authenticated with a password.
194 // We have no authentication, we need to allow either password or oauth.
238 final String password = bundle.getString(SAVE_PASSWORD);
239 mPasswordEdit.setText(password);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
H A DWifiInfo.java58 public final String password; field in class:WifiInfo
75 password = builder.mPassword;
88 password = in.readString();
113 out.writeString(password);
133 && Objects.equals(password, that.password)
164 public Builder setPassword(String password) { argument
165 mPassword = password;

Completed in 672 milliseconds

12