Home
last modified time | relevance | path

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

/base/telephony/call_manager/services/audio/src/
Daudio_proxy.cpp27 AudioProxy::AudioProxy() in AudioProxy() function in OHOS::Telephony::AudioProxy
32 AudioProxy::~AudioProxy() {} in ~AudioProxy()
34 bool AudioProxy::SetAudioScene(AudioStandard::AudioScene audioScene) in SetAudioScene()
39 int32_t AudioProxy::SetAudioDeviceChangeCallback() in SetAudioDeviceChangeCallback()
49 int32_t AudioProxy::UnsetDeviceChangeCallback() in UnsetDeviceChangeCallback()
58 bool AudioProxy::SetBluetoothDevActive() in SetBluetoothDevActive()
73 bool AudioProxy::SetSpeakerDevActive() in SetSpeakerDevActive()
87 bool AudioProxy::SetWiredHeadsetDevActive() in SetWiredHeadsetDevActive()
121 bool AudioProxy::SetEarpieceDevActive() in SetEarpieceDevActive()
139 int32_t AudioProxy::GetVolume(AudioStandard::AudioVolumeType audioVolumeType) in GetVolume()
[all …]
Dring.cpp31 Init(DelayedSingleton<AudioProxy>::GetInstance()->GetDefaultRingPath()); in Ring()
55 DelayedSingleton<AudioProxy>::GetInstance()->GetRingerMode()) { in Init()
59 DelayedSingleton<AudioProxy>::GetInstance()->GetRingerMode()) { in Init()
63 DelayedSingleton<AudioProxy>::GetInstance()->GetRingerMode()) { in Init()
113 if (DelayedSingleton<AudioProxy>::GetInstance()->StartVibrate() == TELEPHONY_SUCCESS) { in StartVibrate()
123 if (DelayedSingleton<AudioProxy>::GetInstance()->CancelVibrate() == TELEPHONY_SUCCESS) { in CancelVibrate()
133 return DelayedSingleton<AudioProxy>::GetInstance()->GetRingerMode() != in ShouldVibrate()
Daudio_control_manager.cpp32 DelayedSingleton<AudioProxy>::GetInstance()->UnsetDeviceChangeCallback(); in ~AudioControlManager()
33 DelayedSingleton<AudioProxy>::GetInstance()->UnsetAudioPreferDeviceChangeCallback(); in ~AudioControlManager()
40 DelayedSingleton<AudioProxy>::GetInstance()->SetAudioDeviceChangeCallback(); in Init()
41 DelayedSingleton<AudioProxy>::GetInstance()->SetAudioPreferDeviceChangeCallback(); in Init()
69 DelayedSingleton<AudioProxy>::GetInstance()->SetMicrophoneMute(false); // unmute microphone in IncomingCallActivated()
79 DelayedSingleton<AudioProxy>::GetInstance()->SetMicrophoneMute(false); // unmute microphone in IncomingCallHungUp()
158 DelayedSingleton<AudioProxy>::GetInstance()->SetMicrophoneMute(false); in HandlePriorState()
405 if (DelayedSingleton<AudioProxy>::GetInstance()->SetMicrophoneMute(isMute)) { in SetMute()
498 DelayedSingleton<AudioProxy>::GetInstance()->SetVolumeAudible(); in SetVolumeAudible()
Daudio_device_manager.cpp197 … if (DelayedSingleton<AudioProxy>::GetInstance()->GetPreferredOutputAudioDevice(device) != in ProcessEvent()
279 if (isSpeakerAvailable_ && DelayedSingleton<AudioProxy>::GetInstance()->SetSpeakerDevActive()) { in EnableSpeaker()
290 … if (isEarpieceAvailable_ && DelayedSingleton<AudioProxy>::GetInstance()->SetEarpieceDevActive()) { in EnableEarpiece()
301 …if (isWiredHeadsetConnected_ && DelayedSingleton<AudioProxy>::GetInstance()->SetWiredHeadsetDevAct… in EnableWiredHeadset()
370 info_.isMuted = DelayedSingleton<AudioProxy>::GetInstance()->IsMicrophoneMute(); in ReportAudioDeviceChange()
Dtone.cpp238 return DelayedSingleton<AudioProxy>::GetInstance()->GetToneDescriptorPath(tone); in GetToneDescriptorPath()
240 return DelayedSingleton<AudioProxy>::GetInstance()->GetDefaultTonePath(); in GetToneDescriptorPath()
/base/telephony/call_manager/services/audio/include/
Daudio_proxy.h49 class AudioProxy : public std::enable_shared_from_this<AudioProxy> {
50 DECLARE_DELAYED_SINGLETON(AudioProxy)
/base/telephony/call_manager/test/fuzztest/audiodevice_fuzzer/
Daudiodevice_fuzzer.cpp139 std::shared_ptr<AudioProxy> audioProxy = DelayedSingleton<AudioProxy>::GetInstance(); in AudioProxyFunc()