diff options
author | kholoud mohamed <kholoudm@google.com> | 2021-03-17 20:27:19 +0000 |
---|---|---|
committer | kholoud mohamed <kholoudm@google.com> | 2021-04-06 15:15:36 +0100 |
commit | 60742372cbc9adf7b9e46afd689764f9fe53c573 (patch) | |
tree | 7128e1613ce52d0b8c642c48f8679248e242eeda /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 08d26fa3a05563c20ee5e625723818d55dcebeb7 (diff) |
Add set/verify lock credentials testAPIs in KeygyardManager
Added the following testAPIs that are guarded by
SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS and
ACCESS_KEYGUARD_SECURE_STORAGE permissions:
* setLock
* checkLockCredentials
Also refactored methods out of LockPatternUtils
to LockSettingsService to allow clearing the caller identity.
Test: atest com.android.server.locksettings
Test: atest LockscreenCredentialTest
Test: atest PasswordComplexityTest after replacing usage of adb
commands with the new testAPIs
Bug: 182260585
Change-Id: Idc0432773c92ada9deb3e370526cb2ce219595dc
Change-Id: I28cbe6093a56a231022c61a6821accf01d28cda6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions