Loading media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp +11 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,16 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase { framesReceived = 0; timestampUs = 0; timestampDevTest = false; if (disableTest) std::cerr << "[ ] Warning ! Test Disabled\n"; isSecure = false; size_t suffixLen = strlen(".secure"); if (strlen(gEnv->getComponent().c_str()) >= suffixLen) { isSecure = !strcmp(gEnv->getComponent().c_str() + strlen(gEnv->getComponent().c_str()) - suffixLen, ".secure"); } if (isSecure) disableTest = true; if (disableTest) std::cout << "[ WARN ] Test Disabled \n"; } virtual void TearDown() override { Loading Loading @@ -311,6 +320,7 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase { OMX_AUDIO_CODINGTYPE eEncoding; bool disableTest; bool eosFlag; bool isSecure; uint32_t framesReceived; uint64_t timestampUs; ::android::List<uint64_t> timestampUslist; Loading Loading
media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp +11 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,16 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase { framesReceived = 0; timestampUs = 0; timestampDevTest = false; if (disableTest) std::cerr << "[ ] Warning ! Test Disabled\n"; isSecure = false; size_t suffixLen = strlen(".secure"); if (strlen(gEnv->getComponent().c_str()) >= suffixLen) { isSecure = !strcmp(gEnv->getComponent().c_str() + strlen(gEnv->getComponent().c_str()) - suffixLen, ".secure"); } if (isSecure) disableTest = true; if (disableTest) std::cout << "[ WARN ] Test Disabled \n"; } virtual void TearDown() override { Loading Loading @@ -311,6 +320,7 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase { OMX_AUDIO_CODINGTYPE eEncoding; bool disableTest; bool eosFlag; bool isSecure; uint32_t framesReceived; uint64_t timestampUs; ::android::List<uint64_t> timestampUslist; Loading