Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/
H A Daudio_capturer.cpp1432 if (restoreThread_ != nullptr && restoreThread_->joinable()) { in ~CapturerPolicyServiceDiedCallback()
1433 restoreThread_->join(); in ~CapturerPolicyServiceDiedCallback()
1434 restoreThread_.reset(); in ~CapturerPolicyServiceDiedCallback()
1435 restoreThread_ = nullptr; in ~CapturerPolicyServiceDiedCallback()
1452 if (restoreThread_ != nullptr) { in OnAudioPolicyServiceDied()
1453 restoreThread_->detach(); in OnAudioPolicyServiceDied()
1455 restoreThread_ = std::make_unique<std::thread>([this] { this->RestoreTheadLoop(); }); in OnAudioPolicyServiceDied()
1456 pthread_setname_np(restoreThread_->native_handle(), "OS_ACPSRestore"); in OnAudioPolicyServiceDied()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/
H A Daudio_renderer.cpp1677 if (restoreThread_ != nullptr && restoreThread_->joinable()) { in ~RendererPolicyServiceDiedCallback()
1678 restoreThread_->join(); in ~RendererPolicyServiceDiedCallback()
1679 restoreThread_.reset(); in ~RendererPolicyServiceDiedCallback()
1680 restoreThread_ = nullptr; in ~RendererPolicyServiceDiedCallback()
1697 if (restoreThread_ != nullptr) { in OnAudioPolicyServiceDied()
1698 restoreThread_->detach(); in OnAudioPolicyServiceDied()
1700 restoreThread_ = std::make_unique<std::thread>([this] { this->RestoreTheadLoop(); }); in OnAudioPolicyServiceDied()
1701 pthread_setname_np(restoreThread_->native_handle(), "OS_ARPSRestore"); in OnAudioPolicyServiceDied()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/include/
H A Daudio_capturer_private.h262 std::unique_ptr<std::thread> restoreThread_ = nullptr; variable
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/include/
H A Daudio_renderer_private.h333 std::unique_ptr<std::thread> restoreThread_ = nullptr; variable