[automerger skipped] Add unit test coverage for unlock attempts in TrustTests am: d0ac74be7e -s ours am: 0f364b30a8 -s ours

am skip reason: Merged-In I1c8eaacc9c20284ef2783bcd65c14f68b0b444e8 with SHA-1 45ca5feb11 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3163341

Change-Id: Idf0d7c3c555aefa1298c3ce622073526fb286839
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>