Lines Matching refs:GetInstance
36 …return (AudioStandard::AudioSystemManager::GetInstance()->SetAudioScene(audioScene) == TELEPHONY_S… in SetAudioScene()
45 return AudioStandard::AudioSystemManager::GetInstance()->SetDeviceChangeCallback( in SetAudioDeviceChangeCallback()
55 return AudioStandard::AudioSystemManager::GetInstance()->UnsetDeviceChangeCallback(); in UnsetDeviceChangeCallback()
60 if (AudioStandard::AudioSystemManager::GetInstance()->IsDeviceActive( in SetBluetoothDevActive()
65 bool ret = AudioStandard::AudioSystemManager::GetInstance()->SetDeviceActive( in SetBluetoothDevActive()
75 …if (AudioStandard::AudioSystemManager::GetInstance()->IsDeviceActive(AudioStandard::ActiveDeviceTy… in SetSpeakerDevActive()
79 bool ret = AudioStandard::AudioSystemManager::GetInstance()->SetDeviceActive( in SetSpeakerDevActive()
93 …if (AudioStandard::AudioSystemManager::GetInstance()->IsDeviceActive(AudioStandard::ActiveDeviceTy… in SetWiredHeadsetDevActive()
94 int32_t ret = AudioStandard::AudioSystemManager::GetInstance()->SetDeviceActive( in SetWiredHeadsetDevActive()
101 …if (AudioStandard::AudioSystemManager::GetInstance()->IsDeviceActive(AudioStandard::ActiveDeviceTy… in SetWiredHeadsetDevActive()
102 int32_t ret = AudioStandard::AudioSystemManager::GetInstance()->SetDeviceActive( in SetWiredHeadsetDevActive()
109 if (AudioStandard::AudioSystemManager::GetInstance()->IsDeviceActive( in SetWiredHeadsetDevActive()
111 int32_t ret = AudioStandard::AudioSystemManager::GetInstance()->SetDeviceActive( in SetWiredHeadsetDevActive()
127 …if (AudioStandard::AudioSystemManager::GetInstance()->IsDeviceActive(AudioStandard::ActiveDeviceTy… in SetEarpieceDevActive()
131 if (AudioStandard::AudioSystemManager::GetInstance()->SetDeviceActive( in SetEarpieceDevActive()
141 return AudioStandard::AudioSystemManager::GetInstance()->GetVolume(audioVolumeType); in GetVolume()
146 return AudioStandard::AudioSystemManager::GetInstance()->SetVolume(audioVolumeType, volume); in SetVolume()
152 return AudioStandard::AudioSystemManager::GetInstance()->SetVolume(audioVolumeType, maxVolume); in SetMaxVolume()
164 return AudioStandard::AudioSystemManager::GetInstance()->IsStreamActive(audioVolumeType); in IsStreamActive()
169 return AudioStandard::AudioSystemManager::GetInstance()->IsStreamMute(audioVolumeType); in IsStreamMute()
174 return AudioStandard::AudioSystemManager::GetInstance()->GetMaxVolume(audioVolumeType); in GetMaxVolume()
179 return AudioStandard::AudioSystemManager::GetInstance()->GetMinVolume(audioVolumeType); in GetMinVolume()
184 return AudioStandard::AudioSystemManager::GetInstance()->IsMicrophoneMute(); in IsMicrophoneMute()
192 int32_t muteResult = AudioStandard::AudioSystemManager::GetInstance()->SetMicrophoneMute(mute); in SetMicrophoneMute()
199 return AudioStandard::AudioSystemManager::GetInstance()->GetRingerMode(); in GetRingerMode()
216 DelayedSingleton<AudioProxy>::GetInstance()->SetWiredHeadsetState(true); in OnDeviceChange()
217 DelayedSingleton<AudioDeviceManager>::GetInstance()->AddAudioDeviceList( in OnDeviceChange()
221 DelayedSingleton<AudioProxy>::GetInstance()->SetWiredHeadsetState(false); in OnDeviceChange()
222 DelayedSingleton<AudioDeviceManager>::GetInstance()->RemoveAudioDeviceList( in OnDeviceChange()
224 DelayedSingleton<AudioDeviceManager>::GetInstance()->ProcessEvent( in OnDeviceChange()
234 return VibratorManager::GetInstance()->StartVibrate(); in StartVibrate()
242 return VibratorManager::GetInstance()->CancelVibrate(); in CancelVibrate()
275 …AudioStandard::AudioRoutingManager::GetInstance()->GetPreferredOutputDeviceForRendererInfo(rendere… in GetPreferredOutputAudioDevice()
324 …int32_t ret = AudioStandard::AudioRoutingManager::GetInstance()->SetPreferredOutputDeviceChangeCal… in SetAudioPreferDeviceChangeCallback()
339 …int32_t ret = AudioStandard::AudioRoutingManager::GetInstance()->UnsetPreferredOutputDeviceChangeC… in UnsetAudioPreferDeviceChangeCallback()
367 … DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated()
371 … DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated()
375 … DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated()
381 DelayedSingleton<AudioDeviceManager>::GetInstance()->AddAudioDeviceList( in OnPreferredOutputDeviceUpdated()
383 … DelayedSingleton<AudioDeviceManager>::GetInstance()->SetCurrentAudioDevice(device.deviceType); in OnPreferredOutputDeviceUpdated()