Home
last modified time | relevance | path

Searched refs:interruptAction (Results 1 – 4 of 4) sorted by relevance

/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiointerrupt_fuzzer/
Daudiointerrupt_fuzzer.cpp34 InterruptAction interruptAction; in DoSomethingInterestingWithMyAPI() local
35 adapter.OnInterrupt(interruptAction); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/unittest/audio_adapter_impl_test/
Daudio_adapter_impl_test.cpp436 InterruptAction interruptAction; variable
438 interruptAction.interruptHint = InterruptHint::INTERRUPT_HINT_PAUSE;
439 callbackTest->OnInterrupt(interruptAction);
441 interruptAction.interruptHint = InterruptHint::INTERRUPT_HINT_STOP;
442 callbackTest->OnInterrupt(interruptAction);
444 interruptAction.interruptHint = InterruptHint::INTERRUPT_HINT_RESUME;
445 callbackTest->OnInterrupt(interruptAction);
447 interruptAction.interruptHint = static_cast<InterruptHint>(-1);
448 callbackTest->OnInterrupt(interruptAction);
450 callbackTest->OnInterrupt(interruptAction);
/base/web/webview/ohos_adapter/audio_adapter/include/
Daudio_system_manager_adapter_impl.h32 void OnInterrupt(const InterruptAction &interruptAction) override;
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_system_manager_adapter_impl.cpp92 void AudioManagerCallbackAdapterImpl::OnInterrupt(const InterruptAction& interruptAction) in OnInterrupt() argument
97 switch (interruptAction.interruptHint) { in OnInterrupt()
106 … WVLOG_E("audio manager interrupt hint not foud, code: %{public}d", interruptAction.interruptHint); in OnInterrupt()