commit | bb90e848b95d9664b05803e797f56709d04fb169 | [log] [tgz] |
---|---|---|
author | The Android Open Source Project <initial-contribution@android.com> | Thu Aug 12 12:03:37 2021 -0700 |
committer | Xin Li <delphij@google.com> | Thu Aug 12 22:39:56 2021 +0000 |
tree | c2bde104499c8b2a074eedc41266898b532b9c20 | |
parent | 9faa583bf37d6e3fbf50890a86eab2b2185a32a9 [diff] | |
parent | b2239ad43fdc74e846414e61428be163c9a9804c [diff] |
Merge ab/7633965 Bug: 169893837 Merged-In: I07cf1825c23e2467852d5cd93436eb9dee23b408 Change-Id: Ie9a09f85d7b24b031cb6869429a33ff1eeb84687
diff --git a/audio/core/all-versions/vts/functional/AudioPrimaryHidlHalTest.h b/audio/core/all-versions/vts/functional/AudioPrimaryHidlHalTest.h index aa7fd8e..340903a 100644 --- a/audio/core/all-versions/vts/functional/AudioPrimaryHidlHalTest.h +++ b/audio/core/all-versions/vts/functional/AudioPrimaryHidlHalTest.h
@@ -1390,6 +1390,9 @@ config.channelMask.value(channelMask); auto ret = stream->setAudioProperties(config); EXPECT_TRUE(ret.isOk()); + if (ret == Result::NOT_SUPPORTED) { + GTEST_SKIP() << "setAudioProperties is not supported"; + } EXPECT_EQ(Result::OK, ret) << profile.format << "; " << sampleRate << "; " << channelMask; }