commit | 32a7bece10eb1f47cb4473a86df12cabd7910d46 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Tue May 03 18:48:57 2022 +0100 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu May 05 05:34:59 2022 +0000 |
tree | cb9a18f7324115e4b948037f3a4f83dcbc196fc4 | |
parent | 1dd0d22f3a0b76a12409853a3d6689f8da813a7a [diff] [blame] |
KeyMint VTS: skip device ID checks on GSI Bug: 229356841 Test: VtsAidlKeyMintTargetTest Change-Id: I3182bad5584c35df7b1eeb476dabb39d19fdf12c (cherry picked from commit 555ba00c0f2adb6bed6f507a78e43885e9f46048) Merged-In: I3182bad5584c35df7b1eeb476dabb39d19fdf12c
diff --git a/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.h b/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.h index 7279c95..2634ab7 100644 --- a/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.h +++ b/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.h
@@ -354,6 +354,9 @@ } } +// Indicate whether the test is running on a GSI image. +bool is_gsi_image(); + vector<uint8_t> build_serial_blob(const uint64_t serial_int); void verify_subject(const X509* cert, const string& subject, bool self_signed); void verify_serial(X509* cert, const uint64_t expected_serial);