summaryrefslogtreecommitdiff
path: root/security/keymint/aidl/vts/functional/KeyMintTest.cpp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2021-08-23 18:14:50 -0700
committerMichael Butler <butlermichael@google.com>2021-08-24 18:53:08 +0000
commit77c1b62362d4f2d0a4d1e557b93ea8e36c7c0956 (patch)
tree820c3a6cc5ea220e2f9fdd952aa0f9bd8f3a764a /security/keymint/aidl/vts/functional/KeyMintTest.cpp
parentbb90e848b95d9664b05803e797f56709d04fb169 (diff)
Quick-fail NNAPI VTS test case if driver is dead
This CL adds a check during SetUp that an NNAPI driver service is still alive by pinging the driver service. If it is not alive, the test will fail during SetUp. Without this quick-fail, the test case would continue as if the driver were still active, which would result in multiple EXPECT_* and ASSERT_* statements failing instead of a single, clear failure message. Bug: 197035200 Test: mma Test: presubmit: VtsHalNeuralnetworks*TargetTest Change-Id: Ib1b75ed20f764055699590581d5ad4e5aff4baae Merged-In: Ib1b75ed20f764055699590581d5ad4e5aff4baae (cherry picked from commit 9c3c8642fba1a85f7cdcd1a30a6f82fdc0025b40)
Diffstat (limited to 'security/keymint/aidl/vts/functional/KeyMintTest.cpp')
0 files changed, 0 insertions, 0 deletions