Home
last modified time | relevance | path

Searched refs:audioInterrupt (Results 1 – 6 of 6) sorted by relevance

/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiorequest_fuzzer/
Daudiorequest_fuzzer.cpp32 AudioAdapterInterrupt audioInterrupt; in DoSomethingInterestingWithMyAPI() local
33 AudioSystemManagerAdapterImpl::GetInstance().RequestAudioFocus(audioInterrupt); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audioabandon_fuzzer/
Daudioabandon_fuzzer.cpp32 AudioAdapterInterrupt audioInterrupt; in DoSomethingInterestingWithMyAPI() local
33 AudioSystemManagerAdapterImpl::GetInstance().AbandonAudioFocus(audioInterrupt); in DoSomethingInterestingWithMyAPI()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_system_manager_adapter_impl.cpp147 …t32_t AudioSystemManagerAdapterImpl::RequestAudioFocus(const AudioAdapterInterrupt& audioInterrupt) in RequestAudioFocus() argument
150 …interruptParams.streamUsage = AudioRendererAdapterImpl::GetAudioStreamUsage(audioInterrupt.streamU… in RequestAudioFocus()
151 …interruptParams.contentType = AudioRendererAdapterImpl::GetAudioContentType(audioInterrupt.content… in RequestAudioFocus()
152 interruptParams.audioFocusType.streamType = GetStreamType(audioInterrupt.streamType); in RequestAudioFocus()
162 …t32_t AudioSystemManagerAdapterImpl::AbandonAudioFocus(const AudioAdapterInterrupt& audioInterrupt) in AbandonAudioFocus() argument
165 …interruptParams.streamUsage = AudioRendererAdapterImpl::GetAudioStreamUsage(audioInterrupt.streamU… in AbandonAudioFocus()
166 …interruptParams.contentType = AudioRendererAdapterImpl::GetAudioContentType(audioInterrupt.content… in AbandonAudioFocus()
167 interruptParams.audioFocusType.streamType = GetStreamType(audioInterrupt.streamType); in AbandonAudioFocus()
/base/web/webview/ohos_adapter/interfaces/
Daudio_system_manager_adapter.h98 virtual int32_t RequestAudioFocus(const AudioAdapterInterrupt& audioInterrupt) = 0;
100 virtual int32_t AbandonAudioFocus(const AudioAdapterInterrupt& audioInterrupt) = 0;
/base/web/webview/ohos_adapter/audio_adapter/include/
Daudio_system_manager_adapter_impl.h62 int32_t RequestAudioFocus(const AudioAdapterInterrupt &audioInterrupt) override;
64 int32_t AbandonAudioFocus(const AudioAdapterInterrupt &audioInterrupt) override;
/base/telephony/call_manager/services/audio/include/
Daudio_proxy.h53 int32_t ActivateAudioInterrupt(const AudioStandard::AudioInterrupt &audioInterrupt);
54 int32_t DeactivateAudioInterrupt(const AudioStandard::AudioInterrupt &audioInterrupt);