commit | d0ac74be7ef8670714869d8384e55a189d5a7e81 | [log] [tgz] |
---|---|---|
author | Billy Huang <[email protected]> | Tue Jul 09 19:34:19 2024 +0000 |
committer | Android Build Cherrypicker Worker <[email protected]> | Tue Jul 09 19:34:19 2024 +0000 |
tree | 21fff31c539f8b89e3ba03ebfa62e5e3a434ee4e | |
parent | 0a872fc9843c6b31944140f5a99f2612ed903616 [diff] |
Add unit test coverage for unlock attempts in TrustTests The downstream effects of an unlock attempt using a pin/password were not previously tested within the TrustTests. Add these tests in preparation for further changes to pin/password unlock reporting to TrustManagerService. Add options within ScreenLockRule and TrustAgentRule to allow for test cases to start with strong auth being required, and the device locked. BUG: b/323086607 Test: `atest TrustTests` Flag: TEST_ONLY (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:45ca5feb1120c6300cec11352eb9f21d37697eca) Merged-In: I1c8eaacc9c20284ef2783bcd65c14f68b0b444e8 Change-Id: I1c8eaacc9c20284ef2783bcd65c14f68b0b444e8