summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2019-08-06 14:37:06 +0100
committerPavel Grafov <pgrafov@google.com>2019-10-16 16:10:36 +0100
commit6f334843a84650810ce78129b3c9a57aaec64f87 (patch)
tree07b7e8c660136854ddea039d1ae1383b18043bf9 /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java
parent72a1def2ed4b6472d90a9a6c47a50135e8b64cf9 (diff)
Password constraints cleanup.
1. PasswordMetrics now doesn't have 'quality', it is only used inside DPMS. This allows easier and unambiguous comparisons. 2. Password complexity code reworked. Future work: factor validation code into a android.app.PasswordPolicy class to make PasswordMetrics just represent metrics. It is still used in two ways: specifying an actual metrics and specifying a minimum metrics for comparison, this will be addressed later. Test: atest com.android.cts.devicepolicy.PasswordComplexityTest Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testResetPasswordWithToken Test: atest FrameworksCoreTests:PasswordMetricsTest Test: atest FrameworksCoreTests:PasswordPolicyTest Test: atest com.android.cts.devicepolicy.ManagedProfilePasswordTest Bug: 138375712 Change-Id: I8ad55f373712ac1dc8343f8cbae23ebb1efe78b9
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java')
0 files changed, 0 insertions, 0 deletions