Searched refs:password (Results 1 - 25 of 58) 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
/frameworks/base/core/java/com/android/internal/widget/
H A DILockSettings.aidl29 void setLockPassword(in String password, int userId);
30 boolean checkPassword(in String password, int userId);
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/base/keystore/tests/src/android/security/
H A DKeyStoreTest.java138 assertTrue(mKeyStore.password(TEST_PASSWD));
144 mKeyStore.password(TEST_PASSWD);
156 mKeyStore.password(TEST_PASSWD);
167 mKeyStore.password(TEST_PASSWD);
178 mKeyStore.password(TEST_PASSWD);
188 mKeyStore.password(TEST_I18N_KEY);
196 mKeyStore.password(TEST_PASSWD);
208 mKeyStore.password(TEST_PASSWD);
220 mKeyStore.password(TEST_PASSWD);
233 assertTrue(mKeyStore.password(TEST_PASSW
[all...]
/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.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;
/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/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...]
H A DCommandsInterface.java574 * if the password is incorrect
593 * if the password is incorrect
610 * if the password is incorrect
628 * if the password is incorrect
647 * if the password is incorrect
668 * if the password is incorrect
687 * if the password is incorrect
708 * if the password is incorrect
1231 * @param password password o
1236 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
1251 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
1261 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
1274 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
1557 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument
1695 setInitialAttachApn(String apn, String protocol, int authType, String username, String password, Message result) 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/keystore/java/android/security/
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);
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");
/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.java38 assertEquals(a1.password, a2.password);
96 "mmsc", "mmsproxy", "mmsport", "user", "password", 0,
/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/core/java/android/accounts/
H A DIAccountManager.aidl39 boolean addAccountExplicitly(in Account account, String password, in Bundle extras);
44 void setPassword(in Account account, String password);
/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/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java255 String apn, String user, String password, String authType,
348 public void queryFacilityLock(String facility, String password, argument
353 public void queryFacilityLockForApp(String facility, String password, argument
359 String password, int serviceClass, Message response) {
364 String password, int serviceClass, String appId, Message response) {
556 String password, Message result) {
254 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument
358 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
363 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
555 setInitialAttachApn(String apn, String protocol, int authType, String username, String password, Message result) argument
/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/tests/TransitionTests/src/com/android/transitiontests/
H A DLoginActivity.java55 // Custom transitions in/out of NewUser screen - slide in the 2nd password UI
58 slider.addTransition(new Recolor().addTarget(R.id.password).
66 // Custom transitions with recoloring password field
67 Transition colorizer = new Recolor().addTarget(R.id.password).
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DAccessPointParserHelper.java47 * security, eap, phase2, identity, password, anonymousidentity, cacert, usercert,
60 * <password>abcdefgh</password>
105 boolean password = false;
134 if (tagName.equalsIgnoreCase("password")) {
135 password = true;
224 if (password) {
248 password = false;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardAccountView.java48 * When the user forgets their password a bunch of times, we fall back on their
49 * account's login/password to unlock the phone (and reset their lock pattern).
66 * Shown while making asynchronous check of password.
91 mPassword = (EditText) findViewById(R.id.password);
168 // clear out forgotten password
263 final String password = mPassword.getText().toString();
271 options.putString(AccountManager.KEY_PASSWORD, password);

Completed in 2905 milliseconds

123