From d685aed02977dca3a370ad016c79aa319a93dd37 Mon Sep 17 00:00:00 2001 From: Shunkai Yao Date: Tue, 30 Jan 2024 18:27:38 +0000 Subject: [PATCH] vts: update SetCommonParameterAndReopen to DataPathTest Bug: 323010068 Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit Change-Id: I05519481b69bb752f515bd54cb1eab0996ad5433 --- audio/aidl/vts/VtsHalAudioEffectTargetTest.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/audio/aidl/vts/VtsHalAudioEffectTargetTest.cpp b/audio/aidl/vts/VtsHalAudioEffectTargetTest.cpp index 1e6a49f80d..547982523e 100644 --- a/audio/aidl/vts/VtsHalAudioEffectTargetTest.cpp +++ b/audio/aidl/vts/VtsHalAudioEffectTargetTest.cpp @@ -608,8 +608,11 @@ TEST_P(AudioEffectTest, SetAndGetParameterVolume) { ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect)); } -// Verify Parameters kept after reset. -TEST_P(AudioEffectTest, SetCommonParameterAndReopen) { +/** + * Verify DataMqUpdateEventFlag after common parameter setting. + * verify reopen sequence. + */ +TEST_P(AudioEffectDataPathTest, SetCommonParameterAndReopen) { ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); Parameter::Common common = EffectHelper::createParamCommon(