/frameworks/av/media/libaudioclient/tests/ |
D | audio_test_utils.h | 54 status_t getPatchForOutputMix(audio_io_handle_t audioIo, audio_patch& patch); 55 status_t getPatchForInputMix(audio_io_handle_t audioIo, audio_patch& patch); 58 bool checkPatchPlayback(audio_io_handle_t audioIo, audio_port_handle_t deviceId); 59 bool checkPatchCapture(audio_io_handle_t audioIo, audio_port_handle_t deviceId); 71 void onAudioDeviceUpdate(audio_io_handle_t audioIo, audio_port_handle_t deviceId);
|
D | audio_test_utils.cpp | 29 void OnAudioDeviceUpdateNotifier::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument 32 ALOGI("%s: audioIo=%d deviceId=%d", __func__, audioIo, deviceId); in onAudioDeviceUpdate() 33 mAudioIo = audioIo; in onAudioDeviceUpdate() 650 status_t getPatchForOutputMix(audio_io_handle_t audioIo, audio_patch& patch) { in getPatchForOutputMix() argument 658 patches[i].sources[j].ext.mix.handle == audioIo) { in getPatchForOutputMix() 667 status_t getPatchForInputMix(audio_io_handle_t audioIo, audio_patch& patch) { in getPatchForInputMix() argument 675 patches[i].sinks[j].ext.mix.handle == audioIo) { in getPatchForInputMix() 702 bool checkPatchPlayback(audio_io_handle_t audioIo, audio_port_handle_t deviceId) { in checkPatchPlayback() argument 704 if (getPatchForOutputMix(audioIo, patch) == OK) { in checkPatchPlayback() 710 bool checkPatchCapture(audio_io_handle_t audioIo, audio_port_handle_t deviceId) { in checkPatchCapture() argument [all …]
|
/frameworks/base/core/jni/ |
D | android_media_DeviceCallback.cpp | 63 void JNIDeviceCallback::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument 71 ALOGV("%s audioIo %d deviceId %d", __FUNCTION__, audioIo, deviceId); in onAudioDeviceUpdate()
|
D | android_media_DeviceCallback.h | 34 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioSystem.h | 761 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo, 766 audio_io_handle_t audioIo, 769 audio_io_handle_t audioIo, 788 static audio_port_handle_t getDeviceIdForIo(audio_io_handle_t audioIo); 827 audio_io_handle_t audioIo, audio_port_handle_t portId) EXCLUDES(mMutex); 829 audio_io_handle_t audioIo, audio_port_handle_t portId) EXCLUDES(mMutex); 836 audio_port_handle_t getDeviceIdForIo(audio_io_handle_t audioIo) EXCLUDES(mMutex);
|
D | TrackPlayerBase.h | 60 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
|
D | AudioRecord.h | 530 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
|
D | AudioTrack.h | 1087 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamLegacy.h | 97 void onAudioDeviceUpdate(audio_io_handle_t audioIo,
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaRecorderClient.h | 43 audio_io_handle_t audioIo,
|
D | MediaRecorderClient.cpp | 411 audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument 415 listener->notify(MEDIA_RECORDER_AUDIO_ROUTING_CHANGED, audioIo, deviceId); in onAudioDeviceUpdate()
|
D | MediaPlayerService.h | 416 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
|
D | MediaPlayerService.cpp | 858 audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument 862 listener->sendEvent(MEDIA_AUDIO_ROUTING_CHANGED, audioIo, deviceId); in onAudioDeviceUpdate()
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 835 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in addAudioDeviceCallback() argument 837 ALOGV("%s audioIo %d portId %d", __func__, audioIo, portId); in addAudioDeviceCallback() 840 audioIo, in addAudioDeviceCallback() 850 const wp<AudioDeviceCallback>& callback __unused, audio_io_handle_t audioIo, in removeAudioDeviceCallback() argument 852 ALOGV("%s audioIo %d portId %d", __func__, audioIo, portId); in removeAudioDeviceCallback() 854 auto it = mAudioDeviceCallbacks.find(audioIo); in removeAudioDeviceCallback() 862 mAudioDeviceCallbacks.erase(audioIo); in removeAudioDeviceCallback() 1797 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in addAudioDeviceCallback() argument 1803 status_t status = afc->addAudioDeviceCallback(callback, audioIo, portId); in addAudioDeviceCallback() 1814 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in removeAudioDeviceCallback() argument [all …]
|
D | AudioRecord.cpp | 1611 void AudioRecord::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument 1617 if (audioIo != mInput) { in onAudioDeviceUpdate()
|
D | AudioTrack.cpp | 3648 void AudioTrack::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument 3654 if (audioIo != mOutput) { in onAudioDeviceUpdate()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.h | 409 void onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate() argument
|