/base/notification/common_event_service/services/test/unittest/ |
H A D | mock_common_event_subscriber.cpp | 21 CommonEventSubscriber::CommonEventSubscriber() : result_(nullptr) in CommonEventSubscriber() function in OHOS::EventFwk::CommonEventSubscriber 24 CommonEventSubscriber::CommonEventSubscriber(const CommonEventSubscribeInfo& subscribeInfo) in CommonEventSubscriber() function in OHOS::EventFwk::CommonEventSubscriber 28 CommonEventSubscriber::~CommonEventSubscriber() in ~CommonEventSubscriber() 31 const CommonEventSubscribeInfo& CommonEventSubscriber::GetSubscribeInfo() const in GetSubscribeInfo() 33 GTEST_LOG_(INFO) << "MOCK CommonEventSubscriber CommonEventSubscriber"; in GetSubscribeInfo() 37 bool CommonEventSubscriber [all...] |
/base/notification/common_event_service/frameworks/native/src/ |
H A D | common_event_subscriber.cpp | 21 CommonEventSubscriber::CommonEventSubscriber() : result_(nullptr) in CommonEventSubscriber() function in OHOS::EventFwk::CommonEventSubscriber 23 EVENT_LOGD("constructor CommonEventSubscriber"); in CommonEventSubscriber() 26 CommonEventSubscriber::CommonEventSubscriber(const CommonEventSubscribeInfo &subscribeInfo) in CommonEventSubscriber() function in OHOS::EventFwk::CommonEventSubscriber 29 EVENT_LOGD("constructor CommonEventSubscriber"); in CommonEventSubscriber() 32 CommonEventSubscriber::~CommonEventSubscriber() in ~CommonEventSubscriber() 34 EVENT_LOGD("destructor CommonEventSubscriber"); in ~CommonEventSubscriber() 37 const CommonEventSubscribeInfo &CommonEventSubscriber [all...] |
H A D | common_event_manager.cpp | 61 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() 67 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber, in PublishCommonEventAsUser() 74 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber, in NewPublishCommonEventAsUser() 82 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerToken) in PublishCommonEvent() 88 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber, in PublishCommonEventAsUser() 95 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent() 100 int32_t CommonEventManager::NewSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in NewSubscribeCommonEvent() 105 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent() 110 int32_t CommonEventManager::NewUnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in NewUnSubscribeCommonEvent()
|
/base/notification/common_event_service/interfaces/inner_api/ |
H A D | common_event_manager.h | 93 const std::shared_ptr<CommonEventSubscriber> &subscriber); 105 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId); 117 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId); 130 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerToken); 144 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerToken, 153 static bool SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 161 static int32_t NewSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 169 static bool UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 177 static int32_t NewUnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber);
|
H A D | common_event_subscriber.h | 25 class CommonEventSubscriber { class 27 CommonEventSubscriber(); 30 * A constructor used to create a CommonEventSubscriber instance with the 35 explicit CommonEventSubscriber(const CommonEventSubscribeInfo &subscribeInfo); 37 virtual ~CommonEventSubscriber();
|
/base/location/test/location_locator/mock/include/ |
H A D | mock_common_event_manager.h | 31 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber)); 33 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber)); 35 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid)); 36 MOCK_METHOD(bool, SubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscriber)); 37 MOCK_METHOD(bool, UnSubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscriber));
|
/base/location/test/location_manager/mock/include/ |
H A D | mock_common_event_manager.h | 31 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber)); 33 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber)); 35 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid)); 36 MOCK_METHOD(bool, SubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscriber)); 37 MOCK_METHOD(bool, UnSubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscriber));
|
/base/notification/common_event_service/frameworks/core/include/ |
H A D | common_event.h | 41 const std::shared_ptr<CommonEventSubscriber> &subscriber); 53 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId); 66 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerToken); 80 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerToken, 89 int32_t SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 97 int32_t UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 219 const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener); 230 const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener); 236 std::map<std::shared_ptr<CommonEventSubscriber>, sptr<CommonEventListener>> eventListeners_;
|
/base/location/services/location_gnss/gnss/include/ |
H A D | gnss_common_event_subscriber.h | 27 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; 33 class GnssCommonEventSubscriber : public OHOS::EventFwk::CommonEventSubscriber { 36 : CommonEventSubscriber(subscriberInfo) {} in GnssCommonEventSubscriber()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_common_event_manager.cpp | 23 std::list<std::shared_ptr<CommonEventSubscriber>> subscriberList; 39 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() 44 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent() 50 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent()
|
/base/theme/wallpaper_mgr/services/include/ |
H A D | wallpaper_common_event_subscriber.h | 26 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; 31 class WallpaperCommonEventSubscriber : public OHOS::EventFwk::CommonEventSubscriber { 34 : CommonEventSubscriber(CreateSubscriberInfo()), wallpaperService_(wallpaperService) in WallpaperCommonEventSubscriber()
|
/base/useriam/user_auth_framework/services/context/inc/ |
H A D | keyguard_status_listener.h | 29 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; 51 class KeyguardStatusListener : public CommonEventSubscriber { 54 : CommonEventSubscriber(subscriberInfo) {} in KeyguardStatusListener()
|
/base/theme/screenlock_mgr/services/include/ |
H A D | commeventsubscriber.h | 27 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; 39 class CommEventSubscriber : public CommonEventSubscriber { 42 : CommonEventSubscriber(subscriberInfo), registry_(registry) in CommEventSubscriber()
|
/base/notification/common_event_service/frameworks/core/test/unittest/ |
H A D | common_event_listener_test.cpp | 38 class ListenerSubscriberTest : public CommonEventSubscriber {
40 explicit ListenerSubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp)
in ListenerSubscriberTest() 71 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber = nullptr;
in HWTEST_F() 101 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber = nullptr;
in HWTEST_F() 117 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber = nullptr;
in HWTEST_F()
|
/base/location/test/location_locator/mock/src/ |
H A D | mock_common_event_manager.cpp | 32 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() 38 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid) in PublishCommonEvent() 43 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent() 48 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent()
|
/base/location/test/location_manager/mock/src/ |
H A D | mock_common_event_manager.cpp | 32 const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() 38 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid) in PublishCommonEvent() 43 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent() 48 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent()
|
/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_state_observer.h | 27 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber;
37 class SmsStateEventSubscriber : public CommonEventSubscriber {
39 explicit SmsStateEventSubscriber(const CommonEventSubscribeInfo &info) : CommonEventSubscriber(info) {}
in SmsStateEventSubscriber()
|
/base/hiviewdfx/hiview/plugins/unified_collector/power/include/ |
H A D | power_status_manager.h | 32 class PowerStateSubscriber : public CommonEventSubscriber { 34 PowerStateSubscriber(const CommonEventSubscribeInfo &subscribeInfo) : CommonEventSubscriber(subscribeInfo) {} in PowerStateSubscriber() 47 std::shared_ptr<EventFwk::CommonEventSubscriber> powerStateSubscriber_ = nullptr;
|
/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_common_event_subscriber.h | 26 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; 30 class AppAccountCommonEventSubscriber : public CommonEventSubscriber {
|
/base/telephony/call_manager/services/call/call_state_observer/include/ |
H A D | call_records_manager.h | 34 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; 36 class UserSwitchEventSubscriber : public CommonEventSubscriber { 38 explicit UserSwitchEventSubscriber(const CommonEventSubscribeInfo &info) : CommonEventSubscriber(info) {} in UserSwitchEventSubscriber() 43 class DataShareReadyEventSubscriber : public CommonEventSubscriber { 45 explicit DataShareReadyEventSubscriber(const CommonEventSubscribeInfo &info) : CommonEventSubscriber(info) {} in DataShareReadyEventSubscriber()
|
/base/powermgr/battery_statistics/services/native/include/ |
H A D | battery_stats_subscriber.h | 25 class BatteryStatsSubscriber : public EventFwk::CommonEventSubscriber { 28 : EventFwk::CommonEventSubscriber(subscribeInfo) {} in BatteryStatsSubscriber()
|
/base/telephony/core_service/services/network_search/test/ |
H A D | test_broadcast.h | 24 class TestBroadCast : public EventFwk::CommonEventSubscriber { 26 explicit TestBroadCast(const EventFwk::CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) {} in TestBroadCast()
|
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/include/sensitive/ |
H A D | sandbox_manager_event_subscriber.h | 24 class SandboxManagerCommonEventSubscriber : public OHOS::EventFwk::CommonEventSubscriber { 27 : CommonEventSubscriber(info) in SandboxManagerCommonEventSubscriber()
|
/base/security/access_token/services/privacymanager/include/common/ |
H A D | privacy_common_event_subscriber.h | 27 class PrivacyCommonEventSubscriber : public OHOS::EventFwk::CommonEventSubscriber { 29 PrivacyCommonEventSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo& info) : CommonEventSubscriber(info) in PrivacyCommonEventSubscriber()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | sim_operator_brocast_test.h | 28 class SimOperatorBrocastTest : public EventFwk::CommonEventSubscriber { 30 explicit SimOperatorBrocastTest(const EventFwk::CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) {} in SimOperatorBrocastTest()
|