Audio VTS: Do not constrain implementation frameCount am: 069bc45044

am: 5596e985d4

Change-Id: Idf051c458d74057425ec3c13227fa31190535e18
This commit is contained in:
Kevin Rocard 2018-10-03 16:23:21 -07:00 committed by android-build-merger
commit c2e7ace98d
2 changed files with 4 additions and 4 deletions

View file

@ -661,8 +661,8 @@ static R extract(Return<R> ret) {
code; \
}
TEST_IO_STREAM(GetFrameCount, "Check that the stream frame count == the one it was opened with",
ASSERT_EQ(audioConfig.frameCount, extract(stream->getFrameCount())))
TEST_IO_STREAM(GetFrameCount, "Check that getting stream frame count does not crash the HAL.",
ASSERT_TRUE(stream->getFrameCount().isOk()))
TEST_IO_STREAM(GetSampleRate, "Check that the stream sample rate == the one it was opened with",
ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))

View file

@ -823,8 +823,8 @@ static R extract(Return<R> ret) {
code; \
}
TEST_IO_STREAM(GetFrameCount, "Check that the stream frame count == the one it was opened with",
ASSERT_EQ(audioConfig.frameCount, extract(stream->getFrameCount())))
TEST_IO_STREAM(GetFrameCount, "Check that getting stream frame count does not crash the HAL.",
ASSERT_TRUE(stream->getFrameCount().isOk()))
TEST_IO_STREAM(GetSampleRate, "Check that the stream sample rate == the one it was opened with",
ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))