/frameworks/base/keystore/tests/src/android/security/ |
D | KeyStoreTest.java | 137 assertTrue(mKeyStore.password(TEST_PASSWD)); in testPassword() 143 mKeyStore.password(TEST_PASSWD); in testGet() 155 mKeyStore.password(TEST_PASSWD); in testPut() 166 mKeyStore.password(TEST_PASSWD); in testPut_grantedUid_Wifi() 177 mKeyStore.password(TEST_PASSWD); in testPut_ungrantedUid_Bluetooth() 187 mKeyStore.password(TEST_I18N_KEY); in testI18n() 195 mKeyStore.password(TEST_PASSWD); in testDelete() 207 mKeyStore.password(TEST_PASSWD); in testDelete_grantedUid_Wifi() 219 mKeyStore.password(TEST_PASSWD); in testDelete_ungrantedUid_Bluetooth() 232 assertTrue(mKeyStore.password(TEST_PASSWD)); in testContains() [all …]
|
/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 | 138 byte[] password = result.getPassword(); in handleAuthChall() 139 if (password == null) { in handleAuthChall() 163 byte[] digest = new byte[challenge.length + password.length + 1]; in handleAuthChall() 167 System.arraycopy(password, 0, digest, challenge.length + 1, password.length); in handleAuthChall()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 288 KeyStore.getInstance().password(patternToString(pattern)); in checkPattern() 302 public boolean checkPassword(String password) { in checkPassword() argument 305 final boolean matched = getLockSettings().checkPassword(passwordToHash(password), in checkPassword() 308 KeyStore.getInstance().password(password); in checkPassword() 323 public boolean checkPasswordHistory(String password) { in checkPasswordHistory() argument 324 String passwordHashString = new String(passwordToHash(password)); in checkPasswordHistory() 506 keyStore.password(patternToString(pattern)); in saveLockPattern() 552 static public int computePasswordQuality(String password) { in computePasswordQuality() argument 555 final int len = password.length(); in computePasswordQuality() 557 if (Character.isDigit(password.charAt(i))) { in computePasswordQuality() [all …]
|
/frameworks/base/docs/html/guide/topics/admin/ |
D | device-admin.jd | 47 enforce password policies — including alphanumeric passwords or numeric 95 password that violates the guidelines), it is up to the application to decide 129 <td>Minimum password length</td> 130 <td>Set the required number of characters for the password. For example, you 133 <td>Alphanumeric password required</td> 140 <td>Complex password required</td> 146 <td>Minimum letters required in password</td> <td>The minimum number of 147 letters required in the password for all admins or a particular one. Introduced in Android 3.0.</td… 152 <td>Minimum lowercase letters required in password</td> 154 letters required in the password for all admins or a particular one. Introduced in Android 3.0.</td… [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | RequestHandle.java | 224 public void setupBasicAuthResponse(boolean isProxy, String username, String password) { in setupBasicAuthResponse() argument 225 String response = computeBasicAuthResponse(username, password); in setupBasicAuthResponse() 238 String password, in setupDigestAuthResponse() argument 246 username, password, realm, nonce, QOP, algorithm, opaque); in setupDigestAuthResponse() 275 public static String computeBasicAuthResponse(String username, String password) { in computeBasicAuthResponse() argument 277 Assert.assertNotNull(password); in computeBasicAuthResponse() 280 return new String(Base64.encodeBase64((username + ':' + password).getBytes())); in computeBasicAuthResponse() 297 String password, in computeDigestAuthResponse() argument 305 Assert.assertNotNull(password); in computeDigestAuthResponse() 308 String A1 = username + ":" + realm + ":" + password; in computeDigestAuthResponse()
|
D | HttpAuthHeader.java | 160 public void setPassword(String password) { in setPassword() argument 161 mPassword = password; in setPassword()
|
/frameworks/base/docs/html/training/enterprise/ |
D | device-management-policy.jd | 41 such that it ensures a screen-lock password of sufficient strength is set up before displaying 48 cover screen-lock password strength, expiration timeout, encryption, etc.</p> 55 android.app.admin.DevicePolicyManager} (defining minimum password length and minimum number of 63 <p>The following snippet declares the limit password policy in <code>res/xml/device_admin.xml</code… 68 <limit-password /> 105 // Deletes previously stored password policy. 183 to the actual screen-lock password used, through the Device Policy Manager API it can determine 184 whether the existing password satisfies the required policy. If it turns out that the existing 185 screen-lock password is not sufficient, the device administration API does not automatically take 187 password-change screen in the Settings app. For example:</p> [all …]
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnProfile.java | 54 public String password = ""; // 4 field in VpnProfile 79 password = in.readString(); in VpnProfile() 100 out.writeString(password); in writeToParcel() 134 profile.password = values[4]; in decode() 146 profile.saveLogin = !profile.username.isEmpty() || !profile.password.isEmpty(); in decode() 159 builder.append('\0').append(saveLogin ? password : ""); in encode()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 154 public boolean password(String password) { in password() argument 156 return mBinder.password(password) == NO_ERROR; in password() 172 public boolean unlock(String password) { in unlock() argument 174 mError = mBinder.unlock(password); in unlock()
|
D | AndroidKeyStore.java | 78 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, in engineGetKey() argument 198 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) in engineSetKeyEntry() argument 200 if ((password != null) && (password.length > 0)) { in engineSetKeyEntry() 510 public void engineStore(OutputStream stream, char[] password) throws IOException, in engineStore() argument 516 public void engineLoad(InputStream stream, char[] password) throws IOException, in engineLoad() argument 522 if (password != null) { in engineLoad()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnSetting.java | 37 public final String password; field in ApnSetting 60 String user, String password, int authType, String[] types, in ApnSetting() argument 72 this.password = password; in ApnSetting()
|
/frameworks/base/core/java/android/os/storage/ |
D | IMountService.java | 613 public int decryptStorage(String password) throws RemoteException { in decryptStorage() argument 619 _data.writeString(password); in decryptStorage() 630 public int encryptStorage(String password) throws RemoteException { in encryptStorage() argument 636 _data.writeString(password); in encryptStorage() 647 public int changeEncryptionPassword(String password) throws RemoteException { in changeEncryptionPassword() argument 653 _data.writeString(password); in changeEncryptionPassword() 665 public int verifyEncryptionPassword(String password) throws RemoteException { in verifyEncryptionPassword() argument 671 _data.writeString(password); in verifyEncryptionPassword() 1099 String password = data.readString(); in onTransact() local 1100 int result = decryptStorage(password); in onTransact() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccCard.java | 145 String password, Message onComplete); in setIccLockEnabled() argument 159 String password, Message onComplete); in setIccFdnEnabled() argument
|
/frameworks/base/core/java/android/security/ |
D | IKeystoreService.java | 180 public int password(String password) throws RemoteException { in password() argument 186 _data.writeString(password); in password() 213 public int unlock(String password) throws RemoteException { in unlock() argument 219 _data.writeString(password); in unlock() 555 public int password(String password) throws RemoteException; in password() method 559 public int unlock(String password) throws RemoteException; in unlock() argument
|
/frameworks/base/tools/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ApnSettingTest.java | 38 assertEquals(a1.password, a2.password); in assertApnSettingEqual()
|
/frameworks/base/include/storage/ |
D | IMountService.h | 72 virtual int32_t decryptStorage(const String16& password) = 0; 73 virtual int32_t encryptStorage(const String16& password) = 0;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 241 String apn, String user, String password, String authType, in setupDataCall() argument 334 public void queryFacilityLock(String facility, String password, in queryFacilityLock() argument 339 public void queryFacilityLockForApp(String facility, String password, in queryFacilityLockForApp() argument 345 String password, int serviceClass, Message response) { in setFacilityLock() argument 350 String password, int serviceClass, String appId, Message response) { in setFacilityLockForApp() argument
|
/frameworks/base/core/java/android/webkit/ |
D | HttpAuthHandler.java | 60 public void proceed(String username, String password) { in proceed() argument
|
D | BrowserFrame.java | 804 byte[] postData, String username, String password) { in maybeSavePassword() argument 807 || password == null || password.isEmpty()) { in maybeSavePassword() 828 postString.contains(URLEncoder.encode(password))) { in maybeSavePassword() 838 mDatabase.setUsernamePassword(schemePlusHost, username, password); in maybeSavePassword() 844 password, null); in maybeSavePassword() 1056 public void proceed(String username, String password) { in didReceiveAuthenticationChallenge() 1057 nativeAuthenticationProceed(handle, username, password); in didReceiveAuthenticationChallenge() 1316 private native void setUsernamePassword(String username, String password); in setUsernamePassword() argument 1322 private native void nativeAuthenticationProceed(int handle, String username, String password); in nativeAuthenticationProceed() argument
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 39 boolean addAccountExplicitly(in Account account, String password, in Bundle extras); in addAccountExplicitly() argument 44 void setPassword(in Account account, String password); in setPassword() argument
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | AccessPointParserHelper.java | 107 boolean password = false; 137 password = true; 226 if (password) { 250 password = false;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java | 437 public void queryFacilityLock(String facility, String password, int serviceClass, in queryFacilityLock() argument 442 public void queryFacilityLockForApp(String facility, String password, int serviceClass, in queryFacilityLockForApp() argument 447 public void setFacilityLock(String facility, boolean lockState, String password, in setFacilityLock() argument 452 public void setFacilityLockForApp(String facility, boolean lockState, String password, in setFacilityLockForApp() argument 582 String password, String authType, String protocol, Message result) { in setupDataCall() argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | KeyguardAccountView.java | 92 mPassword = (EditText) findViewById(R.id.password); in onFinishInflate() 264 final String password = mPassword.getText().toString(); in asyncCheckPassword() local 272 options.putString(AccountManager.KEY_PASSWORD, password); in asyncCheckPassword()
|