Home
last modified time | relevance | path

Searched refs:g_subscriber (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/sensitive/
H A Dsandbox_manager_event_subscriber.cpp31 static std::shared_ptr<SandboxManagerCommonEventSubscriber> g_subscriber = nullptr; variable
48 g_subscriber = std::make_shared<SandboxManagerCommonEventSubscriber>(*info); in RegisterEvent()
49 if (!EventFwk::CommonEventManager::SubscribeCommonEvent(g_subscriber)) { in RegisterEvent()
64 if (!EventFwk::CommonEventManager::UnSubscribeCommonEvent(g_subscriber)) { in UnRegisterEvent()
/ohos5.0/base/security/access_token/services/privacymanager/src/common/
H A Dprivacy_common_event_subscriber.cpp36 static std::shared_ptr<PrivacyCommonEventSubscriber> g_subscriber = nullptr; variable
55 g_subscriber = std::make_shared<PrivacyCommonEventSubscriber>(*info); in RegisterEvent()
56 const auto result = EventFwk::CommonEventManager::SubscribeCommonEvent(g_subscriber); in RegisterEvent()
67 const auto result = EventFwk::CommonEventManager::UnSubscribeCommonEvent(g_subscriber); in UnRegisterEvent()