/frameworks/base/core/java/android/webkit/ |
H A D | HttpAuthHandler.java | 62 public void proceed(String username, String password) { argument
|
/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...] |
/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/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/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 | ConnectivityManagerTestBase.java | 319 protected boolean connectToWifi(String ssid, String password) { argument 321 if (password == null) { 324 config = WifiConfigurationHelper.createPskConfig(ssid, password);
|
/frameworks/base/keystore/java/android/security/ |
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");
|
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);
|
/frameworks/base/core/java/android/net/http/ |
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;
|
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...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | LockSettingsService.java | 56 * Keeps the lock pattern/password data and related settings for each user. 110 // If this user has a parent, sync with its keystore password 141 // No need to move the password / pattern files. They're already in the right place. 178 // No need to move the password / pattern files. They're already in the right place. 268 private void maybeUpdateKeystore(String password, int userHandle) { argument 273 boolean shouldReset = TextUtils.isEmpty(password); 288 ks.passwordUid(password, profileUid); 305 public void setLockPassword(String password, int userId) throws RemoteException { argument 308 maybeUpdateKeystore(password, userId); 310 mStorage.writePasswordHash(mLockPatternUtils.passwordToHash(password, userI 331 checkPassword(String password, int userId) argument [all...] |
/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/packages/Keyguard/test/src/com/android/keyguard/test/ |
H A D | KeyguardTestActivity.java | 328 public boolean checkPassword(String password) { argument 329 return password.length() > 4;
|
/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/opt/net/voip/src/java/android/net/sip/ |
H A D | SipProfile.java | 180 * 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 D | AccessibilityNodeInfoCompatIcs.java | 196 public static void setPassword(Object info, boolean password) { argument 197 ((AccessibilityNodeInfo) info).setPassword(password);
|
/frameworks/base/core/java/android/security/ |
H A D | IKeystoreService.java | 180 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); 517 public int password_uid(String password, int uid) throws RemoteException { argument 523 _data.writeString(password); 623 public int password(String password) throws RemoteException; argument 627 public int unlock(String password) throw argument 661 password_uid(String password, int uid) argument [all...] |
/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 514 int32_t decryptStorage(const String16& password) argument 518 data.writeString16(password); 531 int32_t encryptStorage(const String16& password) argument 535 data.writeString16(password);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiEnterpriseConfig.java | 53 public static final String PASSWORD_KEY = "password"; 105 // This is essential because an app may not have all fields like password 372 * Set the password. 373 * @param password the password 375 public void setPassword(String password) { argument 376 setFieldValue(PASSWORD_KEY, password, ""); 380 * Get the password. 382 * Returns locally set password value. For networks fetched from
|
/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); 1268 String password = data.readString(); 1269 int result = decryptStorage(password); 1588 decryptStorage(String password) argument 1593 encryptStorage(int type, String password) argument 1598 changeEncryptionPassword(int type, String password) argument 1605 verifyEncryptionPassword(String password) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardProxy.java | 816 public void setIccLockEnabled(boolean enabled, String password, Message onComplete) { argument 819 mUiccApplication.setIccLockEnabled(enabled, password, onComplete); 830 public void setIccFdnEnabled(boolean enabled, String password, Message onComplete) { argument 833 mUiccApplication.setIccFdnEnabled(enabled, password, onComplete);
|
H A D | UiccCardApplication.java | 750 * @param password needed to change the ICC pin state, aka. Pin1 757 String password, Message onComplete) { 767 enabled, password, serviceClassX, mAid, 777 * @param password needed to change the ICC fdn enable, aka Pin2 784 String password, Message onComplete) { 795 enabled, password, serviceClassX, mAid, 801 * Change the ICC password used in ICC pin lock 804 * @param oldPassword is the old password 805 * @param newPassword is the new password 822 * Change the ICC password use 756 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument 783 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 54 * online accounts. The user enters credentials (username and password) once 67 * the user's actual password. (Auth tokens are normally created with a 187 * Bundle key used to supply the password directly in options to 189 * the standard password prompt. 191 public static final String KEY_PASSWORD = "password"; 242 * account's credentials (saved password, etc) are changed. 302 * Gets the saved password associated with the account. 312 * @param account The account to query for a password 313 * @return The account's password, null if none or if the account doesn't exist 650 * @param password Th 655 addAccountExplicitly(Account account, String password, Bundle userdata) argument 961 setPassword(final Account account, final String password) argument [all...] |