Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp183 unique_ptr<MediaRecorderBase> mStfRecorder = nullptr; member in MediaRecorderClientFuzzer
192 mStfRecorder->getMaxAmplitude(&max); in getConfig()
195 mStfRecorder->getRoutedDeviceId(&deviceId); in getConfig()
198 mStfRecorder->getActiveMicrophones(&activeMicrophones); in getConfig()
201 mStfRecorder->getPortId(&portId); in getConfig()
204 mStfRecorder->getRtpDataUsage(&bytes); in getConfig()
207 mStfRecorder->getMetrics(&parcel); in getConfig()
209 sp<IGraphicBufferProducer> buffer = mStfRecorder->querySurfaceMediaSource(); in getConfig()
230 mStfRecorder->setPreviewSurface(mSurface->getIGraphicBufferProducer()); in setConfig()
235 callMediaAPI([this]() { mStfRecorder->setInputDevice(mFdp.ConsumeIntegral<int32_t>()); }, in setConfig()
[all …]
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp51 StagefrightRecorderTest() : mStfRecorder(nullptr), mOutputAudioFp(nullptr) { in StagefrightRecorderTest()
57 if (mStfRecorder) free(mStfRecorder); in ~StagefrightRecorderTest()
66 mStfRecorder = new StagefrightRecorder(attributionSource); in SetUp()
67 ASSERT_NE(mStfRecorder, nullptr) << "Failed to create the instance of recorder"; in SetUp()
77 status_t status = mStfRecorder->setOutputFile(fd); in SetUp()
100 MediaRecorderBase *mStfRecorder; member in StagefrightRecorderTest
109 status_t status = mStfRecorder->setAudioSource(audioSource); in setAudioRecorderFormat()
112 status = mStfRecorder->setOutputFormat(outputFormat); in setAudioRecorderFormat()
115 status = mStfRecorder->setAudioEncoder(encoder); in setAudioRecorderFormat()
120 status_t status = mStfRecorder->init(); in recordMedia()
[all …]