Searched refs:CommonEventSubscriberManager (Results 1 – 12 of 12) sorted by relevance
| /base/notification/common_event_service/services/test/unittest/ |
| D | common_event_subscriber_manager_test.cpp | 77 CommonEventSubscriberManager commonEventSubscriberManager; in HWTEST_F() 91 CommonEventSubscriberManager commonEventSubscriberManager; in HWTEST_F() 110 std::shared_ptr<CommonEventSubscriberManager> commonEventSubscriberManager = in HWTEST_F() 111 std::make_shared<CommonEventSubscriberManager>(); in HWTEST_F() 129 std::shared_ptr<CommonEventSubscriberManager> commonEventSubscriberManager = in HWTEST_F() 130 std::make_shared<CommonEventSubscriberManager>(); in HWTEST_F() 149 std::shared_ptr<CommonEventSubscriberManager> commonEventSubscriberManager = in HWTEST_F() 150 std::make_shared<CommonEventSubscriberManager>(); in HWTEST_F() 172 std::shared_ptr<CommonEventSubscriberManager> commonEventSubscriberManager = in HWTEST_F() 173 std::make_shared<CommonEventSubscriberManager>(); in HWTEST_F() [all …]
|
| D | common_event_unsubscribe_unit_test.cpp | 142 CommonEventSubscriberManager commonEventSubscriberManager; 155 CommonEventSubscriberManager commonEventSubscriberManager; 185 CommonEventSubscriberManager commonEventSubscriberManager; 209 CommonEventSubscriberManager commonEventSubscriberManager; 232 CommonEventSubscriberManager commonEventSubscriberManager;
|
| D | common_event_freeze_unit_test.cpp | 95 CommonEventSubscriberManager commonEventSubscriberManager; 127 CommonEventSubscriberManager commonEventSubscriberManager; 159 CommonEventSubscriberManager commonEventSubscriberManager; 209 CommonEventSubscriberManager commonEventSubscriberManager; 432 CommonEventSubscriberManager commonEventSubscriberManager; 462 CommonEventSubscriberManager commonEventSubscriberManager; 494 CommonEventSubscriberManager commonEventSubscriberManager; 542 CommonEventSubscriberManager commonEventSubscriberManager; 579 CommonEventSubscriberManager commonEventSubscriberManager;
|
| D | common_event_subscribe_unit_test.cpp | 722 CommonEventSubscriberManager commonEventSubscriberManager; 755 CommonEventSubscriberManager commonEventSubscriberManager; 786 CommonEventSubscriberManager commonEventSubscriberManager; 821 CommonEventSubscriberManager commonEventSubscriberManager; 861 CommonEventSubscriberManager commonEventSubscriberManager; 897 CommonEventSubscriberManager commonEventSubscriberManager; 914 CommonEventSubscriberManager commonEventSubscriberManager;
|
| /base/notification/common_event_service/services/src/ |
| D | common_event_subscriber_manager.cpp | 28 CommonEventSubscriberManager::CommonEventSubscriberManager() in CommonEventSubscriberManager() function in OHOS::EventFwk::CommonEventSubscriberManager 33 CommonEventSubscriberManager::~CommonEventSubscriberManager() in ~CommonEventSubscriberManager() 38 std::shared_ptr<EventSubscriberRecord> CommonEventSubscriberManager::InsertSubscriber( in InsertSubscriber() 83 int CommonEventSubscriberManager::RemoveSubscriber(const sptr<IRemoteObject> &commonEventListener) in RemoveSubscriber() 101 std::vector<std::shared_ptr<EventSubscriberRecord>> CommonEventSubscriberManager::GetSubscriberReco… in GetSubscriberRecords() 113 std::shared_ptr<EventSubscriberRecord> CommonEventSubscriberManager::GetSubscriberRecord( in GetSubscriberRecord() 127 void CommonEventSubscriberManager::DumpDetailed( in DumpDetailed() 211 void CommonEventSubscriberManager::DumpState(const std::string &event, const int32_t &userId, in DumpState() 241 bool CommonEventSubscriberManager::InsertSubscriberRecordLocked( in InsertSubscriberRecordLocked() 279 int CommonEventSubscriberManager::RemoveSubscriberRecordLocked(const sptr<IRemoteObject> &commonEve… in RemoveSubscriberRecordLocked() [all …]
|
| D | subscriber_death_recipient.cpp | 37 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->RemoveSubscriber(object); in OnRemoteDied()
|
| D | inner_common_event_manager.cpp | 198 auto record = DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->InsertSubscriber( in SubscribeCommonEvent() 231 …DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->RemoveSubscriber(commonEventListene… in UnsubscribeCommonEvent() 250 … DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->DumpState(event, userId, state); in DumpState() 270 … DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->DumpState(event, userId, state); in DumpState() 306 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->UpdateFreezeInfo( in Freeze() 313 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->UpdateFreezeInfo(uid, false); in Unfreeze() 324 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->UpdateAllFreezeInfos(false); in UnfreezeAll() 492 …auto subscriberRecord = DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->GetSubscrib… in SendUnSubscribeHiSysEvent()
|
| D | common_event_control_manager.cpp | 86 …PublishFrozenEventsInner(DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->GetFrozenE… in PublishFreezeCommonEvent() 101 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->GetAllFrozenEvents(); in PublishAllFreezeCommonEvents() 200 …DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->InsertFrozenEvents(vec, *eventRecor… in NotifyUnorderedEvent() 249 std::shared_ptr<CommonEventSubscriberManager> spinstance = in ProcessUnorderedEvent() 250 DelayedSingleton<CommonEventSubscriberManager>::GetInstance(); in ProcessUnorderedEvent() 329 std::shared_ptr<CommonEventSubscriberManager> spinstance = in ProcessOrderedEvent() 330 DelayedSingleton<CommonEventSubscriberManager>::GetInstance(); in ProcessOrderedEvent() 476 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->InsertFrozenEvents( in NotifyOrderedEvent() 1194 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->DumpDetailed( in DumpStateBySubscriberRecord()
|
| /base/notification/common_event_service/services/include/ |
| D | common_event_subscriber_manager.h | 82 class CommonEventSubscriberManager : public DelayedSingleton<CommonEventSubscriberManager> { 84 CommonEventSubscriberManager(); 86 virtual ~CommonEventSubscriberManager() override;
|
| /base/notification/common_event_service/frameworks/native/test/unittest/ |
| D | common_event_unsubscribe_test.cpp | 228 …ERR_OK, DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->RemoveSubscriber(commonEven… 273 …ERR_INVALID_VALUE, DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->RemoveSubscriber… 292 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->death_ = nullptr; 294 …ERR_OK, DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->RemoveSubscriber(commonEven…
|
| D | common_event_subscribe_test.cpp | 340 …auto result = OHOS::DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->InsertSubscribe… 370 …auto result = OHOS::DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->InsertSubscribe… 403 …auto result = OHOS::DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->InsertSubscribe…
|
| /base/notification/common_event_service/services/test/moduletest/common_event_services_publish_ordered_module_test/ |
| D | common_event_services_publish_ordered_module_test.cpp | 1268 CommonEventSubscriberManager commonEventSubscriberManager;
|