Home
last modified time | relevance | path

Searched refs:mAudioPlaybackHw (Results 1 – 1 of 1) sorted by relevance

/cts/suite/audio_quality/test/
DAudioRecordPlayTestCommon.h38 android::sp<AudioHardware> mAudioPlaybackHw; variable
46 mAudioPlaybackHw = createPlaybackHw(); in SetUp()
47 ASSERT_TRUE(mAudioPlaybackHw.get() != NULL); in SetUp()
60 mAudioPlaybackHw->stopPlaybackOrRecord(); in TearDown()
62 mAudioPlaybackHw.clear(); in TearDown()
66 ASSERT_TRUE(mAudioPlaybackHw->prepare(AudioHardware::ESampleRate_44100, DEFAULT_VOLUME)); in PlayAndRecord()
70 ASSERT_TRUE(mAudioPlaybackHw->startPlaybackOrRecord(mBufferPlayback, in PlayAndRecord()
74 ASSERT_TRUE(mAudioPlaybackHw->waitForCompletion()); in PlayAndRecord()
75 mAudioPlaybackHw->stopPlaybackOrRecord(); in PlayAndRecord()