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

123

/frameworks/base/obex/javax/obex/
H A DPasswordAuthentication.java36 * This class holds user name and password combinations.
47 * password provided.
49 * @param password the password to include in the response
50 * @throws NullPointerException if <code>password</code> is
53 public PasswordAuthentication(final byte[] userName, final byte[] password) { argument
59 mPassword = new byte[password.length];
60 System.arraycopy(password, 0, mPassword, 0, password.length);
73 * Retrieves the password
[all...]
H A DObexSession.java74 * and password to use.
132 * If no password is provided then we not resent the request
138 byte[] password = result.getPassword();
139 if (password == null) {
163 byte[] digest = new byte[challenge.length + password.length + 1];
165 // Insert colon between challenge and password
167 System.arraycopy(password, 0, digest, challenge.length + 1, password.length);
194 // get the correct password from the application
/frameworks/base/core/java/android/webkit/
H A DHttpAuthHandler.java60 public void proceed(String username, String password) { argument
H A DBrowserFrame.java792 * and password, give the user the option of saving them. Will either do
799 * @param password The password entered by the user (sniffed from the DOM).
802 byte[] postData, String username, String password) {
805 || password == null || password.isEmpty()) {
806 return; // No password to save.
821 // Check to see if the username & password appear in
826 postString.contains(URLEncoder.encode(password))) {
831 // save password
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.java65 "password", "formurl", "formdata", "httpauth"
81 // column id strings for "password" table
84 private static final String PASSWORD_PASSWORD_COL = "password";
98 private static final String HTTPAUTH_PASSWORD_COL = "password";
311 // password functions
315 * Set password. Tuple (PASSWORD_HOST_COL, PASSWORD_USERNAME_COL) is unique.
317 * @param schemePlusHost The scheme and host for the password
318 * @param username The username for the password. If it is null, it means
319 * password can't be saved.
320 * @param password Th
322 setUsernamePassword(String schemePlusHost, String username, String password) argument
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
/frameworks/base/keystore/tests/src/android/security/
H A DKeyStoreTest.java136 assertTrue(mKeyStore.password(TEST_PASSWD));
142 mKeyStore.password(TEST_PASSWD);
152 mKeyStore.password(TEST_PASSWD);
160 mKeyStore.password(TEST_I18N_KEY);
167 mKeyStore.password(TEST_PASSWD);
179 mKeyStore.password(TEST_PASSWD);
191 mKeyStore.password(TEST_PASSWD);
204 mKeyStore.password(TEST_PASSWD);
212 mKeyStore.password(TEST_PASSWD);
222 mKeyStore.password(TEST_PASSW
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java132 private boolean password(byte[] password) { argument
133 execute('p', password);
137 public boolean password(String password) { argument
138 return password(getPasswordBytes(password));
146 private boolean unlock(byte[] password) { argument
147 execute('u', password);
151 public boolean unlock(String password) { argument
336 getPasswordBytes(String password) argument
[all...]
H A DAndroidKeyStore.java75 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, argument
195 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
197 if ((password != null) && (password.length > 0)) {
498 public void engineStore(OutputStream stream, char[] password) throws IOException, argument
504 public void engineLoad(InputStream stream, char[] password) throws IOException, argument
510 if (password != null) {
511 throw new IllegalArgumentException("password not supported");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccCard.java135 * @param password needed to change the ICC pin state, aka. Pin1
142 String password, Message onComplete);
149 * @param password needed to change the ICC fdn enable, aka Pin2
156 String password, Message onComplete);
159 * Change the ICC password used in ICC pin lock
162 * @param oldPassword is the old password
163 * @param newPassword is the new password
173 * Change the ICC password used in ICC fdn enable
176 * @param oldPassword is the old password
177 * @param newPassword is the new password
141 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
155 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
[all...]
H A DApnSetting.java34 public final String password; field in class:ApnSetting
57 String user, String password, int authType, String[] types,
69 this.password = password;
88 * <mmsport>, <user>, <password>, <authtype>, <mcc>,<mnc>,
93 * <mmsport>, <user>, <password>, <authtype>, <mcc>, <mnc>,
97 * and password and thus cannot be read by this method.
54 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer) argument
/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);
238 String password,
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
277 Assert.assertNotNull(password);
279 // encode username:password to base64
280 return new String(Base64.encodeBase64((username + ':' + password).getBytes()));
297 String password,
236 setupDigestAuthResponse(boolean isProxy, String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
296 computeDigestAuthResponse(String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
[all...]
H A DHttpAuthHeader.java55 * new username and password.
61 * password to use.
151 * @return The password string.
158 * Sets the password string.
160 public void setPassword(String password) { argument
161 mPassword = password;
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java197 * Gets the device policy password mode. If the mode is non-specific, returns
239 * Returns the actual password mode, as set by keyguard after updating the password.
297 KeyStore.getInstance().password(patternToString(pattern));
306 * Check to see if a password matches the saved password. If no password exists,
308 * @param password The password to check.
309 * @return Whether the password matche
311 checkPassword(String password) argument
332 checkPasswordHistory(String password) argument
545 computePasswordQuality(String password) argument
570 updateEncryptionPassword(String password) argument
598 saveLockPassword(String password, int quality) argument
610 saveLockPassword(String password, int quality, boolean isFallback) argument
623 saveLockPassword(String password, int quality, boolean isFallback, int userHandle) argument
832 passwordToHash(String password) argument
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java54 public String password = ""; // 4 field in class:VpnProfile
79 password = in.readString();
100 out.writeString(password);
134 profile.password = values[4];
146 profile.saveLogin = !profile.username.isEmpty() || !profile.password.isEmpty();
159 builder.append('\0').append(saveLogin ? password : "");
/frameworks/base/include/storage/
H A DIMountService.h72 virtual int32_t decryptStorage(const String16& password) = 0;
73 virtual int32_t encryptStorage(const String16& password) = 0;
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DApnSettingTest.java36 assertEquals(a1.password, a2.password);
102 "mmsc", "mmsproxy", "mmsport", "user", "password", 0,
/frameworks/base/core/java/android/accounts/
H A DIAccountManager.aidl37 boolean addAccount(in Account account, String password, in Bundle extras);
42 void setPassword(in Account account, String password);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DAccessPointParserHelper.java48 * security, eap, phase2, identity, password, anonymousidentity, cacert, usercert,
61 * <password>abcdefgh</password>
107 boolean password = false;
136 if (tagName.equalsIgnoreCase("password")) {
137 password = true;
229 if (password) {
249 config.password.setValue(passwordStr);
253 password = false;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java191 String apn, String user, String password, String authType,
264 public void queryFacilityLock(String facility, String password, argument
269 public void queryFacilityLockForApp(String facility, String password, argument
275 String password, int serviceClass, Message response) {
280 String password, int serviceClass, String appId, Message response) {
190 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument
274 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
279 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java613 public int decryptStorage(String password) throws RemoteException { argument
619 _data.writeString(password);
630 public int encryptStorage(String password) throws RemoteException { argument
636 _data.writeString(password);
647 public int changeEncryptionPassword(String password) throws RemoteException { argument
653 _data.writeString(password);
665 public int verifyEncryptionPassword(String password) throws RemoteException { argument
671 _data.writeString(password);
1099 String password = data.readString();
1100 int result = decryptStorage(password);
1341 decryptStorage(String password) argument
1346 encryptStorage(String password) argument
1351 changeEncryptionPassword(String password) argument
1357 verifyEncryptionPassword(String password) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardAccountView.java49 * When the user forgets their password a bunch of times, we fall back on their
50 * account's login/password to unlock the phone (and reset their lock pattern).
67 * Shown while making asynchronous check of password.
92 mPassword = (EditText) findViewById(R.id.password);
169 // clear out forgotten password
264 final String password = mPassword.getText().toString();
272 options.putString(AccountManager.KEY_PASSWORD, password);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DAccountUnlockScreen.java51 * When the user forgets their password a bunch of times, we fall back on their
52 * account's login/password to unlock the phone (and reset their lock pattern).
75 * Shown while making asynchronous check of password.
106 mPassword = (EditText) findViewById(R.id.password);
178 // clear out forgotten password
271 final String password = mPassword.getText().toString();
279 options.putString(AccountManager.KEY_PASSWORD, password);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java436 public void queryFacilityLock(String facility, String password, int serviceClass, argument
441 public void queryFacilityLockForApp(String facility, String password, int serviceClass, argument
446 public void setFacilityLock(String facility, boolean lockState, String password, argument
451 public void setFacilityLockForApp(String facility, boolean lockState, String password, argument
581 String password, String authType, String protocol, Message result) {
580 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument

Completed in 418 milliseconds

123