Home
last modified time | relevance | path

Searched refs:AudioDeviceCallback (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/media/java/android/media/
DAudioDeviceCallback.java24 public abstract class AudioDeviceCallback { class
DAudioManager.java7831 private final ArrayMap<AudioDeviceCallback, NativeEventHandlerDelegate> mDeviceCallbacks =
7832 new ArrayMap<AudioDeviceCallback, NativeEventHandlerDelegate>();
8056 public void registerAudioDeviceCallback(AudioDeviceCallback callback, in registerAudioDeviceCallback()
8080 public void unregisterAudioDeviceCallback(AudioDeviceCallback callback) { in unregisterAudioDeviceCallback()
10268 NativeEventHandlerDelegate(final AudioDeviceCallback callback, in NativeEventHandlerDelegate()
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h82 status_t addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback);
83 status_t removeAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback);
/frameworks/base/core/jni/
Dandroid_media_DeviceCallback.h28 class JNIDeviceCallback: public AudioSystem::AudioDeviceCallback
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h754 class AudioDeviceCallback : public virtual RefBase
758 AudioDeviceCallback() {} in AudioDeviceCallback() function
759 virtual ~AudioDeviceCallback() {} in ~AudioDeviceCallback()
765 static status_t addAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
768 static status_t removeAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
826 status_t addAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
828 status_t removeAudioDeviceCallback(const wp<AudioDeviceCallback>& callback,
842 std::map<audio_io_handle_t, std::map<audio_port_handle_t, wp<AudioDeviceCallback>>>
DAudioRecord.h44 class AudioRecord : public AudioSystem::AudioDeviceCallback
517 const sp<AudioSystem::AudioDeviceCallback>& callback);
527 const sp<AudioSystem::AudioDeviceCallback>& callback);
809 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback;
DTrackPlayerBase.h57 class SelfAudioDeviceCallback : public AudioSystem::AudioDeviceCallback {
DAudioTrack.h51 class AudioTrack : public AudioSystem::AudioDeviceCallback
1074 status_t addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback);
1084 const sp<AudioSystem::AudioDeviceCallback>& callback);
1501 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback;
/frameworks/base/services/tests/media/mediarouterservicetest/src/com/android/server/media/
DAudioManagerRouteControllerTest.java42 import android.media.AudioDeviceCallback;
105 private AudioDeviceCallback mAudioDeviceCallback;
141 ArgumentCaptor<AudioDeviceCallback> deviceCallbackCaptor = in setUp()
142 ArgumentCaptor.forClass(AudioDeviceCallback.class); in setUp()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h84 virtual void setAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback);
190 wp<AudioSystem::AudioDeviceCallback> mAudioDeviceCallback;
DMediaPlayerService.h88 const sp<AudioSystem::AudioDeviceCallback>& deviceCallback);
186 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback;
408 class AudioDeviceUpdatedNotifier: public AudioSystem::AudioDeviceCallback
DMediaRecorderClient.h37 class AudioDeviceUpdatedNotifier: public AudioSystem::AudioDeviceCallback
DStagefrightRecorder.cpp1445 sp<AudioSystem::AudioDeviceCallback> callback = mAudioDeviceCallback.promote(); in createAudioSource()
2590 const sp<AudioSystem::AudioDeviceCallback>& callback) { in setAudioDeviceCallback()
2596 sp<AudioSystem::AudioDeviceCallback> callback = mAudioDeviceCallback.promote(); in enableAudioDeviceCallback()
DMediaPlayerService.cpp1816 const sp<AudioSystem::AudioDeviceCallback>& deviceCallback) in AudioOutput()
/frameworks/base/services/core/java/com/android/server/media/
DAudioManagerRouteController.java31 import android.media.AudioDeviceCallback;
96 @NonNull private final AudioDeviceCallback mAudioDeviceCallback = new AudioDeviceCallbackImpl();
569 private class AudioDeviceCallbackImpl extends AudioDeviceCallback {
/frameworks/av/media/libaudioclient/
DTrackPlayerBase.cpp56 AudioSystem::AudioDeviceCallback(), mSelf(self) { in SelfAudioDeviceCallback()
DAudioSystem.cpp651 std::vector<sp<AudioDeviceCallback>> callbacksToCall; in ioConfigChanged()
654 auto callbacks = std::map<audio_port_handle_t, wp<AudioDeviceCallback>>(); in ioConfigChanged()
748 sp<AudioDeviceCallback> spCbk = wpCbk.second.promote(); in ioConfigChanged()
835 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in addAudioDeviceCallback()
841 std::map<audio_port_handle_t, wp<AudioDeviceCallback>>()).first->second; in addAudioDeviceCallback()
850 const wp<AudioDeviceCallback>& callback __unused, audio_io_handle_t audioIo, in removeAudioDeviceCallback()
1797 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in addAudioDeviceCallback()
1814 const wp<AudioDeviceCallback>& callback, audio_io_handle_t audioIo, in removeAudioDeviceCallback()
DAudioRecord.cpp1569 status_t AudioRecord::addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback) in addAudioDeviceCallback()
1593 const sp<AudioSystem::AudioDeviceCallback>& callback) in removeAudioDeviceCallback()
1614 sp<AudioSystem::AudioDeviceCallback> callback; in onAudioDeviceUpdate()
DAudioTrack.cpp3604 status_t AudioTrack::addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback) in addAudioDeviceCallback()
3629 const sp<AudioSystem::AudioDeviceCallback>& callback) in removeAudioDeviceCallback()
3651 sp<AudioSystem::AudioDeviceCallback> callback; in onAudioDeviceUpdate()
/frameworks/av/media/libmedia/include/media/
DMediaRecorderBase.h73 virtual void setAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback) = 0;
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java487 public void registerAudioDeviceCallback(AudioDeviceCallback callback, Handler handler) { } in registerAudioDeviceCallback()
489 public void unregisterAudioDeviceCallback(AudioDeviceCallback callback) { } in unregisterAudioDeviceCallback()
/frameworks/av/media/libstagefright/
DAudioSource.cpp509 const sp<AudioSystem::AudioDeviceCallback>& callback) { in addAudioDeviceCallback()
517 const sp<AudioSystem::AudioDeviceCallback>& callback) { in removeAudioDeviceCallback()
/frameworks/av/media/libaudioclient/tests/
Daudio_test_utils.h64 class OnAudioDeviceUpdateNotifier : public AudioSystem::AudioDeviceCallback {
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp113 class TestAudioDeviceCallback : public AudioSystem::AudioDeviceCallback {
/frameworks/av/media/libaaudio/src/core/
DAudioStream.h53 class AudioStream : public android::AudioSystem::AudioDeviceCallback {

12