Home
last modified time | relevance | path

Searched refs:interruptCallback_ (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/
H A Dringtone_player_callback_napi.cpp53 interruptCallback_ = cb; in SaveCallbackReference()
64 interruptCallback_ = nullptr; in RemoveCallbackReference()
96 …CHECK_AND_RETURN_LOG(interruptCallback_ != nullptr, "Cannot find the reference of interrupt callba… in OnInterrupt()
100 cb->callback = interruptCallback_; in OnInterrupt()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/callback/
H A Dnapi_audio_capturer_callbacks.cpp48 interruptCallback_ = cb; in SaveCallbackReference()
61 interruptCallback_ = nullptr; in RemoveCallbackReference()
73 …CHECK_AND_RETURN_LOG(interruptCallback_ != nullptr, "Cannot find the reference of interrupt callba… in OnInterrupt()
77 cb->callback = interruptCallback_; in OnInterrupt()
H A Dnapi_audio_capturer_callbacks.h59 std::shared_ptr<AutoRef> interruptCallback_ = nullptr; variable
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/
H A Dnapi_audio_renderer_callback.cpp43 …CHECK_AND_RETURN_LOG(interruptCallback_ != nullptr, "Cannot find the reference of interrupt callba… in OnInterrupt()
47 cb->callback = interruptCallback_; in OnInterrupt()
79 interruptCallback_ = cb; in SaveCallbackReference()
92 interruptCallback_ = nullptr; in RemoveCallbackReference()
H A Dnapi_audio_renderer_callback.h62 std::shared_ptr<AutoRef> interruptCallback_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/include/ringtone_player/
H A Dringtone_player_callback_napi.h46 std::shared_ptr<AutoRef> interruptCallback_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/ringtone_player/
H A Dringtone_player_impl.cpp448 interruptCallback_ = interruptCallback; in SetRingtonePlayerInterruptCallback()
460 if (interruptCallback_ != nullptr) { in NotifyInterruptEvent()
461 interruptCallback_->OnInterrupt(interruptEvent); in NotifyInterruptEvent()
H A Dringtone_player_impl.h75 std::shared_ptr<RingtonePlayerInterruptCallback> interruptCallback_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/unittest/ringtone_player_test/src/
H A Dringtone_player_unit_test.cpp352 … ringtonePlayerImpl_->interruptCallback_ = std::make_shared<RingtonePlayerInterruptCallbackTest>();