Home
last modified time | relevance | path

Searched refs:HiSysEventBaseListener (Results 1 – 16 of 16) sorted by relevance

/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
Dhisysevent_base_listener.h28 class HiSysEventBaseListener {
30 HiSysEventBaseListener() = default;
31 HiSysEventBaseListener(std::shared_ptr<HiSysEventListener> listener): listener(listener) {} in HiSysEventBaseListener() function
32 virtual ~HiSysEventBaseListener() {} in ~HiSysEventBaseListener()
55 HiSysEventBaseListener(const HiSysEventBaseListener&) = delete;
56 HiSysEventBaseListener& operator=(const HiSysEventBaseListener&) = delete;
57 HiSysEventBaseListener(const HiSysEventBaseListener&&) = delete;
58 HiSysEventBaseListener& operator=(const HiSysEventBaseListener&&) = delete;
Dhisysevent_listenning_operate.h33 virtual int32_t AddListener(const std::shared_ptr<HiSysEventBaseListener> listener,
35 virtual int32_t RemoveListener(const std::shared_ptr<HiSysEventBaseListener> listener);
36 …virtual int32_t SetDebugMode(const std::shared_ptr<HiSysEventBaseListener> listener, const bool mo…
Dhisysevent_base_manager.h34 static int32_t AddListener(std::shared_ptr<HiSysEventBaseListener> listener,
36 static int32_t RemoveListener(std::shared_ptr<HiSysEventBaseListener> listener);
39 static int32_t SetDebugMode(std::shared_ptr<HiSysEventBaseListener> listener, bool mode);
Dhisysevent_manager.h72 std::shared_ptr<HiSysEventBaseListener>> listenerToBaseMap;
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
Dhisysevent_listener_proxy.h29 explicit CallbackDeathRecipient(const std::shared_ptr<HiSysEventBaseListener> listener) in CallbackDeathRecipient()
35 std::shared_ptr<HiSysEventBaseListener> GetEventListener() const;
38 std::shared_ptr<HiSysEventBaseListener> eventListener;
43 explicit HiSysEventListenerProxy(const std::shared_ptr<HiSysEventBaseListener> listener) in HiSysEventListenerProxy()
51 std::shared_ptr<HiSysEventBaseListener> GetEventListener() const;
Dhisysevent_delegate.h43 int32_t AddListener(const std::shared_ptr<HiSysEventBaseListener> listener,
45 int32_t RemoveListener(const std::shared_ptr<HiSysEventBaseListener> listener);
48 int32_t SetDebugMode(const std::shared_ptr<HiSysEventBaseListener> listener,
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dhisysevent_listener_proxy.cpp37 std::shared_ptr<HiSysEventBaseListener> HiSysEventListenerProxy::GetEventListener() const in GetEventListener()
53 std::shared_ptr<HiSysEventBaseListener> CallbackDeathRecipient::GetEventListener() const in GetEventListener()
Dhisysevent_delegate.cpp56 int32_t HiSysEventDelegate::AddListener(const std::shared_ptr<HiSysEventBaseListener> listener, in AddListener()
76 int32_t HiSysEventDelegate::RemoveListener(const std::shared_ptr<HiSysEventBaseListener> listener) in RemoveListener()
90 int32_t HiSysEventDelegate::SetDebugMode(const std::shared_ptr<HiSysEventBaseListener> listener, in SetDebugMode()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_base_manager.cpp28 int32_t HiSysEventBaseManager::AddListener(std::shared_ptr<HiSysEventBaseListener> listener, in AddListener()
41 int32_t HiSysEventBaseManager::RemoveListener(std::shared_ptr<HiSysEventBaseListener> listener) in RemoveListener()
63 int32_t HiSysEventBaseManager::SetDebugMode(std::shared_ptr<HiSysEventBaseListener> listener, bool … in SetDebugMode()
Dhisysevent_manager.cpp29 std::shared_ptr<HiSysEventBaseListener>> HiSysEventManager::listenerToBaseMap;
40 baseListener = std::make_shared<HiSysEventBaseListener>(listener); in AddListener()
Dhisysevent_manager_c.cpp34 using OHOS::HiviewDFX::HiSysEventBaseListener;
39 static std::map<std::pair<OnEventFunc, OnServiceDiedFunc>, std::shared_ptr<HiSysEventBaseListener>>…
68 auto listenerC = std::make_shared<HiSysEventBaseListener>( in HiSysEventAddWatcher()
Dlibhisyseventmanager.map18 …ntBaseManager::AddListener(std::__h::shared_ptr<OHOS::HiviewDFX::HiSysEventBaseListener>, std::__h…
19 …ysEventBaseManager::RemoveListener(std::__h::shared_ptr<OHOS::HiviewDFX::HiSysEventBaseListener>)";
21 …entBaseManager::SetDebugMode(std::__h::shared_ptr<OHOS::HiviewDFX::HiSysEventBaseListener>, bool)";
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/
Dnapi_hisysevent_listener.h31 class NapiHiSysEventListener : public HiSysEventBaseListener {
/base/hiviewdfx/hisysevent/frameworks/native/c_wrapper/source/
Dhisysevent_rust_manager.cpp35 using OHOS::HiviewDFX::HiSysEventBaseListener;
40 static std::map<std::pair<OnRustCb, OnRustCb>, std::shared_ptr<HiSysEventBaseListener>> g_baseWatch…
96 auto baseListenerRust = std::make_shared<HiSysEventBaseListener>(listenerRust); in HiSysEventAddWatcher()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_adapter_native_test.cpp236 auto listener = std::make_shared<HiSysEventBaseListener>();
524 auto baseListener = std::make_shared<HiSysEventBaseListener>();
Dhisysevent_native_test.cpp1040 auto baseWatcher = std::make_shared<HiSysEventBaseListener>(watcher);
1050 auto newBaseWatcher = std::make_shared<HiSysEventBaseListener>(watcher);
1066 auto baseWatcher = std::make_shared<HiSysEventBaseListener>(watcher);
1081 auto newBaseWatcher = std::make_shared<HiSysEventBaseListener>(watcher);