Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da34b059 authored by Pawin Vongmasa's avatar Pawin Vongmasa Committed by android-build-merger
Browse files

Merge "Skip secure decoders in C2 VTS" into qt-dev am: ace31cd0

am: fc74a7ed

Change-Id: I1e55c0594cfb6fd4008184b5c366e5bc7eb5f74c
parents 61204e54 fc74a7ed
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -124,6 +124,13 @@ class Codec2VideoDecHidlTest : public ::testing::VtsHalHidlTargetTestBase {
        mTimestampUs = 0u;
        mTimestampDevTest = false;
        if (mCompName == unknown_comp) mDisableTest = true;

        C2SecureModeTuning secureModeTuning{};
        mComponent->query({ &secureModeTuning }, {}, C2_MAY_BLOCK, nullptr);
        if (secureModeTuning.value == C2Config::SM_READ_PROTECTED) {
            mDisableTest = true;
        }

        if (mDisableTest) std::cout << "[   WARN   ] Test Disabled \n";
    }