Allow for later failure of NoAttestKeyTest

On a device that does not support the a.hw.keystore.app_attest_key
feature, an attempt to build and use an ATTEST_KEY may fail at the
'use' stage rather than the 'build' stage, so extend the test to
allow for this.

Also, fix some import verification errors.

Bug: 242601830
Bug: 238568891
Test: atest CtsKeystoreTestCases:android.keystore.cts.NoAttestKeyTest CtsKeystoreTestCases: android.keystore.cts.AttestKeyTest
Change-Id: I9327e7d68a3892daa981e1a16b430b0999006e37
(cherry picked from commit 78a3bcf0e043c4162c537d1920880f7b94eeb1ae)
1 file changed