Searched refs:mAP (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/libaudioclient/tests/ |
D | audiotrack_tests.cpp | 195 sp<AudioPlayback> mAP; member in AudioTrackCreateTest 198 mAP = sp<AudioPlayback>::make(mSampleRate, mFormat, mChannelMask, mFlags, in SetUp() 200 ASSERT_NE(nullptr, mAP); in SetUp() 201 ASSERT_EQ(OK, mAP->loadResource("/data/local/tmp/bbb_2ch_24kHz_s16le.raw")) in SetUp() 203 ASSERT_EQ(OK, mAP->create()) << "track creation failed"; in SetUp() 207 if (mAP) mAP->stop(); in TearDown() 212 EXPECT_EQ(mFormat, mAP->getAudioTrackHandle()->format()); in TEST_P() 214 mAP->getAudioTrackHandle()->channelCount()); in TEST_P() 215 if (mSampleRate != 0) EXPECT_EQ(mSampleRate, mAP->getAudioTrackHandle()->getSampleRate()); in TEST_P() 217 EXPECT_EQ(mSessionId, mAP->getAudioTrackHandle()->getSessionId()); in TEST_P() [all …]
|