Loading media/omx/1.0/vts/functional/audio/VtsHalMediaOmxV1_0TargetAudioDecTest.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,15 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase { framesReceived = 0; timestampUs = 0; timestampDevTest = false; 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"; } Loading Loading @@ -247,6 +256,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 +10 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,15 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase { framesReceived = 0; timestampUs = 0; timestampDevTest = false; 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"; } Loading Loading @@ -247,6 +256,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