Searched refs:password (Results 1 - 25 of 55) sorted by relevance

123

/packages/apps/Settings/tests/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 DVpnProfileParser.java48 boolean password;
85 if (tagName.equalsIgnoreCase("password")) {
86 password = true;
121 if (tagName.equalsIgnoreCase("cert-file-password")) {
157 if (password) {
158 profile.password = strValue;
159 password = false;
H A DVpnTests.java72 * <password></password>
127 Log.d(TAG, "password for the certificate file is: " + vpnInfo.getPassword());
166 Log.v(TAG, "password: " + profile.password);
334 * @param password password to extract certificate file
336 private void installCertificatesFromFile(VpnProfile profile, String fileName, String password) argument
338 if (profile == null || fileName == null || password == null) {
339 throw new Exception ("vpn profile, certificate file name and password ca
[all...]
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/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...]
H A DProvisioningParams.java51 public String password; field in class:ProvisioningParams.WifiInfo
61 out.writeString(password);
72 password = in.readString();
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
H A DIKeyChainServiceTestSupport.aidl34 boolean keystoreSetPassword(String password);
H A DKeyChainServiceTestSupport.java38 @Override public boolean keystoreSetPassword(String password) {
40 return mKeyStore.onUserPasswordChanged(password);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiMultiPagedFormActivity.java142 WifiConfiguration wifiConfiguration, WifiSecurity wifiSecurity, String password) {
144 int length = password.length();
147 && password.matches("[0-9A-Fa-f]*")) {
148 wifiConfiguration.wepKeys[0] = password;
150 wifiConfiguration.wepKeys[0] = '"' + password + '"';
153 wifiConfiguration.preSharedKey = '"' + password + '"';
141 setWifiConfigurationPassword( WifiConfiguration wifiConfiguration, WifiSecurity wifiSecurity, String password) argument
/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/
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 DSetupChooseLockPassword.java53 int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) {
55 requirePasswordToDecrypt, password);
52 createIntent(Context context, int quality, int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) argument
/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/service/
H A DIEmailService.aidl56 Bundle autoDiscover(String userName, String password);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWriteWifiConfigToNfcDialog.java117 mPasswordView = (TextView) mView.findViewById(R.id.password);
137 String password = mPasswordView.getText().toString();
140 String passwordHex = byteArrayToHexString(password.getBytes());
142 String passwordLength = password.length() >= HEX_RADIX
143 ? Integer.toString(password.length(), HEX_RADIX)
144 : "0" + Character.forDigit(password.length(), HEX_RADIX);
/packages/apps/CertInstaller/src/com/android/certinstaller/
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/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/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/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/services/Telephony/src/com/android/phone/common/mail/store/
H A DImapStore.java46 public static final int FLAG_AUTHENTICATE = 0x04; // Use name/password for authentication
53 public ImapStore(Context context, String username, String password, int port, argument
57 mPassword = password;
/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/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/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);

Completed in 622 milliseconds

123