Searched refs:AudioProxy (Results 1 – 7 of 7) sorted by relevance
27 AudioProxy::AudioProxy() in AudioProxy() function in OHOS::Telephony::AudioProxy32 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 …]
31 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()
32 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()
197 … 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()
238 return DelayedSingleton<AudioProxy>::GetInstance()->GetToneDescriptorPath(tone); in GetToneDescriptorPath()240 return DelayedSingleton<AudioProxy>::GetInstance()->GetDefaultTonePath(); in GetToneDescriptorPath()
49 class AudioProxy : public std::enable_shared_from_this<AudioProxy> {50 DECLARE_DELAYED_SINGLETON(AudioProxy)
139 std::shared_ptr<AudioProxy> audioProxy = DelayedSingleton<AudioProxy>::GetInstance(); in AudioProxyFunc()