resolve merge conflicts of b92f1d2e1b to oreo-mr1-vts-dev

am: c0243f2ff8

Change-Id: Ic39fb2e88c6d0d1c1185dae1fab6d9c42a624187
This commit is contained in:
Pawin Vongmasa
2018-07-13 01:40:58 -07:00
committed by android-build-merger

View File

@@ -225,6 +225,15 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase {
framesReceived = 0; framesReceived = 0;
timestampUs = 0; timestampUs = 0;
timestampDevTest = false; 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"; if (disableTest) std::cout << "[ WARN ] Test Disabled \n";
} }
@@ -321,6 +330,7 @@ class AudioDecHidlTest : public ::testing::VtsHalHidlTargetTestBase {
OMX_AUDIO_CODINGTYPE eEncoding; OMX_AUDIO_CODINGTYPE eEncoding;
bool disableTest; bool disableTest;
bool eosFlag; bool eosFlag;
bool isSecure;
uint32_t framesReceived; uint32_t framesReceived;
uint64_t timestampUs; uint64_t timestampUs;
::android::List<uint64_t> timestampUslist; ::android::List<uint64_t> timestampUslist;