summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2020-10-27 08:36:11 +0000
committerEran Messeri <eranm@google.com>2020-11-12 12:47:11 +0000
commit1641c5c47e0a2a37d6b853e652a7661a2dd394ab (patch)
treeaf5ae0ab6bd35a0e68ce56aa40f71b585f61f328 /tools/aapt2/java/JavaClassGenerator.cpp
parent1a9bdc122f4e66863e32adc3c6b6f6b1dbb4fe37 (diff)
Implement setRequiredPasswordComplexity
Implement setRequiredPasswordComplexity and getRequiredPasswordComplexity, which enforce password requiremets according to one of four, platform-defined complexity levels. Start adjusting the platform to take the complexity into account: * isActivePasswordSufficient would return false if complexity is set but the current password does not meet the complexity criteria. * resetPasswordWithToken would not allow resetting the password to a value that does not meet the complexity criteria. Bug: 165573442 Test: atest FrameworksServicesTests:DevicePolicyManagerTest Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testResetPasswordWithToken Change-Id: I4e66af0b03c521de70bba3192751164736d01c62
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions