summaryrefslogtreecommitdiff
path: root/security/keymint/aidl/vts/functional/KeyMintTest.cpp
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2021-07-14 16:50:14 +0100
committerDavid Drysdale <drysdale@google.com>2021-08-02 14:33:01 +0100
commit13cddcb2984dc2d03f4e59f84e55e8836f8045a9 (patch)
tree7232d6a4c6a3e92e86af22e006f175a3893e2c4d /security/keymint/aidl/vts/functional/KeyMintTest.cpp
parent555e9872f568d35bd42ec82d1d42b4cf84ca4e09 (diff)
KeyMaster 4.0 VTS: fix GSI detection
Commit f18a8328a1ed ("keymaster: Relax testing under GSI") disabled some tag checks for devices running with GSI, but detected GSI by looking for an absence of the ro.boot.vbmeta.device_state property. This property is currently present on GSI, so instead detect GSI using the existing is_gsi() helper, which checks ro.product.system.name against "mainline". Bug: 192513934 Test: atest VtsHalKeymasterV4_0TargetTest:PerInstance/AttestationTest Merged-In: If3c7d84a9e091b9b0842e4d8919453600bc239ea Change-Id: If3c7d84a9e091b9b0842e4d8919453600bc239ea
Diffstat (limited to 'security/keymint/aidl/vts/functional/KeyMintTest.cpp')
0 files changed, 0 insertions, 0 deletions