ce8db9911494225fcd99711d7df85a130de5a6ce |
|
14-Dec-2017 |
Jeff Sharkey <jsharkey@android.com> |
Add more IntDef prefixes for auto-documenting. Test: builds, boots Bug: 70177949 Exempt-From-Owner-Approval: annotation-only changes Change-Id: I76dde6054e06f52240bd4b1a0f196dcb74623608
/frameworks/base/core/java/android/app/admin/PasswordMetrics.java
|
7cf4509c31f3dc1c32f89c26867a50c4ed0d5618 |
|
28-Aug-2017 |
Rubin Xu <rubinxu@google.com> |
Fix resetPasswordWithToken before user unlock 1. Fix system server crash when resetPasswordWithToken is called before use unlock, due to DPMS enforces user is unlocked when calculating password sufficiency. 2. Propogate new password metric from LockSettingsService to DPMS after a password reset with token, and fix a bug where stale quality was used. Bug: 64923343 Bug: 64928518 Bug: 65286643 Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.ManagedProfileTest#testResetPasswordWithTokenBeforeUnlock Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testResetPasswordWithToken Test: runtest frameworks-services -p com.android.server.locksettings Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminHostSideTestApi24#testRunDeviceOwnerPasswordTest Test: runtest frameworks-core -c android.app.admin.PasswordMetricsTest Test: runtest frameworks-services -c com.android.server.devicepolicy.DevicePolicyManagerTest Change-Id: Ibb3736547b3b36da4a8a67af711e08a38427aa56
/frameworks/base/core/java/android/app/admin/PasswordMetrics.java
|
5f9e6f37b276fac7be6db982c9cb7fbd93150c4a |
|
02-Aug-2016 |
Andrew Scull <ascull@google.com> |
Refactor password metric computation. This unifies previously duplicated code. Bug: 30558331 Test: runtest -x frameworks/base/core/tests/coretests/src/android/app/admin/PasswordMetricsTest.java Change-Id: I37678b83a03d4f05b9894d4b00e9a741d1a8df27
/frameworks/base/core/java/android/app/admin/PasswordMetrics.java
|