Home
last modified time | relevance | path

Searched refs:AudioDeviceManager (Results 1 - 20 of 20) sorted by relevance

/base/telephony/call_manager/services/audio/src/
H A Daudio_device_manager.cpp40 bool AudioDeviceManager::isBtScoDevEnable_ = false;
41 bool AudioDeviceManager::isDCallDevEnable_ = false;
42 bool AudioDeviceManager::isSpeakerAvailable_ = true; // default available
43 bool AudioDeviceManager::isEarpieceAvailable_ = true;
44 bool AudioDeviceManager::isUpdateEarpieceDevice_ = false;
45 bool AudioDeviceManager::isWiredHeadsetConnected_ = false;
46 bool AudioDeviceManager::isBtScoConnected_ = false;
47 bool AudioDeviceManager::isDCallDevConnected_ = false;
49 AudioDeviceManager::AudioDeviceManager() in AudioDeviceManager() function in OHOS::Telephony::AudioDeviceManager
[all...]
H A Daudio_proxy.cpp266 DelayedSingleton<AudioDeviceManager>::GetInstance()->AddAudioDeviceList( in OnDeviceChange()
271 DelayedSingleton<AudioDeviceManager>::GetInstance()->RemoveAudioDeviceList( in OnDeviceChange()
273 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent( in OnDeviceChange()
401 DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device); in OnPreferredOutputDeviceUpdated()
405 DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated()
409 DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated()
415 DelayedSingleton<AudioDeviceManager>::GetInstance()->AddAudioDeviceList( in OnPreferredOutputDeviceUpdated()
417 DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated()
458 DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice( in IsDistributedDeviceSelected()
H A Daudio_scene_processor.cpp174 if (!DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent(AudioEvent::AUDIO_ACTIVATED)) { in SwitchDialing()
213 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent(AudioEvent::AUDIO_RINGING); in SwitchIncoming()
254 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent(AudioEvent::AUDIO_DEACTIVATED); in SwitchInactive()
H A Daudio_control_manager.cpp55 DelayedSingleton<AudioDeviceManager>::GetInstance()->Init(); in Init()
107 DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in HandleCallStateUpdatedForVoip()
499 if (DelayedSingleton<AudioDeviceManager>::GetInstance()->SwitchDevice(audioDeviceType)) { in SwitchAudioDevice()
666 if (AudioDeviceManager::IsDistributedCallConnected()) { in GetInitAudioDeviceType()
669 if (AudioDeviceManager::IsBtActived()) { in GetInitAudioDeviceType()
672 if (AudioDeviceManager::IsWiredHeadsetConnected()) { in GetInitAudioDeviceType()
681 if (AudioDeviceManager::IsEarpieceAvailable()) { in GetInitAudioDeviceType()
707 DelayedSingleton<AudioDeviceManager>::GetInstance()->ReportAudioDeviceInfo(); in SetMute()
1041 return AudioDeviceManager::IsBtActived() || AudioDeviceManager in IsBtOrWireHeadPlugin()
[all...]
/base/telephony/call_manager/services/audio/src/audio_state/
H A Dspeaker_device_state.cpp31 result = DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent( in ProcessEvent()
36 result = DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent( in ProcessEvent()
42 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent(AudioEvent::INIT_AUDIO_DEVICE); in ProcessEvent()
H A Dearpiece_device_state.cpp30 result = DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent( in ProcessEvent()
34 result = DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent( in ProcessEvent()
H A Dwired_headset_device_state.cpp32 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent(AudioEvent::INIT_AUDIO_DEVICE); in ProcessEvent()
36 result = DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent( in ProcessEvent()
H A Dbluetooth_device_state.cpp34 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent(AudioEvent::ENABLE_DEVICE_BLUETOOTH); in ProcessEvent()
41 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent(AudioEvent::INIT_AUDIO_DEVICE); in ProcessEvent()
H A Dinactive_device_state.cpp33 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent(AudioEvent::INIT_AUDIO_DEVICE); in ProcessEvent()
/base/telephony/call_manager/services/audio/include/
H A Daudio_device_manager.h29 * @class AudioDeviceManager
32 class AudioDeviceManager : public std::enable_shared_from_this<AudioDeviceManager> { class
33 DECLARE_DELAYED_SINGLETON(AudioDeviceManager)
/base/telephony/call_manager/services/distributed_call/src/distributed_communication/
H A Ddistributed_device_switch_controller.cpp29 auto audioDeviceManager = DelayedSingleton<AudioDeviceManager>::GetInstance(); in OnDeviceOnline()
39 auto audioDeviceManager = DelayedSingleton<AudioDeviceManager>::GetInstance(); in OnDeviceOffline()
50 auto audioDeviceManager = DelayedSingleton<AudioDeviceManager>::GetInstance(); in OnDistributedAudioDeviceChange()
81 auto audioDeviceManager = DelayedSingleton<AudioDeviceManager>::GetInstance(); in OnRemoveSystemAbility()
/base/telephony/call_manager/services/bluetooth/src/
H A Dbluetooth_connection.cpp79 DelayedSingleton<AudioDeviceManager>::GetInstance()->AddAudioDeviceList(macAddress, in Init()
201 DelayedSingleton<AudioDeviceManager>::GetInstance()->AddAudioDeviceList( in OnConnectionStateChanged()
209 DelayedSingleton<AudioDeviceManager>::GetInstance()->RemoveAudioDeviceList( in OnConnectionStateChanged()
246 std::shared_ptr<AudioDeviceManager> audioDeviceManager = DelayedSingleton<AudioDeviceManager>::GetInstance(); in OnRemoveSystemAbility()
/base/telephony/call_manager/services/distributed_call/src/
H A Ddistributed_call_manager.cpp193 DelayedSingleton<AudioDeviceManager>::GetInstance()->AddAudioDeviceList(device.address, device.deviceType, ""); in AddDCallDevice()
215 DelayedSingleton<AudioDeviceManager>::GetInstance()->RemoveAudioDeviceList( in RemoveDCallDevice()
222 DelayedSingleton<AudioDeviceManager>::GetInstance()->InitAudioDevice(); in RemoveDCallDevice()
321 DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in SwitchOnDCallDeviceSync()
501 DelayedSingleton<AudioDeviceManager>::GetInstance()->ResetDistributedCallDevicesList(); in OnDCallSystemAbilityRemoved()
502 DelayedSingleton<AudioDeviceManager>::GetInstance()->InitAudioDevice(); in OnDCallSystemAbilityRemoved()
/base/telephony/call_manager/services/call/src/
H A Dcall_ability_connect_callback.cpp50 DelayedSingleton<AudioDeviceManager>::GetInstance()->UpdateEarpieceDevice(); in OnAbilityConnectDone()
H A Dcall_broadcast_subscriber.cpp146 DelayedSingleton<AudioDeviceManager>::GetInstance()->UpdateBluetoothDeviceName(macAddress, deviceName); in UpdateBluetoothDeviceName()
H A Dcall_control_manager.cpp545 DelayedSingleton<AudioDeviceManager>::GetInstance()->CheckAndSwitchDistributedAudioDevice(); in NotifyCallStateUpdated()
553 DelayedSingleton<AudioDeviceManager>::GetInstance()->OnActivedCallDisconnected(); in NotifyCallStateUpdated()
559 DelayedSingleton<AudioDeviceManager>::GetInstance()->CheckAndSwitchDistributedAudioDevice(); in NotifyCallStateUpdated()
576 DelayedSingleton<AudioDeviceManager>::GetInstance()->CheckAndSwitchDistributedAudioDevice(); in NotifyIncomingCallAnswered()
H A Dcall_status_manager.cpp373 DelayedSingleton<AudioDeviceManager>::GetInstance()->ReportAudioDeviceInfo(call); in HandleVoipEventReportInfo()
/base/telephony/call_manager/test/fuzztest/audiodevice_fuzzer/
H A Daudiodevice_fuzzer.cpp90 std::shared_ptr<AudioDeviceManager> audioDeviceManager = DelayedSingleton<AudioDeviceManager>::GetInstance(); in AudioDeviceManagerFunc()
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch_test_call_state.cpp324 auto audioDeviceManager = DelayedSingleton<AudioDeviceManager>::GetInstance(); in HWTEST_F()
354 auto audioDeviceManager = DelayedSingleton<AudioDeviceManager>::GetInstance(); in HWTEST_F()
/base/telephony/call_manager/services/call_manager_service/src/
H A Dcall_manager_service.cpp1448 return DelayedSingleton<AudioDeviceManager>::GetInstance()->ReportAudioDeviceChange(device); in ReportAudioDeviceInfo()

Completed in 26 milliseconds