summaryrefslogtreecommitdiff
path: root/cmds/locksettings/src
Commit message (Collapse)AuthorAgeFilesLines
* Update LockSettingsCmd's showUsage method to defer to callingDave McCloskey2022-04-051-31/+1
| | | | | | | | | | | | | | "locksettings help". This removes the duplication and also fixes the current behavior showing the incorrect documentation for "locksettings verify" which does *not* log in the user. Test: adb shell locksettings Test: adb shell locksettings clear --old 0000 (to verify other commands still work) Change-Id: I429288a9e4280d41213e1c0fd8234d3666888abc
* Add get-disabled shell command to locksettingschaviw2017-08-221-1/+7
| | | | | | | | | Added shell command that outputs whether the lock screen is disabled. Test: Ran "adb shell locksettings get-disabled" while phone had lock screen and when it did not. Change-Id: I3532e41e2ee4770bd0801dd431fdbc884c2bafa4
* Add credential verification command to locksetting.Pavel Grafov2017-06-261-1/+7
| | | | | | | | | | | | This is useful when we need to unlock the user in a test. Currently credential verification is done for any command (e.g. "clear") when "--old" parameter is provided, so this CL doesn't add anything new really, just makes it official. Test: adb shell locksettings set-pin 1111 Test: adb shell locksettings verify --old 1111 Bug: 36608972 Change-Id: I3fdd6a309479739567622285945d17bb3acf972e
* Add ability to modify credential via shell commandJorim Jaggi2016-11-081-0/+65
Test: adb shell locksettings set-pattern 1234 Test: adb shell locksettings set-pin --old 1234 1234 Test: adb shell locksettings set-password --old 1234 1234 Test: adb shell locksettings clear --old 1234 Test: runtest frameworks-services -c com.android.server.LockSettingsShellCommandTest Change-Id: I8f541effc7eab0d7453cd9a9b46c280a6425e258