Searched defs:password (Results 1 - 25 of 49) 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 * Verify a password asynchronously.
151 * @param password The password to check.
157 final String password,
168 return utils.verifyTiedProfileChallenge(password, isPatter
120 verifyPassword(final LockPatternUtils utils, final String password, final long challenge, final int userId, final OnVerifyCallback callback) argument
156 verifyTiedProfileChallenge(final LockPatternUtils utils, final String password, final boolean isPattern, final long challenge, final int userId, final OnVerifyCallback callback) argument
192 checkPassword(final LockPatternUtils utils, final String password, final int userId, final OnCheckCallback callback) 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
94 pc.writeString(dps[i].password);
107 + "/" + 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.java57 public final String password; field in class:ApnSetting
130 String user, String password, int authType, String[] types,
144 this.password = password;
168 apn.mmsPort, apn.user, apn.password, apn.authType, apn.types, apn.protocol,
183 * <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
188 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
193 * [ApnSettingV3] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
200 * and password and thus cannot be read by this method.
127 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/packages/Osu/src/com/android/hotspot2/osu/
H A DHTTPHandler.java49 String user, byte[] password) throws IOException {
56 mPassword = password;
48 HTTPHandler(Charset charset, OSUSocketFactory socketFactory, String user, byte[] password) argument
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreSpi.java90 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, argument
272 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
274 if ((password != null) && (password.length > 0)) {
922 public void engineStore(OutputStream stream, char[] password) throws IOException, argument
928 public void engineLoad(InputStream stream, char[] password) throws IOException, argument
934 if (password != null) {
935 throw new IllegalArgumentException("password not supported");
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DCredential.java39 EAPMethod eapMethod, String userName, String password,
48 if (!TextUtils.isEmpty(password)) {
49 byte[] pwOctets = Base64.decode(password, Base64.DEFAULT);
106 public Credential(Credential other, String password) { argument
112 mPassword = password;
38 Credential(long ctime, long expTime, String realm, boolean checkAAACert, EAPMethod eapMethod, String userName, String password, boolean machineManaged, String stApp, boolean share) argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPRequest.java61 public void doAuthenticate(HTTPResponse httpResponse, String userName, byte[] password, argument
64 generateAuthAnswer(httpResponse, userName, password, url, sequence));
68 byte[] password, URL url, int sequence)
131 String passwordString = new String(password, StandardCharsets.UTF_8);
283 private static void test(String user, String realm, String password, String method, String path, argument
286 byte[] a1 = hash(user, realm, password);
67 generateAuthAnswer(HTTPResponse httpResponse, String userName, byte[] password, URL url, int sequence) argument
/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
/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/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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTextViewBindingAdapter.java272 @BindingAdapter({"android:password"})
273 public static void setPassword(TextView view, boolean password) { argument
274 if (password) {
/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
256 * Attempt to unlock the keystore for {@code user} with the password {@code password}.
261 * @param password user's keystore password. Should be the most recent value passed to
266 public boolean unlock(int userId, String password) { argument
268 mError = mBinder.unlock(userId, password);
276 public boolean unlock(String password) { argument
277 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/services/core/java/com/android/server/
H A DLockSettingsService.java105 * Keeps the lock pattern/password data and related settings for each user.
219 * @param managedUserPassword Managed profile original password (when it has separated lock).
250 // password directly, so we always store a password.
469 // No need to move the password / pattern files. They're already in the right place.
505 // No need to move the password / pattern files. They're already in the right place.
565 // When managed profile has a unified lock, the password quality stored has 2
569 // 2). PASSWORD_QUALITY_ALPHANUMERIC, which is the actual password quality for
719 private void setKeystorePassword(String password, int userHandle) { argument
721 ks.onUserPasswordChanged(userHandle, password);
724 unlockKeystore(String password, int userHandle) argument
959 setLockPassword(String password, String savedCredential, int userId) argument
968 setLockPasswordInternal(String password, String savedCredential, int userId) argument
1016 tieProfileLockToParent(int userId, String password) argument
1264 checkPassword(String password, int userId) argument
1270 verifyPassword(String password, long challenge, int userId) argument
1276 verifyTiedProfileChallenge(String password, boolean isPattern, long challenge, int userId) argument
1306 doVerifyPassword(String password, boolean hasChallenge, long challenge, int userId) argument
1313 doVerifyPassword(String password, CredentialHash storedHash, boolean hasChallenge, long challenge, int userId) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java56 public static final String PASSWORD_KEY = "password";
148 // This is essential because an app may not have all fields like password
530 * Set the password.
531 * @param password the password
533 public void setPassword(String password) { argument
534 setFieldValue(PASSWORD_KEY, password, "");
538 * Get the password.
540 * Returns locally set password value. For networks fetched from
1050 // Don't display password i
[all...]

Completed in 821 milliseconds

12