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

12

/frameworks/base/core/java/android/webkit/
H A DHttpAuthHandler.java60 public void proceed(String username, String password) { argument
/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...]
/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/keystore/java/android/security/
H A DAndroidKeyStore.java78 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, argument
198 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
200 if ((password != null) && (password.length > 0)) {
510 public void engineStore(OutputStream stream, char[] password) throws IOException, argument
516 public void engineLoad(InputStream stream, char[] password) throws IOException, argument
522 if (password != null) {
523 throw new IllegalArgumentException("password not supported");
H A DKeyStore.java170 public boolean password(String password) { argument
172 return mBinder.password(password) == NO_ERROR;
188 public boolean unlock(String password) { argument
190 mError = mBinder.unlock(password);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnSetting.java37 public final String password; field in class:ApnSetting
60 String user, String password, int authType, String[] types,
72 this.password = password;
91 * <mmsport>, <user>, <password>, <authtype>, <mcc>,<mnc>,
96 * <mmsport>, <user>, <password>, <authtype>, <mcc>, <mnc>,
100 * and password and thus cannot be read by this method.
57 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 DHttpAuthHeader.java57 * new username and password.
63 * password to use.
153 * @return The password string.
160 * Sets the password string.
162 public void setPassword(String password) { argument
163 mPassword = password;
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...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccCard.java145 * @param password needed to change the ICC pin state, aka. Pin1
152 String password, Message onComplete);
159 * @param password needed to change the ICC fdn enable, aka Pin2
166 String password, Message onComplete);
169 * Change the ICC password used in ICC pin lock
172 * @param oldPassword is the old password
173 * @param newPassword is the new password
183 * Change the ICC password used in ICC fdn enable
186 * @param oldPassword is the old password
187 * @param newPassword is the new password
151 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
165 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
[all...]
/frameworks/base/core/java/android/security/
H A DIKeystoreService.java180 public int password(String password) throws RemoteException { argument
186 _data.writeString(password);
213 public int unlock(String password) throws RemoteException { argument
219 _data.writeString(password);
567 public int password(String password) throws RemoteException; argument
571 public int unlock(String password) throws RemoteException; argument
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/
H A DKeyguardTestActivity.java328 public boolean checkPassword(String password) { argument
329 return password.length() > 4;
/frameworks/base/services/java/com/android/server/
H A DLockSettingsService.java59 * Keeps the lock pattern/password data and related settings for each user.
81 private static final String LOCK_PASSWORD_FILE = "password.key";
110 // No need to move the password / pattern files. They're already in the right place.
147 // No need to move the password / pattern files. They're already in the right place.
262 private void maybeUpdateKeystore(String password, int userId) { argument
267 if (TextUtils.isEmpty(password) && keyStore.isEmpty()) {
270 // Update the keystore password
271 keyStore.password(password);
288 public void setLockPassword(String password, in argument
325 checkPassword(String password, int userId) argument
[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/opt/net/voip/src/java/android/net/sip/
H A DSipProfile.java180 * Sets the password of the SIP account
182 * @param password password of the SIP account
185 public Builder setPassword(String password) { argument
186 mUri.setUserPassword(password);
280 // remove password from URI
410 * Gets the password.
412 * @return the password
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java196 public static void setPassword(Object info, boolean password) { argument
197 ((AccessibilityNodeInfo) info).setPassword(password);
/frameworks/base/libs/storage/
H A DIMountService.cpp512 int32_t decryptStorage(const String16& password) argument
516 data.writeString16(password);
529 int32_t encryptStorage(const String16& password) argument
533 data.writeString16(password);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java84 private static final String PASSWORD_KEY = "password";
107 // This is essential because an app may not have all fields like password
370 * Set the password.
371 * @param password the password
373 public void setPassword(String password) { argument
374 setFieldValue(PASSWORD_KEY, password, "");
378 * Get the password.
380 * Returns locally set password value. For networks fetched from
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccCardProxy.java641 public void setIccLockEnabled(boolean enabled, String password, Message onComplete) { argument
644 mUiccApplication.setIccLockEnabled(enabled, password, onComplete);
655 public void setIccFdnEnabled(boolean enabled, String password, Message onComplete) { argument
658 mUiccApplication.setIccFdnEnabled(enabled, password, onComplete);
H A DUiccCardApplication.java694 * @param password needed to change the ICC pin state, aka. Pin1
701 String password, Message onComplete) {
711 enabled, password, serviceClassX, mAid,
721 * @param password needed to change the ICC fdn enable, aka Pin2
728 String password, Message onComplete) {
739 enabled, password, serviceClassX, mAid,
745 * Change the ICC password used in ICC pin lock
748 * @param oldPassword is the old password
749 * @param newPassword is the new password
766 * Change the ICC password use
700 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
727 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java54 * online accounts. The user enters credentials (username and password) once
67 * the user's actual password. (Auth tokens are normally created with a
185 * Bundle key used to supply the password directly in options to
187 * the standard password prompt.
189 public static final String KEY_PASSWORD = "password";
240 * account's credentials (saved password, etc) are changed.
300 * Gets the saved password associated with the account.
310 * @param account The account to query for a password
311 * @return The account's password, null if none or if the account doesn't exist
604 * @param password Th
609 addAccountExplicitly(Account account, String password, Bundle userdata) argument
727 setPassword(final Account account, final String password) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java122 * Activity action: have the user enter a new password. This activity should
125 * enter a new password that meets the current requirements. You can use
127 * have the user select a new password in order to meet the current
129 * password characteristics to see if they are sufficient.
220 * for the password. Note that quality constants are ordered so that higher
235 * of password, but doesn't care what it is. Note that quality constants
242 * password containing at least numeric characters. Note that quality
249 * password containing at least alphabetic (or other symbol) characters.
257 * password containing at least <em>both></em> numeric <em>and</em>
265 * password containin
993 resetPassword(String password, int flags) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java611 public int decryptStorage(String password) throws RemoteException { argument
617 _data.writeString(password);
628 public int encryptStorage(String password) throws RemoteException { argument
634 _data.writeString(password);
645 public int changeEncryptionPassword(String password) throws RemoteException { argument
651 _data.writeString(password);
663 public int verifyEncryptionPassword(String password) throws RemoteException { argument
669 _data.writeString(password);
1117 String password = data.readString();
1118 int result = decryptStorage(password);
1368 decryptStorage(String password) argument
1373 encryptStorage(String password) argument
1378 changeEncryptionPassword(String password) argument
1384 verifyEncryptionPassword(String password) argument
[all...]
/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.
301 * Check to see if a password matches the saved password. If no password exists,
303 * @param password The password to check.
304 * @return Whether the password matches the stored one.
306 public boolean checkPassword(String password) { argument
322 checkPasswordHistory(String password) argument
544 computePasswordQuality(String password) argument
569 updateEncryptionPassword(String password) argument
597 saveLockPassword(String password, int quality) argument
609 saveLockPassword(String password, int quality, boolean isFallback) argument
622 saveLockPassword(String password, int quality, boolean isFallback, int userHandle) argument
821 passwordToHash(String password) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java86 public void setPassword(Object info, boolean password); argument
356 public void setPassword(Object info, boolean password) { argument
633 public void setPassword(Object info, boolean password) { argument
634 AccessibilityNodeInfoCompatIcs.setPassword(info, password);
1723 * Gets whether this node is a password.
1725 * @return True if the node is a password.
1732 * Sets whether this node is a password.
1739 * @param password True if the node is a password.
1742 public void setPassword(boolean password) { argument
[all...]
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewContentsClientAdapter.java858 public void proceed(String username, String password) { argument
863 if (password == null) {
864 password = "";
866 mAwHandler.proceed(username, password);

Completed in 618 milliseconds

12