/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | WifiAssociationTest.java | 64 String password = arguments.getString("password"); in testWifiAssociation() local 71 WifiConfiguration config = getConfig(ssid, securityType, password); in testWifiAssociation() 80 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { in getConfig() argument 89 assertNotNull("password is empty", password); in getConfig() 91 assertTrue(WifiConfigurationHelper.isHex(password, 10)); in getConfig() 92 config = WifiConfigurationHelper.createWepConfig(ssid, password); in getConfig() 96 assertNotNull("password is empty", password); in getConfig() 98 assertTrue(WifiConfigurationHelper.isHex(password, 26)); in getConfig() 99 config = WifiConfigurationHelper.createWepConfig(ssid, password); in getConfig() 103 assertNotNull("password is empty", password); in getConfig() [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 71 public static WifiConfiguration createWepConfig(String ssid, String password) { in createWepConfig() argument 74 if (isHex(password, 10) || isHex(password, 26) || isHex(password, 58)) { in createWepConfig() 75 config.wepKeys[0] = password; in createWepConfig() 77 config.wepKeys[0] = quotedString(password); in createWepConfig() 93 public static WifiConfiguration createPskConfig(String ssid, String password) { in createPskConfig() argument 96 if (isHex(password, 64)) { in createPskConfig() 97 config.preSharedKey = password; in createPskConfig() 99 config.preSharedKey = quotedString(password); in createPskConfig() 118 public static WifiConfiguration createEapConfig(String ssid, String password, int eapMethod, in createEapConfig() argument 134 config.enterpriseConfig.setPassword(password); in createEapConfig() [all …]
|
D | ConnectivityManagerTestRunner.java | 62 String password = (String) icicle.get("password"); in onCreate() local 63 if (password != null) { in onCreate() 64 mPassword = password; in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | BackupPasswordManagerTest.java | 96 String password = "password1234"; in backupPasswordMatches_isTrueForSamePassword() local 97 mPasswordManager.setBackupPassword(null, password); in backupPasswordMatches_isTrueForSamePassword() 98 assertThat(mPasswordManager.backupPasswordMatches(password)).isTrue(); in backupPasswordMatches_isTrueForSamePassword() 109 String password = "corgi\uFFFF"; in backupPasswordMatches_worksForV1HashIfVersionIsV1() local 111 writeV1HashToFile(password, saltFixture()); in backupPasswordMatches_worksForV1HashIfVersionIsV1() 116 assertThat(mPasswordManager.backupPasswordMatches(password)).isTrue(); in backupPasswordMatches_worksForV1HashIfVersionIsV1() 124 String password = "corgi\uFFFF"; in backupPasswordMatches_failsForV1HashIfVersionIsV2() local 126 writeV1HashToFile(password, saltFixture()); in backupPasswordMatches_failsForV1HashIfVersionIsV2() 131 assertThat(mPasswordManager.backupPasswordMatches(password)).isFalse(); in backupPasswordMatches_failsForV1HashIfVersionIsV2() 146 String password = "shiba"; in setBackupPassword_persistsPasswordToFile() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | FakeGateKeeperService.java | 33 public byte[] password; field in FakeGateKeeperService.VerifyHandle 36 public VerifyHandle(byte[] password, long sid) { in VerifyHandle() argument 37 this.password = password; in VerifyHandle() 47 password = new byte[buffer.remaining()]; in VerifyHandle() 48 buffer.get(password); in VerifyHandle() 52 ByteBuffer buffer = ByteBuffer.allocate(1 + Long.BYTES + password.length); in toBytes() 55 buffer.put(password); in toBytes() 97 if (Arrays.equals(currentPassword, handle.password)) { in enroll() 128 if (Arrays.equals(handle.password, providedPassword)) { in verifyChallenge()
|
D | LockSettingsServiceTestable.java | 119 protected void tieProfileLockToParent(int userId, String password) { in tieProfileLockToParent() argument 120 mStorage.writeChildProfileLock(userId, password.getBytes()); in tieProfileLockToParent()
|
/frameworks/base/obex/javax/obex/ |
D | PasswordAuthentication.java | 53 public PasswordAuthentication(final byte[] userName, final byte[] password) { in PasswordAuthentication() argument 59 mPassword = new byte[password.length]; in PasswordAuthentication() 60 System.arraycopy(password, 0, mPassword, 0, password.length); in PasswordAuthentication()
|
D | ObexSession.java | 144 byte[] password = result.getPassword(); in handleAuthChall() 145 if (password == null) { in handleAuthChall() 169 byte[] digest = new byte[challenge.length + password.length + 1]; in handleAuthChall() 173 System.arraycopy(password, 0, digest, challenge.length + 1, password.length); in handleAuthChall()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_locksettings_SyntheticPasswordManager.cpp | 51 …_SyntheticPasswordManager_nativeScrypt(JNIEnv* env, jobject, jbyteArray password, jbyteArray salt,… in android_server_SyntheticPasswordManager_nativeScrypt() argument 52 if (!password || !salt) { in android_server_SyntheticPasswordManager_nativeScrypt() 56 int passwordLen = env->GetArrayLength(password); in android_server_SyntheticPasswordManager_nativeScrypt() 60 jbyte* passwordPtr = (jbyte*)env->GetByteArrayElements(password, NULL); in android_server_SyntheticPasswordManager_nativeScrypt() 67 env->ReleaseByteArrayElements(password, passwordPtr, JNI_ABORT); in android_server_SyntheticPasswordManager_nativeScrypt()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataProfile.java | 43 public final String password; field in DataProfile 75 String user, String password, int type, int maxConnsTime, int maxConns, in DataProfile() argument 89 this.password = password; in DataProfile() 111 apn.authType, apn.user, apn.password, apn.bearerBitmask == 0 in DataProfile() 122 + "/" + user + "/" + password + "/" + type + "/" + maxConnsTime in toString()
|
D | ApnSetting.java | 60 public final String password; field in ApnSetting 122 String user, String password, int authType, String[] types, in ApnSetting() argument 137 this.password = password; in ApnSetting() 164 apn.mmsPort, apn.user, apn.password, apn.authType, apn.types, apn.protocol, in ApnSetting() 531 && TextUtils.equals(password, other.password) in equals() 578 && TextUtils.equals(password, other.password) in equals()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternChecker.java | 155 final String password, in verifyPassword() argument 165 return utils.verifyPassword(password, challenge, userId); in verifyPassword() 191 final String password, in verifyTiedProfileChallenge() argument 202 return utils.verifyTiedProfileChallenge(password, isPattern, challenge, userId); in verifyTiedProfileChallenge() 227 final String password, in checkPassword() argument 236 return utils.checkPassword(password, userId, callback::onEarlyMatched); in checkPassword()
|
D | LockPatternUtils.java | 429 public byte[] verifyPassword(String password, long challenge, int userId) in verifyPassword() argument 432 return verifyCredential(password, CREDENTIAL_TYPE_PASSWORD, challenge, userId); in verifyPassword() 445 public byte[] verifyTiedProfileChallenge(String password, boolean isPattern, long challenge, in verifyTiedProfileChallenge() argument 450 getLockSettings().verifyTiedProfileChallenge(password, in verifyTiedProfileChallenge() 472 public boolean checkPassword(String password, int userId) throws RequestThrottledException { in checkPassword() argument 473 return checkPassword(password, userId, null /* progressCallback */); in checkPassword() 482 public boolean checkPassword(String password, int userId, in checkPassword() argument 486 return checkCredential(password, CREDENTIAL_TYPE_PASSWORD, userId, progressCallback); in checkPassword() 509 public boolean checkPasswordHistory(String password, int userId) { in checkPasswordHistory() argument 511 passwordToHash(password, userId), StandardCharsets.UTF_8); in checkPasswordHistory() [all …]
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnProfile.java | 53 public String password = ""; // 4 field in VpnProfile 78 password = in.readString(); in VpnProfile() 99 out.writeString(password); in writeToParcel() 133 profile.password = values[4]; in decode() 145 profile.saveLogin = !profile.username.isEmpty() || !profile.password.isEmpty(); in decode() 158 builder.append('\0').append(saveLogin ? password : ""); in encode()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
D | Credential.java | 39 EAPMethod eapMethod, String userName, String password, in Credential() argument 48 if (!TextUtils.isEmpty(password)) { in Credential() 49 byte[] pwOctets = Base64.decode(password, Base64.DEFAULT); in Credential() 106 public Credential(Credential other, String password) { in Credential() argument 112 mPassword = password; in Credential()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
D | HTTPRequest.java | 61 public void doAuthenticate(HTTPResponse httpResponse, String userName, byte[] password, in doAuthenticate() argument 64 generateAuthAnswer(httpResponse, userName, password, url, sequence)); in doAuthenticate() 68 byte[] password, URL url, int sequence) in generateAuthAnswer() argument 131 String passwordString = new String(password, StandardCharsets.UTF_8); in generateAuthAnswer() 283 private static void test(String user, String realm, String password, String method, String path, in test() argument 286 byte[] a1 = hash(user, realm, password); in test()
|
/frameworks/base/core/java/android/app/admin/ |
D | PasswordMetrics.java | 110 public static PasswordMetrics computeForPassword(@NonNull String password) { in computeForPassword() argument 118 final int length = password.length(); in computeForPassword() 120 switch (categoryChar(password.charAt(i))) { in computeForPassword() 149 quality = maxLengthSequence(password) > MAX_ALLOWED_SEQUENCE in computeForPassword()
|
/frameworks/base/core/java/android/os/storage/ |
D | IStorageManager.aidl | 175 int decryptStorage(in String password) = 26; field 179 int encryptStorage(int type, in String password) = 27; in encryptStorage() argument 183 int changeEncryptionPassword(int type, in String password) = 28; in changeEncryptionPassword() argument 210 int verifyEncryptionPassword(in String password) = 32; field
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataProfileTest.java | 91 assertEquals(mApn1.password, dp.password); in testCreateFromApnSetting()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccCard.java | 152 String password, Message onComplete); in setIccLockEnabled() argument 166 String password, Message onComplete); in setIccFdnEnabled() argument
|
/frameworks/layoutlib/bridge/src/android/webkit/ |
D | WebView.java | 82 public void savePassword(String host, String username, String password) { in savePassword() argument 86 String username, String password) { in setHttpAuthUsernamePassword() argument
|
/frameworks/base/tests/LegacyRestoreTest/ |
D | README | 4 to the PBKDF2 implementation. The archive's encryption password, entered on-screen, 9 reporting an invalid password in logcat. This is the situation reported in bug
|
/frameworks/base/libs/storage/include/storage/ |
D | IMountService.h | 72 virtual int32_t decryptStorage(const String16& password) = 0; 73 virtual int32_t encryptStorage(const String16& password) = 0;
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | SSLSocketFactory.java | 255 private static KeyManager[] createKeyManagers(final KeyStore keystore, final String password) in createKeyManagers() argument 262 kmfactory.init(keystore, password != null ? password.toCharArray(): null); in createKeyManagers()
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 47 boolean addAccountExplicitly(in Account account, String password, in Bundle extras); in addAccountExplicitly() argument 58 void setPassword(in Account account, String password); in setPassword() argument 115 … boolean addAccountExplicitlyWithVisibility(in Account account, String password, in Bundle extras, in addAccountExplicitlyWithVisibility() argument
|