Skip to content
Commit 60742372 authored by kholoud mohamed's avatar kholoud mohamed
Browse files

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
parent 08d26fa3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment