Searched refs:password (Results 1 - 25 of 90) sorted by relevance

1234

/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.java79 * and password to use.
138 * If no password is provided then we not resent the request
144 byte[] password = result.getPassword();
145 if (password == null) {
169 byte[] digest = new byte[challenge.length + password.length + 1];
171 // Insert colon between challenge and password
173 System.arraycopy(password, 0, digest, challenge.length + 1, password.length);
200 // get the correct password from the application
/frameworks/base/core/java/android/webkit/
H A DHttpAuthHandler.java62 public void proceed(String username, String password) { argument
H A DWebViewDatabase.java26 * <li>Username/password pairs for web forms</li>
27 * <li>HTTP authentication username/password pairs</li>
42 * Gets whether there are any saved username/password pairs for web forms.
45 * @return true if there are any saved username/password pairs
54 * Clears any saved username/password pairs for web forms.
76 * and password stored in WebViewDatabase instance. The username and password are not read from
80 * The username and password used for http authentication might be cached in the network stack
98 * with the correct username and password.
100 * The embedder app can get the username and password an
122 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
[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");
71 WifiConfiguration config = getConfig(ssid, securityType, password);
78 * Get the {@link WifiConfiguration} based on ssid, security, and password.
80 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { argument
89 assertNotNull("password is empty", password);
91 assertTrue(WifiConfigurationHelper.isHex(password, 1
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_SyntheticPasswordManager.cpp51 static jbyteArray android_server_SyntheticPasswordManager_nativeScrypt(JNIEnv* env, jobject, jbyteArray password, jbyteArray salt, jint N, jint r, jint p, jint outLen) { argument
52 if (!password || !salt) {
56 int passwordLen = env->GetArrayLength(password);
60 jbyte* passwordPtr = (jbyte*)env->GetByteArrayElements(password, NULL);
67 env->ReleaseByteArrayElements(password, passwordPtr, JNI_ABORT);
/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 DConnectivityManagerTestRunner.java62 String password = (String) icicle.get("password");
63 if (password != null) {
64 mPassword = password;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataProfile.java42 //the password for APN, or NULL
43 public final String password; field in class:DataProfile
75 String user, String password, int type, int maxConnsTime, int maxConns,
89 this.password = password;
111 apn.authType, apn.user, apn.password, apn.bearerBitmask == 0
122 + "/" + user + "/" + password + "/" + type + "/" + maxConnsTime
74 DataProfile(int profileId, String apn, String protocol, int authType, String user, String password, int type, int maxConnsTime, int maxConns, int waitTime, boolean enabled, int supportedApnTypesBitmap, String roamingProtocol, int bearerBitmap, int mtu, String mvnoType, String mvnoMatchData, boolean modemCognitive) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMockGateKeeperService.java33 public byte[] password; field in class:MockGateKeeperService.VerifyHandle
36 public VerifyHandle(byte[] password, long sid) { argument
37 this.password = password;
47 password = new byte[buffer.remaining()];
48 buffer.get(password);
52 ByteBuffer buffer = ByteBuffer.allocate(1 + Long.BYTES + password.length);
55 buffer.put(password);
98 if (Arrays.equals(currentPassword, handle.password)) {
128 if (Arrays.equals(handle.password, providedPasswor
[all...]
H A DLockSettingsServiceTestable.java119 protected void tieProfileLockToParent(int userId, String password) { argument
120 mStorage.writeChildProfileLock(userId, password.getBytes());
H A DMockSyntheticPasswordManager.java91 protected byte[] scrypt(String password, byte[] salt, int N, int r, int p, int outLen) { argument
93 PBEKeySpec spec = new PBEKeySpec(password.toCharArray(), salt, 10, outLen * 8);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternChecker.java146 * Verify a password asynchronously.
149 * @param password The password to check.
155 final String password,
165 return utils.verifyPassword(password, challenge, userId);
182 * Verify a password asynchronously.
185 * @param password The password to check.
191 final String password,
202 return utils.verifyTiedProfileChallenge(password, isPatter
154 verifyPassword(final LockPatternUtils utils, final String password, final long challenge, final int userId, final OnVerifyCallback callback) argument
190 verifyTiedProfileChallenge(final LockPatternUtils utils, final String password, final boolean isPattern, final long challenge, final int userId, final OnVerifyCallback callback) argument
226 checkPassword(final LockPatternUtils utils, final String password, final int userId, final OnCheckCallback callback) argument
[all...]
H A DLockPatternUtils.java98 * The minimum size of a valid password.
262 * Gets the device policy password mode. If the mode is non-specific, returns
398 * Check to see if a password matches the saved password.
399 * If password matches, return an opaque attestation that the challenge
402 * @param password The password to check.
403 * @param challenge The challenge to verify against the password
406 public byte[] verifyPassword(String password, long challenge, int userId) argument
409 return verifyCredential(password, CREDENTIAL_TYPE_PASSWOR
422 verifyTiedProfileChallenge(String password, boolean isPattern, long challenge, int userId) argument
449 checkPassword(String password, int userId) argument
459 checkPassword(String password, int userId, @Nullable CheckCredentialProgressCallback progressCallback) argument
486 checkPasswordHistory(String password, int userId) argument
730 updateEncryptionPassword(final int type, final String password) argument
763 saveLockPassword(String password, String savedPassword, int quality, int userHandle) argument
788 updateEncryptionPasswordIfNeeded(String password, int quality, int userHandle) argument
805 updatePasswordHistory(String password, int userHandle) argument
1027 passwordToHash(String password, int userId) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDataProfileTest.java38 "passwd", // password
66 "passwd", // password
91 assertEquals(mApn1.password, dp.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/core/java/com/android/internal/net/
H A DVpnProfile.java53 public String password = ""; // 4 field in class:VpnProfile
78 password = in.readString();
99 out.writeString(password);
133 profile.password = values[4];
145 profile.saveLogin = !profile.username.isEmpty() || !profile.password.isEmpty();
158 builder.append('\0').append(saveLogin ? password : "");
/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/base/core/java/android/os/storage/
H A DIStorageManager.aidl175 int decryptStorage(in String password) = 26;
179 int encryptStorage(int type, in String password) = 27;
181 * Changes the encryption password.
183 int changeEncryptionPassword(int type, in String password) = 28;
207 * Verify the encryption password against the stored volume. This method
210 int verifyEncryptionPassword(in String password) = 32;
225 * Determines the type of the encryption password
230 * Get password from vold
231 * @return password or empty string
235 * Securely clear password fro
[all...]
/frameworks/base/libs/storage/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/base/core/java/android/app/admin/
H A DPasswordMetrics.java30 * A class that represents the metrics of a password that are used to decide whether or not a
31 * password meets the requirements.
37 // consider it a complex PIN/password.
112 public static PasswordMetrics computeForPassword(@NonNull String password) { argument
120 final int length = password.length();
122 switch (categoryChar(password.charAt(i))) {
142 // Determine the quality of the password
151 quality = maxLengthSequence(password) > MAX_ALLOWED_SEQUENCE
/frameworks/base/core/java/android/accounts/
H A DIAccountManager.aidl47 boolean addAccountExplicitly(in Account account, String password, in Bundle extras);
58 void setPassword(in Account account, String password);
115 boolean addAccountExplicitlyWithVisibility(in Account account, String password, in Bundle extras,
/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).

Completed in 1416 milliseconds

1234