bb925c46e5f9b9574b43d30112820fd997cac4dd
[ Merge of http://go/wvgerrit/178217 ] [ Cherry-pick of http://ag/24029327 ] For devices with a large number of usage entries, when restoring the usage table a capacity check is performed. This checks that a new entry can be created. This test was originally added as some devices might enter a "stuck" state the table cannot be initialized. To perform this test, a temporary crypto session is created and an entry is created for that session. After successfully creating that entry, the entry is deleted. However, because the session was left open, the entry could not be deleted. This change closes the capacity-check-session before deleting the entry, as well as includes additional logs for helping future debugs. Bug: 286176947 Test: usage_table_header_unittest Test: Android GTS R11 on oriole Change-Id: I6923de00175f70b2392bfe581ca5f9ae60c4af25 (cherry picked from commit 8b4bbeeb6f440c48a3250b961f7a7dab2472d7e9)
Description
No description provided