/frameworks/base/obex/javax/obex/ |
H A D | PasswordAuthentication.java | 36 * 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 D | ObexSession.java | 74 * 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 D | HttpAuthHandler.java | 60 public void proceed(String username, String password) { argument
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
H A D | WifiAssociationTest.java | 36 * * adb shell am instrument -e ssid <ssid> -e password <password> \ 64 String password = arguments.getString("password"); 76 WifiConfiguration config = getConfig(ssid, securityType, password); 105 * Get the {@link WifiConfiguration} based on ssid, security, and password. 107 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { argument 116 assertNotNull("password is empty", password); 118 assertTrue(WifiConfigurationHelper.isHex(password, 1 [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DataProfile.java | 40 //the password for APN, or NULL 41 public final String password; field in class:DataProfile 57 String user, String password, int type, int maxConnsTime, int maxConns, 65 this.password = password; 75 apn.authType, apn.user, apn.password, apn.bearer == 0 ? TYPE_COMMON : 93 pc.writeString(dps[i].password); 106 + "/" + user + "/" + password + "/" + type + "/" + maxConnsTime 56 DataProfile(int profileId, String apn, String protocol, int authType, String user, String password, int type, int maxConnsTime, int maxConns, int waitTime, boolean enabled) argument
|
H A D | ApnSetting.java | 44 public final String password; field in class:ApnSetting 91 String user, String password, int authType, String[] types, 105 this.password = password; 135 * <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>, 140 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>, 145 * [ApnSettingV3] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>, 152 * and password and thus cannot be read by this method. 88 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, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) argument
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | WifiConfigurationHelper.java | 68 * @param password Either a 10, 26, or 58 character hex string or the plain text password 71 public static WifiConfiguration createWepConfig(String ssid, String password) { argument 74 if (isHex(password, 10) || isHex(password, 26) || isHex(password, 58)) { 75 config.wepKeys[0] = password; 77 config.wepKeys[0] = quotedString(password); 90 * @param password Either a 64 character hex string or the plain text password 93 createPskConfig(String ssid, String password) argument 118 createEapConfig(String ssid, String password, int eapMethod, Integer phase2, String identity, String anonymousIdentity, String caCert, String clientCert) argument [all...] |
H A D | ConnectivityManagerTestRunner.java | 62 String password = (String) icicle.get("password"); 63 if (password != null) { 64 mPassword = password;
|
/frameworks/base/keystore/tests/src/android/security/ |
H A D | KeyStoreTest.java | 139 assertTrue(mKeyStore.password(TEST_PASSWD)); 145 mKeyStore.password(TEST_PASSWD); 157 mKeyStore.password(TEST_PASSWD); 168 mKeyStore.password(TEST_PASSWD); 179 mKeyStore.password(TEST_PASSWD); 189 mKeyStore.password(TEST_I18N_KEY); 197 mKeyStore.password(TEST_PASSWD); 209 mKeyStore.password(TEST_PASSWD); 221 mKeyStore.password(TEST_PASSWD); 234 assertTrue(mKeyStore.password(TEST_PASSW [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ILockSettings.aidl | 31 void setLockPassword(in String password, int userId); 32 boolean checkPassword(in String password, int userId);
|
H A D | LockPatternUtilsCache.java | 128 public void setLockPassword(String password, int userId) throws RemoteException { argument 130 mService.setLockPassword(password, userId); 131 putCache(HAS_LOCK_PASSWORD_CACHE_KEY, userId, password != null); 135 public boolean checkPassword(String password, int userId) throws RemoteException { argument 136 return mService.checkPassword(password, userId);
|
H A D | LockPatternUtils.java | 160 // consider it a complex PIN/password. 221 * Gets the device policy password mode. If the mode is non-specific, returns 325 * Check to see if a password matches the saved password. If no password exists, 327 * @param password The password to check. 328 * @return Whether the password matches the stored one. 330 public boolean checkPassword(String password) { argument 333 return getLockSettings().checkPassword(password, userI 360 checkPasswordHistory(String password) argument 640 computePasswordQuality(String password) argument 728 updateEncryptionPassword(final int type, final String password) argument 759 saveLockPassword(String password, int quality) argument 771 saveLockPassword(String password, int quality, boolean isFallback) argument 784 saveLockPassword(String password, int quality, boolean isFallback, int userHandle) argument 1046 passwordToHash(String password, int userId) argument [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | RequestHandle.java | 224 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 D | HttpAuthHeader.java | 57 * 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/base/keystore/java/android/security/ |
H A D | KeyStore.java | 170 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); 354 public boolean passwordUid(String password, int uid) { argument 356 mError = mBinder.password_uid(password, uid);
|
H A D | AndroidKeyStore.java | 78 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/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccCard.java | 145 * @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/com/android/internal/net/ |
H A D | VpnProfile.java | 54 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 D | IMountService.h | 72 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 D | WebView.java | 82 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/base/services/core/java/com/android/server/ |
H A D | LockSettingsService.java | 69 * Keeps the lock pattern/password data and related settings for each user. 94 private static final String LOCK_PASSWORD_FILE = "password.key"; 126 // If this user has a parent, sync with its keystore password 153 // No need to move the password / pattern files. They're already in the right place. 190 // No need to move the password / pattern files. They're already in the right place. 364 private void maybeUpdateKeystore(String password, int userHandle) { argument 369 boolean shouldReset = TextUtils.isEmpty(password); 384 ks.passwordUid(password, profileUid); 401 public void setLockPassword(String password, int userId) throws RemoteException { argument 404 maybeUpdateKeystore(password, userI 439 checkPassword(String password, int userId) argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | IMountService.java | 612 public int decryptStorage(String password) throws RemoteException { argument 618 _data.writeString(password); 629 public int encryptStorage(int type, String password) throws RemoteException { argument 636 _data.writeString(password); 647 public int changeEncryptionPassword(int type, String password) throws RemoteException { argument 654 _data.writeString(password); 666 public int verifyEncryptionPassword(String password) throws RemoteException { argument 672 _data.writeString(password); 1232 String password = data.readString(); 1233 int result = decryptStorage(password); 1539 decryptStorage(String password) argument 1544 encryptStorage(int type, String password) argument 1549 changeEncryptionPassword(int type, String password) argument 1556 verifyEncryptionPassword(String password) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCommandInterface.java | 258 String apn, String user, String password, String authType, 351 public void queryFacilityLock(String facility, String password, argument 356 public void queryFacilityLockForApp(String facility, String password, argument 362 String password, int serviceClass, Message response) { 367 String password, int serviceClass, String appId, Message response) { 563 String password, Message result) { 257 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument 361 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument 366 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument 562 setInitialAttachApn(String apn, String protocol, int authType, String username, String password, Message result) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 260 String apn, String user, String password, String authType, 353 public void queryFacilityLock(String facility, String password, argument 358 public void queryFacilityLockForApp(String facility, String password, argument 364 String password, int serviceClass, Message response) { 369 String password, int serviceClass, String appId, Message response) { 565 String password, Message result) { 259 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument 363 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument 368 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument 564 setInitialAttachApn(String apn, String protocol, int authType, String username, String password, Message result) argument
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | LoginActivity.java | 55 // 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).
|