Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/tests/
Daudiorouting_tests.cpp63 EXPECT_EQ(OK, ap->getAudioTrackHandle()->addAudioDeviceCallback(cb)); in TEST()
101 EXPECT_EQ(OK, capture->getAudioRecordHandle()->addAudioDeviceCallback(cbCapture)); in TEST()
112 EXPECT_EQ(OK, playback->getAudioTrackHandle()->addAudioDeviceCallback(cbPlayback)); in TEST()
195 EXPECT_EQ(OK, playback->getAudioTrackHandle()->addAudioDeviceCallback(cbPlayback)); in TEST_F()
203 EXPECT_EQ(OK, captureA->getAudioRecordHandle()->addAudioDeviceCallback(cbCaptureA)); in TEST_F()
214 EXPECT_EQ(OK, captureB->getAudioRecordHandle()->addAudioDeviceCallback(cbCaptureB)); in TEST_F()
Daudiotrack_tests.cpp151 EXPECT_EQ(BAD_VALUE, ap->getAudioTrackHandle()->addAudioDeviceCallback(nullptr)); in TEST()
154 EXPECT_EQ(OK, ap->getAudioTrackHandle()->addAudioDeviceCallback(cbOld)); in TEST()
155 EXPECT_EQ(INVALID_OPERATION, ap->getAudioTrackHandle()->addAudioDeviceCallback(cbOld)); in TEST()
156 EXPECT_EQ(OK, ap->getAudioTrackHandle()->addAudioDeviceCallback(cb)); in TEST()
Daudiorecord_tests.cpp115 EXPECT_EQ(BAD_VALUE, mAC->getAudioRecordHandle()->addAudioDeviceCallback(nullptr)); in TEST_F()
118 EXPECT_EQ(OK, mAC->getAudioRecordHandle()->addAudioDeviceCallback(cbOld)); in TEST_F()
119 EXPECT_EQ(INVALID_OPERATION, mAC->getAudioRecordHandle()->addAudioDeviceCallback(cbOld)); in TEST_F()
120 EXPECT_EQ(OK, mAC->getAudioRecordHandle()->addAudioDeviceCallback(cb)); in TEST_F()
Daudioeffect_analyser.cpp108 CHECK_OK(capture->getAudioRecordHandle()->addAudioDeviceCallback(cbCapture), in capture()
145 CHECK_OK(ap->getAudioTrackHandle()->addAudioDeviceCallback(cbPlayback), in play()
Daudiosystem_tests.cpp91 EXPECT_EQ(OK, mPlayback->getAudioTrackHandle()->addAudioDeviceCallback(mCbPlayback)); in createPlaybackSession()
103 EXPECT_EQ(OK, mCapture->getAudioRecordHandle()->addAudioDeviceCallback(mCbRecord)); in createRecordSession()
/frameworks/av/media/libaudioclient/
DTrackPlayerBase.cpp45 mAudioTrack->addAudioDeviceCallback(mSelfAudioDeviceCallback); in init()
DAudioRecord.cpp966 AudioSystem::addAudioDeviceCallback(this, output.inputId, output.portId); in createRecord_l()
1569 status_t AudioRecord::addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback) in addAudioDeviceCallback() function in android::AudioRecord
1586 status = AudioSystem::addAudioDeviceCallback(this, mInput, mPortId); in addAudioDeviceCallback()
DAudioTrack.cpp1971 AudioSystem::addAudioDeviceCallback(this, output.outputId, output.portId); in createTrack_l()
3604 status_t AudioTrack::addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback) in addAudioDeviceCallback() function in android::AudioTrack
3622 status = AudioSystem::addAudioDeviceCallback(this, mOutput, mPortId); in addAudioDeviceCallback()
DAudioSystem.cpp834 status_t AudioSystem::AudioFlingerClient::addAudioDeviceCallback( in addAudioDeviceCallback() function in android::AudioSystem::AudioFlingerClient
1796 status_t AudioSystem::addAudioDeviceCallback( in addAudioDeviceCallback() function in android::AudioSystem
1803 status_t status = afc->addAudioDeviceCallback(callback, audioIo, portId); in addAudioDeviceCallback()
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h82 status_t addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback);
/frameworks/av/media/libstagefright/
DAudioSource.cpp508 status_t AudioSource::addAudioDeviceCallback( in addAudioDeviceCallback() function in android::AudioSource
511 return mRecord->addAudioDeviceCallback(callback); in addAudioDeviceCallback()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h765 static status_t addAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
826 status_t addAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
DAudioRecord.h516 status_t addAudioDeviceCallback(
DAudioTrack.h1074 status_t addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback);
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp286 mAudioRecord->addAudioDeviceCallback(this); in open()
DAudioStreamTrack.cpp244 mAudioTrack->addAudioDeviceCallback(this); in open()
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp614 lpRecorder->addAudioDeviceCallback(pJniStorage->getDeviceCallback()); in android_media_AudioRecord_enableDeviceCallback()
Dandroid_media_AudioTrack.cpp1220 lpTrack->addAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_enableDeviceCallback()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1447 audioSource->addAudioDeviceCallback(callback); in createAudioSource()
2599 return mAudioSourceNode->addAudioDeviceCallback(callback); in enableAudioDeviceCallback()
DMediaPlayerService.cpp2357 mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); in updateTrack()
2619 status = mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); in enableAudioDeviceCallback()