diff options
| author | 2022-03-15 02:07:38 +0000 | |
|---|---|---|
| committer | 2022-03-16 22:31:06 +0000 | |
| commit | 1ce742ae458c57b16efc3b1b8407cb6ab9cd5e05 (patch) | |
| tree | b558dfb9c3b56e6dc7200cb49c20840ad447f913 /libs/androidfw/StringPool.cpp | |
| parent | 0ede4b88ff45a4630bf30a02ff9c302e73e01184 (diff) | |
Adding tests for temporary and renewable trust
Adding unit tests for granting and revoking temporary and renewable
trust. These unit tests should cover basic cases, and that the phone
should be locked/unlocked when expected. Discovered a bug: revoking
trust now also downgrades from trustable and will no longer listen for a
trustable downgrade. Also modified assertLocked and assertUnlocked in an
attempt to reduce flakiness.
Test: atest TrustTests --iterations
Bug: 221155933
Change-Id: I4e0e213427111dbe25a76ff67b6f36e57e295793
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions