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

12

/frameworks/base/core/java/android/webkit/
H A DHttpAuthHandler.java62 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/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DWifiAssociationTest.java36 * * 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/base/core/java/com/android/internal/widget/
H A DLockPatternChecker.java112 * Verify a password asynchronously.
115 * @param password The password to check.
121 final String password,
131 return utils.verifyPassword(password, challenge, userId);
148 * Checks a password asynchronously.
151 * @param password The password to check.
156 final String password,
165 return utils.checkPassword(password, userI
120 verifyPassword(final LockPatternUtils utils, final String password, final long challenge, final int userId, final OnVerifyCallback callback) argument
155 checkPassword(final LockPatternUtils utils, final String password, final int userId, final OnCheckCallback callback) argument
[all...]
H A DLockPatternUtils.java86 * The minimum size of a valid password.
128 // consider it a complex PIN/password.
193 * Gets the device policy password mode. If the mode is non-specific, returns
295 * Check to see if a password matches the saved password.
296 * If password matches, return an opaque attestation that the challenge
299 * @param password The password to check.
300 * @param challenge The challenge to verify against the password
303 public byte[] verifyPassword(String password, lon argument
327 checkPassword(String password, int userId) argument
363 checkPasswordHistory(String password, int userId) argument
575 computePasswordQuality(String password) argument
663 updateEncryptionPassword(final int type, final String password) argument
696 saveLockPassword(String password, String savedPassword, int quality, int userHandle) argument
934 passwordToHash(String password, int userId) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataProfile.java40 //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.bearerBitmask == 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 DApnSetting.java46 public final String password; field in class:ApnSetting
101 String user, String password, int authType, String[] types,
115 this.password = password;
146 * <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
151 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
156 * [ApnSettingV3] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
163 * and password and thus cannot be read by this method.
98 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 bearerBitmask, 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 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/core/java/org/apache/http/conn/ssl/
H A DSSLSocketFactory.java100 * For simplicity use the same password for the key as that of the keystore
255 private static KeyManager[] createKeyManagers(final KeyStore keystore, final String password) argument
262 kmfactory.init(keystore, password != null ? password.toCharArray(): null);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DWifiConfigurationHelper.java68 * @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 DConnectivityManagerTestBase.java319 protected boolean connectToWifi(String ssid, String password) { argument
321 if (password == null) {
324 config = WifiConfigurationHelper.createPskConfig(ssid, password);
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreSpi.java89 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, argument
271 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
273 if ((password != null) && (password.length > 0)) {
921 public void engineStore(OutputStream stream, char[] password) throws IOException, argument
927 public void engineLoad(InputStream stream, char[] password) throws IOException, argument
933 if (password != null) {
934 throw new IllegalArgumentException("password not supported");
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTextViewBindingAdapter.java235 @BindingAdapter({"android:password"})
236 public static void setPassword(TextView view, boolean password) { argument
237 if (password) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
H A DCredential.java48 EAPMethod eapMethod, String userName, String password,
57 if (!TextUtils.isEmpty(password)) {
58 byte[] pwOctets = Base64.decode(password, Base64.DEFAULT);
115 public Credential(Credential other, String password) { argument
121 mPassword = password;
47 Credential(long ctime, long expTime, String realm, boolean checkAAACert, EAPMethod eapMethod, String userName, String password, boolean machineManaged, String stApp, boolean share) argument
H A DHomeSP.java68 public HomeSP getClone(String password) { argument
78 new Credential(mCredential, password));
/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/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/core/java/com/android/server/
H A DLockSettingsService.java59 * Keeps the lock pattern/password data and related settings for each user.
156 // No need to move the password / pattern files. They're already in the right place.
193 // No need to move the password / pattern files. They're already in the right place.
363 private void setKeystorePassword(String password, int userHandle) { argument
369 ks.onUserPasswordChanged(pi.id, password);
373 private void unlockKeystore(String password, int userHandle) { argument
379 ks.unlock(pi.id, password);
446 public void setLockPassword(String password, String savedCredential, int userId) argument
450 if (password == null) {
464 byte[] enrolledHandle = enrollCredential(currentHandle, savedCredential, password, userI
555 checkPassword(String password, int userId) argument
561 verifyPassword(String password, long challenge, int userId) argument
566 doVerifyPassword(String password, boolean hasChallenge, long challenge, 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/keystore/java/android/security/
H A DKeyStore.java84 * (or key pair) with the secure lock screen credential (e.g., password, PIN, or pattern).
86 * <p>Note that this requires that the secure lock screen (e.g., password, PIN, pattern) is set
251 * Attempt to unlock the keystore for {@code user} with the password {@code password}.
256 * @param password user's keystore password. Should be the most recent value passed to
261 public boolean unlock(int userId, String password) { argument
263 mError = mBinder.unlock(userId, password);
271 public boolean unlock(String password) { argument
272 return unlock(UserHandle.getUserId(Process.myUid()), password);
[all...]
/frameworks/base/libs/storage/
H A DIMountService.cpp521 int32_t decryptStorage(const String16& password) argument
525 data.writeString16(password);
538 int32_t encryptStorage(const String16& password) argument
542 data.writeString16(password);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java53 public static final String PASSWORD_KEY = "password";
114 // This is essential because an app may not have all fields like password
384 * Set the password.
385 * @param password the password
387 public void setPassword(String password) { argument
388 setFieldValue(PASSWORD_KEY, password, "");
392 * Get the password.
394 * Returns locally set password value. For networks fetched from
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccCardProxy.java823 public void setIccLockEnabled(boolean enabled, String password, Message onComplete) { argument
826 mUiccApplication.setIccLockEnabled(enabled, password, onComplete);
837 public void setIccFdnEnabled(boolean enabled, String password, Message onComplete) { argument
840 mUiccApplication.setIccFdnEnabled(enabled, password, onComplete);

Completed in 400 milliseconds

12