/base/notification/common_event_service/frameworks/native/src/ |
D | common_event_subscriber.cpp | 21 CommonEventSubscriber::CommonEventSubscriber() : result_(nullptr) in CommonEventSubscriber() function in OHOS::EventFwk::CommonEventSubscriber 26 CommonEventSubscriber::CommonEventSubscriber(const CommonEventSubscribeInfo &subscribeInfo) in CommonEventSubscriber() function in OHOS::EventFwk::CommonEventSubscriber 32 CommonEventSubscriber::~CommonEventSubscriber() in ~CommonEventSubscriber() 37 const CommonEventSubscribeInfo &CommonEventSubscriber::GetSubscribeInfo() const in GetSubscribeInfo() 42 bool CommonEventSubscriber::SetCode(const int32_t &code) in SetCode() 52 int32_t CommonEventSubscriber::GetCode() const in GetCode() 62 bool CommonEventSubscriber::SetData(const std::string &data) in SetData() 72 std::string CommonEventSubscriber::GetData() const in GetData() 82 bool CommonEventSubscriber::SetCodeAndData(const int32_t &code, const std::string &data) in SetCodeAndData() 92 bool CommonEventSubscriber::AbortCommonEvent() in AbortCommonEvent() [all …]
|
D | common_event_manager.cpp | 61 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() 67 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… in PublishCommonEventAsUser() 74 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… in NewPublishCommonEventAsUser() 82 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… in PublishCommonEvent() 88 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… in PublishCommonEventAsUser() 95 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscri… in SubscribeCommonEvent() 100 int32_t CommonEventManager::NewSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &s… in NewSubscribeCommonEvent() 105 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… in UnSubscribeCommonEvent() 110 int32_t CommonEventManager::NewUnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> … in NewUnSubscribeCommonEvent()
|
/base/notification/common_event_service/interfaces/inner_api/ |
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 &callerT… 144 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… 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);
|
D | common_event_subscriber.h | 25 class CommonEventSubscriber { 27 CommonEventSubscriber(); 35 explicit CommonEventSubscriber(const CommonEventSubscribeInfo &subscribeInfo); 37 virtual ~CommonEventSubscriber();
|
/base/notification/common_event_service/frameworks/core/include/ |
D | common_event.h | 39 const std::shared_ptr<CommonEventSubscriber> &subscriber); 51 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId); 64 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… 78 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… 87 int32_t SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 95 int32_t UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 190 …const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener… 201 …const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener… 209 std::map<std::shared_ptr<CommonEventSubscriber>, sptr<CommonEventListener>> eventListeners_;
|
D | common_event_listener.h | 37 … explicit CommonEventListener(const std::shared_ptr<CommonEventSubscriber> &commonEventSubscriber); 70 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber_;
|
/base/location/test/location_locator/mock/include/ |
D | mock_common_event_manager.h | 31 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… 33 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… 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> &subscribe…
|
/base/theme/wallpaper_mgr/services/include/ |
D | wallpaper_common_event_subscriber.h | 26 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; variable 31 class WallpaperCommonEventSubscriber : public OHOS::EventFwk::CommonEventSubscriber { 34 : CommonEventSubscriber(CreateSubscriberInfo()), wallpaperService_(wallpaperService) in WallpaperCommonEventSubscriber()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
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> &subscri… in SubscribeCommonEvent() 50 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… in UnSubscribeCommonEvent()
|
/base/account/os_account/services/accountmgr/include/appaccount/ |
D | app_account_common_event_subscriber.h | 26 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; variable 30 class AppAccountCommonEventSubscriber : public CommonEventSubscriber {
|
/base/location/test/location_locator/mock/src/ |
D | mock_common_event_manager.cpp | 32 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… in PublishCommonEvent() 38 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid) in PublishCommonEvent() 43 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscri… in SubscribeCommonEvent() 48 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… in UnSubscribeCommonEvent()
|
/base/telephony/call_manager/services/call/call_state_observer/include/ |
D | call_records_manager.h | 34 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; variable 36 class UserSwitchEventSubscriber : public CommonEventSubscriber { 38 …it UserSwitchEventSubscriber(const CommonEventSubscribeInfo &info) : CommonEventSubscriber(info) {} in UserSwitchEventSubscriber()
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_state_observer.h | 27 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; variable 37 class SmsStateEventSubscriber : public CommonEventSubscriber { 39 …explicit SmsStateEventSubscriber(const CommonEventSubscribeInfo &info) : CommonEventSubscriber(inf… in SmsStateEventSubscriber()
|
/base/notification/common_event_service/frameworks/core/test/unittest/ |
D | common_event_listener_test.cpp | 56 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber = nullptr; 70 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber = nullptr; 85 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber = nullptr; 100 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber = nullptr; 116 std::shared_ptr<CommonEventSubscriber> commonEventSubscriber = nullptr;
|
/base/telephony/core_service/services/network_search/test/ |
D | test_broadcast.h | 24 class TestBroadCast : public EventFwk::CommonEventSubscriber { 26 …explicit TestBroadCast(const EventFwk::CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) {} in TestBroadCast()
|
/base/powermgr/battery_statistics/services/native/include/ |
D | battery_stats_subscriber.h | 25 class BatteryStatsSubscriber : public EventFwk::CommonEventSubscriber { 28 : EventFwk::CommonEventSubscriber(subscribeInfo) {} in BatteryStatsSubscriber()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_operator_brocast_test.h | 28 class SimOperatorBrocastTest : public EventFwk::CommonEventSubscriber { 30 …SimOperatorBrocastTest(const EventFwk::CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) {} in SimOperatorBrocastTest()
|
/base/hiviewdfx/hidumper/services/native/include/ |
D | dump_battery_stats_subscriber.h | 25 class DumpBatteryStatsSubscriber : public EventFwk::CommonEventSubscriber { 28 : EventFwk::CommonEventSubscriber(subscribeInfo) {} in DumpBatteryStatsSubscriber()
|
/base/telephony/core_service/services/sim/include/ |
D | sim_state_tracker.h | 33 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; variable 56 class UserSwitchEventSubscriber : public CommonEventSubscriber { 60 : CommonEventSubscriber(info), slotId_(slotId), configLoader_(configLoader) in UserSwitchEventSubscriber()
|
D | multi_sim_monitor.h | 35 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; variable 53 class UserSwitchEventSubscriber : public CommonEventSubscriber { 57 : CommonEventSubscriber(info), multiSimMonitorHandler_(multiSimMonitorHandler) in UserSwitchEventSubscriber()
|
/base/powermgr/battery_manager/test/systemtest/src/ |
D | battery_event_system_test.cpp | 63 class CommonEventBatteryChangedTest : public CommonEventSubscriber { 73 : CommonEventSubscriber(subscriberInfo) in CommonEventBatteryChangedTest() 77 class CommonEventBatteryLowTest : public CommonEventSubscriber { 87 : CommonEventSubscriber(subscriberInfo) in CommonEventBatteryLowTest() 91 class CommonEventBatteryOkayTest : public CommonEventSubscriber { 101 : CommonEventSubscriber(subscriberInfo) in CommonEventBatteryOkayTest() 105 class CommonEventBatteryChargingTest : public CommonEventSubscriber { 115 : CommonEventSubscriber(subscriberInfo) in CommonEventBatteryChargingTest() 119 class CommonEventBatteryDischargingTest : public CommonEventSubscriber { 129 : CommonEventSubscriber(subscriberInfo) in CommonEventBatteryDischargingTest() [all …]
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | system_event_subscriber.h | 25 class SystemEventSubscriber : public EventFwk::CommonEventSubscriber { 35 : EventFwk::CommonEventSubscriber(subscribeInfo), callback_(callback) in SystemEventSubscriber()
|
/base/telephony/core_service/services/network_search/include/ |
D | device_state_observer.h | 33 using CommonEventSubscriber = OHOS::EventFwk::CommonEventSubscriber; variable 49 class DeviceStateEventSubscriber : public CommonEventSubscriber { 51 …t DeviceStateEventSubscriber(const CommonEventSubscribeInfo &info) : CommonEventSubscriber(info) {} in DeviceStateEventSubscriber()
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_level_event_system_test.cpp | 62 class CommonEventThermalLevel1Test : public CommonEventSubscriber { 72 : CommonEventSubscriber(subscriberInfo) in CommonEventThermalLevel1Test() 76 class CommonEventThermalLevel2Test : public CommonEventSubscriber { 86 : CommonEventSubscriber(subscriberInfo) in CommonEventThermalLevel2Test() 90 class CommonEventThermalLevel3Test : public CommonEventSubscriber { 100 : CommonEventSubscriber(subscriberInfo) in CommonEventThermalLevel3Test() 104 class CommonEventThermalIdleTrueTest : public CommonEventSubscriber { 114 : CommonEventSubscriber(subscriberInfo) in CommonEventThermalIdleTrueTest() 118 class CommonEventThermalIdleFalseTest : public CommonEventSubscriber { 128 : CommonEventSubscriber(subscriberInfo) in CommonEventThermalIdleFalseTest()
|
/base/notification/common_event_service/frameworks/core/src/ |
D | common_event.cpp | 35 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() 50 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId) in PublishCommonEventAsUser() 64 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… in PublishCommonEvent() 79 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, in PublishCommonEventAsUser() 94 …const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener) in PublishParameterCheck() 122 int32_t CommonEvent::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent() 163 int32_t CommonEvent::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscribe… in UnSubscribeCommonEvent() 352 …const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener) in CreateCommonEventListener()
|